Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=computeclustervmantiaffinityrule.vsphere.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type ClusterVMAntiAffinityRule
- func (in *ClusterVMAntiAffinityRule) DeepCopy() *ClusterVMAntiAffinityRule
- func (in *ClusterVMAntiAffinityRule) DeepCopyInto(out *ClusterVMAntiAffinityRule)
- func (in *ClusterVMAntiAffinityRule) DeepCopyObject() runtime.Object
- func (mg *ClusterVMAntiAffinityRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *ClusterVMAntiAffinityRule) GetConnectionDetailsMapping() map[string]string
- func (mg *ClusterVMAntiAffinityRule) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *ClusterVMAntiAffinityRule) GetID() string
- func (tr *ClusterVMAntiAffinityRule) GetObservation() (map[string]any, error)
- func (tr *ClusterVMAntiAffinityRule) GetParameters() (map[string]any, error)
- func (mg *ClusterVMAntiAffinityRule) GetProviderConfigReference() *xpv1.Reference
- func (mg *ClusterVMAntiAffinityRule) GetProviderReference() *xpv1.Reference
- func (mg *ClusterVMAntiAffinityRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ClusterVMAntiAffinityRule) GetTerraformResourceType() string
- func (tr *ClusterVMAntiAffinityRule) GetTerraformSchemaVersion() int
- func (mg *ClusterVMAntiAffinityRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *ClusterVMAntiAffinityRule) LateInitialize(attrs []byte) (bool, error)
- func (mg *ClusterVMAntiAffinityRule) SetConditions(c ...xpv1.Condition)
- func (mg *ClusterVMAntiAffinityRule) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *ClusterVMAntiAffinityRule) SetObservation(obs map[string]any) error
- func (tr *ClusterVMAntiAffinityRule) SetParameters(params map[string]any) error
- func (mg *ClusterVMAntiAffinityRule) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *ClusterVMAntiAffinityRule) SetProviderReference(r *xpv1.Reference)
- func (mg *ClusterVMAntiAffinityRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ClusterVMAntiAffinityRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ClusterVMAntiAffinityRuleList
- func (in *ClusterVMAntiAffinityRuleList) DeepCopy() *ClusterVMAntiAffinityRuleList
- func (in *ClusterVMAntiAffinityRuleList) DeepCopyInto(out *ClusterVMAntiAffinityRuleList)
- func (in *ClusterVMAntiAffinityRuleList) DeepCopyObject() runtime.Object
- func (l *ClusterVMAntiAffinityRuleList) GetItems() []resource.Managed
- type ClusterVMAntiAffinityRuleObservation
- type ClusterVMAntiAffinityRuleParameters
- type ClusterVMAntiAffinityRuleSpec
- type ClusterVMAntiAffinityRuleStatus
Constants ¶
const ( CRDGroup = "computeclustervmantiaffinityrule.vsphere.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( ClusterVMAntiAffinityRule_Kind = "ClusterVMAntiAffinityRule" ClusterVMAntiAffinityRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ClusterVMAntiAffinityRule_Kind}.String() ClusterVMAntiAffinityRule_KindAPIVersion = ClusterVMAntiAffinityRule_Kind + "." + CRDGroupVersion.String() ClusterVMAntiAffinityRule_GroupVersionKind = CRDGroupVersion.WithKind(ClusterVMAntiAffinityRule_Kind) )
Repository type metadata.
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 )
Functions ¶
This section is empty.
Types ¶
type ClusterVMAntiAffinityRule ¶
type ClusterVMAntiAffinityRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterVMAntiAffinityRuleSpec `json:"spec"` Status ClusterVMAntiAffinityRuleStatus `json:"status,omitempty"` }
ClusterVMAntiAffinityRule is the Schema for the ClusterVMAntiAffinityRules API. Provides the VMware vSphere Distributed Resource Scheduler anti-affinity rule resource. +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 (*ClusterVMAntiAffinityRule) DeepCopy ¶
func (in *ClusterVMAntiAffinityRule) DeepCopy() *ClusterVMAntiAffinityRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVMAntiAffinityRule.
func (*ClusterVMAntiAffinityRule) DeepCopyInto ¶
func (in *ClusterVMAntiAffinityRule) DeepCopyInto(out *ClusterVMAntiAffinityRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterVMAntiAffinityRule) DeepCopyObject ¶
func (in *ClusterVMAntiAffinityRule) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClusterVMAntiAffinityRule) GetCondition ¶
func (mg *ClusterVMAntiAffinityRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this ClusterVMAntiAffinityRule.
func (*ClusterVMAntiAffinityRule) GetConnectionDetailsMapping ¶
func (tr *ClusterVMAntiAffinityRule) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this ClusterVMAntiAffinityRule
func (*ClusterVMAntiAffinityRule) GetDeletionPolicy ¶
func (mg *ClusterVMAntiAffinityRule) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this ClusterVMAntiAffinityRule.
func (*ClusterVMAntiAffinityRule) GetID ¶
func (tr *ClusterVMAntiAffinityRule) GetID() string
GetID returns ID of underlying Terraform resource of this ClusterVMAntiAffinityRule
func (*ClusterVMAntiAffinityRule) GetObservation ¶
func (tr *ClusterVMAntiAffinityRule) GetObservation() (map[string]any, error)
GetObservation of this ClusterVMAntiAffinityRule
func (*ClusterVMAntiAffinityRule) GetParameters ¶
func (tr *ClusterVMAntiAffinityRule) GetParameters() (map[string]any, error)
GetParameters of this ClusterVMAntiAffinityRule
func (*ClusterVMAntiAffinityRule) GetProviderConfigReference ¶
func (mg *ClusterVMAntiAffinityRule) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this ClusterVMAntiAffinityRule.
func (*ClusterVMAntiAffinityRule) GetProviderReference ¶
func (mg *ClusterVMAntiAffinityRule) GetProviderReference() *xpv1.Reference
GetProviderReference of this ClusterVMAntiAffinityRule. Deprecated: Use GetProviderConfigReference.
func (*ClusterVMAntiAffinityRule) GetPublishConnectionDetailsTo ¶
func (mg *ClusterVMAntiAffinityRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this ClusterVMAntiAffinityRule.
func (*ClusterVMAntiAffinityRule) GetTerraformResourceType ¶
func (mg *ClusterVMAntiAffinityRule) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this ClusterVMAntiAffinityRule
func (*ClusterVMAntiAffinityRule) GetTerraformSchemaVersion ¶
func (tr *ClusterVMAntiAffinityRule) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*ClusterVMAntiAffinityRule) GetWriteConnectionSecretToReference ¶
func (mg *ClusterVMAntiAffinityRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this ClusterVMAntiAffinityRule.
func (*ClusterVMAntiAffinityRule) LateInitialize ¶
func (tr *ClusterVMAntiAffinityRule) LateInitialize(attrs []byte) (bool, error)
LateInitialize this ClusterVMAntiAffinityRule using its observed tfState. returns True if there are any spec changes for the resource.
func (*ClusterVMAntiAffinityRule) SetConditions ¶
func (mg *ClusterVMAntiAffinityRule) SetConditions(c ...xpv1.Condition)
SetConditions of this ClusterVMAntiAffinityRule.
func (*ClusterVMAntiAffinityRule) SetDeletionPolicy ¶
func (mg *ClusterVMAntiAffinityRule) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this ClusterVMAntiAffinityRule.
func (*ClusterVMAntiAffinityRule) SetObservation ¶
func (tr *ClusterVMAntiAffinityRule) SetObservation(obs map[string]any) error
SetObservation for this ClusterVMAntiAffinityRule
func (*ClusterVMAntiAffinityRule) SetParameters ¶
func (tr *ClusterVMAntiAffinityRule) SetParameters(params map[string]any) error
SetParameters for this ClusterVMAntiAffinityRule
func (*ClusterVMAntiAffinityRule) SetProviderConfigReference ¶
func (mg *ClusterVMAntiAffinityRule) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this ClusterVMAntiAffinityRule.
func (*ClusterVMAntiAffinityRule) SetProviderReference ¶
func (mg *ClusterVMAntiAffinityRule) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this ClusterVMAntiAffinityRule. Deprecated: Use SetProviderConfigReference.
func (*ClusterVMAntiAffinityRule) SetPublishConnectionDetailsTo ¶
func (mg *ClusterVMAntiAffinityRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this ClusterVMAntiAffinityRule.
func (*ClusterVMAntiAffinityRule) SetWriteConnectionSecretToReference ¶
func (mg *ClusterVMAntiAffinityRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this ClusterVMAntiAffinityRule.
type ClusterVMAntiAffinityRuleList ¶
type ClusterVMAntiAffinityRuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClusterVMAntiAffinityRule `json:"items"` }
ClusterVMAntiAffinityRuleList contains a list of ClusterVMAntiAffinityRules
func (*ClusterVMAntiAffinityRuleList) DeepCopy ¶
func (in *ClusterVMAntiAffinityRuleList) DeepCopy() *ClusterVMAntiAffinityRuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVMAntiAffinityRuleList.
func (*ClusterVMAntiAffinityRuleList) DeepCopyInto ¶
func (in *ClusterVMAntiAffinityRuleList) DeepCopyInto(out *ClusterVMAntiAffinityRuleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterVMAntiAffinityRuleList) DeepCopyObject ¶
func (in *ClusterVMAntiAffinityRuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClusterVMAntiAffinityRuleList) GetItems ¶
func (l *ClusterVMAntiAffinityRuleList) GetItems() []resource.Managed
GetItems of this ClusterVMAntiAffinityRuleList.
type ClusterVMAntiAffinityRuleObservation ¶
type ClusterVMAntiAffinityRuleObservation struct {
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*ClusterVMAntiAffinityRuleObservation) DeepCopy ¶
func (in *ClusterVMAntiAffinityRuleObservation) DeepCopy() *ClusterVMAntiAffinityRuleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVMAntiAffinityRuleObservation.
func (*ClusterVMAntiAffinityRuleObservation) DeepCopyInto ¶
func (in *ClusterVMAntiAffinityRuleObservation) DeepCopyInto(out *ClusterVMAntiAffinityRuleObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterVMAntiAffinityRuleParameters ¶
type ClusterVMAntiAffinityRuleParameters struct { // The managed object reference // ID of the cluster to put the group 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"` // Enable this rule in the cluster. Default: true. // Enable this rule in the cluster. // +kubebuilder:validation:Optional Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // When this value is true, prevents any virtual // machine operations that may violate this rule. Default: false. // When true, prevents any virtual machine operations that may violate this rule. // +kubebuilder:validation:Optional Mandatory *bool `json:"mandatory,omitempty" tf:"mandatory,omitempty"` // The name of the rule. This must be unique in the cluster. // The unique name of the virtual machine group in the cluster. // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // The UUIDs of the virtual machines to run // on hosts different from each other. // The UUIDs of the virtual machines to run on hosts different from each other. // +kubebuilder:validation:Required VirtualMachineIds []*string `json:"virtualMachineIds" tf:"virtual_machine_ids,omitempty"` }
func (*ClusterVMAntiAffinityRuleParameters) DeepCopy ¶
func (in *ClusterVMAntiAffinityRuleParameters) DeepCopy() *ClusterVMAntiAffinityRuleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVMAntiAffinityRuleParameters.
func (*ClusterVMAntiAffinityRuleParameters) DeepCopyInto ¶
func (in *ClusterVMAntiAffinityRuleParameters) DeepCopyInto(out *ClusterVMAntiAffinityRuleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterVMAntiAffinityRuleSpec ¶
type ClusterVMAntiAffinityRuleSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ClusterVMAntiAffinityRuleParameters `json:"forProvider"` }
ClusterVMAntiAffinityRuleSpec defines the desired state of ClusterVMAntiAffinityRule
func (*ClusterVMAntiAffinityRuleSpec) DeepCopy ¶
func (in *ClusterVMAntiAffinityRuleSpec) DeepCopy() *ClusterVMAntiAffinityRuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVMAntiAffinityRuleSpec.
func (*ClusterVMAntiAffinityRuleSpec) DeepCopyInto ¶
func (in *ClusterVMAntiAffinityRuleSpec) DeepCopyInto(out *ClusterVMAntiAffinityRuleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterVMAntiAffinityRuleStatus ¶
type ClusterVMAntiAffinityRuleStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ClusterVMAntiAffinityRuleObservation `json:"atProvider,omitempty"` }
ClusterVMAntiAffinityRuleStatus defines the observed state of ClusterVMAntiAffinityRule.
func (*ClusterVMAntiAffinityRuleStatus) DeepCopy ¶
func (in *ClusterVMAntiAffinityRuleStatus) DeepCopy() *ClusterVMAntiAffinityRuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVMAntiAffinityRuleStatus.
func (*ClusterVMAntiAffinityRuleStatus) DeepCopyInto ¶
func (in *ClusterVMAntiAffinityRuleStatus) DeepCopyInto(out *ClusterVMAntiAffinityRuleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.