Documentation ¶
Index ¶
- Constants
- Variables
- func DecodeVmStoragePolicy(prev *VmStoragePolicy, ctyValue cty.Value) (resource.Managed, error)
- func DecodeVmStoragePolicy_Description(p *VmStoragePolicyParameters, vals map[string]cty.Value)
- func DecodeVmStoragePolicy_Name(p *VmStoragePolicyParameters, vals map[string]cty.Value)
- func DecodeVmStoragePolicy_TagRules(pp *[]TagRules, vals map[string]cty.Value)
- func DecodeVmStoragePolicy_TagRules_IncludeDatastoresWithTags(p *TagRules, vals map[string]cty.Value)
- func DecodeVmStoragePolicy_TagRules_TagCategory(p *TagRules, vals map[string]cty.Value)
- func DecodeVmStoragePolicy_TagRules_Tags(p *TagRules, vals map[string]cty.Value)
- func EncodeVmStoragePolicy(r VmStoragePolicy) cty.Value
- func EncodeVmStoragePolicy_Description(p VmStoragePolicyParameters, vals map[string]cty.Value)
- func EncodeVmStoragePolicy_Name(p VmStoragePolicyParameters, vals map[string]cty.Value)
- func EncodeVmStoragePolicy_TagRules(p []TagRules, vals map[string]cty.Value)
- func EncodeVmStoragePolicy_TagRules_IncludeDatastoresWithTags(p TagRules, vals map[string]cty.Value)
- func EncodeVmStoragePolicy_TagRules_TagCategory(p TagRules, vals map[string]cty.Value)
- func EncodeVmStoragePolicy_TagRules_Tags(p TagRules, vals map[string]cty.Value)
- func Implementation() *plugin.Implementation
- func MergeVmStoragePolicy_Description(k *VmStoragePolicyParameters, p *VmStoragePolicyParameters, ...) bool
- func MergeVmStoragePolicy_Name(k *VmStoragePolicyParameters, p *VmStoragePolicyParameters, ...) bool
- func MergeVmStoragePolicy_TagRules(ksp *[]TagRules, psp *[]TagRules, md *plugin.MergeDescription) bool
- func MergeVmStoragePolicy_TagRules_IncludeDatastoresWithTags(k *TagRules, p *TagRules, md *plugin.MergeDescription) bool
- func MergeVmStoragePolicy_TagRules_TagCategory(k *TagRules, p *TagRules, md *plugin.MergeDescription) bool
- func MergeVmStoragePolicy_TagRules_Tags(k *TagRules, p *TagRules, md *plugin.MergeDescription) bool
- type TagRules
- type VmStoragePolicy
- func (in *VmStoragePolicy) DeepCopy() *VmStoragePolicy
- func (in *VmStoragePolicy) DeepCopyInto(out *VmStoragePolicy)
- func (in *VmStoragePolicy) DeepCopyObject() runtime.Object
- func (mg *VmStoragePolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *VmStoragePolicy) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *VmStoragePolicy) GetProviderConfigReference() *xpv1.Reference
- func (mg *VmStoragePolicy) GetProviderReference() *xpv1.Reference
- func (mg *VmStoragePolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *VmStoragePolicy) SetConditions(c ...xpv1.Condition)
- func (mg *VmStoragePolicy) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *VmStoragePolicy) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *VmStoragePolicy) SetProviderReference(r *xpv1.Reference)
- func (mg *VmStoragePolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type VmStoragePolicyList
- type VmStoragePolicyObservation
- type VmStoragePolicyParameters
- type VmStoragePolicySpec
- type VmStoragePolicyStatus
Constants ¶
const ( Group = "vm-storage-policy.terraform-provider-vsphere.crossplane.io" Version = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Kind = "VmStoragePolicy" GroupKind = schema.GroupKind{Group: Group, Kind: Kind}.String() KindAPIVersion = Kind + "." + SchemeGroupVersion.String() GroupVersionKind = SchemeGroupVersion.WithKind(Kind) TerraformResourceName = "vsphere_vm_storage_policy" )
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version} )
Functions ¶
func DecodeVmStoragePolicy ¶
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 ¶
containerCollectionTypeDecodeTemplate
func DecodeVmStoragePolicy_TagRules_IncludeDatastoresWithTags ¶
func DecodeVmStoragePolicy_TagRules_IncludeDatastoresWithTags(p *TagRules, vals map[string]cty.Value)
primitiveTypeDecodeTemplate
func DecodeVmStoragePolicy_TagRules_TagCategory ¶
primitiveTypeDecodeTemplate
func DecodeVmStoragePolicy_TagRules_Tags ¶
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 Implementation ¶
func Implementation() *plugin.Implementation
func MergeVmStoragePolicy_Description ¶
func MergeVmStoragePolicy_Description(k *VmStoragePolicyParameters, p *VmStoragePolicyParameters, md *plugin.MergeDescription) bool
mergePrimitiveTemplateSpec
func MergeVmStoragePolicy_Name ¶
func MergeVmStoragePolicy_Name(k *VmStoragePolicyParameters, p *VmStoragePolicyParameters, md *plugin.MergeDescription) bool
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagRules.
func (*TagRules) DeepCopyInto ¶
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 ¶
func (in *VmStoragePolicyObservation) DeepCopy() *VmStoragePolicyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VmStoragePolicyObservation.
func (*VmStoragePolicyObservation) DeepCopyInto ¶
func (in *VmStoragePolicyObservation) DeepCopyInto(out *VmStoragePolicyObservation)
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 ¶
func (in *VmStoragePolicyParameters) DeepCopy() *VmStoragePolicyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VmStoragePolicyParameters.
func (*VmStoragePolicyParameters) DeepCopyInto ¶
func (in *VmStoragePolicyParameters) DeepCopyInto(out *VmStoragePolicyParameters)
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 ¶
func (in *VmStoragePolicyStatus) DeepCopy() *VmStoragePolicyStatus
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.