Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=nsxtmanagercluster.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type ManagerCluster
- func (in *ManagerCluster) DeepCopy() *ManagerCluster
- func (in *ManagerCluster) DeepCopyInto(out *ManagerCluster)
- func (in *ManagerCluster) DeepCopyObject() runtime.Object
- func (mg *ManagerCluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *ManagerCluster) GetConnectionDetailsMapping() map[string]string
- func (mg *ManagerCluster) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *ManagerCluster) GetID() string
- func (mg *ManagerCluster) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *ManagerCluster) GetObservation() (map[string]any, error)
- func (tr *ManagerCluster) GetParameters() (map[string]any, error)
- func (mg *ManagerCluster) GetProviderConfigReference() *xpv1.Reference
- func (mg *ManagerCluster) GetProviderReference() *xpv1.Reference
- func (mg *ManagerCluster) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ManagerCluster) GetTerraformResourceType() string
- func (tr *ManagerCluster) GetTerraformSchemaVersion() int
- func (mg *ManagerCluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *ManagerCluster) LateInitialize(attrs []byte) (bool, error)
- func (mg *ManagerCluster) SetConditions(c ...xpv1.Condition)
- func (mg *ManagerCluster) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *ManagerCluster) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *ManagerCluster) SetObservation(obs map[string]any) error
- func (tr *ManagerCluster) SetParameters(params map[string]any) error
- func (mg *ManagerCluster) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *ManagerCluster) SetProviderReference(r *xpv1.Reference)
- func (mg *ManagerCluster) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ManagerCluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ManagerClusterList
- type ManagerClusterObservation
- type ManagerClusterParameters
- type ManagerClusterSpec
- type ManagerClusterStatus
- type NodeObservation
- type NodeParameters
Constants ¶
const ( CRDGroup = "nsxtmanagercluster.crossplane.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 ( ManagerCluster_Kind = "ManagerCluster" ManagerCluster_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagerCluster_Kind}.String() ManagerCluster_KindAPIVersion = ManagerCluster_Kind + "." + CRDGroupVersion.String() ManagerCluster_GroupVersionKind = CRDGroupVersion.WithKind(ManagerCluster_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type ManagerCluster ¶
type ManagerCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.node)",message="node is a required parameter" Spec ManagerClusterSpec `json:"spec"` Status ManagerClusterStatus `json:"status,omitempty"` }
ManagerCluster is the Schema for the ManagerClusters API. <no value> +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,nsxt}
func (*ManagerCluster) DeepCopy ¶
func (in *ManagerCluster) DeepCopy() *ManagerCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerCluster.
func (*ManagerCluster) DeepCopyInto ¶
func (in *ManagerCluster) DeepCopyInto(out *ManagerCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagerCluster) DeepCopyObject ¶
func (in *ManagerCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ManagerCluster) GetCondition ¶
func (mg *ManagerCluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this ManagerCluster.
func (*ManagerCluster) GetConnectionDetailsMapping ¶
func (tr *ManagerCluster) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this ManagerCluster
func (*ManagerCluster) GetDeletionPolicy ¶
func (mg *ManagerCluster) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this ManagerCluster.
func (*ManagerCluster) GetID ¶
func (tr *ManagerCluster) GetID() string
GetID returns ID of underlying Terraform resource of this ManagerCluster
func (*ManagerCluster) GetManagementPolicy ¶
func (mg *ManagerCluster) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this ManagerCluster.
func (*ManagerCluster) GetObservation ¶
func (tr *ManagerCluster) GetObservation() (map[string]any, error)
GetObservation of this ManagerCluster
func (*ManagerCluster) GetParameters ¶
func (tr *ManagerCluster) GetParameters() (map[string]any, error)
GetParameters of this ManagerCluster
func (*ManagerCluster) GetProviderConfigReference ¶
func (mg *ManagerCluster) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this ManagerCluster.
func (*ManagerCluster) GetProviderReference ¶
func (mg *ManagerCluster) GetProviderReference() *xpv1.Reference
GetProviderReference of this ManagerCluster. Deprecated: Use GetProviderConfigReference.
func (*ManagerCluster) GetPublishConnectionDetailsTo ¶
func (mg *ManagerCluster) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this ManagerCluster.
func (*ManagerCluster) GetTerraformResourceType ¶
func (mg *ManagerCluster) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this ManagerCluster
func (*ManagerCluster) GetTerraformSchemaVersion ¶
func (tr *ManagerCluster) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*ManagerCluster) GetWriteConnectionSecretToReference ¶
func (mg *ManagerCluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this ManagerCluster.
func (*ManagerCluster) LateInitialize ¶
func (tr *ManagerCluster) LateInitialize(attrs []byte) (bool, error)
LateInitialize this ManagerCluster using its observed tfState. returns True if there are any spec changes for the resource.
func (*ManagerCluster) SetConditions ¶
func (mg *ManagerCluster) SetConditions(c ...xpv1.Condition)
SetConditions of this ManagerCluster.
func (*ManagerCluster) SetDeletionPolicy ¶
func (mg *ManagerCluster) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this ManagerCluster.
func (*ManagerCluster) SetManagementPolicy ¶
func (mg *ManagerCluster) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this ManagerCluster.
func (*ManagerCluster) SetObservation ¶
func (tr *ManagerCluster) SetObservation(obs map[string]any) error
SetObservation for this ManagerCluster
func (*ManagerCluster) SetParameters ¶
func (tr *ManagerCluster) SetParameters(params map[string]any) error
SetParameters for this ManagerCluster
func (*ManagerCluster) SetProviderConfigReference ¶
func (mg *ManagerCluster) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this ManagerCluster.
func (*ManagerCluster) SetProviderReference ¶
func (mg *ManagerCluster) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this ManagerCluster. Deprecated: Use SetProviderConfigReference.
func (*ManagerCluster) SetPublishConnectionDetailsTo ¶
func (mg *ManagerCluster) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this ManagerCluster.
func (*ManagerCluster) SetWriteConnectionSecretToReference ¶
func (mg *ManagerCluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this ManagerCluster.
type ManagerClusterList ¶
type ManagerClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ManagerCluster `json:"items"` }
ManagerClusterList contains a list of ManagerClusters
func (*ManagerClusterList) DeepCopy ¶
func (in *ManagerClusterList) DeepCopy() *ManagerClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerClusterList.
func (*ManagerClusterList) DeepCopyInto ¶
func (in *ManagerClusterList) DeepCopyInto(out *ManagerClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagerClusterList) DeepCopyObject ¶
func (in *ManagerClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ManagerClusterList) GetItems ¶
func (l *ManagerClusterList) GetItems() []resource.Managed
GetItems of this ManagerClusterList.
type ManagerClusterObservation ¶
type ManagerClusterObservation struct { ID *string `json:"id,omitempty" tf:"id,omitempty"` // Nodes in the cluster Node []NodeObservation `json:"node,omitempty" tf:"node,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected Revision *float64 `json:"revision,omitempty" tf:"revision,omitempty"` }
func (*ManagerClusterObservation) DeepCopy ¶
func (in *ManagerClusterObservation) DeepCopy() *ManagerClusterObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerClusterObservation.
func (*ManagerClusterObservation) DeepCopyInto ¶
func (in *ManagerClusterObservation) DeepCopyInto(out *ManagerClusterObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagerClusterParameters ¶
type ManagerClusterParameters struct { // Nodes in the cluster // +kubebuilder:validation:Optional Node []NodeParameters `json:"node,omitempty" tf:"node,omitempty"` }
func (*ManagerClusterParameters) DeepCopy ¶
func (in *ManagerClusterParameters) DeepCopy() *ManagerClusterParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerClusterParameters.
func (*ManagerClusterParameters) DeepCopyInto ¶
func (in *ManagerClusterParameters) DeepCopyInto(out *ManagerClusterParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagerClusterSpec ¶
type ManagerClusterSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ManagerClusterParameters `json:"forProvider"` }
ManagerClusterSpec defines the desired state of ManagerCluster
func (*ManagerClusterSpec) DeepCopy ¶
func (in *ManagerClusterSpec) DeepCopy() *ManagerClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerClusterSpec.
func (*ManagerClusterSpec) DeepCopyInto ¶
func (in *ManagerClusterSpec) DeepCopyInto(out *ManagerClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagerClusterStatus ¶
type ManagerClusterStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ManagerClusterObservation `json:"atProvider,omitempty"` }
ManagerClusterStatus defines the observed state of ManagerCluster.
func (*ManagerClusterStatus) DeepCopy ¶
func (in *ManagerClusterStatus) DeepCopy() *ManagerClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerClusterStatus.
func (*ManagerClusterStatus) DeepCopyInto ¶
func (in *ManagerClusterStatus) DeepCopyInto(out *ManagerClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeObservation ¶
type NodeObservation struct { // FQDN for the cluster node Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"` // ID of the cluster node ID *string `json:"id,omitempty" tf:"id,omitempty"` // IP address of the cluster node that will join the cluster IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"` // Status of the cluster node Status *string `json:"status,omitempty" tf:"status,omitempty"` // The username for login Username *string `json:"username,omitempty" tf:"username,omitempty"` }
func (*NodeObservation) DeepCopy ¶
func (in *NodeObservation) DeepCopy() *NodeObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeObservation.
func (*NodeObservation) DeepCopyInto ¶
func (in *NodeObservation) DeepCopyInto(out *NodeObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeParameters ¶
type NodeParameters struct { // IP address of the cluster node that will join the cluster // +kubebuilder:validation:Required IPAddress *string `json:"ipAddress" tf:"ip_address,omitempty"` // The password for login // +kubebuilder:validation:Required PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` // The username for login // +kubebuilder:validation:Required Username *string `json:"username" tf:"username,omitempty"` }
func (*NodeParameters) DeepCopy ¶
func (in *NodeParameters) DeepCopy() *NodeParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeParameters.
func (*NodeParameters) DeepCopyInto ¶
func (in *NodeParameters) DeepCopyInto(out *NodeParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.