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

Package type metadata.

Variables

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

Functions

func DecodeVmStoragePolicy

func DecodeVmStoragePolicy(prev *VmStoragePolicy, ctyValue cty.Value) (resource.Managed, error)

func DecodeVmStoragePolicy_Description

func DecodeVmStoragePolicy_Description(p *VmStoragePolicyParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeVmStoragePolicy_Name

func DecodeVmStoragePolicy_Name(p *VmStoragePolicyParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeVmStoragePolicy_TagRules

func DecodeVmStoragePolicy_TagRules(pp *[]TagRules, vals map[string]cty.Value)

containerCollectionTypeDecodeTemplate

func DecodeVmStoragePolicy_TagRules_IncludeDatastoresWithTags

func DecodeVmStoragePolicy_TagRules_IncludeDatastoresWithTags(p *TagRules, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeVmStoragePolicy_TagRules_TagCategory

func DecodeVmStoragePolicy_TagRules_TagCategory(p *TagRules, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeVmStoragePolicy_TagRules_Tags

func DecodeVmStoragePolicy_TagRules_Tags(p *TagRules, vals map[string]cty.Value)

primitiveCollectionTypeDecodeTemplate

func EncodeVmStoragePolicy

func EncodeVmStoragePolicy(r VmStoragePolicy) cty.Value

func EncodeVmStoragePolicy_Description

func EncodeVmStoragePolicy_Description(p VmStoragePolicyParameters, vals map[string]cty.Value)

func EncodeVmStoragePolicy_Name

func EncodeVmStoragePolicy_Name(p VmStoragePolicyParameters, vals map[string]cty.Value)

func EncodeVmStoragePolicy_TagRules

func EncodeVmStoragePolicy_TagRules(p []TagRules, vals map[string]cty.Value)

func EncodeVmStoragePolicy_TagRules_IncludeDatastoresWithTags

func EncodeVmStoragePolicy_TagRules_IncludeDatastoresWithTags(p TagRules, vals map[string]cty.Value)

func EncodeVmStoragePolicy_TagRules_TagCategory

func EncodeVmStoragePolicy_TagRules_TagCategory(p TagRules, vals map[string]cty.Value)

func EncodeVmStoragePolicy_TagRules_Tags

func EncodeVmStoragePolicy_TagRules_Tags(p TagRules, vals map[string]cty.Value)

func Implementation

func Implementation() *plugin.Implementation

func MergeVmStoragePolicy_Description

func MergeVmStoragePolicy_Description(k *VmStoragePolicyParameters, p *VmStoragePolicyParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeVmStoragePolicy_Name

mergePrimitiveTemplateSpec

func MergeVmStoragePolicy_TagRules

func MergeVmStoragePolicy_TagRules(ksp *[]TagRules, psp *[]TagRules, md *plugin.MergeDescription) bool

mergeStructSliceTemplateSpec

func MergeVmStoragePolicy_TagRules_IncludeDatastoresWithTags

func MergeVmStoragePolicy_TagRules_IncludeDatastoresWithTags(k *TagRules, p *TagRules, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeVmStoragePolicy_TagRules_TagCategory

func MergeVmStoragePolicy_TagRules_TagCategory(k *TagRules, p *TagRules, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeVmStoragePolicy_TagRules_Tags

func MergeVmStoragePolicy_TagRules_Tags(k *TagRules, p *TagRules, md *plugin.MergeDescription) bool

mergePrimitiveContainerTemplateSpec

Types

type TagRules

type TagRules struct {
	IncludeDatastoresWithTags bool     `json:"include_datastores_with_tags"`
	TagCategory               string   `json:"tag_category"`
	Tags                      []string `json:"tags,omitempty"`
}

func (*TagRules) DeepCopy

func (in *TagRules) DeepCopy() *TagRules

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

func (*TagRules) DeepCopyInto

func (in *TagRules) DeepCopyInto(out *TagRules)

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

type VmStoragePolicy

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

	Spec   VmStoragePolicySpec   `json:"spec"`
	Status VmStoragePolicyStatus `json:"status,omitempty"`
}

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

func (*VmStoragePolicy) DeepCopy

func (in *VmStoragePolicy) DeepCopy() *VmStoragePolicy

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

func (*VmStoragePolicy) DeepCopyInto

func (in *VmStoragePolicy) DeepCopyInto(out *VmStoragePolicy)

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

func (*VmStoragePolicy) DeepCopyObject

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

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

func (*VmStoragePolicy) GetCondition

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

GetCondition of this VmStoragePolicy.

func (*VmStoragePolicy) GetDeletionPolicy

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

GetDeletionPolicy of this VmStoragePolicy.

func (*VmStoragePolicy) GetProviderConfigReference

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

GetProviderConfigReference of this VmStoragePolicy.

func (*VmStoragePolicy) GetProviderReference

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

GetProviderReference of this VmStoragePolicy. Deprecated: Use GetProviderConfigReference.

func (*VmStoragePolicy) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this VmStoragePolicy.

func (*VmStoragePolicy) SetConditions

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

SetConditions of this VmStoragePolicy.

func (*VmStoragePolicy) SetDeletionPolicy

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

SetDeletionPolicy of this VmStoragePolicy.

func (*VmStoragePolicy) SetProviderConfigReference

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

SetProviderConfigReference of this VmStoragePolicy.

func (*VmStoragePolicy) SetProviderReference

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

SetProviderReference of this VmStoragePolicy. Deprecated: Use SetProviderConfigReference.

func (*VmStoragePolicy) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this VmStoragePolicy.

type VmStoragePolicyList

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

VmStoragePolicy contains a list of VmStoragePolicyList

func (*VmStoragePolicyList) DeepCopy

func (in *VmStoragePolicyList) DeepCopy() *VmStoragePolicyList

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

func (*VmStoragePolicyList) DeepCopyInto

func (in *VmStoragePolicyList) DeepCopyInto(out *VmStoragePolicyList)

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

func (*VmStoragePolicyList) DeepCopyObject

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

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

func (*VmStoragePolicyList) GetItems

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

GetItems of this VmStoragePolicyList.

type VmStoragePolicyObservation

type VmStoragePolicyObservation struct{}

A VmStoragePolicyObservation records the observed state of a VmStoragePolicy

func (*VmStoragePolicyObservation) DeepCopy

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

func (*VmStoragePolicyObservation) DeepCopyInto

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

type VmStoragePolicyParameters

type VmStoragePolicyParameters struct {
	Description string     `json:"description"`
	Name        string     `json:"name"`
	TagRules    []TagRules `json:"tag_rules"`
}

A VmStoragePolicyParameters defines the desired state of a VmStoragePolicy

func (*VmStoragePolicyParameters) DeepCopy

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

func (*VmStoragePolicyParameters) DeepCopyInto

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

type VmStoragePolicySpec

type VmStoragePolicySpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       VmStoragePolicyParameters `json:"forProvider"`
}

A VmStoragePolicySpec defines the desired state of a VmStoragePolicy

func (*VmStoragePolicySpec) DeepCopy

func (in *VmStoragePolicySpec) DeepCopy() *VmStoragePolicySpec

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

func (*VmStoragePolicySpec) DeepCopyInto

func (in *VmStoragePolicySpec) DeepCopyInto(out *VmStoragePolicySpec)

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

type VmStoragePolicyStatus

type VmStoragePolicyStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          VmStoragePolicyObservation `json:"atProvider"`
}

A VmStoragePolicyStatus defines the observed state of a VmStoragePolicy

func (*VmStoragePolicyStatus) DeepCopy

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

func (*VmStoragePolicyStatus) DeepCopyInto

func (in *VmStoragePolicyStatus) DeepCopyInto(out *VmStoragePolicyStatus)

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