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=computeclustervmgroup.vsphere.upbound.io +versionName=v1alpha1

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	ClusterVMGroup_Kind             = "ClusterVMGroup"
	ClusterVMGroup_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ClusterVMGroup_Kind}.String()
	ClusterVMGroup_KindAPIVersion   = ClusterVMGroup_Kind + "." + CRDGroupVersion.String()
	ClusterVMGroup_GroupVersionKind = CRDGroupVersion.WithKind(ClusterVMGroup_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 ClusterVMGroup

type ClusterVMGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ClusterVMGroupSpec   `json:"spec"`
	Status            ClusterVMGroupStatus `json:"status,omitempty"`
}

ClusterVMGroup is the Schema for the ClusterVMGroups API. Provides a VMware vSphere cluster virtual machine group. This can be used to manage groups of virtual machines for relevant rules 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 (*ClusterVMGroup) DeepCopy

func (in *ClusterVMGroup) DeepCopy() *ClusterVMGroup

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

func (*ClusterVMGroup) DeepCopyInto

func (in *ClusterVMGroup) DeepCopyInto(out *ClusterVMGroup)

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

func (*ClusterVMGroup) DeepCopyObject

func (in *ClusterVMGroup) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ClusterVMGroup) GetCondition

func (mg *ClusterVMGroup) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this ClusterVMGroup.

func (*ClusterVMGroup) GetConnectionDetailsMapping

func (tr *ClusterVMGroup) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this ClusterVMGroup

func (*ClusterVMGroup) GetDeletionPolicy

func (mg *ClusterVMGroup) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this ClusterVMGroup.

func (*ClusterVMGroup) GetID

func (tr *ClusterVMGroup) GetID() string

GetID returns ID of underlying Terraform resource of this ClusterVMGroup

func (*ClusterVMGroup) GetObservation

func (tr *ClusterVMGroup) GetObservation() (map[string]any, error)

GetObservation of this ClusterVMGroup

func (*ClusterVMGroup) GetParameters

func (tr *ClusterVMGroup) GetParameters() (map[string]any, error)

GetParameters of this ClusterVMGroup

func (*ClusterVMGroup) GetProviderConfigReference

func (mg *ClusterVMGroup) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this ClusterVMGroup.

func (*ClusterVMGroup) GetProviderReference

func (mg *ClusterVMGroup) GetProviderReference() *xpv1.Reference

GetProviderReference of this ClusterVMGroup. Deprecated: Use GetProviderConfigReference.

func (*ClusterVMGroup) GetPublishConnectionDetailsTo

func (mg *ClusterVMGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this ClusterVMGroup.

func (*ClusterVMGroup) GetTerraformResourceType

func (mg *ClusterVMGroup) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ClusterVMGroup

func (*ClusterVMGroup) GetTerraformSchemaVersion

func (tr *ClusterVMGroup) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ClusterVMGroup) GetWriteConnectionSecretToReference

func (mg *ClusterVMGroup) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this ClusterVMGroup.

func (*ClusterVMGroup) LateInitialize

func (tr *ClusterVMGroup) LateInitialize(attrs []byte) (bool, error)

LateInitialize this ClusterVMGroup using its observed tfState. returns True if there are any spec changes for the resource.

func (*ClusterVMGroup) SetConditions

func (mg *ClusterVMGroup) SetConditions(c ...xpv1.Condition)

SetConditions of this ClusterVMGroup.

func (*ClusterVMGroup) SetDeletionPolicy

func (mg *ClusterVMGroup) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this ClusterVMGroup.

func (*ClusterVMGroup) SetObservation

func (tr *ClusterVMGroup) SetObservation(obs map[string]any) error

SetObservation for this ClusterVMGroup

func (*ClusterVMGroup) SetParameters

func (tr *ClusterVMGroup) SetParameters(params map[string]any) error

SetParameters for this ClusterVMGroup

func (*ClusterVMGroup) SetProviderConfigReference

func (mg *ClusterVMGroup) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this ClusterVMGroup.

func (*ClusterVMGroup) SetProviderReference

func (mg *ClusterVMGroup) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this ClusterVMGroup. Deprecated: Use SetProviderConfigReference.

func (*ClusterVMGroup) SetPublishConnectionDetailsTo

func (mg *ClusterVMGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this ClusterVMGroup.

func (*ClusterVMGroup) SetWriteConnectionSecretToReference

func (mg *ClusterVMGroup) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this ClusterVMGroup.

type ClusterVMGroupList

type ClusterVMGroupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ClusterVMGroup `json:"items"`
}

ClusterVMGroupList contains a list of ClusterVMGroups

func (*ClusterVMGroupList) DeepCopy

func (in *ClusterVMGroupList) DeepCopy() *ClusterVMGroupList

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

func (*ClusterVMGroupList) DeepCopyInto

func (in *ClusterVMGroupList) DeepCopyInto(out *ClusterVMGroupList)

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

func (*ClusterVMGroupList) DeepCopyObject

func (in *ClusterVMGroupList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ClusterVMGroupList) GetItems

func (l *ClusterVMGroupList) GetItems() []resource.Managed

GetItems of this ClusterVMGroupList.

type ClusterVMGroupObservation

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

func (*ClusterVMGroupObservation) DeepCopy

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

func (*ClusterVMGroupObservation) DeepCopyInto

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

type ClusterVMGroupParameters

type ClusterVMGroupParameters 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"`

	// The name of the VM group. This must be unique in the
	// cluster. Forces a new resource if changed.
	// 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 in this
	// group.
	// The UUIDs of the virtual machines in this group.
	// +kubebuilder:validation:Optional
	VirtualMachineIds []*string `json:"virtualMachineIds,omitempty" tf:"virtual_machine_ids,omitempty"`
}

func (*ClusterVMGroupParameters) DeepCopy

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

func (*ClusterVMGroupParameters) DeepCopyInto

func (in *ClusterVMGroupParameters) DeepCopyInto(out *ClusterVMGroupParameters)

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

type ClusterVMGroupSpec

type ClusterVMGroupSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ClusterVMGroupParameters `json:"forProvider"`
}

ClusterVMGroupSpec defines the desired state of ClusterVMGroup

func (*ClusterVMGroupSpec) DeepCopy

func (in *ClusterVMGroupSpec) DeepCopy() *ClusterVMGroupSpec

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

func (*ClusterVMGroupSpec) DeepCopyInto

func (in *ClusterVMGroupSpec) DeepCopyInto(out *ClusterVMGroupSpec)

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

type ClusterVMGroupStatus

type ClusterVMGroupStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ClusterVMGroupObservation `json:"atProvider,omitempty"`
}

ClusterVMGroupStatus defines the observed state of ClusterVMGroup.

func (*ClusterVMGroupStatus) DeepCopy

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

func (*ClusterVMGroupStatus) DeepCopyInto

func (in *ClusterVMGroupStatus) DeepCopyInto(out *ClusterVMGroupStatus)

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