Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=drsvmoverride.vsphere.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type VMOverride
- func (in *VMOverride) DeepCopy() *VMOverride
- func (in *VMOverride) DeepCopyInto(out *VMOverride)
- func (in *VMOverride) DeepCopyObject() runtime.Object
- func (mg *VMOverride) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *VMOverride) GetConnectionDetailsMapping() map[string]string
- func (mg *VMOverride) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *VMOverride) GetID() string
- func (tr *VMOverride) GetObservation() (map[string]any, error)
- func (tr *VMOverride) GetParameters() (map[string]any, error)
- func (mg *VMOverride) GetProviderConfigReference() *xpv1.Reference
- func (mg *VMOverride) GetProviderReference() *xpv1.Reference
- func (mg *VMOverride) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *VMOverride) GetTerraformResourceType() string
- func (tr *VMOverride) GetTerraformSchemaVersion() int
- func (mg *VMOverride) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *VMOverride) LateInitialize(attrs []byte) (bool, error)
- func (mg *VMOverride) SetConditions(c ...xpv1.Condition)
- func (mg *VMOverride) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *VMOverride) SetObservation(obs map[string]any) error
- func (tr *VMOverride) SetParameters(params map[string]any) error
- func (mg *VMOverride) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *VMOverride) SetProviderReference(r *xpv1.Reference)
- func (mg *VMOverride) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *VMOverride) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type VMOverrideList
- type VMOverrideObservation
- type VMOverrideParameters
- type VMOverrideSpec
- type VMOverrideStatus
Constants ¶
const ( CRDGroup = "drsvmoverride.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 ( VMOverride_Kind = "VMOverride" VMOverride_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: VMOverride_Kind}.String() VMOverride_KindAPIVersion = VMOverride_Kind + "." + CRDGroupVersion.String() VMOverride_GroupVersionKind = CRDGroupVersion.WithKind(VMOverride_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type VMOverride ¶
type VMOverride struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VMOverrideSpec `json:"spec"` Status VMOverrideStatus `json:"status,omitempty"` }
VMOverride is the Schema for the VMOverrides API. Provides a VMware vSphere DRS virtual machine override resource. This can be used to override DRS settings 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 (*VMOverride) DeepCopy ¶
func (in *VMOverride) DeepCopy() *VMOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMOverride.
func (*VMOverride) DeepCopyInto ¶
func (in *VMOverride) DeepCopyInto(out *VMOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VMOverride) DeepCopyObject ¶
func (in *VMOverride) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VMOverride) GetCondition ¶
func (mg *VMOverride) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this VMOverride.
func (*VMOverride) GetConnectionDetailsMapping ¶
func (tr *VMOverride) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this VMOverride
func (*VMOverride) GetDeletionPolicy ¶
func (mg *VMOverride) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this VMOverride.
func (*VMOverride) GetID ¶
func (tr *VMOverride) GetID() string
GetID returns ID of underlying Terraform resource of this VMOverride
func (*VMOverride) GetObservation ¶
func (tr *VMOverride) GetObservation() (map[string]any, error)
GetObservation of this VMOverride
func (*VMOverride) GetParameters ¶
func (tr *VMOverride) GetParameters() (map[string]any, error)
GetParameters of this VMOverride
func (*VMOverride) GetProviderConfigReference ¶
func (mg *VMOverride) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this VMOverride.
func (*VMOverride) GetProviderReference ¶
func (mg *VMOverride) GetProviderReference() *xpv1.Reference
GetProviderReference of this VMOverride. Deprecated: Use GetProviderConfigReference.
func (*VMOverride) GetPublishConnectionDetailsTo ¶
func (mg *VMOverride) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this VMOverride.
func (*VMOverride) GetTerraformResourceType ¶
func (mg *VMOverride) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this VMOverride
func (*VMOverride) GetTerraformSchemaVersion ¶
func (tr *VMOverride) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*VMOverride) GetWriteConnectionSecretToReference ¶
func (mg *VMOverride) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this VMOverride.
func (*VMOverride) LateInitialize ¶
func (tr *VMOverride) LateInitialize(attrs []byte) (bool, error)
LateInitialize this VMOverride using its observed tfState. returns True if there are any spec changes for the resource.
func (*VMOverride) SetConditions ¶
func (mg *VMOverride) SetConditions(c ...xpv1.Condition)
SetConditions of this VMOverride.
func (*VMOverride) SetDeletionPolicy ¶
func (mg *VMOverride) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this VMOverride.
func (*VMOverride) SetObservation ¶
func (tr *VMOverride) SetObservation(obs map[string]any) error
SetObservation for this VMOverride
func (*VMOverride) SetParameters ¶
func (tr *VMOverride) SetParameters(params map[string]any) error
SetParameters for this VMOverride
func (*VMOverride) SetProviderConfigReference ¶
func (mg *VMOverride) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this VMOverride.
func (*VMOverride) SetProviderReference ¶
func (mg *VMOverride) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this VMOverride. Deprecated: Use SetProviderConfigReference.
func (*VMOverride) SetPublishConnectionDetailsTo ¶
func (mg *VMOverride) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this VMOverride.
func (*VMOverride) SetWriteConnectionSecretToReference ¶
func (mg *VMOverride) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this VMOverride.
type VMOverrideList ¶
type VMOverrideList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VMOverride `json:"items"` }
VMOverrideList contains a list of VMOverrides
func (*VMOverrideList) DeepCopy ¶
func (in *VMOverrideList) DeepCopy() *VMOverrideList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMOverrideList.
func (*VMOverrideList) DeepCopyInto ¶
func (in *VMOverrideList) DeepCopyInto(out *VMOverrideList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VMOverrideList) DeepCopyObject ¶
func (in *VMOverrideList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VMOverrideList) GetItems ¶
func (l *VMOverrideList) GetItems() []resource.Managed
GetItems of this VMOverrideList.
type VMOverrideObservation ¶
type VMOverrideObservation struct {
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*VMOverrideObservation) DeepCopy ¶
func (in *VMOverrideObservation) DeepCopy() *VMOverrideObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMOverrideObservation.
func (*VMOverrideObservation) DeepCopyInto ¶
func (in *VMOverrideObservation) DeepCopyInto(out *VMOverrideObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VMOverrideParameters ¶
type VMOverrideParameters 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"` // Overrides the automation level for this virtual // machine in the cluster. Can be one of manual, partiallyAutomated, or // fullyAutomated. Default: manual. // The automation level for this virtual machine in the cluster. Can be one of manual, partiallyAutomated, or fullyAutomated. // +kubebuilder:validation:Optional DrsAutomationLevel *string `json:"drsAutomationLevel,omitempty" tf:"drs_automation_level,omitempty"` // Overrides the default DRS setting for this virtual // machine. Can be either true or false. Default: false. // Enable DRS for this virtual machine. // +kubebuilder:validation:Optional DrsEnabled *bool `json:"drsEnabled,omitempty" tf:"drs_enabled,omitempty"` // The UUID of the virtual machine to create // the override for. Forces a new resource if changed. // The managed object ID of the virtual machine. // +kubebuilder:validation:Required VirtualMachineID *string `json:"virtualMachineId" tf:"virtual_machine_id,omitempty"` }
func (*VMOverrideParameters) DeepCopy ¶
func (in *VMOverrideParameters) DeepCopy() *VMOverrideParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMOverrideParameters.
func (*VMOverrideParameters) DeepCopyInto ¶
func (in *VMOverrideParameters) DeepCopyInto(out *VMOverrideParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VMOverrideSpec ¶
type VMOverrideSpec struct { v1.ResourceSpec `json:",inline"` ForProvider VMOverrideParameters `json:"forProvider"` }
VMOverrideSpec defines the desired state of VMOverride
func (*VMOverrideSpec) DeepCopy ¶
func (in *VMOverrideSpec) DeepCopy() *VMOverrideSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMOverrideSpec.
func (*VMOverrideSpec) DeepCopyInto ¶
func (in *VMOverrideSpec) DeepCopyInto(out *VMOverrideSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VMOverrideStatus ¶
type VMOverrideStatus struct { v1.ResourceStatus `json:",inline"` AtProvider VMOverrideObservation `json:"atProvider,omitempty"` }
VMOverrideStatus defines the observed state of VMOverride.
func (*VMOverrideStatus) DeepCopy ¶
func (in *VMOverrideStatus) DeepCopy() *VMOverrideStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMOverrideStatus.
func (*VMOverrideStatus) DeepCopyInto ¶
func (in *VMOverrideStatus) DeepCopyInto(out *VMOverrideStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.