Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=computeclusterhostgroup.vsphere.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type ClusterHostGroup
- func (in *ClusterHostGroup) DeepCopy() *ClusterHostGroup
- func (in *ClusterHostGroup) DeepCopyInto(out *ClusterHostGroup)
- func (in *ClusterHostGroup) DeepCopyObject() runtime.Object
- func (mg *ClusterHostGroup) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *ClusterHostGroup) GetConnectionDetailsMapping() map[string]string
- func (mg *ClusterHostGroup) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *ClusterHostGroup) GetID() string
- func (tr *ClusterHostGroup) GetObservation() (map[string]any, error)
- func (tr *ClusterHostGroup) GetParameters() (map[string]any, error)
- func (mg *ClusterHostGroup) GetProviderConfigReference() *xpv1.Reference
- func (mg *ClusterHostGroup) GetProviderReference() *xpv1.Reference
- func (mg *ClusterHostGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ClusterHostGroup) GetTerraformResourceType() string
- func (tr *ClusterHostGroup) GetTerraformSchemaVersion() int
- func (mg *ClusterHostGroup) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *ClusterHostGroup) LateInitialize(attrs []byte) (bool, error)
- func (mg *ClusterHostGroup) SetConditions(c ...xpv1.Condition)
- func (mg *ClusterHostGroup) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *ClusterHostGroup) SetObservation(obs map[string]any) error
- func (tr *ClusterHostGroup) SetParameters(params map[string]any) error
- func (mg *ClusterHostGroup) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *ClusterHostGroup) SetProviderReference(r *xpv1.Reference)
- func (mg *ClusterHostGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ClusterHostGroup) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ClusterHostGroupList
- type ClusterHostGroupObservation
- type ClusterHostGroupParameters
- type ClusterHostGroupSpec
- type ClusterHostGroupStatus
Constants ¶
const ( CRDGroup = "computeclusterhostgroup.vsphere.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( ClusterHostGroup_Kind = "ClusterHostGroup" ClusterHostGroup_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ClusterHostGroup_Kind}.String() ClusterHostGroup_KindAPIVersion = ClusterHostGroup_Kind + "." + CRDGroupVersion.String() ClusterHostGroup_GroupVersionKind = CRDGroupVersion.WithKind(ClusterHostGroup_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 ClusterHostGroup ¶
type ClusterHostGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterHostGroupSpec `json:"spec"` Status ClusterHostGroupStatus `json:"status,omitempty"` }
ClusterHostGroup is the Schema for the ClusterHostGroups 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 (*ClusterHostGroup) DeepCopy ¶
func (in *ClusterHostGroup) DeepCopy() *ClusterHostGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterHostGroup.
func (*ClusterHostGroup) DeepCopyInto ¶
func (in *ClusterHostGroup) DeepCopyInto(out *ClusterHostGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterHostGroup) DeepCopyObject ¶
func (in *ClusterHostGroup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClusterHostGroup) GetCondition ¶
func (mg *ClusterHostGroup) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this ClusterHostGroup.
func (*ClusterHostGroup) GetConnectionDetailsMapping ¶
func (tr *ClusterHostGroup) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this ClusterHostGroup
func (*ClusterHostGroup) GetDeletionPolicy ¶
func (mg *ClusterHostGroup) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this ClusterHostGroup.
func (*ClusterHostGroup) GetID ¶
func (tr *ClusterHostGroup) GetID() string
GetID returns ID of underlying Terraform resource of this ClusterHostGroup
func (*ClusterHostGroup) GetObservation ¶
func (tr *ClusterHostGroup) GetObservation() (map[string]any, error)
GetObservation of this ClusterHostGroup
func (*ClusterHostGroup) GetParameters ¶
func (tr *ClusterHostGroup) GetParameters() (map[string]any, error)
GetParameters of this ClusterHostGroup
func (*ClusterHostGroup) GetProviderConfigReference ¶
func (mg *ClusterHostGroup) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this ClusterHostGroup.
func (*ClusterHostGroup) GetProviderReference ¶
func (mg *ClusterHostGroup) GetProviderReference() *xpv1.Reference
GetProviderReference of this ClusterHostGroup. Deprecated: Use GetProviderConfigReference.
func (*ClusterHostGroup) GetPublishConnectionDetailsTo ¶
func (mg *ClusterHostGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this ClusterHostGroup.
func (*ClusterHostGroup) GetTerraformResourceType ¶
func (mg *ClusterHostGroup) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this ClusterHostGroup
func (*ClusterHostGroup) GetTerraformSchemaVersion ¶
func (tr *ClusterHostGroup) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*ClusterHostGroup) GetWriteConnectionSecretToReference ¶
func (mg *ClusterHostGroup) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this ClusterHostGroup.
func (*ClusterHostGroup) LateInitialize ¶
func (tr *ClusterHostGroup) LateInitialize(attrs []byte) (bool, error)
LateInitialize this ClusterHostGroup using its observed tfState. returns True if there are any spec changes for the resource.
func (*ClusterHostGroup) SetConditions ¶
func (mg *ClusterHostGroup) SetConditions(c ...xpv1.Condition)
SetConditions of this ClusterHostGroup.
func (*ClusterHostGroup) SetDeletionPolicy ¶
func (mg *ClusterHostGroup) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this ClusterHostGroup.
func (*ClusterHostGroup) SetObservation ¶
func (tr *ClusterHostGroup) SetObservation(obs map[string]any) error
SetObservation for this ClusterHostGroup
func (*ClusterHostGroup) SetParameters ¶
func (tr *ClusterHostGroup) SetParameters(params map[string]any) error
SetParameters for this ClusterHostGroup
func (*ClusterHostGroup) SetProviderConfigReference ¶
func (mg *ClusterHostGroup) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this ClusterHostGroup.
func (*ClusterHostGroup) SetProviderReference ¶
func (mg *ClusterHostGroup) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this ClusterHostGroup. Deprecated: Use SetProviderConfigReference.
func (*ClusterHostGroup) SetPublishConnectionDetailsTo ¶
func (mg *ClusterHostGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this ClusterHostGroup.
func (*ClusterHostGroup) SetWriteConnectionSecretToReference ¶
func (mg *ClusterHostGroup) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this ClusterHostGroup.
type ClusterHostGroupList ¶
type ClusterHostGroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClusterHostGroup `json:"items"` }
ClusterHostGroupList contains a list of ClusterHostGroups
func (*ClusterHostGroupList) DeepCopy ¶
func (in *ClusterHostGroupList) DeepCopy() *ClusterHostGroupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterHostGroupList.
func (*ClusterHostGroupList) DeepCopyInto ¶
func (in *ClusterHostGroupList) DeepCopyInto(out *ClusterHostGroupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterHostGroupList) DeepCopyObject ¶
func (in *ClusterHostGroupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClusterHostGroupList) GetItems ¶
func (l *ClusterHostGroupList) GetItems() []resource.Managed
GetItems of this ClusterHostGroupList.
type ClusterHostGroupObservation ¶
type ClusterHostGroupObservation struct {
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*ClusterHostGroupObservation) DeepCopy ¶
func (in *ClusterHostGroupObservation) DeepCopy() *ClusterHostGroupObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterHostGroupObservation.
func (*ClusterHostGroupObservation) DeepCopyInto ¶
func (in *ClusterHostGroupObservation) DeepCopyInto(out *ClusterHostGroupObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterHostGroupParameters ¶
type ClusterHostGroupParameters 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 managed object IDs of // the hosts to put in the cluster. // The managed object IDs of the hosts. // +kubebuilder:validation:Optional HostSystemIds []*string `json:"hostSystemIds,omitempty" tf:"host_system_ids,omitempty"` // The name of the host group. This must be unique in the // cluster. Forces a new resource if changed. // The unique name of the host group in the cluster. // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` }
func (*ClusterHostGroupParameters) DeepCopy ¶
func (in *ClusterHostGroupParameters) DeepCopy() *ClusterHostGroupParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterHostGroupParameters.
func (*ClusterHostGroupParameters) DeepCopyInto ¶
func (in *ClusterHostGroupParameters) DeepCopyInto(out *ClusterHostGroupParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterHostGroupSpec ¶
type ClusterHostGroupSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ClusterHostGroupParameters `json:"forProvider"` }
ClusterHostGroupSpec defines the desired state of ClusterHostGroup
func (*ClusterHostGroupSpec) DeepCopy ¶
func (in *ClusterHostGroupSpec) DeepCopy() *ClusterHostGroupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterHostGroupSpec.
func (*ClusterHostGroupSpec) DeepCopyInto ¶
func (in *ClusterHostGroupSpec) DeepCopyInto(out *ClusterHostGroupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterHostGroupStatus ¶
type ClusterHostGroupStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ClusterHostGroupObservation `json:"atProvider,omitempty"` }
ClusterHostGroupStatus defines the observed state of ClusterHostGroup.
func (*ClusterHostGroupStatus) DeepCopy ¶
func (in *ClusterHostGroupStatus) DeepCopy() *ClusterHostGroupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterHostGroupStatus.
func (*ClusterHostGroupStatus) DeepCopyInto ¶
func (in *ClusterHostGroupStatus) DeepCopyInto(out *ClusterHostGroupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.