Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the cluster v1 API group +kubebuilder:object:generate=true +groupName=cluster.kok.tanx
Index ¶
- Constants
- Variables
- func RegisterVersionedDefaulters(version string, o ClusterDefaulter)
- func RegisterVersionedValidators(version string, o ClusterValidator)
- type CLusterPluginSpecInner
- type CLusterSchedulerStatus
- type Cluster
- func (in *Cluster) DeepCopy() *Cluster
- func (in *Cluster) DeepCopyInto(out *Cluster)
- func (in *Cluster) DeepCopyObject() runtime.Object
- func (r *Cluster) Default()
- func (r *Cluster) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Cluster) ValidateCreate() error
- func (r *Cluster) ValidateDelete() error
- func (r *Cluster) ValidateUpdate(old runtime.Object) error
- type ClusterAccessSpec
- type ClusterApiServerSpec
- type ClusterApiServerStatus
- type ClusterClientSpec
- type ClusterClientStatus
- type ClusterControllerManagerSpec
- type ClusterControllerManagerStatus
- type ClusterDefaulter
- type ClusterEtcdSpec
- type ClusterEtcdStatus
- type ClusterInitSpec
- type ClusterInitStatus
- type ClusterKubeProxySpec
- type ClusterKubeletSpec
- type ClusterList
- type ClusterPlugin
- func (in *ClusterPlugin) DeepCopy() *ClusterPlugin
- func (in *ClusterPlugin) DeepCopyInto(out *ClusterPlugin)
- func (in *ClusterPlugin) DeepCopyObject() runtime.Object
- func (in *ClusterPlugin) GetClusterNames() string
- func (in *ClusterPlugin) GetSpec() CLusterPluginSpecInner
- func (in *ClusterPlugin) GetStatus() ClusterPluginStatus
- func (in *ClusterPlugin) UpdateStatus(target ClusterPluginStatus)
- type ClusterPluginList
- type ClusterPluginObj
- type ClusterPluginPodContainer
- type ClusterPluginPodSpec
- type ClusterPluginPodStatus
- type ClusterPluginSpec
- type ClusterPluginStatus
- type ClusterPostInstallStatus
- type ClusterSchedulerSpec
- type ClusterSpec
- type ClusterStatus
- type ClusterValidator
- type ImageBase
- type MultiClusterPlugin
- func (in *MultiClusterPlugin) DeepCopy() *MultiClusterPlugin
- func (in *MultiClusterPlugin) DeepCopyInto(out *MultiClusterPlugin)
- func (in *MultiClusterPlugin) DeepCopyObject() runtime.Object
- func (in *MultiClusterPlugin) GetClusterNames() string
- func (in *MultiClusterPlugin) GetSpec() CLusterPluginSpecInner
- func (in *MultiClusterPlugin) GetStatus() ClusterPluginStatus
- func (in *MultiClusterPlugin) UpdateStatus(target ClusterPluginStatus)
- type MultiClusterPluginList
- type MultiClusterPluginSpec
Constants ¶
const VersionSeparator = "-"
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "cluster.kok.tanx", Version: "v1"} EtcdGroupVersion = schema.GroupVersion{Group: "etcd.database.coreos.com", Version: "v1beta2"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} EtcdSchemeBuilder = &scheme.Builder{GroupVersion: EtcdGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme EtcdAddToScheme = EtcdSchemeBuilder.AddToScheme )
var VersionedDefaulters = map[string][]ClusterDefaulter{}
var VersionedValidators = map[string][]ClusterValidator{}
Functions ¶
func RegisterVersionedDefaulters ¶
func RegisterVersionedDefaulters(version string, o ClusterDefaulter)
func RegisterVersionedValidators ¶
func RegisterVersionedValidators(version string, o ClusterValidator)
Types ¶
type CLusterPluginSpecInner ¶
type CLusterPluginSpecInner struct { Install ClusterPluginPodSpec `json:"install,omitempty"` Uninstall ClusterPluginPodSpec `json:"uninstall,omitempty"` }
func (*CLusterPluginSpecInner) DeepCopy ¶
func (in *CLusterPluginSpecInner) DeepCopy() *CLusterPluginSpecInner
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CLusterPluginSpecInner.
func (*CLusterPluginSpecInner) DeepCopyInto ¶
func (in *CLusterPluginSpecInner) DeepCopyInto(out *CLusterPluginSpecInner)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CLusterSchedulerStatus ¶
type CLusterSchedulerStatus struct { Name string `json:"name,omitempty"` Status appsv1.DeploymentStatus `json:"status,omitempty"` }
func (*CLusterSchedulerStatus) DeepCopy ¶
func (in *CLusterSchedulerStatus) DeepCopy() *CLusterSchedulerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CLusterSchedulerStatus.
func (*CLusterSchedulerStatus) DeepCopyInto ¶
func (in *CLusterSchedulerStatus) DeepCopyInto(out *CLusterSchedulerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Cluster ¶
type Cluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterSpec `json:"spec,omitempty"` Status ClusterStatus `json:"status,omitempty"` }
Cluster is the Schema for the clusters API
func (*Cluster) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
func (*Cluster) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Cluster) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Cluster) Default ¶
func (r *Cluster) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*Cluster) SetupWebhookWithManager ¶
func (*Cluster) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Cluster) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type ClusterAccessSpec ¶
func (*ClusterAccessSpec) DeepCopy ¶
func (in *ClusterAccessSpec) DeepCopy() *ClusterAccessSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAccessSpec.
func (*ClusterAccessSpec) DeepCopyInto ¶
func (in *ClusterAccessSpec) DeepCopyInto(out *ClusterAccessSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterApiServerSpec ¶
func (*ClusterApiServerSpec) DeepCopy ¶
func (in *ClusterApiServerSpec) DeepCopy() *ClusterApiServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterApiServerSpec.
func (*ClusterApiServerSpec) DeepCopyInto ¶
func (in *ClusterApiServerSpec) DeepCopyInto(out *ClusterApiServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterApiServerStatus ¶
type ClusterApiServerStatus struct { Name string `json:"name,omitempty"` SvcName string `json:"svcName,omitempty"` Status appsv1.DeploymentStatus `json:"status,omitempty"` }
func (*ClusterApiServerStatus) DeepCopy ¶
func (in *ClusterApiServerStatus) DeepCopy() *ClusterApiServerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterApiServerStatus.
func (*ClusterApiServerStatus) DeepCopyInto ¶
func (in *ClusterApiServerStatus) DeepCopyInto(out *ClusterApiServerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterClientSpec ¶
type ClusterClientSpec struct {
ImageBase `json:",inline"`
}
func (*ClusterClientSpec) DeepCopy ¶
func (in *ClusterClientSpec) DeepCopy() *ClusterClientSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterClientSpec.
func (*ClusterClientSpec) DeepCopyInto ¶
func (in *ClusterClientSpec) DeepCopyInto(out *ClusterClientSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterClientStatus ¶
type ClusterClientStatus struct { Name string `json:"name,omitempty"` Status appsv1.DeploymentStatus `json:"status,omitempty"` }
func (*ClusterClientStatus) DeepCopy ¶
func (in *ClusterClientStatus) DeepCopy() *ClusterClientStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterClientStatus.
func (*ClusterClientStatus) DeepCopyInto ¶
func (in *ClusterClientStatus) DeepCopyInto(out *ClusterClientStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterControllerManagerSpec ¶
func (*ClusterControllerManagerSpec) DeepCopy ¶
func (in *ClusterControllerManagerSpec) DeepCopy() *ClusterControllerManagerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterControllerManagerSpec.
func (*ClusterControllerManagerSpec) DeepCopyInto ¶
func (in *ClusterControllerManagerSpec) DeepCopyInto(out *ClusterControllerManagerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterControllerManagerStatus ¶
type ClusterControllerManagerStatus struct { Name string `json:"name,omitempty"` Status appsv1.DeploymentStatus `json:"status,omitempty"` }
func (*ClusterControllerManagerStatus) DeepCopy ¶
func (in *ClusterControllerManagerStatus) DeepCopy() *ClusterControllerManagerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterControllerManagerStatus.
func (*ClusterControllerManagerStatus) DeepCopyInto ¶
func (in *ClusterControllerManagerStatus) DeepCopyInto(out *ClusterControllerManagerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterDefaulter ¶
type ClusterDefaulter interface {
Default(c *Cluster)
}
+kubebuilder:object:generate:=false +kubebuilder:object:root:=false
type ClusterEtcdSpec ¶
type ClusterEtcdSpec struct {
Count int `json:"count"`
}
func (*ClusterEtcdSpec) DeepCopy ¶
func (in *ClusterEtcdSpec) DeepCopy() *ClusterEtcdSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterEtcdSpec.
func (*ClusterEtcdSpec) DeepCopyInto ¶
func (in *ClusterEtcdSpec) DeepCopyInto(out *ClusterEtcdSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterEtcdStatus ¶
type ClusterEtcdStatus struct { Name string `json:"name,omitempty"` SvcName string `json:"svcName,omitempty"` Status v1beta2.ClusterStatus `json:"status,omitempty"` }
func (*ClusterEtcdStatus) DeepCopy ¶
func (in *ClusterEtcdStatus) DeepCopy() *ClusterEtcdStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterEtcdStatus.
func (*ClusterEtcdStatus) DeepCopyInto ¶
func (in *ClusterEtcdStatus) DeepCopyInto(out *ClusterEtcdStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterInitSpec ¶
type ClusterInitSpec struct {
ImageBase `json:",inline"`
}
func (*ClusterInitSpec) DeepCopy ¶
func (in *ClusterInitSpec) DeepCopy() *ClusterInitSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterInitSpec.
func (*ClusterInitSpec) DeepCopyInto ¶
func (in *ClusterInitSpec) DeepCopyInto(out *ClusterInitSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterInitStatus ¶
type ClusterInitStatus struct { Name string `json:"name,omitempty"` CaPkiName string `json:"caPkiName,omitempty"` ServerName string `json:"serverName,omitempty"` ClientName string `json:"clientName,omitempty"` AdminConfigName string `json:"adminConfigName,omitempty"` NodeConfigName string `json:"nodeConfigName,omitempty"` ServiceAccountName string `json:"serviceAccountName,omitempty"` RoleBindingName string `json:"roleBindingName,omitempty"` Status batchv1.JobStatus `json:"status,omitempty"` DnsAddr string `json:"dnsAddr,omitempty"` EtcdPkiPeerName string `json:"etcdPkiPeerName,omitempty"` EtcdPkiServerName string `json:"etcdPkiServerName,omitempty"` EtcdPkiClientName string `json:"etcdPkiClientName,omitempty"` }
func (*ClusterInitStatus) DeepCopy ¶
func (in *ClusterInitStatus) DeepCopy() *ClusterInitStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterInitStatus.
func (*ClusterInitStatus) DeepCopyInto ¶
func (in *ClusterInitStatus) DeepCopyInto(out *ClusterInitStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterKubeProxySpec ¶
type ClusterKubeProxySpec struct {
BindAddress string `json:"bindAddress,omitempty"`
}
func (*ClusterKubeProxySpec) DeepCopy ¶
func (in *ClusterKubeProxySpec) DeepCopy() *ClusterKubeProxySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterKubeProxySpec.
func (*ClusterKubeProxySpec) DeepCopyInto ¶
func (in *ClusterKubeProxySpec) DeepCopyInto(out *ClusterKubeProxySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterKubeletSpec ¶
type ClusterKubeletSpec struct {
PodInfraContainerImage string `json:"podInfraContainerImage"`
}
func (*ClusterKubeletSpec) DeepCopy ¶
func (in *ClusterKubeletSpec) DeepCopy() *ClusterKubeletSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterKubeletSpec.
func (*ClusterKubeletSpec) DeepCopyInto ¶
func (in *ClusterKubeletSpec) DeepCopyInto(out *ClusterKubeletSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterList ¶
type ClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Cluster `json:"items"` }
ClusterList contains a list of Cluster
func (*ClusterList) DeepCopy ¶
func (in *ClusterList) DeepCopy() *ClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList.
func (*ClusterList) DeepCopyInto ¶
func (in *ClusterList) DeepCopyInto(out *ClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterList) DeepCopyObject ¶
func (in *ClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterPlugin ¶
type ClusterPlugin struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterPluginSpec `json:"spec,omitempty"` Status ClusterPluginStatus `json:"status,omitempty"` }
ClusterPlugin is the Schema for the clusterplugins API
func (*ClusterPlugin) DeepCopy ¶
func (in *ClusterPlugin) DeepCopy() *ClusterPlugin
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPlugin.
func (*ClusterPlugin) DeepCopyInto ¶
func (in *ClusterPlugin) DeepCopyInto(out *ClusterPlugin)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterPlugin) DeepCopyObject ¶
func (in *ClusterPlugin) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClusterPlugin) GetClusterNames ¶
func (in *ClusterPlugin) GetClusterNames() string
func (*ClusterPlugin) GetSpec ¶
func (in *ClusterPlugin) GetSpec() CLusterPluginSpecInner
func (*ClusterPlugin) GetStatus ¶
func (in *ClusterPlugin) GetStatus() ClusterPluginStatus
func (*ClusterPlugin) UpdateStatus ¶
func (in *ClusterPlugin) UpdateStatus(target ClusterPluginStatus)
type ClusterPluginList ¶
type ClusterPluginList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClusterPlugin `json:"items"` }
ClusterPluginList contains a list of ClusterPlugin
func (*ClusterPluginList) DeepCopy ¶
func (in *ClusterPluginList) DeepCopy() *ClusterPluginList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPluginList.
func (*ClusterPluginList) DeepCopyInto ¶
func (in *ClusterPluginList) DeepCopyInto(out *ClusterPluginList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterPluginList) DeepCopyObject ¶
func (in *ClusterPluginList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterPluginObj ¶
type ClusterPluginObj interface { metav1.Object runtime.Object GetSpec() CLusterPluginSpecInner GetStatus() ClusterPluginStatus GetClusterNames() string UpdateStatus(ClusterPluginStatus) }
type ClusterPluginPodContainer ¶
type ClusterPluginPodContainer struct { Name string `json:"name" protobuf:"bytes,1,opt,name=name"` // +optional Image string `json:"image,omitempty" protobuf:"bytes,2,opt,name=image"` // +optional Command []string `json:"command,omitempty" protobuf:"bytes,3,rep,name=command"` // +optional Args []string `json:"args,omitempty" protobuf:"bytes,4,rep,name=args"` // +optional WorkingDir string `json:"workingDir,omitempty" protobuf:"bytes,5,opt,name=workingDir"` // +optional EnvFrom []v1.EnvFromSource `json:"envFrom,omitempty" protobuf:"bytes,19,rep,name=envFrom"` // +optional // +patchMergeKey=name // +patchStrategy=merge Env []v1.EnvVar `json:"env,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,7,rep,name=env"` // +optional Resources v1.ResourceRequirements `json:"resources,omitempty" protobuf:"bytes,8,opt,name=resources"` // +optional // +patchMergeKey=mountPath // +patchStrategy=merge VolumeMounts []v1.VolumeMount `json:"volumeMounts,omitempty" patchStrategy:"merge" patchMergeKey:"mountPath" protobuf:"bytes,9,rep,name=volumeMounts"` // +patchMergeKey=devicePath // +patchStrategy=merge // +optional VolumeDevices []v1.VolumeDevice `json:"volumeDevices,omitempty" patchStrategy:"merge" patchMergeKey:"devicePath" protobuf:"bytes,21,rep,name=volumeDevices"` // +optional LivenessProbe *v1.Probe `json:"livenessProbe,omitempty" protobuf:"bytes,10,opt,name=livenessProbe"` // +optional ReadinessProbe *v1.Probe `json:"readinessProbe,omitempty" protobuf:"bytes,11,opt,name=readinessProbe"` // +optional StartupProbe *v1.Probe `json:"startupProbe,omitempty" protobuf:"bytes,22,opt,name=startupProbe"` // +optional Lifecycle *v1.Lifecycle `json:"lifecycle,omitempty" protobuf:"bytes,12,opt,name=lifecycle"` // +optional ImagePullPolicy v1.PullPolicy `json:"imagePullPolicy,omitempty" protobuf:"bytes,14,opt,name=imagePullPolicy,casttype=PullPolicy"` // +optional SecurityContext *v1.SecurityContext `json:"securityContext,omitempty" protobuf:"bytes,15,opt,name=securityContext"` }
func (*ClusterPluginPodContainer) DeepCopy ¶
func (in *ClusterPluginPodContainer) DeepCopy() *ClusterPluginPodContainer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPluginPodContainer.
func (*ClusterPluginPodContainer) DeepCopyInto ¶
func (in *ClusterPluginPodContainer) DeepCopyInto(out *ClusterPluginPodContainer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterPluginPodSpec ¶
type ClusterPluginPodSpec struct { // +optional // +patchMergeKey=name // +patchStrategy=merge,retainKeys Volumes []v1.Volume `json:"volumes,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"name" protobuf:"bytes,1,rep,name=volumes"` // +patchMergeKey=name // +patchStrategy=merge InitContainers []ClusterPluginPodContainer `json:"initContainers,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,20,rep,name=initContainers"` // +patchMergeKey=name // +patchStrategy=merge Containers []ClusterPluginPodContainer `json:"containers" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,2,rep,name=containers"` // +optional ServiceAccountName string `json:"serviceAccountName,omitempty" protobuf:"bytes,8,opt,name=serviceAccountName"` // +optional // +patchMergeKey=name // +patchStrategy=merge ImagePullSecrets []v1.LocalObjectReference `json:"imagePullSecrets,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,15,rep,name=imagePullSecrets"` // +optional Hostname string `json:"hostname,omitempty" protobuf:"bytes,16,opt,name=hostname"` // +optional RuntimeClassName *string `json:"runtimeClassName,omitempty" protobuf:"bytes,29,opt,name=runtimeClassName"` }
func (*ClusterPluginPodSpec) DeepCopy ¶
func (in *ClusterPluginPodSpec) DeepCopy() *ClusterPluginPodSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPluginPodSpec.
func (*ClusterPluginPodSpec) DeepCopyInto ¶
func (in *ClusterPluginPodSpec) DeepCopyInto(out *ClusterPluginPodSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterPluginPodStatus ¶
type ClusterPluginPodStatus struct { PodName string `json:"podName,omitempty"` Status v1.PodPhase `json:"status,omitempty"` }
func (*ClusterPluginPodStatus) DeepCopy ¶
func (in *ClusterPluginPodStatus) DeepCopy() *ClusterPluginPodStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPluginPodStatus.
func (*ClusterPluginPodStatus) DeepCopyInto ¶
func (in *ClusterPluginPodStatus) DeepCopyInto(out *ClusterPluginPodStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterPluginSpec ¶
type ClusterPluginSpec struct { CLusterPluginSpecInner `json:",inline"` ClusterName string `json:"clusterName"` }
ClusterPluginSpec defines the desired state of ClusterPlugin
func (*ClusterPluginSpec) DeepCopy ¶
func (in *ClusterPluginSpec) DeepCopy() *ClusterPluginSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPluginSpec.
func (*ClusterPluginSpec) DeepCopyInto ¶
func (in *ClusterPluginSpec) DeepCopyInto(out *ClusterPluginSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterPluginStatus ¶
type ClusterPluginStatus struct { InstallStatus ClusterPluginPodStatus `json:"installStatus,omitempty"` UninstallStatus ClusterPluginPodStatus `json:"uninstallStatus,omitempty"` }
ClusterPluginStatus defines the observed state of ClusterPlugin
func (*ClusterPluginStatus) DeepCopy ¶
func (in *ClusterPluginStatus) DeepCopy() *ClusterPluginStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPluginStatus.
func (*ClusterPluginStatus) DeepCopyInto ¶
func (in *ClusterPluginStatus) DeepCopyInto(out *ClusterPluginStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterPostInstallStatus ¶
type ClusterPostInstallStatus struct { Name string `json:"name,omitempty"` Status batchv1.JobStatus `json:"status,omitempty"` }
func (*ClusterPostInstallStatus) DeepCopy ¶
func (in *ClusterPostInstallStatus) DeepCopy() *ClusterPostInstallStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPostInstallStatus.
func (*ClusterPostInstallStatus) DeepCopyInto ¶
func (in *ClusterPostInstallStatus) DeepCopyInto(out *ClusterPostInstallStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterSchedulerSpec ¶
func (*ClusterSchedulerSpec) DeepCopy ¶
func (in *ClusterSchedulerSpec) DeepCopy() *ClusterSchedulerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSchedulerSpec.
func (*ClusterSchedulerSpec) DeepCopyInto ¶
func (in *ClusterSchedulerSpec) DeepCopyInto(out *ClusterSchedulerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterSpec ¶
type ClusterSpec struct { ClusterDomain string `json:"clusterDomain,omitempty"` ClusterVersion string `json:"clusterVersion,omitempty"` ClusterCIDR string `json:"clusterCidr,omitempty"` ServiceClusterIpRange string `json:"serviceClusterIpRange,omitempty"` RegistryMirrors []string `json:"registryMirrors,omitempty"` AccessSpec ClusterAccessSpec `json:"access"` InitSpec ClusterInitSpec `json:"init,omitempty"` EtcdSpec ClusterEtcdSpec `json:"etcd,omitempty"` ApiServerSpec ClusterApiServerSpec `json:"apiServer,omitempty"` ControllerManagerSpec ClusterControllerManagerSpec `json:"controllerManager,omitempty"` SchedulerSpec ClusterSchedulerSpec `json:"scheduler,omitempty"` ClientSpec ClusterClientSpec `json:"client,omitempty"` KubeletSpec ClusterKubeletSpec `json:"kubelet,omitempty"` KubeProxySpec ClusterKubeProxySpec `json:"kubeProxy,omitempty"` }
ClusterSpec defines the desired state of Cluster
func (*ClusterSpec) DeepCopy ¶
func (in *ClusterSpec) DeepCopy() *ClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec.
func (*ClusterSpec) DeepCopyInto ¶
func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterStatus ¶
type ClusterStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file Init ClusterInitStatus `json:"init,omitempty"` Etcd ClusterEtcdStatus `json:"etcd,omitempty"` ApiServer ClusterApiServerStatus `json:"apiServer,omitempty"` ControllerManager ClusterControllerManagerStatus `json:"controllerManager,omitempty"` Scheduler CLusterSchedulerStatus `json:"scheduler,omitempty"` Client ClusterClientStatus `json:"client,omitempty"` PostInstall ClusterPostInstallStatus `json:"postInstall,omitempty"` }
ClusterStatus defines the observed state of Cluster
func (*ClusterStatus) DeepCopy ¶
func (in *ClusterStatus) DeepCopy() *ClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.
func (*ClusterStatus) DeepCopyInto ¶
func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterValidator ¶
type ClusterValidator interface { ValidateCreate(c *Cluster) field.ErrorList ValidateUpdate(now *Cluster, old *Cluster) field.ErrorList }
+kubebuilder:object:generate:=false +kubebuilder:object:root:=false
type ImageBase ¶
type ImageBase struct {
Image string `json:"image"`
}
func (*ImageBase) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageBase.
func (*ImageBase) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MultiClusterPlugin ¶
type MultiClusterPlugin struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MultiClusterPluginSpec `json:"spec,omitempty"` Status ClusterPluginStatus `json:"status,omitempty"` }
MultiClusterPlugin is the Schema for the multiclusterplugins API
func (*MultiClusterPlugin) DeepCopy ¶
func (in *MultiClusterPlugin) DeepCopy() *MultiClusterPlugin
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiClusterPlugin.
func (*MultiClusterPlugin) DeepCopyInto ¶
func (in *MultiClusterPlugin) DeepCopyInto(out *MultiClusterPlugin)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MultiClusterPlugin) DeepCopyObject ¶
func (in *MultiClusterPlugin) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MultiClusterPlugin) GetClusterNames ¶
func (in *MultiClusterPlugin) GetClusterNames() string
func (*MultiClusterPlugin) GetSpec ¶
func (in *MultiClusterPlugin) GetSpec() CLusterPluginSpecInner
func (*MultiClusterPlugin) GetStatus ¶
func (in *MultiClusterPlugin) GetStatus() ClusterPluginStatus
func (*MultiClusterPlugin) UpdateStatus ¶
func (in *MultiClusterPlugin) UpdateStatus(target ClusterPluginStatus)
type MultiClusterPluginList ¶
type MultiClusterPluginList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MultiClusterPlugin `json:"items"` }
MultiClusterPluginList contains a list of MultiClusterPlugin
func (*MultiClusterPluginList) DeepCopy ¶
func (in *MultiClusterPluginList) DeepCopy() *MultiClusterPluginList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiClusterPluginList.
func (*MultiClusterPluginList) DeepCopyInto ¶
func (in *MultiClusterPluginList) DeepCopyInto(out *MultiClusterPluginList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MultiClusterPluginList) DeepCopyObject ¶
func (in *MultiClusterPluginList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MultiClusterPluginSpec ¶
type MultiClusterPluginSpec struct { Clusters []string `json:"clusters"` CLusterPluginSpecInner `json:",inline"` }
MultiClusterPluginSpec defines the desired state of MultiClusterPlugin
func (*MultiClusterPluginSpec) DeepCopy ¶
func (in *MultiClusterPluginSpec) DeepCopy() *MultiClusterPluginSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiClusterPluginSpec.
func (*MultiClusterPluginSpec) DeepCopyInto ¶
func (in *MultiClusterPluginSpec) DeepCopyInto(out *MultiClusterPluginSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.