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

Package type metadata.

Variables

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

Functions

func DecodeVirtualDisk

func DecodeVirtualDisk(prev *VirtualDisk, ctyValue cty.Value) (resource.Managed, error)

func DecodeVirtualDisk_AdapterType

func DecodeVirtualDisk_AdapterType(p *VirtualDiskParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeVirtualDisk_CreateDirectories

func DecodeVirtualDisk_CreateDirectories(p *VirtualDiskParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeVirtualDisk_Datacenter

func DecodeVirtualDisk_Datacenter(p *VirtualDiskParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeVirtualDisk_Datastore

func DecodeVirtualDisk_Datastore(p *VirtualDiskParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeVirtualDisk_Size

func DecodeVirtualDisk_Size(p *VirtualDiskParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeVirtualDisk_Type

func DecodeVirtualDisk_Type(p *VirtualDiskParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeVirtualDisk_VmdkPath

func DecodeVirtualDisk_VmdkPath(p *VirtualDiskParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func EncodeVirtualDisk

func EncodeVirtualDisk(r VirtualDisk) cty.Value

func EncodeVirtualDisk_AdapterType

func EncodeVirtualDisk_AdapterType(p VirtualDiskParameters, vals map[string]cty.Value)

func EncodeVirtualDisk_CreateDirectories

func EncodeVirtualDisk_CreateDirectories(p VirtualDiskParameters, vals map[string]cty.Value)

func EncodeVirtualDisk_Datacenter

func EncodeVirtualDisk_Datacenter(p VirtualDiskParameters, vals map[string]cty.Value)

func EncodeVirtualDisk_Datastore

func EncodeVirtualDisk_Datastore(p VirtualDiskParameters, vals map[string]cty.Value)

func EncodeVirtualDisk_Size

func EncodeVirtualDisk_Size(p VirtualDiskParameters, vals map[string]cty.Value)

func EncodeVirtualDisk_Type

func EncodeVirtualDisk_Type(p VirtualDiskParameters, vals map[string]cty.Value)

func EncodeVirtualDisk_VmdkPath

func EncodeVirtualDisk_VmdkPath(p VirtualDiskParameters, vals map[string]cty.Value)

func Implementation

func Implementation() *plugin.Implementation

func MergeVirtualDisk_AdapterType

func MergeVirtualDisk_AdapterType(k *VirtualDiskParameters, p *VirtualDiskParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeVirtualDisk_CreateDirectories

func MergeVirtualDisk_CreateDirectories(k *VirtualDiskParameters, p *VirtualDiskParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeVirtualDisk_Datacenter

func MergeVirtualDisk_Datacenter(k *VirtualDiskParameters, p *VirtualDiskParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeVirtualDisk_Datastore

func MergeVirtualDisk_Datastore(k *VirtualDiskParameters, p *VirtualDiskParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeVirtualDisk_Size

func MergeVirtualDisk_Size(k *VirtualDiskParameters, p *VirtualDiskParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeVirtualDisk_Type

func MergeVirtualDisk_Type(k *VirtualDiskParameters, p *VirtualDiskParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeVirtualDisk_VmdkPath

func MergeVirtualDisk_VmdkPath(k *VirtualDiskParameters, p *VirtualDiskParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

Types

type VirtualDisk

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

	Spec   VirtualDiskSpec   `json:"spec"`
	Status VirtualDiskStatus `json:"status,omitempty"`
}

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

func (*VirtualDisk) DeepCopy

func (in *VirtualDisk) DeepCopy() *VirtualDisk

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

func (*VirtualDisk) DeepCopyInto

func (in *VirtualDisk) DeepCopyInto(out *VirtualDisk)

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

func (*VirtualDisk) DeepCopyObject

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

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

func (*VirtualDisk) GetCondition

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

GetCondition of this VirtualDisk.

func (*VirtualDisk) GetDeletionPolicy

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

GetDeletionPolicy of this VirtualDisk.

func (*VirtualDisk) GetProviderConfigReference

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

GetProviderConfigReference of this VirtualDisk.

func (*VirtualDisk) GetProviderReference

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

GetProviderReference of this VirtualDisk. Deprecated: Use GetProviderConfigReference.

func (*VirtualDisk) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this VirtualDisk.

func (*VirtualDisk) SetConditions

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

SetConditions of this VirtualDisk.

func (*VirtualDisk) SetDeletionPolicy

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

SetDeletionPolicy of this VirtualDisk.

func (*VirtualDisk) SetProviderConfigReference

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

SetProviderConfigReference of this VirtualDisk.

func (*VirtualDisk) SetProviderReference

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

SetProviderReference of this VirtualDisk. Deprecated: Use SetProviderConfigReference.

func (*VirtualDisk) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this VirtualDisk.

type VirtualDiskList

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

VirtualDisk contains a list of VirtualDiskList

func (*VirtualDiskList) DeepCopy

func (in *VirtualDiskList) DeepCopy() *VirtualDiskList

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

func (*VirtualDiskList) DeepCopyInto

func (in *VirtualDiskList) DeepCopyInto(out *VirtualDiskList)

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

func (*VirtualDiskList) DeepCopyObject

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

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

func (*VirtualDiskList) GetItems

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

GetItems of this VirtualDiskList.

type VirtualDiskObservation

type VirtualDiskObservation struct{}

A VirtualDiskObservation records the observed state of a VirtualDisk

func (*VirtualDiskObservation) DeepCopy

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

func (*VirtualDiskObservation) DeepCopyInto

func (in *VirtualDiskObservation) DeepCopyInto(out *VirtualDiskObservation)

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

type VirtualDiskParameters

type VirtualDiskParameters struct {
	AdapterType       string `json:"adapter_type"`
	CreateDirectories bool   `json:"create_directories"`
	Datacenter        string `json:"datacenter"`
	Datastore         string `json:"datastore"`
	Size              int64  `json:"size"`
	Type              string `json:"type"`
	VmdkPath          string `json:"vmdk_path"`
}

A VirtualDiskParameters defines the desired state of a VirtualDisk

func (*VirtualDiskParameters) DeepCopy

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

func (*VirtualDiskParameters) DeepCopyInto

func (in *VirtualDiskParameters) DeepCopyInto(out *VirtualDiskParameters)

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

type VirtualDiskSpec

type VirtualDiskSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       VirtualDiskParameters `json:"forProvider"`
}

A VirtualDiskSpec defines the desired state of a VirtualDisk

func (*VirtualDiskSpec) DeepCopy

func (in *VirtualDiskSpec) DeepCopy() *VirtualDiskSpec

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

func (*VirtualDiskSpec) DeepCopyInto

func (in *VirtualDiskSpec) DeepCopyInto(out *VirtualDiskSpec)

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

type VirtualDiskStatus

type VirtualDiskStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          VirtualDiskObservation `json:"atProvider"`
}

A VirtualDiskStatus defines the observed state of a VirtualDisk

func (*VirtualDiskStatus) DeepCopy

func (in *VirtualDiskStatus) DeepCopy() *VirtualDiskStatus

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

func (*VirtualDiskStatus) DeepCopyInto

func (in *VirtualDiskStatus) DeepCopyInto(out *VirtualDiskStatus)

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