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

Package type metadata.

Variables

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

Functions

func DecodeVirtualMachineSnapshot

func DecodeVirtualMachineSnapshot(prev *VirtualMachineSnapshot, ctyValue cty.Value) (resource.Managed, error)

func DecodeVirtualMachineSnapshot_Consolidate

func DecodeVirtualMachineSnapshot_Consolidate(p *VirtualMachineSnapshotParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeVirtualMachineSnapshot_Description

func DecodeVirtualMachineSnapshot_Description(p *VirtualMachineSnapshotParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeVirtualMachineSnapshot_Memory

func DecodeVirtualMachineSnapshot_Memory(p *VirtualMachineSnapshotParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeVirtualMachineSnapshot_Quiesce

func DecodeVirtualMachineSnapshot_Quiesce(p *VirtualMachineSnapshotParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeVirtualMachineSnapshot_RemoveChildren

func DecodeVirtualMachineSnapshot_RemoveChildren(p *VirtualMachineSnapshotParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeVirtualMachineSnapshot_SnapshotName

func DecodeVirtualMachineSnapshot_SnapshotName(p *VirtualMachineSnapshotParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeVirtualMachineSnapshot_VirtualMachineUuid

func DecodeVirtualMachineSnapshot_VirtualMachineUuid(p *VirtualMachineSnapshotParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func EncodeVirtualMachineSnapshot

func EncodeVirtualMachineSnapshot(r VirtualMachineSnapshot) cty.Value

func EncodeVirtualMachineSnapshot_Consolidate

func EncodeVirtualMachineSnapshot_Consolidate(p VirtualMachineSnapshotParameters, vals map[string]cty.Value)

func EncodeVirtualMachineSnapshot_Description

func EncodeVirtualMachineSnapshot_Description(p VirtualMachineSnapshotParameters, vals map[string]cty.Value)

func EncodeVirtualMachineSnapshot_Memory

func EncodeVirtualMachineSnapshot_Memory(p VirtualMachineSnapshotParameters, vals map[string]cty.Value)

func EncodeVirtualMachineSnapshot_Quiesce

func EncodeVirtualMachineSnapshot_Quiesce(p VirtualMachineSnapshotParameters, vals map[string]cty.Value)

func EncodeVirtualMachineSnapshot_RemoveChildren

func EncodeVirtualMachineSnapshot_RemoveChildren(p VirtualMachineSnapshotParameters, vals map[string]cty.Value)

func EncodeVirtualMachineSnapshot_SnapshotName

func EncodeVirtualMachineSnapshot_SnapshotName(p VirtualMachineSnapshotParameters, vals map[string]cty.Value)

func EncodeVirtualMachineSnapshot_VirtualMachineUuid

func EncodeVirtualMachineSnapshot_VirtualMachineUuid(p VirtualMachineSnapshotParameters, vals map[string]cty.Value)

func Implementation

func Implementation() *plugin.Implementation

func MergeVirtualMachineSnapshot_Consolidate

func MergeVirtualMachineSnapshot_Consolidate(k *VirtualMachineSnapshotParameters, p *VirtualMachineSnapshotParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeVirtualMachineSnapshot_Description

func MergeVirtualMachineSnapshot_Description(k *VirtualMachineSnapshotParameters, p *VirtualMachineSnapshotParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeVirtualMachineSnapshot_Memory

mergePrimitiveTemplateSpec

func MergeVirtualMachineSnapshot_Quiesce

func MergeVirtualMachineSnapshot_Quiesce(k *VirtualMachineSnapshotParameters, p *VirtualMachineSnapshotParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeVirtualMachineSnapshot_RemoveChildren

func MergeVirtualMachineSnapshot_RemoveChildren(k *VirtualMachineSnapshotParameters, p *VirtualMachineSnapshotParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeVirtualMachineSnapshot_SnapshotName

func MergeVirtualMachineSnapshot_SnapshotName(k *VirtualMachineSnapshotParameters, p *VirtualMachineSnapshotParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeVirtualMachineSnapshot_VirtualMachineUuid

func MergeVirtualMachineSnapshot_VirtualMachineUuid(k *VirtualMachineSnapshotParameters, p *VirtualMachineSnapshotParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

Types

type VirtualMachineSnapshot

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

	Spec   VirtualMachineSnapshotSpec   `json:"spec"`
	Status VirtualMachineSnapshotStatus `json:"status,omitempty"`
}

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

func (*VirtualMachineSnapshot) DeepCopy

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

func (*VirtualMachineSnapshot) DeepCopyInto

func (in *VirtualMachineSnapshot) DeepCopyInto(out *VirtualMachineSnapshot)

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

func (*VirtualMachineSnapshot) DeepCopyObject

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

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

func (*VirtualMachineSnapshot) GetCondition

GetCondition of this VirtualMachineSnapshot.

func (*VirtualMachineSnapshot) GetDeletionPolicy

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

GetDeletionPolicy of this VirtualMachineSnapshot.

func (*VirtualMachineSnapshot) GetProviderConfigReference

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

GetProviderConfigReference of this VirtualMachineSnapshot.

func (*VirtualMachineSnapshot) GetProviderReference

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

GetProviderReference of this VirtualMachineSnapshot. Deprecated: Use GetProviderConfigReference.

func (*VirtualMachineSnapshot) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this VirtualMachineSnapshot.

func (*VirtualMachineSnapshot) SetConditions

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

SetConditions of this VirtualMachineSnapshot.

func (*VirtualMachineSnapshot) SetDeletionPolicy

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

SetDeletionPolicy of this VirtualMachineSnapshot.

func (*VirtualMachineSnapshot) SetProviderConfigReference

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

SetProviderConfigReference of this VirtualMachineSnapshot.

func (*VirtualMachineSnapshot) SetProviderReference

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

SetProviderReference of this VirtualMachineSnapshot. Deprecated: Use SetProviderConfigReference.

func (*VirtualMachineSnapshot) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this VirtualMachineSnapshot.

type VirtualMachineSnapshotList

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

VirtualMachineSnapshot contains a list of VirtualMachineSnapshotList

func (*VirtualMachineSnapshotList) DeepCopy

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

func (*VirtualMachineSnapshotList) DeepCopyInto

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

func (*VirtualMachineSnapshotList) DeepCopyObject

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

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

func (*VirtualMachineSnapshotList) GetItems

GetItems of this VirtualMachineSnapshotList.

type VirtualMachineSnapshotObservation

type VirtualMachineSnapshotObservation struct{}

A VirtualMachineSnapshotObservation records the observed state of a VirtualMachineSnapshot

func (*VirtualMachineSnapshotObservation) DeepCopy

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

func (*VirtualMachineSnapshotObservation) DeepCopyInto

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

type VirtualMachineSnapshotParameters

type VirtualMachineSnapshotParameters struct {
	Consolidate        bool   `json:"consolidate"`
	Description        string `json:"description"`
	Memory             bool   `json:"memory"`
	Quiesce            bool   `json:"quiesce"`
	RemoveChildren     bool   `json:"remove_children"`
	SnapshotName       string `json:"snapshot_name"`
	VirtualMachineUuid string `json:"virtual_machine_uuid"`
}

A VirtualMachineSnapshotParameters defines the desired state of a VirtualMachineSnapshot

func (*VirtualMachineSnapshotParameters) DeepCopy

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

func (*VirtualMachineSnapshotParameters) DeepCopyInto

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

type VirtualMachineSnapshotSpec

type VirtualMachineSnapshotSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       VirtualMachineSnapshotParameters `json:"forProvider"`
}

A VirtualMachineSnapshotSpec defines the desired state of a VirtualMachineSnapshot

func (*VirtualMachineSnapshotSpec) DeepCopy

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

func (*VirtualMachineSnapshotSpec) DeepCopyInto

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

type VirtualMachineSnapshotStatus

type VirtualMachineSnapshotStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          VirtualMachineSnapshotObservation `json:"atProvider"`
}

A VirtualMachineSnapshotStatus defines the observed state of a VirtualMachineSnapshot

func (*VirtualMachineSnapshotStatus) DeepCopy

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

func (*VirtualMachineSnapshotStatus) DeepCopyInto

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