Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=dpmhostoverride.vsphere.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type HostOverride
- func (in *HostOverride) DeepCopy() *HostOverride
- func (in *HostOverride) DeepCopyInto(out *HostOverride)
- func (in *HostOverride) DeepCopyObject() runtime.Object
- func (mg *HostOverride) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *HostOverride) GetConnectionDetailsMapping() map[string]string
- func (mg *HostOverride) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *HostOverride) GetID() string
- func (tr *HostOverride) GetObservation() (map[string]any, error)
- func (tr *HostOverride) GetParameters() (map[string]any, error)
- func (mg *HostOverride) GetProviderConfigReference() *xpv1.Reference
- func (mg *HostOverride) GetProviderReference() *xpv1.Reference
- func (mg *HostOverride) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *HostOverride) GetTerraformResourceType() string
- func (tr *HostOverride) GetTerraformSchemaVersion() int
- func (mg *HostOverride) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *HostOverride) LateInitialize(attrs []byte) (bool, error)
- func (mg *HostOverride) SetConditions(c ...xpv1.Condition)
- func (mg *HostOverride) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *HostOverride) SetObservation(obs map[string]any) error
- func (tr *HostOverride) SetParameters(params map[string]any) error
- func (mg *HostOverride) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *HostOverride) SetProviderReference(r *xpv1.Reference)
- func (mg *HostOverride) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *HostOverride) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type HostOverrideList
- type HostOverrideObservation
- type HostOverrideParameters
- type HostOverrideSpec
- type HostOverrideStatus
Constants ¶
const ( CRDGroup = "dpmhostoverride.vsphere.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( HostOverride_Kind = "HostOverride" HostOverride_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: HostOverride_Kind}.String() HostOverride_KindAPIVersion = HostOverride_Kind + "." + CRDGroupVersion.String() HostOverride_GroupVersionKind = CRDGroupVersion.WithKind(HostOverride_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type HostOverride ¶
type HostOverride struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec HostOverrideSpec `json:"spec"` Status HostOverrideStatus `json:"status,omitempty"` }
HostOverride is the Schema for the HostOverrides API. Provides a VMware vSphere DPM host override resource. This can be used to override power management settings for a host in a cluster. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,vsphere}
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) GetCondition ¶
func (mg *HostOverride) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this HostOverride.
func (*HostOverride) GetConnectionDetailsMapping ¶
func (tr *HostOverride) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this HostOverride
func (*HostOverride) GetDeletionPolicy ¶
func (mg *HostOverride) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this HostOverride.
func (*HostOverride) GetID ¶
func (tr *HostOverride) GetID() string
GetID returns ID of underlying Terraform resource of this HostOverride
func (*HostOverride) GetObservation ¶
func (tr *HostOverride) GetObservation() (map[string]any, error)
GetObservation of this HostOverride
func (*HostOverride) GetParameters ¶
func (tr *HostOverride) GetParameters() (map[string]any, error)
GetParameters of this HostOverride
func (*HostOverride) GetProviderConfigReference ¶
func (mg *HostOverride) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this HostOverride.
func (*HostOverride) GetProviderReference ¶
func (mg *HostOverride) GetProviderReference() *xpv1.Reference
GetProviderReference of this HostOverride. Deprecated: Use GetProviderConfigReference.
func (*HostOverride) GetPublishConnectionDetailsTo ¶
func (mg *HostOverride) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this HostOverride.
func (*HostOverride) GetTerraformResourceType ¶
func (mg *HostOverride) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this HostOverride
func (*HostOverride) GetTerraformSchemaVersion ¶
func (tr *HostOverride) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*HostOverride) GetWriteConnectionSecretToReference ¶
func (mg *HostOverride) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this HostOverride.
func (*HostOverride) LateInitialize ¶
func (tr *HostOverride) LateInitialize(attrs []byte) (bool, error)
LateInitialize this HostOverride using its observed tfState. returns True if there are any spec changes for the resource.
func (*HostOverride) SetConditions ¶
func (mg *HostOverride) SetConditions(c ...xpv1.Condition)
SetConditions of this HostOverride.
func (*HostOverride) SetDeletionPolicy ¶
func (mg *HostOverride) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this HostOverride.
func (*HostOverride) SetObservation ¶
func (tr *HostOverride) SetObservation(obs map[string]any) error
SetObservation for this HostOverride
func (*HostOverride) SetParameters ¶
func (tr *HostOverride) SetParameters(params map[string]any) error
SetParameters for this HostOverride
func (*HostOverride) SetProviderConfigReference ¶
func (mg *HostOverride) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this HostOverride.
func (*HostOverride) SetProviderReference ¶
func (mg *HostOverride) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this HostOverride. Deprecated: Use SetProviderConfigReference.
func (*HostOverride) SetPublishConnectionDetailsTo ¶
func (mg *HostOverride) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this HostOverride.
func (*HostOverride) SetWriteConnectionSecretToReference ¶
func (mg *HostOverride) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this HostOverride.
type HostOverrideList ¶
type HostOverrideList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []HostOverride `json:"items"` }
HostOverrideList contains 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.
func (*HostOverrideList) GetItems ¶
func (l *HostOverrideList) GetItems() []resource.Managed
GetItems of this HostOverrideList.
type HostOverrideObservation ¶
type HostOverrideObservation struct {
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*HostOverrideObservation) DeepCopy ¶
func (in *HostOverrideObservation) DeepCopy() *HostOverrideObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostOverrideObservation.
func (*HostOverrideObservation) DeepCopyInto ¶
func (in *HostOverrideObservation) DeepCopyInto(out *HostOverrideObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HostOverrideParameters ¶
type HostOverrideParameters struct { // The managed object reference // ID of the cluster to put the override in. Forces a new // resource if changed. // The managed object ID of the cluster. // +kubebuilder:validation:Required ComputeClusterID *string `json:"computeClusterId" tf:"compute_cluster_id,omitempty"` // The automation level for host power // operations on this host. Can be one of manual or automated. Default: // manual. // The automation level for power operations on this host. Can be one of manual or automated. // +kubebuilder:validation:Optional DpmAutomationLevel *string `json:"dpmAutomationLevel,omitempty" tf:"dpm_automation_level,omitempty"` // Enable DPM support for this host. Default: // false. // Enable DPM for this host. // +kubebuilder:validation:Optional DpmEnabled *bool `json:"dpmEnabled,omitempty" tf:"dpm_enabled,omitempty"` // The managed object ID of the host. // +kubebuilder:validation:Required HostSystemID *string `json:"hostSystemId" tf:"host_system_id,omitempty"` }
func (*HostOverrideParameters) DeepCopy ¶
func (in *HostOverrideParameters) DeepCopy() *HostOverrideParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostOverrideParameters.
func (*HostOverrideParameters) DeepCopyInto ¶
func (in *HostOverrideParameters) DeepCopyInto(out *HostOverrideParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HostOverrideSpec ¶
type HostOverrideSpec struct { v1.ResourceSpec `json:",inline"` ForProvider HostOverrideParameters `json:"forProvider"` }
HostOverrideSpec defines the desired state of HostOverride
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 HostOverrideStatus ¶
type HostOverrideStatus struct { v1.ResourceStatus `json:",inline"` AtProvider HostOverrideObservation `json:"atProvider,omitempty"` }
HostOverrideStatus defines the observed state of HostOverride.
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.