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   = "folder.terraform-provider-vsphere.crossplane.io"
	Version = "v1alpha1"
)

Package type metadata.

Variables

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

Functions

func DecodeFolder

func DecodeFolder(prev *Folder, ctyValue cty.Value) (resource.Managed, error)

func DecodeFolder_CustomAttributes

func DecodeFolder_CustomAttributes(p *FolderParameters, vals map[string]cty.Value)

primitiveMapTypeDecodeTemplate

func DecodeFolder_DatacenterId

func DecodeFolder_DatacenterId(p *FolderParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeFolder_Path

func DecodeFolder_Path(p *FolderParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeFolder_Tags

func DecodeFolder_Tags(p *FolderParameters, vals map[string]cty.Value)

primitiveCollectionTypeDecodeTemplate

func DecodeFolder_Type

func DecodeFolder_Type(p *FolderParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func EncodeFolder

func EncodeFolder(r Folder) cty.Value

func EncodeFolder_CustomAttributes

func EncodeFolder_CustomAttributes(p FolderParameters, vals map[string]cty.Value)

func EncodeFolder_DatacenterId

func EncodeFolder_DatacenterId(p FolderParameters, vals map[string]cty.Value)

func EncodeFolder_Path

func EncodeFolder_Path(p FolderParameters, vals map[string]cty.Value)

func EncodeFolder_Tags

func EncodeFolder_Tags(p FolderParameters, vals map[string]cty.Value)

func EncodeFolder_Type

func EncodeFolder_Type(p FolderParameters, vals map[string]cty.Value)

func Implementation

func Implementation() *plugin.Implementation

func MergeFolder_CustomAttributes

func MergeFolder_CustomAttributes(k *FolderParameters, p *FolderParameters, md *plugin.MergeDescription) bool

mergePrimitiveContainerTemplateSpec

func MergeFolder_DatacenterId

func MergeFolder_DatacenterId(k *FolderParameters, p *FolderParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeFolder_Path

func MergeFolder_Path(k *FolderParameters, p *FolderParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeFolder_Tags

func MergeFolder_Tags(k *FolderParameters, p *FolderParameters, md *plugin.MergeDescription) bool

mergePrimitiveContainerTemplateSpec

func MergeFolder_Type

func MergeFolder_Type(k *FolderParameters, p *FolderParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

Types

type Folder

type Folder struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   FolderSpec   `json:"spec"`
	Status FolderStatus `json:"status,omitempty"`
}

Folder is a managed resource representing a resource mirrored in the cloud +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster

func (*Folder) DeepCopy

func (in *Folder) DeepCopy() *Folder

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

func (*Folder) DeepCopyInto

func (in *Folder) DeepCopyInto(out *Folder)

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

func (*Folder) DeepCopyObject

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

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

func (*Folder) GetCondition

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

GetCondition of this Folder.

func (*Folder) GetDeletionPolicy

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

GetDeletionPolicy of this Folder.

func (*Folder) GetProviderConfigReference

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

GetProviderConfigReference of this Folder.

func (*Folder) GetProviderReference

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

GetProviderReference of this Folder. Deprecated: Use GetProviderConfigReference.

func (*Folder) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Folder.

func (*Folder) SetConditions

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

SetConditions of this Folder.

func (*Folder) SetDeletionPolicy

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

SetDeletionPolicy of this Folder.

func (*Folder) SetProviderConfigReference

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

SetProviderConfigReference of this Folder.

func (*Folder) SetProviderReference

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

SetProviderReference of this Folder. Deprecated: Use SetProviderConfigReference.

func (*Folder) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Folder.

type FolderList

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

Folder contains a list of FolderList

func (*FolderList) DeepCopy

func (in *FolderList) DeepCopy() *FolderList

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

func (*FolderList) DeepCopyInto

func (in *FolderList) DeepCopyInto(out *FolderList)

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

func (*FolderList) DeepCopyObject

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

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

func (*FolderList) GetItems

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

GetItems of this FolderList.

type FolderObservation

type FolderObservation struct{}

A FolderObservation records the observed state of a Folder

func (*FolderObservation) DeepCopy

func (in *FolderObservation) DeepCopy() *FolderObservation

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

func (*FolderObservation) DeepCopyInto

func (in *FolderObservation) DeepCopyInto(out *FolderObservation)

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

type FolderParameters

type FolderParameters struct {
	CustomAttributes map[string]string `json:"custom_attributes,omitempty"`
	DatacenterId     string            `json:"datacenter_id"`
	Path             string            `json:"path"`
	Tags             []string          `json:"tags,omitempty"`
	Type             string            `json:"type"`
}

A FolderParameters defines the desired state of a Folder

func (*FolderParameters) DeepCopy

func (in *FolderParameters) DeepCopy() *FolderParameters

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

func (*FolderParameters) DeepCopyInto

func (in *FolderParameters) DeepCopyInto(out *FolderParameters)

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

type FolderSpec

type FolderSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       FolderParameters `json:"forProvider"`
}

A FolderSpec defines the desired state of a Folder

func (*FolderSpec) DeepCopy

func (in *FolderSpec) DeepCopy() *FolderSpec

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

func (*FolderSpec) DeepCopyInto

func (in *FolderSpec) DeepCopyInto(out *FolderSpec)

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

type FolderStatus

type FolderStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          FolderObservation `json:"atProvider"`
}

A FolderStatus defines the observed state of a Folder

func (*FolderStatus) DeepCopy

func (in *FolderStatus) DeepCopy() *FolderStatus

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

func (*FolderStatus) DeepCopyInto

func (in *FolderStatus) DeepCopyInto(out *FolderStatus)

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