Documentation
¶
Overview ¶
+groupName=cddc.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 DedicatedHostGroup
- func (in *DedicatedHostGroup) DeepCopy() *DedicatedHostGroup
- func (in *DedicatedHostGroup) DeepCopyInto(out *DedicatedHostGroup)
- func (in *DedicatedHostGroup) DeepCopyObject() runtime.Object
- func (r *DedicatedHostGroup) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *DedicatedHostGroup) ValidateCreate() error
- func (r *DedicatedHostGroup) ValidateDelete() error
- func (r *DedicatedHostGroup) ValidateUpdate(old runtime.Object) error
- type DedicatedHostGroupList
- type DedicatedHostGroupSpec
- type DedicatedHostGroupSpecResource
- type DedicatedHostGroupStatus
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: cddc.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type DedicatedHostGroup ¶
type DedicatedHostGroup struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DedicatedHostGroupSpec `json:"spec,omitempty"` Status DedicatedHostGroupStatus `json:"status,omitempty"` }
func (*DedicatedHostGroup) DeepCopy ¶
func (in *DedicatedHostGroup) DeepCopy() *DedicatedHostGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DedicatedHostGroup.
func (*DedicatedHostGroup) DeepCopyInto ¶
func (in *DedicatedHostGroup) DeepCopyInto(out *DedicatedHostGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DedicatedHostGroup) DeepCopyObject ¶
func (in *DedicatedHostGroup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DedicatedHostGroup) SetupWebhookWithManager ¶
func (r *DedicatedHostGroup) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*DedicatedHostGroup) ValidateCreate ¶
func (r *DedicatedHostGroup) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*DedicatedHostGroup) ValidateDelete ¶
func (r *DedicatedHostGroup) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*DedicatedHostGroup) ValidateUpdate ¶
func (r *DedicatedHostGroup) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type DedicatedHostGroupList ¶
type DedicatedHostGroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of DedicatedHostGroup CRD objects Items []DedicatedHostGroup `json:"items,omitempty"` }
DedicatedHostGroupList is a list of DedicatedHostGroups
func (*DedicatedHostGroupList) DeepCopy ¶
func (in *DedicatedHostGroupList) DeepCopy() *DedicatedHostGroupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DedicatedHostGroupList.
func (*DedicatedHostGroupList) DeepCopyInto ¶
func (in *DedicatedHostGroupList) DeepCopyInto(out *DedicatedHostGroupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DedicatedHostGroupList) DeepCopyObject ¶
func (in *DedicatedHostGroupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DedicatedHostGroupSpec ¶
type DedicatedHostGroupSpec struct { State *DedicatedHostGroupSpecResource `json:"state,omitempty" tf:"-"` Resource DedicatedHostGroupSpecResource `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 (*DedicatedHostGroupSpec) DeepCopy ¶
func (in *DedicatedHostGroupSpec) DeepCopy() *DedicatedHostGroupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DedicatedHostGroupSpec.
func (*DedicatedHostGroupSpec) DeepCopyInto ¶
func (in *DedicatedHostGroupSpec) DeepCopyInto(out *DedicatedHostGroupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DedicatedHostGroupSpecResource ¶
type DedicatedHostGroupSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional AllocationPolicy *string `json:"allocationPolicy,omitempty" tf:"allocation_policy"` // +optional CpuAllocationRatio *int64 `json:"cpuAllocationRatio,omitempty" tf:"cpu_allocation_ratio"` // +optional DedicatedHostGroupDesc *string `json:"dedicatedHostGroupDesc,omitempty" tf:"dedicated_host_group_desc"` // +optional DiskAllocationRatio *int64 `json:"diskAllocationRatio,omitempty" tf:"disk_allocation_ratio"` Engine *string `json:"engine" tf:"engine"` // +optional HostReplacePolicy *string `json:"hostReplacePolicy,omitempty" tf:"host_replace_policy"` // +optional MemAllocationRatio *int64 `json:"memAllocationRatio,omitempty" tf:"mem_allocation_ratio"` VpcID *string `json:"vpcID" tf:"vpc_id"` }
func (*DedicatedHostGroupSpecResource) DeepCopy ¶
func (in *DedicatedHostGroupSpecResource) DeepCopy() *DedicatedHostGroupSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DedicatedHostGroupSpecResource.
func (*DedicatedHostGroupSpecResource) DeepCopyInto ¶
func (in *DedicatedHostGroupSpecResource) DeepCopyInto(out *DedicatedHostGroupSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DedicatedHostGroupStatus ¶
type DedicatedHostGroupStatus 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 (*DedicatedHostGroupStatus) DeepCopy ¶
func (in *DedicatedHostGroupStatus) DeepCopy() *DedicatedHostGroupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DedicatedHostGroupStatus.
func (*DedicatedHostGroupStatus) DeepCopyInto ¶
func (in *DedicatedHostGroupStatus) DeepCopyInto(out *DedicatedHostGroupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.