v1alpha1

package
v0.0.0-...-6fe2522 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=tag.vsphere.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "tag.vsphere.upbound.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 (
	Tag_Kind             = "Tag"
	Tag_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Tag_Kind}.String()
	Tag_KindAPIVersion   = Tag_Kind + "." + CRDGroupVersion.String()
	Tag_GroupVersionKind = CRDGroupVersion.WithKind(Tag_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Tag

type Tag struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              TagSpec   `json:"spec"`
	Status            TagStatus `json:"status,omitempty"`
}

Tag is the Schema for the Tags API. Provides a vSphere tag resource. This can be used to manage tags in vSphere. +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,vsphere}

func (*Tag) DeepCopy

func (in *Tag) DeepCopy() *Tag

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tag.

func (*Tag) DeepCopyInto

func (in *Tag) DeepCopyInto(out *Tag)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Tag) DeepCopyObject

func (in *Tag) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Tag) GetCondition

func (mg *Tag) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Tag.

func (*Tag) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Tag

func (*Tag) GetDeletionPolicy

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

GetDeletionPolicy of this Tag.

func (*Tag) GetID

func (tr *Tag) GetID() string

GetID returns ID of underlying Terraform resource of this Tag

func (*Tag) GetObservation

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

GetObservation of this Tag

func (*Tag) GetParameters

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

GetParameters of this Tag

func (*Tag) GetProviderConfigReference

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

GetProviderConfigReference of this Tag.

func (*Tag) GetProviderReference

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

GetProviderReference of this Tag. Deprecated: Use GetProviderConfigReference.

func (*Tag) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Tag.

func (*Tag) GetTerraformResourceType

func (mg *Tag) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Tag

func (*Tag) GetTerraformSchemaVersion

func (tr *Tag) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Tag) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Tag.

func (*Tag) LateInitialize

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

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

func (*Tag) SetConditions

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

SetConditions of this Tag.

func (*Tag) SetDeletionPolicy

func (mg *Tag) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Tag.

func (*Tag) SetObservation

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

SetObservation for this Tag

func (*Tag) SetParameters

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

SetParameters for this Tag

func (*Tag) SetProviderConfigReference

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

SetProviderConfigReference of this Tag.

func (*Tag) SetProviderReference

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

SetProviderReference of this Tag. Deprecated: Use SetProviderConfigReference.

func (*Tag) SetPublishConnectionDetailsTo

func (mg *Tag) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Tag.

func (*Tag) SetWriteConnectionSecretToReference

func (mg *Tag) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Tag.

type TagList

type TagList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Tag `json:"items"`
}

TagList contains a list of Tags

func (*TagList) DeepCopy

func (in *TagList) DeepCopy() *TagList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagList.

func (*TagList) DeepCopyInto

func (in *TagList) DeepCopyInto(out *TagList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TagList) DeepCopyObject

func (in *TagList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*TagList) GetItems

func (l *TagList) GetItems() []resource.Managed

GetItems of this TagList.

type TagObservation

type TagObservation struct {
	ID *string `json:"id,omitempty" tf:"id,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 {

	// The unique identifier of the parent category in
	// which this tag will be created. Forces a new resource if changed.
	// The unique identifier of the parent category in which this tag will be created.
	// +kubebuilder:validation:Required
	CategoryID *string `json:"categoryId" tf:"category_id,omitempty"`

	// A description for the tag.
	// The description of the tag.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The display name of the tag. The name must be unique
	// within its category.
	// The display name of the tag. The name must be unique within its category.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,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.

type TagSpec

type TagSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     TagParameters `json:"forProvider"`
}

TagSpec defines the desired state of Tag

func (*TagSpec) DeepCopy

func (in *TagSpec) DeepCopy() *TagSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagSpec.

func (*TagSpec) DeepCopyInto

func (in *TagSpec) DeepCopyInto(out *TagSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TagStatus

type TagStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        TagObservation `json:"atProvider,omitempty"`
}

TagStatus defines the observed state of Tag.

func (*TagStatus) DeepCopy

func (in *TagStatus) DeepCopy() *TagStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagStatus.

func (*TagStatus) DeepCopyInto

func (in *TagStatus) DeepCopyInto(out *TagStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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