Documentation
¶
Index ¶
- Constants
- func GetClusterConfiguration() schema.GroupVersionResource
- func GetConfigMapSchema() schema.GroupVersionResource
- func GetDeploySchema() schema.GroupVersionResource
- func GetDevOpsProjectSchema() schema.GroupVersionResource
- func GetNamespaceSchema() schema.GroupVersionResource
- func GetObjectFromInterface(raw interface{}) (obj *unstructured.Unstructured, err error)
- func GetObjectFromYaml(yamlText string) (obj *unstructured.Unstructured, err error)
- func GetPipelineSchema() schema.GroupVersionResource
- func GetPodSchema() schema.GroupVersionResource
- func GetS2iBuilderSchema() schema.GroupVersionResource
- func GetS2iBuilderTemplateSchema() schema.GroupVersionResource
- func GetSecretSchema() schema.GroupVersionResource
- func GetServiceSchema() schema.GroupVersionResource
- func GetStorageClassSchema() schema.GroupVersionResource
- func GetUserSchema() schema.GroupVersionResource
- func GetWorkspaceSchema() schema.GroupVersionResource
- func GetWorkspaceTemplate() schema.GroupVersionResource
- type DockerClient
- type DockerTags
- type ImageDigest
Constants ¶
const (
// KsVersion is the latest release version
KsVersion = "v3.1.0"
)
Variables ¶
This section is empty.
Functions ¶
func GetClusterConfiguration ¶
func GetClusterConfiguration() schema.GroupVersionResource
GetClusterConfiguration returns the schema of ClusterConfiguration
func GetConfigMapSchema ¶ added in v0.0.12
func GetConfigMapSchema() schema.GroupVersionResource
GetConfigMapSchema returns the schema of ConfigMap
func GetDeploySchema ¶
func GetDeploySchema() schema.GroupVersionResource
GetDeploySchema returns the schema of deploy
func GetDevOpsProjectSchema ¶ added in v0.0.21
func GetDevOpsProjectSchema() schema.GroupVersionResource
GetDevOpsProjectSchema returns the schema of DevOpsProject
func GetNamespaceSchema ¶
func GetNamespaceSchema() schema.GroupVersionResource
GetNamespaceSchema returns the schema of namespaces
func GetObjectFromInterface ¶ added in v0.0.33
func GetObjectFromInterface(raw interface{}) (obj *unstructured.Unstructured, err error)
GetObjectFromInterface returns the Unstructured object from a interface
func GetObjectFromYaml ¶ added in v0.0.21
func GetObjectFromYaml(yamlText string) (obj *unstructured.Unstructured, err error)
GetObjectFromYaml returns the Unstructured object from a YAML
func GetPipelineSchema ¶
func GetPipelineSchema() schema.GroupVersionResource
GetPipelineSchema returns the schema of pipelines
func GetPodSchema ¶ added in v0.0.22
func GetPodSchema() schema.GroupVersionResource
GetPodSchema returns the schema of deploy
func GetS2iBuilderSchema ¶ added in v0.0.33
func GetS2iBuilderSchema() schema.GroupVersionResource
GetS2iBuilderSchema returns the schema of S2iBuilder
func GetS2iBuilderTemplateSchema ¶ added in v0.0.33
func GetS2iBuilderTemplateSchema() schema.GroupVersionResource
GetS2iBuilderTemplateSchema returns the schema of S2iBuilderTemplate
func GetSecretSchema ¶ added in v0.0.33
func GetSecretSchema() schema.GroupVersionResource
GetSecretSchema returns the schema of Secret
func GetServiceSchema ¶ added in v0.0.12
func GetServiceSchema() schema.GroupVersionResource
GetServiceSchema returns the schema of service
func GetStorageClassSchema ¶ added in v0.0.27
func GetStorageClassSchema() schema.GroupVersionResource
GetStorageClassSchema returns the schema of StorageClass
func GetUserSchema ¶
func GetUserSchema() schema.GroupVersionResource
GetUserSchema returns the schema of users
func GetWorkspaceSchema ¶ added in v0.0.21
func GetWorkspaceSchema() schema.GroupVersionResource
GetWorkspaceSchema returns the schema of workspace
func GetWorkspaceTemplate ¶ added in v0.0.35
func GetWorkspaceTemplate() schema.GroupVersionResource
GetWorkspaceTemplate returns the schema of WorkspaceTemplate
Types ¶
type DockerClient ¶
DockerClient is a simple Docker client
func (*DockerClient) GetDigest ¶
func (d *DockerClient) GetDigest(tag string) string
GetDigest returns the digest of the specific image tag
func (*DockerClient) GetDigestObj ¶ added in v0.0.17
func (d *DockerClient) GetDigestObj(tag string) (digest ImageDigest, err error)
GetDigestObj returns the digest object
func (*DockerClient) GetTags ¶
func (d *DockerClient) GetTags() (tags *DockerTags, err error)
GetTags returns the tag list
func (*DockerClient) GetToken ¶
func (d *DockerClient) GetToken() string
GetToken returns the token of target docker image provider
type DockerTags ¶
DockerTags represents the docker tag list
type ImageDigest ¶ added in v0.0.17
ImageDigest is the digest info of docker image