Documentation ¶
Overview ¶
+groupName=container.alicloud.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Cluster
- func (in *Cluster) DeepCopy() *Cluster
- func (in *Cluster) DeepCopyInto(out *Cluster)
- func (in *Cluster) DeepCopyObject() runtime.Object
- 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 ClusterList
- type ClusterSpec
- type ClusterSpecNodes
- type ClusterSpecResource
- type ClusterStatus
Constants ¶
This section is empty.
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: container.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Kind ¶
Kind takes an unqualified kind and returns a Group qualified GroupKind
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Cluster ¶
type Cluster struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterSpec `json:"spec,omitempty"` Status ClusterStatus `json:"status,omitempty"` }
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) 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 ClusterList ¶
type ClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Cluster CRD objects Items []Cluster `json:"items,omitempty"` }
ClusterList is a list of Clusters
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 ClusterSpec ¶
type ClusterSpec struct { State *ClusterSpecResource `json:"state,omitempty" tf:"-"` Resource ClusterSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
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 ClusterSpecNodes ¶
type ClusterSpecNodes struct { // +optional Eip *string `json:"eip,omitempty" tf:"eip"` // +optional ID *string `json:"ID,omitempty" tf:"id"` // +optional Name *string `json:"name,omitempty" tf:"name"` // +optional PrivateIP *string `json:"privateIP,omitempty" tf:"private_ip"` // +optional Status *string `json:"status,omitempty" tf:"status"` }
func (*ClusterSpecNodes) DeepCopy ¶
func (in *ClusterSpecNodes) DeepCopy() *ClusterSpecNodes
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpecNodes.
func (*ClusterSpecNodes) DeepCopyInto ¶
func (in *ClusterSpecNodes) DeepCopyInto(out *ClusterSpecNodes)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterSpecResource ¶
type ClusterSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional AgentVersion *string `json:"agentVersion,omitempty" tf:"agent_version"` CidrBlock *string `json:"cidrBlock" tf:"cidr_block"` // +optional DiskCategory *string `json:"diskCategory,omitempty" tf:"disk_category"` // +optional DiskSize *int64 `json:"diskSize,omitempty" tf:"disk_size"` // +optional ImageID *string `json:"imageID,omitempty" tf:"image_id"` InstanceType *string `json:"instanceType" tf:"instance_type"` // +optional IsOutdated *bool `json:"isOutdated,omitempty" tf:"is_outdated"` // +optional Name *string `json:"name,omitempty" tf:"name"` // +optional NamePrefix *string `json:"namePrefix,omitempty" tf:"name_prefix"` // +optional NeedSlb *bool `json:"needSlb,omitempty" tf:"need_slb"` // +optional NodeNumber *int64 `json:"nodeNumber,omitempty" tf:"node_number"` // +optional Nodes []ClusterSpecNodes `json:"nodes,omitempty" tf:"nodes"` Password *string `json:"-" sensitive:"true" tf:"password"` // +optional ReleaseEip *bool `json:"releaseEip,omitempty" tf:"release_eip"` // +optional SecurityGroupID *string `json:"securityGroupID,omitempty" tf:"security_group_id"` // +optional // Deprecated Size *int64 `json:"size,omitempty" tf:"size"` // +optional SlbID *string `json:"slbID,omitempty" tf:"slb_id"` // +optional VpcID *string `json:"vpcID,omitempty" tf:"vpc_id"` VswitchID *string `json:"vswitchID" tf:"vswitch_id"` }
func (*ClusterSpecResource) DeepCopy ¶
func (in *ClusterSpecResource) DeepCopy() *ClusterSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpecResource.
func (*ClusterSpecResource) DeepCopyInto ¶
func (in *ClusterSpecResource) DeepCopyInto(out *ClusterSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterStatus ¶
type ClusterStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
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.