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

Package type metadata.

Variables

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

Functions

func DecodeVmfsDatastore

func DecodeVmfsDatastore(prev *VmfsDatastore, ctyValue cty.Value) (resource.Managed, error)

func DecodeVmfsDatastore_Accessible

func DecodeVmfsDatastore_Accessible(p *VmfsDatastoreObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeVmfsDatastore_Capacity

func DecodeVmfsDatastore_Capacity(p *VmfsDatastoreObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeVmfsDatastore_CustomAttributes

func DecodeVmfsDatastore_CustomAttributes(p *VmfsDatastoreParameters, vals map[string]cty.Value)

primitiveMapTypeDecodeTemplate

func DecodeVmfsDatastore_DatastoreClusterId

func DecodeVmfsDatastore_DatastoreClusterId(p *VmfsDatastoreParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeVmfsDatastore_Disks

func DecodeVmfsDatastore_Disks(p *VmfsDatastoreParameters, vals map[string]cty.Value)

primitiveCollectionTypeDecodeTemplate

func DecodeVmfsDatastore_Folder

func DecodeVmfsDatastore_Folder(p *VmfsDatastoreParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeVmfsDatastore_FreeSpace

func DecodeVmfsDatastore_FreeSpace(p *VmfsDatastoreObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeVmfsDatastore_HostSystemId

func DecodeVmfsDatastore_HostSystemId(p *VmfsDatastoreParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeVmfsDatastore_MaintenanceMode

func DecodeVmfsDatastore_MaintenanceMode(p *VmfsDatastoreObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeVmfsDatastore_MultipleHostAccess

func DecodeVmfsDatastore_MultipleHostAccess(p *VmfsDatastoreObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeVmfsDatastore_Name

func DecodeVmfsDatastore_Name(p *VmfsDatastoreParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeVmfsDatastore_Tags

func DecodeVmfsDatastore_Tags(p *VmfsDatastoreParameters, vals map[string]cty.Value)

primitiveCollectionTypeDecodeTemplate

func DecodeVmfsDatastore_UncommittedSpace

func DecodeVmfsDatastore_UncommittedSpace(p *VmfsDatastoreObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeVmfsDatastore_Url

func DecodeVmfsDatastore_Url(p *VmfsDatastoreObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func EncodeVmfsDatastore

func EncodeVmfsDatastore(r VmfsDatastore) cty.Value

func EncodeVmfsDatastore_Accessible

func EncodeVmfsDatastore_Accessible(p VmfsDatastoreObservation, vals map[string]cty.Value)

func EncodeVmfsDatastore_Capacity

func EncodeVmfsDatastore_Capacity(p VmfsDatastoreObservation, vals map[string]cty.Value)

func EncodeVmfsDatastore_CustomAttributes

func EncodeVmfsDatastore_CustomAttributes(p VmfsDatastoreParameters, vals map[string]cty.Value)

func EncodeVmfsDatastore_DatastoreClusterId

func EncodeVmfsDatastore_DatastoreClusterId(p VmfsDatastoreParameters, vals map[string]cty.Value)

func EncodeVmfsDatastore_Disks

func EncodeVmfsDatastore_Disks(p VmfsDatastoreParameters, vals map[string]cty.Value)

func EncodeVmfsDatastore_Folder

func EncodeVmfsDatastore_Folder(p VmfsDatastoreParameters, vals map[string]cty.Value)

func EncodeVmfsDatastore_FreeSpace

func EncodeVmfsDatastore_FreeSpace(p VmfsDatastoreObservation, vals map[string]cty.Value)

func EncodeVmfsDatastore_HostSystemId

func EncodeVmfsDatastore_HostSystemId(p VmfsDatastoreParameters, vals map[string]cty.Value)

func EncodeVmfsDatastore_MaintenanceMode

func EncodeVmfsDatastore_MaintenanceMode(p VmfsDatastoreObservation, vals map[string]cty.Value)

func EncodeVmfsDatastore_MultipleHostAccess

func EncodeVmfsDatastore_MultipleHostAccess(p VmfsDatastoreObservation, vals map[string]cty.Value)

func EncodeVmfsDatastore_Name

func EncodeVmfsDatastore_Name(p VmfsDatastoreParameters, vals map[string]cty.Value)

func EncodeVmfsDatastore_Tags

func EncodeVmfsDatastore_Tags(p VmfsDatastoreParameters, vals map[string]cty.Value)

func EncodeVmfsDatastore_UncommittedSpace

func EncodeVmfsDatastore_UncommittedSpace(p VmfsDatastoreObservation, vals map[string]cty.Value)

func EncodeVmfsDatastore_Url

func EncodeVmfsDatastore_Url(p VmfsDatastoreObservation, vals map[string]cty.Value)

func Implementation

func Implementation() *plugin.Implementation

func MergeVmfsDatastore_Accessible

func MergeVmfsDatastore_Accessible(k *VmfsDatastoreObservation, p *VmfsDatastoreObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeVmfsDatastore_Capacity

func MergeVmfsDatastore_Capacity(k *VmfsDatastoreObservation, p *VmfsDatastoreObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeVmfsDatastore_CustomAttributes

func MergeVmfsDatastore_CustomAttributes(k *VmfsDatastoreParameters, p *VmfsDatastoreParameters, md *plugin.MergeDescription) bool

mergePrimitiveContainerTemplateSpec

func MergeVmfsDatastore_DatastoreClusterId

func MergeVmfsDatastore_DatastoreClusterId(k *VmfsDatastoreParameters, p *VmfsDatastoreParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeVmfsDatastore_Disks

func MergeVmfsDatastore_Disks(k *VmfsDatastoreParameters, p *VmfsDatastoreParameters, md *plugin.MergeDescription) bool

mergePrimitiveContainerTemplateSpec

func MergeVmfsDatastore_Folder

func MergeVmfsDatastore_Folder(k *VmfsDatastoreParameters, p *VmfsDatastoreParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeVmfsDatastore_FreeSpace

func MergeVmfsDatastore_FreeSpace(k *VmfsDatastoreObservation, p *VmfsDatastoreObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeVmfsDatastore_HostSystemId

func MergeVmfsDatastore_HostSystemId(k *VmfsDatastoreParameters, p *VmfsDatastoreParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeVmfsDatastore_MaintenanceMode

func MergeVmfsDatastore_MaintenanceMode(k *VmfsDatastoreObservation, p *VmfsDatastoreObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeVmfsDatastore_MultipleHostAccess

func MergeVmfsDatastore_MultipleHostAccess(k *VmfsDatastoreObservation, p *VmfsDatastoreObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeVmfsDatastore_Name

func MergeVmfsDatastore_Name(k *VmfsDatastoreParameters, p *VmfsDatastoreParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeVmfsDatastore_Tags

func MergeVmfsDatastore_Tags(k *VmfsDatastoreParameters, p *VmfsDatastoreParameters, md *plugin.MergeDescription) bool

mergePrimitiveContainerTemplateSpec

func MergeVmfsDatastore_UncommittedSpace

func MergeVmfsDatastore_UncommittedSpace(k *VmfsDatastoreObservation, p *VmfsDatastoreObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeVmfsDatastore_Url

mergePrimitiveTemplateStatus

Types

type VmfsDatastore

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

	Spec   VmfsDatastoreSpec   `json:"spec"`
	Status VmfsDatastoreStatus `json:"status,omitempty"`
}

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

func (*VmfsDatastore) DeepCopy

func (in *VmfsDatastore) DeepCopy() *VmfsDatastore

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

func (*VmfsDatastore) DeepCopyInto

func (in *VmfsDatastore) DeepCopyInto(out *VmfsDatastore)

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

func (*VmfsDatastore) DeepCopyObject

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

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

func (*VmfsDatastore) GetCondition

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

GetCondition of this VmfsDatastore.

func (*VmfsDatastore) GetDeletionPolicy

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

GetDeletionPolicy of this VmfsDatastore.

func (*VmfsDatastore) GetProviderConfigReference

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

GetProviderConfigReference of this VmfsDatastore.

func (*VmfsDatastore) GetProviderReference

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

GetProviderReference of this VmfsDatastore. Deprecated: Use GetProviderConfigReference.

func (*VmfsDatastore) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this VmfsDatastore.

func (*VmfsDatastore) SetConditions

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

SetConditions of this VmfsDatastore.

func (*VmfsDatastore) SetDeletionPolicy

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

SetDeletionPolicy of this VmfsDatastore.

func (*VmfsDatastore) SetProviderConfigReference

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

SetProviderConfigReference of this VmfsDatastore.

func (*VmfsDatastore) SetProviderReference

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

SetProviderReference of this VmfsDatastore. Deprecated: Use SetProviderConfigReference.

func (*VmfsDatastore) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this VmfsDatastore.

type VmfsDatastoreList

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

VmfsDatastore contains a list of VmfsDatastoreList

func (*VmfsDatastoreList) DeepCopy

func (in *VmfsDatastoreList) DeepCopy() *VmfsDatastoreList

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

func (*VmfsDatastoreList) DeepCopyInto

func (in *VmfsDatastoreList) DeepCopyInto(out *VmfsDatastoreList)

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

func (*VmfsDatastoreList) DeepCopyObject

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

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

func (*VmfsDatastoreList) GetItems

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

GetItems of this VmfsDatastoreList.

type VmfsDatastoreObservation

type VmfsDatastoreObservation struct {
	Accessible         bool   `json:"accessible"`
	Capacity           int64  `json:"capacity"`
	FreeSpace          int64  `json:"free_space"`
	MaintenanceMode    string `json:"maintenance_mode"`
	MultipleHostAccess bool   `json:"multiple_host_access"`
	UncommittedSpace   int64  `json:"uncommitted_space"`
	Url                string `json:"url"`
}

A VmfsDatastoreObservation records the observed state of a VmfsDatastore

func (*VmfsDatastoreObservation) DeepCopy

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

func (*VmfsDatastoreObservation) DeepCopyInto

func (in *VmfsDatastoreObservation) DeepCopyInto(out *VmfsDatastoreObservation)

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

type VmfsDatastoreParameters

type VmfsDatastoreParameters struct {
	CustomAttributes   map[string]string `json:"custom_attributes,omitempty"`
	DatastoreClusterId string            `json:"datastore_cluster_id"`
	Disks              []string          `json:"disks,omitempty"`
	Folder             string            `json:"folder"`
	HostSystemId       string            `json:"host_system_id"`
	Name               string            `json:"name"`
	Tags               []string          `json:"tags,omitempty"`
}

A VmfsDatastoreParameters defines the desired state of a VmfsDatastore

func (*VmfsDatastoreParameters) DeepCopy

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

func (*VmfsDatastoreParameters) DeepCopyInto

func (in *VmfsDatastoreParameters) DeepCopyInto(out *VmfsDatastoreParameters)

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

type VmfsDatastoreSpec

type VmfsDatastoreSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       VmfsDatastoreParameters `json:"forProvider"`
}

A VmfsDatastoreSpec defines the desired state of a VmfsDatastore

func (*VmfsDatastoreSpec) DeepCopy

func (in *VmfsDatastoreSpec) DeepCopy() *VmfsDatastoreSpec

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

func (*VmfsDatastoreSpec) DeepCopyInto

func (in *VmfsDatastoreSpec) DeepCopyInto(out *VmfsDatastoreSpec)

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

type VmfsDatastoreStatus

type VmfsDatastoreStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          VmfsDatastoreObservation `json:"atProvider"`
}

A VmfsDatastoreStatus defines the observed state of a VmfsDatastore

func (*VmfsDatastoreStatus) DeepCopy

func (in *VmfsDatastoreStatus) DeepCopy() *VmfsDatastoreStatus

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

func (*VmfsDatastoreStatus) DeepCopyInto

func (in *VmfsDatastoreStatus) DeepCopyInto(out *VmfsDatastoreStatus)

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