Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=nsxt_ns_group.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type MemberObservation
- type MemberParameters
- type MembershipCriteriaObservation
- type MembershipCriteriaParameters
- type NsGroup
- func (mg *NsGroup) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *NsGroup) GetConnectionDetailsMapping() map[string]string
- func (mg *NsGroup) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *NsGroup) GetID() string
- func (mg *NsGroup) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *NsGroup) GetObservation() (map[string]any, error)
- func (tr *NsGroup) GetParameters() (map[string]any, error)
- func (mg *NsGroup) GetProviderConfigReference() *xpv1.Reference
- func (mg *NsGroup) GetProviderReference() *xpv1.Reference
- func (mg *NsGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *NsGroup) GetTerraformResourceType() string
- func (tr *NsGroup) GetTerraformSchemaVersion() int
- func (mg *NsGroup) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *NsGroup) LateInitialize(attrs []byte) (bool, error)
- func (mg *NsGroup) SetConditions(c ...xpv1.Condition)
- func (mg *NsGroup) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *NsGroup) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *NsGroup) SetObservation(obs map[string]any) error
- func (tr *NsGroup) SetParameters(params map[string]any) error
- func (mg *NsGroup) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *NsGroup) SetProviderReference(r *xpv1.Reference)
- func (mg *NsGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *NsGroup) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type NsGroupList
- type NsGroupObservation
- type NsGroupParameters
- type NsGroupSpec
- type NsGroupStatus
- type TagObservation
- type TagParameters
Constants ¶
const ( CRDGroup = "nsxt_ns_group.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 ( NsGroup_Kind = "NsGroup" NsGroup_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: NsGroup_Kind}.String() NsGroup_KindAPIVersion = NsGroup_Kind + "." + CRDGroupVersion.String() NsGroup_GroupVersionKind = CRDGroupVersion.WithKind(NsGroup_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type MemberObservation ¶
type MemberParameters ¶
type MemberParameters struct { // Type of the resource on which this expression is evaluated // +kubebuilder:validation:Required TargetType *string `json:"targetType" tf:"target_type,omitempty"` // Value that satisfies this expression // +kubebuilder:validation:Required Value *string `json:"value" tf:"value,omitempty"` }
type MembershipCriteriaObservation ¶
type MembershipCriteriaObservation struct { Scope *string `json:"scope,omitempty" tf:"scope,omitempty"` ScopeOp *string `json:"scopeOp,omitempty" tf:"scope_op,omitempty"` Tag *string `json:"tag,omitempty" tf:"tag,omitempty"` TagOp *string `json:"tagOp,omitempty" tf:"tag_op,omitempty"` TargetType *string `json:"targetType,omitempty" tf:"target_type,omitempty"` }
type MembershipCriteriaParameters ¶
type MembershipCriteriaParameters struct { // +kubebuilder:validation:Optional Scope *string `json:"scope,omitempty" tf:"scope,omitempty"` // +kubebuilder:validation:Optional ScopeOp *string `json:"scopeOp,omitempty" tf:"scope_op,omitempty"` // +kubebuilder:validation:Optional Tag *string `json:"tag,omitempty" tf:"tag,omitempty"` // +kubebuilder:validation:Optional TagOp *string `json:"tagOp,omitempty" tf:"tag_op,omitempty"` // +kubebuilder:validation:Required TargetType *string `json:"targetType" tf:"target_type,omitempty"` }
type NsGroup ¶
type NsGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NsGroupSpec `json:"spec"` Status NsGroupStatus `json:"status,omitempty"` }
NsGroup is the Schema for the NsGroups 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 (*NsGroup) GetCondition ¶
func (mg *NsGroup) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this NsGroup.
func (*NsGroup) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this NsGroup
func (*NsGroup) GetDeletionPolicy ¶
func (mg *NsGroup) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this NsGroup.
func (*NsGroup) GetManagementPolicy ¶
func (mg *NsGroup) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this NsGroup.
func (*NsGroup) GetObservation ¶
GetObservation of this NsGroup
func (*NsGroup) GetParameters ¶
GetParameters of this NsGroup
func (*NsGroup) GetProviderConfigReference ¶
GetProviderConfigReference of this NsGroup.
func (*NsGroup) GetProviderReference ¶
GetProviderReference of this NsGroup. Deprecated: Use GetProviderConfigReference.
func (*NsGroup) GetPublishConnectionDetailsTo ¶
func (mg *NsGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this NsGroup.
func (*NsGroup) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this NsGroup
func (*NsGroup) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*NsGroup) GetWriteConnectionSecretToReference ¶
func (mg *NsGroup) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this NsGroup.
func (*NsGroup) LateInitialize ¶
LateInitialize this NsGroup using its observed tfState. returns True if there are any spec changes for the resource.
func (*NsGroup) SetConditions ¶
SetConditions of this NsGroup.
func (*NsGroup) SetDeletionPolicy ¶
func (mg *NsGroup) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this NsGroup.
func (*NsGroup) SetManagementPolicy ¶
func (mg *NsGroup) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this NsGroup.
func (*NsGroup) SetObservation ¶
SetObservation for this NsGroup
func (*NsGroup) SetParameters ¶
SetParameters for this NsGroup
func (*NsGroup) SetProviderConfigReference ¶
SetProviderConfigReference of this NsGroup.
func (*NsGroup) SetProviderReference ¶
SetProviderReference of this NsGroup. Deprecated: Use SetProviderConfigReference.
func (*NsGroup) SetPublishConnectionDetailsTo ¶
func (mg *NsGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this NsGroup.
func (*NsGroup) SetWriteConnectionSecretToReference ¶
func (mg *NsGroup) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this NsGroup.
type NsGroupList ¶
type NsGroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NsGroup `json:"items"` }
NsGroupList contains a list of NsGroups
func (*NsGroupList) GetItems ¶
func (l *NsGroupList) GetItems() []resource.Managed
GetItems of this NsGroupList.
type NsGroupObservation ¶
type NsGroupObservation 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"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // Reference to the direct/static members of the NSGroup. Member []MemberObservation `json:"member,omitempty" tf:"member,omitempty"` // List of tag expressions which define the membership criteria for this NSGroup. MembershipCriteria []MembershipCriteriaObservation `json:"membershipCriteria,omitempty" tf:"membership_criteria,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"` }
type NsGroupParameters ¶
type NsGroupParameters 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"` // Reference to the direct/static members of the NSGroup. // +kubebuilder:validation:Optional Member []MemberParameters `json:"member,omitempty" tf:"member,omitempty"` // List of tag expressions which define the membership criteria for this NSGroup. // +kubebuilder:validation:Optional MembershipCriteria []MembershipCriteriaParameters `json:"membershipCriteria,omitempty" tf:"membership_criteria,omitempty"` // Set of opaque identifiers meaningful to the user // +kubebuilder:validation:Optional Tag []TagParameters `json:"tag,omitempty" tf:"tag,omitempty"` }
type NsGroupSpec ¶
type NsGroupSpec struct { v1.ResourceSpec `json:",inline"` ForProvider NsGroupParameters `json:"forProvider"` }
NsGroupSpec defines the desired state of NsGroup
type NsGroupStatus ¶
type NsGroupStatus struct { v1.ResourceStatus `json:",inline"` AtProvider NsGroupObservation `json:"atProvider,omitempty"` }
NsGroupStatus defines the observed state of NsGroup.