Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=nsxt_vm_tags.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type LogicalPortTagObservation
- type LogicalPortTagParameters
- type TagObservation
- type TagParameters
- type VmTags
- func (mg *VmTags) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *VmTags) GetConnectionDetailsMapping() map[string]string
- func (mg *VmTags) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *VmTags) GetID() string
- func (mg *VmTags) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *VmTags) GetObservation() (map[string]any, error)
- func (tr *VmTags) GetParameters() (map[string]any, error)
- func (mg *VmTags) GetProviderConfigReference() *xpv1.Reference
- func (mg *VmTags) GetProviderReference() *xpv1.Reference
- func (mg *VmTags) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *VmTags) GetTerraformResourceType() string
- func (tr *VmTags) GetTerraformSchemaVersion() int
- func (mg *VmTags) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *VmTags) LateInitialize(attrs []byte) (bool, error)
- func (mg *VmTags) SetConditions(c ...xpv1.Condition)
- func (mg *VmTags) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *VmTags) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *VmTags) SetObservation(obs map[string]any) error
- func (tr *VmTags) SetParameters(params map[string]any) error
- func (mg *VmTags) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *VmTags) SetProviderReference(r *xpv1.Reference)
- func (mg *VmTags) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *VmTags) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type VmTagsList
- type VmTagsObservation
- type VmTagsParameters
- type VmTagsSpec
- type VmTagsStatus
Constants ¶
const ( CRDGroup = "nsxt_vm_tags.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 ( VmTags_Kind = "VmTags" VmTags_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: VmTags_Kind}.String() VmTags_KindAPIVersion = VmTags_Kind + "." + CRDGroupVersion.String() VmTags_GroupVersionKind = CRDGroupVersion.WithKind(VmTags_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type TagObservation ¶
type TagParameters ¶
type VmTags ¶
type VmTags struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.instanceId)",message="instanceId is a required parameter" Spec VmTagsSpec `json:"spec"` Status VmTagsStatus `json:"status,omitempty"` }
VmTags is the Schema for the VmTagss 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 (*VmTags) GetCondition ¶
func (mg *VmTags) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this VmTags.
func (*VmTags) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this VmTags
func (*VmTags) GetDeletionPolicy ¶
func (mg *VmTags) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this VmTags.
func (*VmTags) GetManagementPolicy ¶
func (mg *VmTags) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this VmTags.
func (*VmTags) GetObservation ¶
GetObservation of this VmTags
func (*VmTags) GetParameters ¶
GetParameters of this VmTags
func (*VmTags) GetProviderConfigReference ¶
GetProviderConfigReference of this VmTags.
func (*VmTags) GetProviderReference ¶
GetProviderReference of this VmTags. Deprecated: Use GetProviderConfigReference.
func (*VmTags) GetPublishConnectionDetailsTo ¶
func (mg *VmTags) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this VmTags.
func (*VmTags) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this VmTags
func (*VmTags) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*VmTags) GetWriteConnectionSecretToReference ¶
func (mg *VmTags) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this VmTags.
func (*VmTags) LateInitialize ¶
LateInitialize this VmTags using its observed tfState. returns True if there are any spec changes for the resource.
func (*VmTags) SetConditions ¶
SetConditions of this VmTags.
func (*VmTags) SetDeletionPolicy ¶
func (mg *VmTags) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this VmTags.
func (*VmTags) SetManagementPolicy ¶
func (mg *VmTags) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this VmTags.
func (*VmTags) SetObservation ¶
SetObservation for this VmTags
func (*VmTags) SetParameters ¶
SetParameters for this VmTags
func (*VmTags) SetProviderConfigReference ¶
SetProviderConfigReference of this VmTags.
func (*VmTags) SetProviderReference ¶
SetProviderReference of this VmTags. Deprecated: Use SetProviderConfigReference.
func (*VmTags) SetPublishConnectionDetailsTo ¶
func (mg *VmTags) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this VmTags.
func (*VmTags) SetWriteConnectionSecretToReference ¶
func (mg *VmTags) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this VmTags.
type VmTagsList ¶
type VmTagsList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VmTags `json:"items"` }
VmTagsList contains a list of VmTagss
func (*VmTagsList) GetItems ¶
func (l *VmTagsList) GetItems() []resource.Managed
GetItems of this VmTagsList.
type VmTagsObservation ¶
type VmTagsObservation struct { ID *string `json:"id,omitempty" tf:"id,omitempty"` // Instance id InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"` // Set of opaque identifiers meaningful to the user LogicalPortTag []LogicalPortTagObservation `json:"logicalPortTag,omitempty" tf:"logical_port_tag,omitempty"` // Set of opaque identifiers meaningful to the user Tag []TagObservation `json:"tag,omitempty" tf:"tag,omitempty"` }
type VmTagsParameters ¶
type VmTagsParameters struct { // Instance id // +kubebuilder:validation:Optional InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"` // Set of opaque identifiers meaningful to the user // +kubebuilder:validation:Optional LogicalPortTag []LogicalPortTagParameters `json:"logicalPortTag,omitempty" tf:"logical_port_tag,omitempty"` // Set of opaque identifiers meaningful to the user // +kubebuilder:validation:Optional Tag []TagParameters `json:"tag,omitempty" tf:"tag,omitempty"` }
type VmTagsSpec ¶
type VmTagsSpec struct { v1.ResourceSpec `json:",inline"` ForProvider VmTagsParameters `json:"forProvider"` }
VmTagsSpec defines the desired state of VmTags
type VmTagsStatus ¶
type VmTagsStatus struct { v1.ResourceStatus `json:",inline"` AtProvider VmTagsObservation `json:"atProvider,omitempty"` }
VmTagsStatus defines the observed state of VmTags.