Documentation ¶
Index ¶
Constants ¶
View Source
const ( LabelResourceName = "byte.builders/resource-name" LabelClusterUID = "byte.builders/cluster-uid" LabelClusterUserID = "byte.builders/cluster-user-id" LabelClusterOwnerID = "byte.builders/cluster-owner-id" LabelClusterProvider = "byte.builders/cluster-provider" LabelClusterImportType = "byte.builders/cluster-import-type" LabelClusterExternalID = "byte.builders/cluster-external-id" LabelTricksterReference = "byte.builders/cluster" LabelClusterManagerACE = "clustermanager.appscode.com/ace" LabelClusterManagerOCMHub = "clustermanager.appscode.com/ocm-hub" LabelClusterManagerOCMSpoke = "clustermanager.appscode.com/ocm-spoke" LabelClusterManagerOCMMulticlusterControlplane = "clustermanager.appscode.com/ocm-mc" LabelClusterManagerRancher = "clustermanager.appscode.com/rancher" LabelClusterManagerOpenShift = "clustermanager.appscode.com/openshift" LabelClusterManagerVCluster = "clustermanager.appscode.com/vcluster" )
View Source
const ( ClusterImportTypePublic = "public" ClusterImportTypePrivate = "private" )
View Source
const GroupName = "cluster.appscode.com"
GroupName is the group name use in this package
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckOptions ¶ added in v0.0.4
type CheckOptions struct { BasicInfo BasicInfo `json:"basicInfo,omitempty"` Provider ProviderOptions `json:"provider"` }
type ComponentOptions ¶ added in v0.0.4
type ComponentOptions struct { FluxCD bool `json:"fluxCD,omitempty"` FeatureSets []FeatureSet `json:"featureSets,omitempty"` AllFeatures bool `json:"allFeatures,omitempty"` ClusterProfile string `json:"clusterProfile,omitempty"` }
type ConnectOptions ¶ added in v0.0.4
type FeatureSet ¶ added in v0.0.4
type GetOptions ¶ added in v0.0.4
type GetOptions struct {
Name string `json:"name,omitempty"`
}
type ImportOptions ¶ added in v0.0.4
type ImportOptions struct { BasicInfo BasicInfo `json:"basicInfo,omitempty"` Provider ProviderOptions `json:"provider,omitempty"` Components ComponentOptions `json:"components,omitempty"` }
type ListOptions ¶ added in v0.0.4
type ListOptions struct {
Provider string `json:"provider,omitempty"`
}
type ProviderOptions ¶ added in v0.0.4
type ProviderOptions struct { Name string `json:"name"` Credential string `json:"credential,omitempty"` ClusterID string `json:"clusterID,omitempty"` Project string `json:"project,omitempty"` Region string `json:"region,omitempty"` ResourceGroup string `json:"resourceGroup,omitempty"` KubeConfig string `json:"kubeConfig,omitempty"` }
type ReconfigureOptions ¶ added in v0.0.4
type ReconfigureOptions struct { BasicInfo BasicInfo `json:"basicInfo"` Components ComponentOptions `json:"components,omitempty"` }
type RemovalOptions ¶ added in v0.0.4
type RemovalOptions struct { Name string `json:"name"` Components ComponentOptions `json:"components,omitempty"` }
Click to show internal directories.
Click to hide internal directories.