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

Package type metadata.

Variables

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

Functions

func DecodeDrsVmOverride

func DecodeDrsVmOverride(prev *DrsVmOverride, ctyValue cty.Value) (resource.Managed, error)

func DecodeDrsVmOverride_ComputeClusterId

func DecodeDrsVmOverride_ComputeClusterId(p *DrsVmOverrideParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDrsVmOverride_DrsAutomationLevel

func DecodeDrsVmOverride_DrsAutomationLevel(p *DrsVmOverrideParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDrsVmOverride_DrsEnabled

func DecodeDrsVmOverride_DrsEnabled(p *DrsVmOverrideParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDrsVmOverride_VirtualMachineId

func DecodeDrsVmOverride_VirtualMachineId(p *DrsVmOverrideParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func EncodeDrsVmOverride

func EncodeDrsVmOverride(r DrsVmOverride) cty.Value

func EncodeDrsVmOverride_ComputeClusterId

func EncodeDrsVmOverride_ComputeClusterId(p DrsVmOverrideParameters, vals map[string]cty.Value)

func EncodeDrsVmOverride_DrsAutomationLevel

func EncodeDrsVmOverride_DrsAutomationLevel(p DrsVmOverrideParameters, vals map[string]cty.Value)

func EncodeDrsVmOverride_DrsEnabled

func EncodeDrsVmOverride_DrsEnabled(p DrsVmOverrideParameters, vals map[string]cty.Value)

func EncodeDrsVmOverride_VirtualMachineId

func EncodeDrsVmOverride_VirtualMachineId(p DrsVmOverrideParameters, vals map[string]cty.Value)

func Implementation

func Implementation() *plugin.Implementation

func MergeDrsVmOverride_ComputeClusterId

func MergeDrsVmOverride_ComputeClusterId(k *DrsVmOverrideParameters, p *DrsVmOverrideParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeDrsVmOverride_DrsAutomationLevel

func MergeDrsVmOverride_DrsAutomationLevel(k *DrsVmOverrideParameters, p *DrsVmOverrideParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeDrsVmOverride_DrsEnabled

func MergeDrsVmOverride_DrsEnabled(k *DrsVmOverrideParameters, p *DrsVmOverrideParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeDrsVmOverride_VirtualMachineId

func MergeDrsVmOverride_VirtualMachineId(k *DrsVmOverrideParameters, p *DrsVmOverrideParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

Types

type DrsVmOverride

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

	Spec   DrsVmOverrideSpec   `json:"spec"`
	Status DrsVmOverrideStatus `json:"status,omitempty"`
}

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

func (*DrsVmOverride) DeepCopy

func (in *DrsVmOverride) DeepCopy() *DrsVmOverride

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

func (*DrsVmOverride) DeepCopyInto

func (in *DrsVmOverride) DeepCopyInto(out *DrsVmOverride)

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

func (*DrsVmOverride) DeepCopyObject

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

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

func (*DrsVmOverride) GetCondition

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

GetCondition of this DrsVmOverride.

func (*DrsVmOverride) GetDeletionPolicy

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

GetDeletionPolicy of this DrsVmOverride.

func (*DrsVmOverride) GetProviderConfigReference

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

GetProviderConfigReference of this DrsVmOverride.

func (*DrsVmOverride) GetProviderReference

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

GetProviderReference of this DrsVmOverride. Deprecated: Use GetProviderConfigReference.

func (*DrsVmOverride) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this DrsVmOverride.

func (*DrsVmOverride) SetConditions

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

SetConditions of this DrsVmOverride.

func (*DrsVmOverride) SetDeletionPolicy

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

SetDeletionPolicy of this DrsVmOverride.

func (*DrsVmOverride) SetProviderConfigReference

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

SetProviderConfigReference of this DrsVmOverride.

func (*DrsVmOverride) SetProviderReference

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

SetProviderReference of this DrsVmOverride. Deprecated: Use SetProviderConfigReference.

func (*DrsVmOverride) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this DrsVmOverride.

type DrsVmOverrideList

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

DrsVmOverride contains a list of DrsVmOverrideList

func (*DrsVmOverrideList) DeepCopy

func (in *DrsVmOverrideList) DeepCopy() *DrsVmOverrideList

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

func (*DrsVmOverrideList) DeepCopyInto

func (in *DrsVmOverrideList) DeepCopyInto(out *DrsVmOverrideList)

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

func (*DrsVmOverrideList) DeepCopyObject

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

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

func (*DrsVmOverrideList) GetItems

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

GetItems of this DrsVmOverrideList.

type DrsVmOverrideObservation

type DrsVmOverrideObservation struct{}

A DrsVmOverrideObservation records the observed state of a DrsVmOverride

func (*DrsVmOverrideObservation) DeepCopy

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

func (*DrsVmOverrideObservation) DeepCopyInto

func (in *DrsVmOverrideObservation) DeepCopyInto(out *DrsVmOverrideObservation)

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

type DrsVmOverrideParameters

type DrsVmOverrideParameters struct {
	ComputeClusterId   string `json:"compute_cluster_id"`
	DrsAutomationLevel string `json:"drs_automation_level"`
	DrsEnabled         bool   `json:"drs_enabled"`
	VirtualMachineId   string `json:"virtual_machine_id"`
}

A DrsVmOverrideParameters defines the desired state of a DrsVmOverride

func (*DrsVmOverrideParameters) DeepCopy

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

func (*DrsVmOverrideParameters) DeepCopyInto

func (in *DrsVmOverrideParameters) DeepCopyInto(out *DrsVmOverrideParameters)

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

type DrsVmOverrideSpec

type DrsVmOverrideSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       DrsVmOverrideParameters `json:"forProvider"`
}

A DrsVmOverrideSpec defines the desired state of a DrsVmOverride

func (*DrsVmOverrideSpec) DeepCopy

func (in *DrsVmOverrideSpec) DeepCopy() *DrsVmOverrideSpec

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

func (*DrsVmOverrideSpec) DeepCopyInto

func (in *DrsVmOverrideSpec) DeepCopyInto(out *DrsVmOverrideSpec)

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

type DrsVmOverrideStatus

type DrsVmOverrideStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          DrsVmOverrideObservation `json:"atProvider"`
}

A DrsVmOverrideStatus defines the observed state of a DrsVmOverride

func (*DrsVmOverrideStatus) DeepCopy

func (in *DrsVmOverrideStatus) DeepCopy() *DrsVmOverrideStatus

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

func (*DrsVmOverrideStatus) DeepCopyInto

func (in *DrsVmOverrideStatus) DeepCopyInto(out *DrsVmOverrideStatus)

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