v1alpha1

package
v0.0.0-...-6fe2522 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=computeclustervmantiaffinityrule.vsphere.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "computeclustervmantiaffinityrule.vsphere.upbound.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
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.

View Source
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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVMAntiAffinityRule.

func (*ClusterVMAntiAffinityRule) DeepCopyInto

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

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVMAntiAffinityRuleList.

func (*ClusterVMAntiAffinityRuleList) DeepCopyInto

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

GetItems of this ClusterVMAntiAffinityRuleList.

type ClusterVMAntiAffinityRuleObservation

type ClusterVMAntiAffinityRuleObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*ClusterVMAntiAffinityRuleObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVMAntiAffinityRuleObservation.

func (*ClusterVMAntiAffinityRuleObservation) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVMAntiAffinityRuleParameters.

func (*ClusterVMAntiAffinityRuleParameters) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVMAntiAffinityRuleSpec.

func (*ClusterVMAntiAffinityRuleSpec) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVMAntiAffinityRuleStatus.

func (*ClusterVMAntiAffinityRuleStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL