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

Package type metadata.

Variables

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

Functions

func DecodeDatacenter

func DecodeDatacenter(prev *Datacenter, ctyValue cty.Value) (resource.Managed, error)

func DecodeDatacenter_CustomAttributes

func DecodeDatacenter_CustomAttributes(p *DatacenterParameters, vals map[string]cty.Value)

primitiveMapTypeDecodeTemplate

func DecodeDatacenter_Folder

func DecodeDatacenter_Folder(p *DatacenterParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDatacenter_Moid

func DecodeDatacenter_Moid(p *DatacenterObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDatacenter_Name

func DecodeDatacenter_Name(p *DatacenterParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDatacenter_Tags

func DecodeDatacenter_Tags(p *DatacenterParameters, vals map[string]cty.Value)

primitiveCollectionTypeDecodeTemplate

func EncodeDatacenter

func EncodeDatacenter(r Datacenter) cty.Value

func EncodeDatacenter_CustomAttributes

func EncodeDatacenter_CustomAttributes(p DatacenterParameters, vals map[string]cty.Value)

func EncodeDatacenter_Folder

func EncodeDatacenter_Folder(p DatacenterParameters, vals map[string]cty.Value)

func EncodeDatacenter_Moid

func EncodeDatacenter_Moid(p DatacenterObservation, vals map[string]cty.Value)

func EncodeDatacenter_Name

func EncodeDatacenter_Name(p DatacenterParameters, vals map[string]cty.Value)

func EncodeDatacenter_Tags

func EncodeDatacenter_Tags(p DatacenterParameters, vals map[string]cty.Value)

func Implementation

func Implementation() *plugin.Implementation

func MergeDatacenter_CustomAttributes

func MergeDatacenter_CustomAttributes(k *DatacenterParameters, p *DatacenterParameters, md *plugin.MergeDescription) bool

mergePrimitiveContainerTemplateSpec

func MergeDatacenter_Folder

func MergeDatacenter_Folder(k *DatacenterParameters, p *DatacenterParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeDatacenter_Moid

mergePrimitiveTemplateStatus

func MergeDatacenter_Name

func MergeDatacenter_Name(k *DatacenterParameters, p *DatacenterParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeDatacenter_Tags

func MergeDatacenter_Tags(k *DatacenterParameters, p *DatacenterParameters, md *plugin.MergeDescription) bool

mergePrimitiveContainerTemplateSpec

Types

type Datacenter

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

	Spec   DatacenterSpec   `json:"spec"`
	Status DatacenterStatus `json:"status,omitempty"`
}

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

func (*Datacenter) DeepCopy

func (in *Datacenter) DeepCopy() *Datacenter

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

func (*Datacenter) DeepCopyInto

func (in *Datacenter) DeepCopyInto(out *Datacenter)

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

func (*Datacenter) DeepCopyObject

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

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

func (*Datacenter) GetCondition

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

GetCondition of this Datacenter.

func (*Datacenter) GetDeletionPolicy

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

GetDeletionPolicy of this Datacenter.

func (*Datacenter) GetProviderConfigReference

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

GetProviderConfigReference of this Datacenter.

func (*Datacenter) GetProviderReference

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

GetProviderReference of this Datacenter. Deprecated: Use GetProviderConfigReference.

func (*Datacenter) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Datacenter.

func (*Datacenter) SetConditions

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

SetConditions of this Datacenter.

func (*Datacenter) SetDeletionPolicy

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

SetDeletionPolicy of this Datacenter.

func (*Datacenter) SetProviderConfigReference

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

SetProviderConfigReference of this Datacenter.

func (*Datacenter) SetProviderReference

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

SetProviderReference of this Datacenter. Deprecated: Use SetProviderConfigReference.

func (*Datacenter) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Datacenter.

type DatacenterList

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

Datacenter contains a list of DatacenterList

func (*DatacenterList) DeepCopy

func (in *DatacenterList) DeepCopy() *DatacenterList

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

func (*DatacenterList) DeepCopyInto

func (in *DatacenterList) DeepCopyInto(out *DatacenterList)

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

func (*DatacenterList) DeepCopyObject

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

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

func (*DatacenterList) GetItems

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

GetItems of this DatacenterList.

type DatacenterObservation

type DatacenterObservation struct {
	Moid string `json:"moid"`
}

A DatacenterObservation records the observed state of a Datacenter

func (*DatacenterObservation) DeepCopy

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

func (*DatacenterObservation) DeepCopyInto

func (in *DatacenterObservation) DeepCopyInto(out *DatacenterObservation)

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

type DatacenterParameters

type DatacenterParameters struct {
	CustomAttributes map[string]string `json:"custom_attributes,omitempty"`
	Folder           string            `json:"folder"`
	Name             string            `json:"name"`
	Tags             []string          `json:"tags,omitempty"`
}

A DatacenterParameters defines the desired state of a Datacenter

func (*DatacenterParameters) DeepCopy

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

func (*DatacenterParameters) DeepCopyInto

func (in *DatacenterParameters) DeepCopyInto(out *DatacenterParameters)

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

type DatacenterSpec

type DatacenterSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       DatacenterParameters `json:"forProvider"`
}

A DatacenterSpec defines the desired state of a Datacenter

func (*DatacenterSpec) DeepCopy

func (in *DatacenterSpec) DeepCopy() *DatacenterSpec

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

func (*DatacenterSpec) DeepCopyInto

func (in *DatacenterSpec) DeepCopyInto(out *DatacenterSpec)

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

type DatacenterStatus

type DatacenterStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          DatacenterObservation `json:"atProvider"`
}

A DatacenterStatus defines the observed state of a Datacenter

func (*DatacenterStatus) DeepCopy

func (in *DatacenterStatus) DeepCopy() *DatacenterStatus

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

func (*DatacenterStatus) DeepCopyInto

func (in *DatacenterStatus) DeepCopyInto(out *DatacenterStatus)

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