Documentation ¶
Index ¶
- Constants
- Variables
- func DecodeHost(prev *Host, ctyValue cty.Value) (resource.Managed, error)
- func DecodeHost_Cluster(p *HostParameters, vals map[string]cty.Value)
- func DecodeHost_ClusterManaged(p *HostParameters, vals map[string]cty.Value)
- func DecodeHost_Connected(p *HostParameters, vals map[string]cty.Value)
- func DecodeHost_Datacenter(p *HostParameters, vals map[string]cty.Value)
- func DecodeHost_Force(p *HostParameters, vals map[string]cty.Value)
- func DecodeHost_Hostname(p *HostParameters, vals map[string]cty.Value)
- func DecodeHost_License(p *HostParameters, vals map[string]cty.Value)
- func DecodeHost_Lockdown(p *HostParameters, vals map[string]cty.Value)
- func DecodeHost_Maintenance(p *HostParameters, vals map[string]cty.Value)
- func DecodeHost_Password(p *HostParameters, vals map[string]cty.Value)
- func DecodeHost_Thumbprint(p *HostParameters, vals map[string]cty.Value)
- func DecodeHost_Username(p *HostParameters, vals map[string]cty.Value)
- func EncodeHost(r Host) cty.Value
- func EncodeHost_Cluster(p HostParameters, vals map[string]cty.Value)
- func EncodeHost_ClusterManaged(p HostParameters, vals map[string]cty.Value)
- func EncodeHost_Connected(p HostParameters, vals map[string]cty.Value)
- func EncodeHost_Datacenter(p HostParameters, vals map[string]cty.Value)
- func EncodeHost_Force(p HostParameters, vals map[string]cty.Value)
- func EncodeHost_Hostname(p HostParameters, vals map[string]cty.Value)
- func EncodeHost_License(p HostParameters, vals map[string]cty.Value)
- func EncodeHost_Lockdown(p HostParameters, vals map[string]cty.Value)
- func EncodeHost_Maintenance(p HostParameters, vals map[string]cty.Value)
- func EncodeHost_Password(p HostParameters, vals map[string]cty.Value)
- func EncodeHost_Thumbprint(p HostParameters, vals map[string]cty.Value)
- func EncodeHost_Username(p HostParameters, vals map[string]cty.Value)
- func Implementation() *plugin.Implementation
- func MergeHost_Cluster(k *HostParameters, p *HostParameters, md *plugin.MergeDescription) bool
- func MergeHost_ClusterManaged(k *HostParameters, p *HostParameters, md *plugin.MergeDescription) bool
- func MergeHost_Connected(k *HostParameters, p *HostParameters, md *plugin.MergeDescription) bool
- func MergeHost_Datacenter(k *HostParameters, p *HostParameters, md *plugin.MergeDescription) bool
- func MergeHost_Force(k *HostParameters, p *HostParameters, md *plugin.MergeDescription) bool
- func MergeHost_Hostname(k *HostParameters, p *HostParameters, md *plugin.MergeDescription) bool
- func MergeHost_License(k *HostParameters, p *HostParameters, md *plugin.MergeDescription) bool
- func MergeHost_Lockdown(k *HostParameters, p *HostParameters, md *plugin.MergeDescription) bool
- func MergeHost_Maintenance(k *HostParameters, p *HostParameters, md *plugin.MergeDescription) bool
- func MergeHost_Password(k *HostParameters, p *HostParameters, md *plugin.MergeDescription) bool
- func MergeHost_Thumbprint(k *HostParameters, p *HostParameters, md *plugin.MergeDescription) bool
- func MergeHost_Username(k *HostParameters, p *HostParameters, md *plugin.MergeDescription) bool
- type Host
- func (in *Host) DeepCopy() *Host
- func (in *Host) DeepCopyInto(out *Host)
- func (in *Host) DeepCopyObject() runtime.Object
- func (mg *Host) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *Host) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *Host) GetProviderConfigReference() *xpv1.Reference
- func (mg *Host) GetProviderReference() *xpv1.Reference
- func (mg *Host) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *Host) SetConditions(c ...xpv1.Condition)
- func (mg *Host) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Host) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Host) SetProviderReference(r *xpv1.Reference)
- func (mg *Host) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type HostList
- type HostObservation
- type HostParameters
- type HostSpec
- type HostStatus
Constants ¶
const ( Group = "host.terraform-provider-vsphere.crossplane.io" Version = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Kind = "Host" GroupKind = schema.GroupKind{Group: Group, Kind: Kind}.String() KindAPIVersion = Kind + "." + SchemeGroupVersion.String() GroupVersionKind = SchemeGroupVersion.WithKind(Kind) TerraformResourceName = "vsphere_host" )
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version} )
Functions ¶
func DecodeHost_Cluster ¶
func DecodeHost_Cluster(p *HostParameters, vals map[string]cty.Value)
primitiveTypeDecodeTemplate
func DecodeHost_ClusterManaged ¶
func DecodeHost_ClusterManaged(p *HostParameters, vals map[string]cty.Value)
primitiveTypeDecodeTemplate
func DecodeHost_Connected ¶
func DecodeHost_Connected(p *HostParameters, vals map[string]cty.Value)
primitiveTypeDecodeTemplate
func DecodeHost_Datacenter ¶
func DecodeHost_Datacenter(p *HostParameters, vals map[string]cty.Value)
primitiveTypeDecodeTemplate
func DecodeHost_Force ¶
func DecodeHost_Force(p *HostParameters, vals map[string]cty.Value)
primitiveTypeDecodeTemplate
func DecodeHost_Hostname ¶
func DecodeHost_Hostname(p *HostParameters, vals map[string]cty.Value)
primitiveTypeDecodeTemplate
func DecodeHost_License ¶
func DecodeHost_License(p *HostParameters, vals map[string]cty.Value)
primitiveTypeDecodeTemplate
func DecodeHost_Lockdown ¶
func DecodeHost_Lockdown(p *HostParameters, vals map[string]cty.Value)
primitiveTypeDecodeTemplate
func DecodeHost_Maintenance ¶
func DecodeHost_Maintenance(p *HostParameters, vals map[string]cty.Value)
primitiveTypeDecodeTemplate
func DecodeHost_Password ¶
func DecodeHost_Password(p *HostParameters, vals map[string]cty.Value)
primitiveTypeDecodeTemplate
func DecodeHost_Thumbprint ¶
func DecodeHost_Thumbprint(p *HostParameters, vals map[string]cty.Value)
primitiveTypeDecodeTemplate
func DecodeHost_Username ¶
func DecodeHost_Username(p *HostParameters, vals map[string]cty.Value)
primitiveTypeDecodeTemplate
func EncodeHost ¶
func EncodeHost_Cluster ¶
func EncodeHost_Cluster(p HostParameters, vals map[string]cty.Value)
func EncodeHost_ClusterManaged ¶
func EncodeHost_ClusterManaged(p HostParameters, vals map[string]cty.Value)
func EncodeHost_Connected ¶
func EncodeHost_Connected(p HostParameters, vals map[string]cty.Value)
func EncodeHost_Datacenter ¶
func EncodeHost_Datacenter(p HostParameters, vals map[string]cty.Value)
func EncodeHost_Force ¶
func EncodeHost_Force(p HostParameters, vals map[string]cty.Value)
func EncodeHost_Hostname ¶
func EncodeHost_Hostname(p HostParameters, vals map[string]cty.Value)
func EncodeHost_License ¶
func EncodeHost_License(p HostParameters, vals map[string]cty.Value)
func EncodeHost_Lockdown ¶
func EncodeHost_Lockdown(p HostParameters, vals map[string]cty.Value)
func EncodeHost_Maintenance ¶
func EncodeHost_Maintenance(p HostParameters, vals map[string]cty.Value)
func EncodeHost_Password ¶
func EncodeHost_Password(p HostParameters, vals map[string]cty.Value)
func EncodeHost_Thumbprint ¶
func EncodeHost_Thumbprint(p HostParameters, vals map[string]cty.Value)
func EncodeHost_Username ¶
func EncodeHost_Username(p HostParameters, vals map[string]cty.Value)
func Implementation ¶
func Implementation() *plugin.Implementation
func MergeHost_Cluster ¶
func MergeHost_Cluster(k *HostParameters, p *HostParameters, md *plugin.MergeDescription) bool
mergePrimitiveTemplateSpec
func MergeHost_ClusterManaged ¶
func MergeHost_ClusterManaged(k *HostParameters, p *HostParameters, md *plugin.MergeDescription) bool
mergePrimitiveTemplateSpec
func MergeHost_Connected ¶
func MergeHost_Connected(k *HostParameters, p *HostParameters, md *plugin.MergeDescription) bool
mergePrimitiveTemplateSpec
func MergeHost_Datacenter ¶
func MergeHost_Datacenter(k *HostParameters, p *HostParameters, md *plugin.MergeDescription) bool
mergePrimitiveTemplateSpec
func MergeHost_Force ¶
func MergeHost_Force(k *HostParameters, p *HostParameters, md *plugin.MergeDescription) bool
mergePrimitiveTemplateSpec
func MergeHost_Hostname ¶
func MergeHost_Hostname(k *HostParameters, p *HostParameters, md *plugin.MergeDescription) bool
mergePrimitiveTemplateSpec
func MergeHost_License ¶
func MergeHost_License(k *HostParameters, p *HostParameters, md *plugin.MergeDescription) bool
mergePrimitiveTemplateSpec
func MergeHost_Lockdown ¶
func MergeHost_Lockdown(k *HostParameters, p *HostParameters, md *plugin.MergeDescription) bool
mergePrimitiveTemplateSpec
func MergeHost_Maintenance ¶
func MergeHost_Maintenance(k *HostParameters, p *HostParameters, md *plugin.MergeDescription) bool
mergePrimitiveTemplateSpec
func MergeHost_Password ¶
func MergeHost_Password(k *HostParameters, p *HostParameters, md *plugin.MergeDescription) bool
mergePrimitiveTemplateSpec
func MergeHost_Thumbprint ¶
func MergeHost_Thumbprint(k *HostParameters, p *HostParameters, md *plugin.MergeDescription) bool
mergePrimitiveTemplateSpec
func MergeHost_Username ¶
func MergeHost_Username(k *HostParameters, p *HostParameters, md *plugin.MergeDescription) bool
mergePrimitiveTemplateSpec
Types ¶
type Host ¶
type Host struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec HostSpec `json:"spec"` Status HostStatus `json:"status,omitempty"` }
Host is a managed resource representing a resource mirrored in the cloud +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster
func (*Host) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Host.
func (*Host) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Host) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Host) GetCondition ¶
func (mg *Host) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Host.
func (*Host) GetDeletionPolicy ¶
func (mg *Host) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Host.
func (*Host) GetProviderConfigReference ¶
GetProviderConfigReference of this Host.
func (*Host) GetProviderReference ¶
GetProviderReference of this Host. Deprecated: Use GetProviderConfigReference.
func (*Host) GetWriteConnectionSecretToReference ¶
func (mg *Host) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Host.
func (*Host) SetConditions ¶
SetConditions of this Host.
func (*Host) SetDeletionPolicy ¶
func (mg *Host) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Host.
func (*Host) SetProviderConfigReference ¶
SetProviderConfigReference of this Host.
func (*Host) SetProviderReference ¶
SetProviderReference of this Host. Deprecated: Use SetProviderConfigReference.
func (*Host) SetWriteConnectionSecretToReference ¶
func (mg *Host) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Host.
type HostList ¶
type HostList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Host `json:"items"` }
Host contains a list of HostList
func (*HostList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostList.
func (*HostList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HostList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HostObservation ¶
type HostObservation struct{}
A HostObservation records the observed state of a Host
func (*HostObservation) DeepCopy ¶
func (in *HostObservation) DeepCopy() *HostObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostObservation.
func (*HostObservation) DeepCopyInto ¶
func (in *HostObservation) DeepCopyInto(out *HostObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HostParameters ¶
type HostParameters struct { Cluster string `json:"cluster"` ClusterManaged bool `json:"cluster_managed"` Connected bool `json:"connected"` Datacenter string `json:"datacenter"` Force bool `json:"force"` Hostname string `json:"hostname"` License string `json:"license"` Lockdown string `json:"lockdown"` Maintenance bool `json:"maintenance"` Password string `json:"password"` Thumbprint string `json:"thumbprint"` Username string `json:"username"` }
A HostParameters defines the desired state of a Host
func (*HostParameters) DeepCopy ¶
func (in *HostParameters) DeepCopy() *HostParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostParameters.
func (*HostParameters) DeepCopyInto ¶
func (in *HostParameters) DeepCopyInto(out *HostParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HostSpec ¶
type HostSpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider HostParameters `json:"forProvider"` }
A HostSpec defines the desired state of a Host
func (*HostSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostSpec.
func (*HostSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HostStatus ¶
type HostStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider HostObservation `json:"atProvider"` }
A HostStatus defines the observed state of a Host
func (*HostStatus) DeepCopy ¶
func (in *HostStatus) DeepCopy() *HostStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostStatus.
func (*HostStatus) DeepCopyInto ¶
func (in *HostStatus) DeepCopyInto(out *HostStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.