Documentation
¶
Overview ¶
+groupName=datacenter.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 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: datacenter.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 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 {
ID string `json:"id,omitempty" tf:"id,omitempty"`
// A list of custom attributes to set on this resource.
// +optional
CustomAttributes *map[string]string `json:"customAttributes,omitempty" tf:"custom_attributes"`
// +optional
Folder *string `json:"folder,omitempty" tf:"folder"`
// Managed object ID of the datacenter.
// +optional
Moid *string `json:"moid,omitempty" tf:"moid"`
Name *string `json:"name" tf:"name"`
// A list of tag IDs to apply to this object.
// +optional
Tags []string `json:"tags,omitempty" tf:"tags"`
}
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.