v1alpha1

package
v0.0.0-...-4b4ec10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=nsxt_vm_tags.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "nsxt_vm_tags.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
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
)
View Source
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 LogicalPortTagObservation

type LogicalPortTagObservation struct {
	Scope *string `json:"scope,omitempty" tf:"scope,omitempty"`

	Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`
}

type LogicalPortTagParameters

type LogicalPortTagParameters struct {

	// +kubebuilder:validation:Optional
	Scope *string `json:"scope,omitempty" tf:"scope,omitempty"`

	// +kubebuilder:validation:Optional
	Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`
}

type TagObservation

type TagObservation struct {
	Scope *string `json:"scope,omitempty" tf:"scope,omitempty"`

	Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`
}

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"`
}

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

func (tr *VmTags) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this VmTags

func (*VmTags) GetDeletionPolicy

func (mg *VmTags) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this VmTags.

func (*VmTags) GetID

func (tr *VmTags) GetID() string

GetID returns ID of underlying Terraform resource of this VmTags

func (*VmTags) GetManagementPolicy

func (mg *VmTags) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this VmTags.

func (*VmTags) GetObservation

func (tr *VmTags) GetObservation() (map[string]any, error)

GetObservation of this VmTags

func (*VmTags) GetParameters

func (tr *VmTags) GetParameters() (map[string]any, error)

GetParameters of this VmTags

func (*VmTags) GetProviderConfigReference

func (mg *VmTags) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this VmTags.

func (*VmTags) GetProviderReference

func (mg *VmTags) GetProviderReference() *xpv1.Reference

GetProviderReference of this VmTags. Deprecated: Use GetProviderConfigReference.

func (*VmTags) GetPublishConnectionDetailsTo

func (mg *VmTags) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this VmTags.

func (*VmTags) GetTerraformResourceType

func (mg *VmTags) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this VmTags

func (*VmTags) GetTerraformSchemaVersion

func (tr *VmTags) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*VmTags) GetWriteConnectionSecretToReference

func (mg *VmTags) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this VmTags.

func (*VmTags) LateInitialize

func (tr *VmTags) LateInitialize(attrs []byte) (bool, error)

LateInitialize this VmTags using its observed tfState. returns True if there are any spec changes for the resource.

func (*VmTags) SetConditions

func (mg *VmTags) SetConditions(c ...xpv1.Condition)

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

func (tr *VmTags) SetObservation(obs map[string]any) error

SetObservation for this VmTags

func (*VmTags) SetParameters

func (tr *VmTags) SetParameters(params map[string]any) error

SetParameters for this VmTags

func (*VmTags) SetProviderConfigReference

func (mg *VmTags) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this VmTags.

func (*VmTags) SetProviderReference

func (mg *VmTags) SetProviderReference(r *xpv1.Reference)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL