Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=nsxtedgecluster.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type EdgeCluster
- func (in *EdgeCluster) DeepCopy() *EdgeCluster
- func (in *EdgeCluster) DeepCopyInto(out *EdgeCluster)
- func (in *EdgeCluster) DeepCopyObject() runtime.Object
- func (mg *EdgeCluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *EdgeCluster) GetConnectionDetailsMapping() map[string]string
- func (mg *EdgeCluster) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *EdgeCluster) GetID() string
- func (mg *EdgeCluster) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *EdgeCluster) GetObservation() (map[string]any, error)
- func (tr *EdgeCluster) GetParameters() (map[string]any, error)
- func (mg *EdgeCluster) GetProviderConfigReference() *xpv1.Reference
- func (mg *EdgeCluster) GetProviderReference() *xpv1.Reference
- func (mg *EdgeCluster) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *EdgeCluster) GetTerraformResourceType() string
- func (tr *EdgeCluster) GetTerraformSchemaVersion() int
- func (mg *EdgeCluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *EdgeCluster) LateInitialize(attrs []byte) (bool, error)
- func (mg *EdgeCluster) SetConditions(c ...xpv1.Condition)
- func (mg *EdgeCluster) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *EdgeCluster) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *EdgeCluster) SetObservation(obs map[string]any) error
- func (tr *EdgeCluster) SetParameters(params map[string]any) error
- func (mg *EdgeCluster) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *EdgeCluster) SetProviderReference(r *xpv1.Reference)
- func (mg *EdgeCluster) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *EdgeCluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type EdgeClusterList
- type EdgeClusterObservation
- type EdgeClusterParameters
- type EdgeClusterSpec
- type EdgeClusterStatus
- type MemberObservation
- type MemberParameters
- type NodeRtepIpsObservation
- type NodeRtepIpsParameters
- type TagObservation
- type TagParameters
Constants ¶
const ( CRDGroup = "nsxtedgecluster.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( EdgeCluster_Kind = "EdgeCluster" EdgeCluster_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: EdgeCluster_Kind}.String() EdgeCluster_KindAPIVersion = EdgeCluster_Kind + "." + CRDGroupVersion.String() EdgeCluster_GroupVersionKind = CRDGroupVersion.WithKind(EdgeCluster_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 EdgeCluster ¶
type EdgeCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.displayName)",message="displayName is a required parameter" Spec EdgeClusterSpec `json:"spec"` Status EdgeClusterStatus `json:"status,omitempty"` }
EdgeCluster is the Schema for the EdgeClusters 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 (*EdgeCluster) DeepCopy ¶
func (in *EdgeCluster) DeepCopy() *EdgeCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeCluster.
func (*EdgeCluster) DeepCopyInto ¶
func (in *EdgeCluster) DeepCopyInto(out *EdgeCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EdgeCluster) DeepCopyObject ¶
func (in *EdgeCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*EdgeCluster) GetCondition ¶
func (mg *EdgeCluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this EdgeCluster.
func (*EdgeCluster) GetConnectionDetailsMapping ¶
func (tr *EdgeCluster) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this EdgeCluster
func (*EdgeCluster) GetDeletionPolicy ¶
func (mg *EdgeCluster) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this EdgeCluster.
func (*EdgeCluster) GetID ¶
func (tr *EdgeCluster) GetID() string
GetID returns ID of underlying Terraform resource of this EdgeCluster
func (*EdgeCluster) GetManagementPolicy ¶
func (mg *EdgeCluster) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this EdgeCluster.
func (*EdgeCluster) GetObservation ¶
func (tr *EdgeCluster) GetObservation() (map[string]any, error)
GetObservation of this EdgeCluster
func (*EdgeCluster) GetParameters ¶
func (tr *EdgeCluster) GetParameters() (map[string]any, error)
GetParameters of this EdgeCluster
func (*EdgeCluster) GetProviderConfigReference ¶
func (mg *EdgeCluster) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this EdgeCluster.
func (*EdgeCluster) GetProviderReference ¶
func (mg *EdgeCluster) GetProviderReference() *xpv1.Reference
GetProviderReference of this EdgeCluster. Deprecated: Use GetProviderConfigReference.
func (*EdgeCluster) GetPublishConnectionDetailsTo ¶
func (mg *EdgeCluster) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this EdgeCluster.
func (*EdgeCluster) GetTerraformResourceType ¶
func (mg *EdgeCluster) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this EdgeCluster
func (*EdgeCluster) GetTerraformSchemaVersion ¶
func (tr *EdgeCluster) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*EdgeCluster) GetWriteConnectionSecretToReference ¶
func (mg *EdgeCluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this EdgeCluster.
func (*EdgeCluster) LateInitialize ¶
func (tr *EdgeCluster) LateInitialize(attrs []byte) (bool, error)
LateInitialize this EdgeCluster using its observed tfState. returns True if there are any spec changes for the resource.
func (*EdgeCluster) SetConditions ¶
func (mg *EdgeCluster) SetConditions(c ...xpv1.Condition)
SetConditions of this EdgeCluster.
func (*EdgeCluster) SetDeletionPolicy ¶
func (mg *EdgeCluster) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this EdgeCluster.
func (*EdgeCluster) SetManagementPolicy ¶
func (mg *EdgeCluster) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this EdgeCluster.
func (*EdgeCluster) SetObservation ¶
func (tr *EdgeCluster) SetObservation(obs map[string]any) error
SetObservation for this EdgeCluster
func (*EdgeCluster) SetParameters ¶
func (tr *EdgeCluster) SetParameters(params map[string]any) error
SetParameters for this EdgeCluster
func (*EdgeCluster) SetProviderConfigReference ¶
func (mg *EdgeCluster) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this EdgeCluster.
func (*EdgeCluster) SetProviderReference ¶
func (mg *EdgeCluster) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this EdgeCluster. Deprecated: Use SetProviderConfigReference.
func (*EdgeCluster) SetPublishConnectionDetailsTo ¶
func (mg *EdgeCluster) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this EdgeCluster.
func (*EdgeCluster) SetWriteConnectionSecretToReference ¶
func (mg *EdgeCluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this EdgeCluster.
type EdgeClusterList ¶
type EdgeClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []EdgeCluster `json:"items"` }
EdgeClusterList contains a list of EdgeClusters
func (*EdgeClusterList) DeepCopy ¶
func (in *EdgeClusterList) DeepCopy() *EdgeClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeClusterList.
func (*EdgeClusterList) DeepCopyInto ¶
func (in *EdgeClusterList) DeepCopyInto(out *EdgeClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EdgeClusterList) DeepCopyObject ¶
func (in *EdgeClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*EdgeClusterList) GetItems ¶
func (l *EdgeClusterList) GetItems() []resource.Managed
GetItems of this EdgeClusterList.
type EdgeClusterObservation ¶
type EdgeClusterObservation struct { // Description for this resource Description *string `json:"description,omitempty" tf:"description,omitempty"` // Display name for this resource DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // Edge high availability cluster profile Id EdgeHaProfileID *string `json:"edgeHaProfileId,omitempty" tf:"edge_ha_profile_id,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // Edge cluster members Member []MemberObservation `json:"member,omitempty" tf:"member,omitempty"` // Node type of the cluster members MemberNodeType *string `json:"memberNodeType,omitempty" tf:"member_node_type,omitempty"` // Remote tunnel endpoint ip address NodeRtepIps []NodeRtepIpsObservation `json:"nodeRtepIps,omitempty" tf:"node_rtep_ips,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"` // Set of opaque identifiers meaningful to the user Tag []TagObservation `json:"tag,omitempty" tf:"tag,omitempty"` }
func (*EdgeClusterObservation) DeepCopy ¶
func (in *EdgeClusterObservation) DeepCopy() *EdgeClusterObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeClusterObservation.
func (*EdgeClusterObservation) DeepCopyInto ¶
func (in *EdgeClusterObservation) DeepCopyInto(out *EdgeClusterObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EdgeClusterParameters ¶
type EdgeClusterParameters struct { // Description for this resource // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // Display name for this resource // +kubebuilder:validation:Optional DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // Edge high availability cluster profile Id // +kubebuilder:validation:Optional EdgeHaProfileID *string `json:"edgeHaProfileId,omitempty" tf:"edge_ha_profile_id,omitempty"` // Edge cluster members // +kubebuilder:validation:Optional Member []MemberParameters `json:"member,omitempty" tf:"member,omitempty"` // Set of opaque identifiers meaningful to the user // +kubebuilder:validation:Optional Tag []TagParameters `json:"tag,omitempty" tf:"tag,omitempty"` }
func (*EdgeClusterParameters) DeepCopy ¶
func (in *EdgeClusterParameters) DeepCopy() *EdgeClusterParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeClusterParameters.
func (*EdgeClusterParameters) DeepCopyInto ¶
func (in *EdgeClusterParameters) DeepCopyInto(out *EdgeClusterParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EdgeClusterSpec ¶
type EdgeClusterSpec struct { v1.ResourceSpec `json:",inline"` ForProvider EdgeClusterParameters `json:"forProvider"` }
EdgeClusterSpec defines the desired state of EdgeCluster
func (*EdgeClusterSpec) DeepCopy ¶
func (in *EdgeClusterSpec) DeepCopy() *EdgeClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeClusterSpec.
func (*EdgeClusterSpec) DeepCopyInto ¶
func (in *EdgeClusterSpec) DeepCopyInto(out *EdgeClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EdgeClusterStatus ¶
type EdgeClusterStatus struct { v1.ResourceStatus `json:",inline"` AtProvider EdgeClusterObservation `json:"atProvider,omitempty"` }
EdgeClusterStatus defines the observed state of EdgeCluster.
func (*EdgeClusterStatus) DeepCopy ¶
func (in *EdgeClusterStatus) DeepCopy() *EdgeClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeClusterStatus.
func (*EdgeClusterStatus) DeepCopyInto ¶
func (in *EdgeClusterStatus) DeepCopyInto(out *EdgeClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MemberObservation ¶
type MemberObservation struct { // Description of this resource Description *string `json:"description,omitempty" tf:"description,omitempty"` // The display name of this resource. Defaults to ID if not set DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // System generated index for cluster member MemberIndex *float64 `json:"memberIndex,omitempty" tf:"member_index,omitempty"` // UUID of edge transport node TransportNodeID *string `json:"transportNodeId,omitempty" tf:"transport_node_id,omitempty"` }
func (*MemberObservation) DeepCopy ¶
func (in *MemberObservation) DeepCopy() *MemberObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemberObservation.
func (*MemberObservation) DeepCopyInto ¶
func (in *MemberObservation) DeepCopyInto(out *MemberObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MemberParameters ¶
type MemberParameters struct { // Description of this resource // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // The display name of this resource. Defaults to ID if not set // +kubebuilder:validation:Optional DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // UUID of edge transport node // +kubebuilder:validation:Required TransportNodeID *string `json:"transportNodeId" tf:"transport_node_id,omitempty"` }
func (*MemberParameters) DeepCopy ¶
func (in *MemberParameters) DeepCopy() *MemberParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemberParameters.
func (*MemberParameters) DeepCopyInto ¶
func (in *MemberParameters) DeepCopyInto(out *MemberParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeRtepIpsObservation ¶
type NodeRtepIpsObservation struct { MemberIndex *float64 `json:"memberIndex,omitempty" tf:"member_index,omitempty"` RtepIps []*string `json:"rtepIps,omitempty" tf:"rtep_ips,omitempty"` TransportNodeID *string `json:"transportNodeId,omitempty" tf:"transport_node_id,omitempty"` }
func (*NodeRtepIpsObservation) DeepCopy ¶
func (in *NodeRtepIpsObservation) DeepCopy() *NodeRtepIpsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeRtepIpsObservation.
func (*NodeRtepIpsObservation) DeepCopyInto ¶
func (in *NodeRtepIpsObservation) DeepCopyInto(out *NodeRtepIpsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeRtepIpsParameters ¶
type NodeRtepIpsParameters struct { }
func (*NodeRtepIpsParameters) DeepCopy ¶
func (in *NodeRtepIpsParameters) DeepCopy() *NodeRtepIpsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeRtepIpsParameters.
func (*NodeRtepIpsParameters) DeepCopyInto ¶
func (in *NodeRtepIpsParameters) DeepCopyInto(out *NodeRtepIpsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TagObservation ¶
type TagObservation struct { Scope *string `json:"scope,omitempty" tf:"scope,omitempty"` Tag *string `json:"tag,omitempty" tf:"tag,omitempty"` }
func (*TagObservation) DeepCopy ¶
func (in *TagObservation) DeepCopy() *TagObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagObservation.
func (*TagObservation) DeepCopyInto ¶
func (in *TagObservation) DeepCopyInto(out *TagObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TagParameters ¶
type TagParameters struct { // +kubebuilder:validation:Optional Scope *string `json:"scope,omitempty" tf:"scope,omitempty"` // +kubebuilder:validation:Optional Tag *string `json:"tag,omitempty" tf:"tag,omitempty"` }
func (*TagParameters) DeepCopy ¶
func (in *TagParameters) DeepCopy() *TagParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagParameters.
func (*TagParameters) DeepCopyInto ¶
func (in *TagParameters) DeepCopyInto(out *TagParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.