Documentation ¶
Overview ¶
+groupName=dpm.vsphere.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 HostOverride
- func (in *HostOverride) DeepCopy() *HostOverride
- func (in *HostOverride) DeepCopyInto(out *HostOverride)
- func (in *HostOverride) DeepCopyObject() runtime.Object
- func (r *HostOverride) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *HostOverride) ValidateCreate() error
- func (r *HostOverride) ValidateDelete() error
- func (r *HostOverride) ValidateUpdate(old runtime.Object) error
- type HostOverrideList
- type HostOverrideSpec
- type HostOverrideSpecResource
- type HostOverrideStatus
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: dpm.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 HostOverride ¶
type HostOverride struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec HostOverrideSpec `json:"spec,omitempty"` Status HostOverrideStatus `json:"status,omitempty"` }
func (*HostOverride) DeepCopy ¶
func (in *HostOverride) DeepCopy() *HostOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostOverride.
func (*HostOverride) DeepCopyInto ¶
func (in *HostOverride) DeepCopyInto(out *HostOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HostOverride) DeepCopyObject ¶
func (in *HostOverride) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*HostOverride) SetupWebhookWithManager ¶
func (r *HostOverride) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*HostOverride) ValidateCreate ¶
func (r *HostOverride) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*HostOverride) ValidateDelete ¶
func (r *HostOverride) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*HostOverride) ValidateUpdate ¶
func (r *HostOverride) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type HostOverrideList ¶
type HostOverrideList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of HostOverride CRD objects Items []HostOverride `json:"items,omitempty"` }
HostOverrideList is a list of HostOverrides
func (*HostOverrideList) DeepCopy ¶
func (in *HostOverrideList) DeepCopy() *HostOverrideList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostOverrideList.
func (*HostOverrideList) DeepCopyInto ¶
func (in *HostOverrideList) DeepCopyInto(out *HostOverrideList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HostOverrideList) DeepCopyObject ¶
func (in *HostOverrideList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HostOverrideSpec ¶
type HostOverrideSpec struct { State *HostOverrideSpecResource `json:"state,omitempty" tf:"-"` Resource HostOverrideSpecResource `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 (*HostOverrideSpec) DeepCopy ¶
func (in *HostOverrideSpec) DeepCopy() *HostOverrideSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostOverrideSpec.
func (*HostOverrideSpec) DeepCopyInto ¶
func (in *HostOverrideSpec) DeepCopyInto(out *HostOverrideSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HostOverrideSpecResource ¶
type HostOverrideSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // The managed object ID of the cluster. ComputeClusterID *string `json:"computeClusterID" tf:"compute_cluster_id"` // The automation level for power operations on this host. Can be one of manual or automated. // +optional DpmAutomationLevel *string `json:"dpmAutomationLevel,omitempty" tf:"dpm_automation_level"` // Enable DPM for this host. // +optional DpmEnabled *bool `json:"dpmEnabled,omitempty" tf:"dpm_enabled"` // The managed object ID of the host. HostSystemID *string `json:"hostSystemID" tf:"host_system_id"` }
func (*HostOverrideSpecResource) DeepCopy ¶
func (in *HostOverrideSpecResource) DeepCopy() *HostOverrideSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostOverrideSpecResource.
func (*HostOverrideSpecResource) DeepCopyInto ¶
func (in *HostOverrideSpecResource) DeepCopyInto(out *HostOverrideSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HostOverrideStatus ¶
type HostOverrideStatus 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 (*HostOverrideStatus) DeepCopy ¶
func (in *HostOverrideStatus) DeepCopy() *HostOverrideStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostOverrideStatus.
func (*HostOverrideStatus) DeepCopyInto ¶
func (in *HostOverrideStatus) DeepCopyInto(out *HostOverrideStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.