Documentation ¶
Overview ¶
+groupName=cassandra.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 BackupPlan
- func (in *BackupPlan) DeepCopy() *BackupPlan
- func (in *BackupPlan) DeepCopyInto(out *BackupPlan)
- func (in *BackupPlan) DeepCopyObject() runtime.Object
- func (r *BackupPlan) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *BackupPlan) ValidateCreate() error
- func (r *BackupPlan) ValidateDelete() error
- func (r *BackupPlan) ValidateUpdate(old runtime.Object) error
- type BackupPlanList
- type BackupPlanSpec
- type BackupPlanSpecResource
- type BackupPlanStatus
- 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 ClusterSpecResource
- type ClusterStatus
- type DataCenter
- func (in *DataCenter) DeepCopy() *DataCenter
- func (in *DataCenter) DeepCopyInto(out *DataCenter)
- func (in *DataCenter) DeepCopyObject() runtime.Object
- func (r *DataCenter) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *DataCenter) ValidateCreate() error
- func (r *DataCenter) ValidateDelete() error
- func (r *DataCenter) ValidateUpdate(old runtime.Object) error
- type DataCenterList
- type DataCenterSpec
- type DataCenterSpecResource
- type DataCenterStatus
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: cassandra.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 BackupPlan ¶
type BackupPlan struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BackupPlanSpec `json:"spec,omitempty"` Status BackupPlanStatus `json:"status,omitempty"` }
func (*BackupPlan) DeepCopy ¶
func (in *BackupPlan) DeepCopy() *BackupPlan
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupPlan.
func (*BackupPlan) DeepCopyInto ¶
func (in *BackupPlan) DeepCopyInto(out *BackupPlan)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupPlan) DeepCopyObject ¶
func (in *BackupPlan) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BackupPlan) SetupWebhookWithManager ¶
func (r *BackupPlan) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*BackupPlan) ValidateCreate ¶
func (r *BackupPlan) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*BackupPlan) ValidateDelete ¶
func (r *BackupPlan) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*BackupPlan) ValidateUpdate ¶
func (r *BackupPlan) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type BackupPlanList ¶
type BackupPlanList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of BackupPlan CRD objects Items []BackupPlan `json:"items,omitempty"` }
BackupPlanList is a list of BackupPlans
func (*BackupPlanList) DeepCopy ¶
func (in *BackupPlanList) DeepCopy() *BackupPlanList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupPlanList.
func (*BackupPlanList) DeepCopyInto ¶
func (in *BackupPlanList) DeepCopyInto(out *BackupPlanList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupPlanList) DeepCopyObject ¶
func (in *BackupPlanList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BackupPlanSpec ¶
type BackupPlanSpec struct { State *BackupPlanSpecResource `json:"state,omitempty" tf:"-"` Resource BackupPlanSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*BackupPlanSpec) DeepCopy ¶
func (in *BackupPlanSpec) DeepCopy() *BackupPlanSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupPlanSpec.
func (*BackupPlanSpec) DeepCopyInto ¶
func (in *BackupPlanSpec) DeepCopyInto(out *BackupPlanSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupPlanSpecResource ¶
type BackupPlanSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional Active *bool `json:"active,omitempty" tf:"active"` // +optional BackupPeriod *string `json:"backupPeriod,omitempty" tf:"backup_period"` BackupTime *string `json:"backupTime" tf:"backup_time"` ClusterID *string `json:"clusterID" tf:"cluster_id"` DataCenterID *string `json:"dataCenterID" tf:"data_center_id"` // +optional RetentionPeriod *int64 `json:"retentionPeriod,omitempty" tf:"retention_period"` }
func (*BackupPlanSpecResource) DeepCopy ¶
func (in *BackupPlanSpecResource) DeepCopy() *BackupPlanSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupPlanSpecResource.
func (*BackupPlanSpecResource) DeepCopyInto ¶
func (in *BackupPlanSpecResource) DeepCopyInto(out *BackupPlanSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupPlanStatus ¶
type BackupPlanStatus 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 (*BackupPlanStatus) DeepCopy ¶
func (in *BackupPlanStatus) DeepCopy() *BackupPlanStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupPlanStatus.
func (*BackupPlanStatus) DeepCopyInto ¶
func (in *BackupPlanStatus) DeepCopyInto(out *BackupPlanStatus)
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,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 ClusterSpecResource ¶
type ClusterSpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional AutoRenew *bool `json:"autoRenew,omitempty" tf:"auto_renew"` // +optional AutoRenewPeriod *int64 `json:"autoRenewPeriod,omitempty" tf:"auto_renew_period"` // +optional ClusterName *string `json:"clusterName,omitempty" tf:"cluster_name"` // +optional DataCenterName *string `json:"dataCenterName,omitempty" tf:"data_center_name"` // +optional DiskSize *int64 `json:"diskSize,omitempty" tf:"disk_size"` // +optional DiskType *string `json:"diskType,omitempty" tf:"disk_type"` // +optional EnablePublic *bool `json:"enablePublic,omitempty" tf:"enable_public"` InstanceType *string `json:"instanceType" tf:"instance_type"` // +optional IpWhite *string `json:"ipWhite,omitempty" tf:"ip_white"` // +optional MaintainEndTime *string `json:"maintainEndTime,omitempty" tf:"maintain_end_time"` // +optional MaintainStartTime *string `json:"maintainStartTime,omitempty" tf:"maintain_start_time"` MajorVersion *string `json:"majorVersion" tf:"major_version"` NodeCount *int64 `json:"nodeCount" tf:"node_count"` // +optional Password *string `json:"-" sensitive:"true" tf:"password"` PayType *string `json:"payType" tf:"pay_type"` // +optional Period *int64 `json:"period,omitempty" tf:"period"` // +optional PeriodUnit *string `json:"periodUnit,omitempty" tf:"period_unit"` // +optional PublicPoints []string `json:"publicPoints,omitempty" tf:"public_points"` // +optional SecurityGroups []string `json:"securityGroups,omitempty" tf:"security_groups"` // +optional Status *string `json:"status,omitempty" tf:"status"` // +optional Tags map[string]string `json:"tags,omitempty" tf:"tags"` VswitchID *string `json:"vswitchID" tf:"vswitch_id"` // +optional ZoneID *string `json:"zoneID,omitempty" tf:"zone_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.
type DataCenter ¶
type DataCenter struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DataCenterSpec `json:"spec,omitempty"` Status DataCenterStatus `json:"status,omitempty"` }
func (*DataCenter) DeepCopy ¶
func (in *DataCenter) DeepCopy() *DataCenter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataCenter.
func (*DataCenter) DeepCopyInto ¶
func (in *DataCenter) DeepCopyInto(out *DataCenter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DataCenter) DeepCopyObject ¶
func (in *DataCenter) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DataCenter) SetupWebhookWithManager ¶
func (r *DataCenter) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*DataCenter) ValidateCreate ¶
func (r *DataCenter) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*DataCenter) ValidateDelete ¶
func (r *DataCenter) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*DataCenter) ValidateUpdate ¶
func (r *DataCenter) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type DataCenterList ¶
type DataCenterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of DataCenter CRD objects Items []DataCenter `json:"items,omitempty"` }
DataCenterList is a list of DataCenters
func (*DataCenterList) DeepCopy ¶
func (in *DataCenterList) DeepCopy() *DataCenterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataCenterList.
func (*DataCenterList) DeepCopyInto ¶
func (in *DataCenterList) DeepCopyInto(out *DataCenterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DataCenterList) DeepCopyObject ¶
func (in *DataCenterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DataCenterSpec ¶
type DataCenterSpec struct { State *DataCenterSpecResource `json:"state,omitempty" tf:"-"` Resource DataCenterSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*DataCenterSpec) DeepCopy ¶
func (in *DataCenterSpec) DeepCopy() *DataCenterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataCenterSpec.
func (*DataCenterSpec) DeepCopyInto ¶
func (in *DataCenterSpec) DeepCopyInto(out *DataCenterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataCenterSpecResource ¶
type DataCenterSpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional AutoRenew *bool `json:"autoRenew,omitempty" tf:"auto_renew"` // +optional AutoRenewPeriod *int64 `json:"autoRenewPeriod,omitempty" tf:"auto_renew_period"` ClusterID *string `json:"clusterID" tf:"cluster_id"` // +optional DataCenterID *string `json:"dataCenterID,omitempty" tf:"data_center_id"` // +optional DataCenterName *string `json:"dataCenterName,omitempty" tf:"data_center_name"` // +optional DiskSize *int64 `json:"diskSize,omitempty" tf:"disk_size"` // +optional DiskType *string `json:"diskType,omitempty" tf:"disk_type"` // +optional EnablePublic *bool `json:"enablePublic,omitempty" tf:"enable_public"` InstanceType *string `json:"instanceType" tf:"instance_type"` NodeCount *int64 `json:"nodeCount" tf:"node_count"` PayType *string `json:"payType" tf:"pay_type"` // +optional Period *int64 `json:"period,omitempty" tf:"period"` // +optional PeriodUnit *string `json:"periodUnit,omitempty" tf:"period_unit"` // +optional PublicPoints []string `json:"publicPoints,omitempty" tf:"public_points"` // +optional Status *string `json:"status,omitempty" tf:"status"` VswitchID *string `json:"vswitchID" tf:"vswitch_id"` // +optional ZoneID *string `json:"zoneID,omitempty" tf:"zone_id"` }
func (*DataCenterSpecResource) DeepCopy ¶
func (in *DataCenterSpecResource) DeepCopy() *DataCenterSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataCenterSpecResource.
func (*DataCenterSpecResource) DeepCopyInto ¶
func (in *DataCenterSpecResource) DeepCopyInto(out *DataCenterSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataCenterStatus ¶
type DataCenterStatus 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 (*DataCenterStatus) DeepCopy ¶
func (in *DataCenterStatus) DeepCopy() *DataCenterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataCenterStatus.
func (*DataCenterStatus) DeepCopyInto ¶
func (in *DataCenterStatus) DeepCopyInto(out *DataCenterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.