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 GetPipelineRunSchema() schema.GroupVersionResource
- 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 default release version of KuberSphere KsVersion = "v3.2.0" // K8sVersion is the default version of the Kubernetes K8sVersion = "v1.22.1" )
Variables ¶
This section is empty.
Functions ¶
func GetClusterConfiguration ¶
func GetClusterConfiguration() schema.GroupVersionResource
GetClusterConfiguration returns the schema of ClusterConfiguration
func GetConfigMapSchema ¶
func GetConfigMapSchema() schema.GroupVersionResource
GetConfigMapSchema returns the schema of ConfigMap
func GetDeploySchema ¶
func GetDeploySchema() schema.GroupVersionResource
GetDeploySchema returns the schema of deploy
func GetDevOpsProjectSchema ¶
func GetDevOpsProjectSchema() schema.GroupVersionResource
GetDevOpsProjectSchema returns the schema of DevOpsProject
func GetNamespaceSchema ¶
func GetNamespaceSchema() schema.GroupVersionResource
GetNamespaceSchema returns the schema of namespaces
func GetObjectFromInterface ¶
func GetObjectFromInterface(raw interface{}) (obj *unstructured.Unstructured, err error)
GetObjectFromInterface returns the Unstructured object from a interface
func GetObjectFromYaml ¶
func GetObjectFromYaml(yamlText string) (obj *unstructured.Unstructured, err error)
GetObjectFromYaml returns the Unstructured object from a YAML
func GetPipelineRunSchema ¶
func GetPipelineRunSchema() schema.GroupVersionResource
GetPipelineRunSchema returns the schema of pipelineruns
func GetPipelineSchema ¶
func GetPipelineSchema() schema.GroupVersionResource
GetPipelineSchema returns the schema of pipelines
func GetPodSchema ¶
func GetPodSchema() schema.GroupVersionResource
GetPodSchema returns the schema of deploy
func GetS2iBuilderSchema ¶
func GetS2iBuilderSchema() schema.GroupVersionResource
GetS2iBuilderSchema returns the schema of S2iBuilder
func GetS2iBuilderTemplateSchema ¶
func GetS2iBuilderTemplateSchema() schema.GroupVersionResource
GetS2iBuilderTemplateSchema returns the schema of S2iBuilderTemplate
func GetSecretSchema ¶
func GetSecretSchema() schema.GroupVersionResource
GetSecretSchema returns the schema of Secret
func GetServiceSchema ¶
func GetServiceSchema() schema.GroupVersionResource
GetServiceSchema returns the schema of service
func GetStorageClassSchema ¶
func GetStorageClassSchema() schema.GroupVersionResource
GetStorageClassSchema returns the schema of StorageClass
func GetUserSchema ¶
func GetUserSchema() schema.GroupVersionResource
GetUserSchema returns the schema of users
func GetWorkspaceSchema ¶
func GetWorkspaceSchema() schema.GroupVersionResource
GetWorkspaceSchema returns the schema of workspace
func GetWorkspaceTemplate ¶
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 ¶
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 ¶
ImageDigest is the digest info of docker image