v1alpha1

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Group   = "tag.terraform-provider-vsphere.crossplane.io"
	Version = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	Kind                  = "Tag"
	GroupKind             = schema.GroupKind{Group: Group, Kind: Kind}.String()
	KindAPIVersion        = Kind + "." + SchemeGroupVersion.String()
	GroupVersionKind      = SchemeGroupVersion.WithKind(Kind)
	TerraformResourceName = "vsphere_tag"
)
View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version}
)

Functions

func DecodeTag

func DecodeTag(prev *Tag, ctyValue cty.Value) (resource.Managed, error)

func DecodeTag_CategoryId

func DecodeTag_CategoryId(p *TagParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeTag_Description

func DecodeTag_Description(p *TagParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeTag_Name

func DecodeTag_Name(p *TagParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func EncodeTag

func EncodeTag(r Tag) cty.Value

func EncodeTag_CategoryId

func EncodeTag_CategoryId(p TagParameters, vals map[string]cty.Value)

func EncodeTag_Description

func EncodeTag_Description(p TagParameters, vals map[string]cty.Value)

func EncodeTag_Name

func EncodeTag_Name(p TagParameters, vals map[string]cty.Value)

func Implementation

func Implementation() *plugin.Implementation

func MergeTag_CategoryId

func MergeTag_CategoryId(k *TagParameters, p *TagParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeTag_Description

func MergeTag_Description(k *TagParameters, p *TagParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeTag_Name

func MergeTag_Name(k *TagParameters, p *TagParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

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 a managed resource representing a resource mirrored in the cloud +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster

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) GetDeletionPolicy

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

GetDeletionPolicy 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) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Tag.

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

Tag contains a list of TagList

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{}

A TagObservation records the observed state of a Tag

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 {
	CategoryId  string `json:"category_id"`
	Description string `json:"description"`
	Name        string `json:"name"`
}

A TagParameters defines the desired state of a Tag

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 {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       TagParameters `json:"forProvider"`
}

A TagSpec defines the desired state of a 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 {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          TagObservation `json:"atProvider"`
}

A TagStatus defines the observed state of a 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