Documentation ¶
Index ¶
- Constants
- Variables
- func DecodeVnic(prev *Vnic, ctyValue cty.Value) (resource.Managed, error)
- func DecodeVnic_DistributedPortGroup(p *VnicParameters, vals map[string]cty.Value)
- func DecodeVnic_DistributedSwitchPort(p *VnicParameters, vals map[string]cty.Value)
- func DecodeVnic_Host(p *VnicParameters, vals map[string]cty.Value)
- func DecodeVnic_Ipv4(p *Ipv4, vals map[string]cty.Value)
- func DecodeVnic_Ipv4_Dhcp(p *Ipv4, vals map[string]cty.Value)
- func DecodeVnic_Ipv4_Gw(p *Ipv4, vals map[string]cty.Value)
- func DecodeVnic_Ipv4_Ip(p *Ipv4, vals map[string]cty.Value)
- func DecodeVnic_Ipv4_Netmask(p *Ipv4, vals map[string]cty.Value)
- func DecodeVnic_Ipv6(p *Ipv6, vals map[string]cty.Value)
- func DecodeVnic_Ipv6_Addresses(p *Ipv6, vals map[string]cty.Value)
- func DecodeVnic_Ipv6_Autoconfig(p *Ipv6, vals map[string]cty.Value)
- func DecodeVnic_Ipv6_Dhcp(p *Ipv6, vals map[string]cty.Value)
- func DecodeVnic_Ipv6_Gw(p *Ipv6, vals map[string]cty.Value)
- func DecodeVnic_Mac(p *VnicParameters, vals map[string]cty.Value)
- func DecodeVnic_Mtu(p *VnicParameters, vals map[string]cty.Value)
- func DecodeVnic_Netstack(p *VnicParameters, vals map[string]cty.Value)
- func DecodeVnic_Portgroup(p *VnicParameters, vals map[string]cty.Value)
- func EncodeVnic(r Vnic) cty.Value
- func EncodeVnic_DistributedPortGroup(p VnicParameters, vals map[string]cty.Value)
- func EncodeVnic_DistributedSwitchPort(p VnicParameters, vals map[string]cty.Value)
- func EncodeVnic_Host(p VnicParameters, vals map[string]cty.Value)
- func EncodeVnic_Ipv4(p Ipv4, vals map[string]cty.Value)
- func EncodeVnic_Ipv4_Dhcp(p Ipv4, vals map[string]cty.Value)
- func EncodeVnic_Ipv4_Gw(p Ipv4, vals map[string]cty.Value)
- func EncodeVnic_Ipv4_Ip(p Ipv4, vals map[string]cty.Value)
- func EncodeVnic_Ipv4_Netmask(p Ipv4, vals map[string]cty.Value)
- func EncodeVnic_Ipv6(p Ipv6, vals map[string]cty.Value)
- func EncodeVnic_Ipv6_Addresses(p Ipv6, vals map[string]cty.Value)
- func EncodeVnic_Ipv6_Autoconfig(p Ipv6, vals map[string]cty.Value)
- func EncodeVnic_Ipv6_Dhcp(p Ipv6, vals map[string]cty.Value)
- func EncodeVnic_Ipv6_Gw(p Ipv6, vals map[string]cty.Value)
- func EncodeVnic_Mac(p VnicParameters, vals map[string]cty.Value)
- func EncodeVnic_Mtu(p VnicParameters, vals map[string]cty.Value)
- func EncodeVnic_Netstack(p VnicParameters, vals map[string]cty.Value)
- func EncodeVnic_Portgroup(p VnicParameters, vals map[string]cty.Value)
- func Implementation() *plugin.Implementation
- func MergeVnic_DistributedPortGroup(k *VnicParameters, p *VnicParameters, md *plugin.MergeDescription) bool
- func MergeVnic_DistributedSwitchPort(k *VnicParameters, p *VnicParameters, md *plugin.MergeDescription) bool
- func MergeVnic_Host(k *VnicParameters, p *VnicParameters, md *plugin.MergeDescription) bool
- func MergeVnic_Ipv4(k *Ipv4, p *Ipv4, md *plugin.MergeDescription) bool
- func MergeVnic_Ipv4_Dhcp(k *Ipv4, p *Ipv4, md *plugin.MergeDescription) bool
- func MergeVnic_Ipv4_Gw(k *Ipv4, p *Ipv4, md *plugin.MergeDescription) bool
- func MergeVnic_Ipv4_Ip(k *Ipv4, p *Ipv4, md *plugin.MergeDescription) bool
- func MergeVnic_Ipv4_Netmask(k *Ipv4, p *Ipv4, md *plugin.MergeDescription) bool
- func MergeVnic_Ipv6(k *Ipv6, p *Ipv6, md *plugin.MergeDescription) bool
- func MergeVnic_Ipv6_Addresses(k *Ipv6, p *Ipv6, md *plugin.MergeDescription) bool
- func MergeVnic_Ipv6_Autoconfig(k *Ipv6, p *Ipv6, md *plugin.MergeDescription) bool
- func MergeVnic_Ipv6_Dhcp(k *Ipv6, p *Ipv6, md *plugin.MergeDescription) bool
- func MergeVnic_Ipv6_Gw(k *Ipv6, p *Ipv6, md *plugin.MergeDescription) bool
- func MergeVnic_Mac(k *VnicParameters, p *VnicParameters, md *plugin.MergeDescription) bool
- func MergeVnic_Mtu(k *VnicParameters, p *VnicParameters, md *plugin.MergeDescription) bool
- func MergeVnic_Netstack(k *VnicParameters, p *VnicParameters, md *plugin.MergeDescription) bool
- func MergeVnic_Portgroup(k *VnicParameters, p *VnicParameters, md *plugin.MergeDescription) bool
- type Ipv4
- type Ipv6
- type Vnic
- func (in *Vnic) DeepCopy() *Vnic
- func (in *Vnic) DeepCopyInto(out *Vnic)
- func (in *Vnic) DeepCopyObject() runtime.Object
- func (mg *Vnic) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *Vnic) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *Vnic) GetProviderConfigReference() *xpv1.Reference
- func (mg *Vnic) GetProviderReference() *xpv1.Reference
- func (mg *Vnic) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *Vnic) SetConditions(c ...xpv1.Condition)
- func (mg *Vnic) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Vnic) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Vnic) SetProviderReference(r *xpv1.Reference)
- func (mg *Vnic) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type VnicList
- type VnicObservation
- type VnicParameters
- type VnicSpec
- type VnicStatus
Constants ¶
const ( Group = "vnic.terraform-provider-vsphere.crossplane.io" Version = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Kind = "Vnic" GroupKind = schema.GroupKind{Group: Group, Kind: Kind}.String() KindAPIVersion = Kind + "." + SchemeGroupVersion.String() GroupVersionKind = SchemeGroupVersion.WithKind(Kind) TerraformResourceName = "vsphere_vnic" )
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version} )
Functions ¶
func DecodeVnic_DistributedPortGroup ¶
func DecodeVnic_DistributedPortGroup(p *VnicParameters, vals map[string]cty.Value)
primitiveTypeDecodeTemplate
func DecodeVnic_DistributedSwitchPort ¶
func DecodeVnic_DistributedSwitchPort(p *VnicParameters, vals map[string]cty.Value)
primitiveTypeDecodeTemplate
func DecodeVnic_Host ¶
func DecodeVnic_Host(p *VnicParameters, vals map[string]cty.Value)
primitiveTypeDecodeTemplate
func DecodeVnic_Ipv4 ¶
containerCollectionSingletonTypeDecodeTemplate
func DecodeVnic_Ipv4_Dhcp ¶
primitiveTypeDecodeTemplate
func DecodeVnic_Ipv4_Gw ¶
primitiveTypeDecodeTemplate
func DecodeVnic_Ipv4_Ip ¶
primitiveTypeDecodeTemplate
func DecodeVnic_Ipv4_Netmask ¶
primitiveTypeDecodeTemplate
func DecodeVnic_Ipv6 ¶
containerCollectionSingletonTypeDecodeTemplate
func DecodeVnic_Ipv6_Addresses ¶
primitiveCollectionTypeDecodeTemplate
func DecodeVnic_Ipv6_Autoconfig ¶
primitiveTypeDecodeTemplate
func DecodeVnic_Ipv6_Dhcp ¶
primitiveTypeDecodeTemplate
func DecodeVnic_Ipv6_Gw ¶
primitiveTypeDecodeTemplate
func DecodeVnic_Mac ¶
func DecodeVnic_Mac(p *VnicParameters, vals map[string]cty.Value)
primitiveTypeDecodeTemplate
func DecodeVnic_Mtu ¶
func DecodeVnic_Mtu(p *VnicParameters, vals map[string]cty.Value)
primitiveTypeDecodeTemplate
func DecodeVnic_Netstack ¶
func DecodeVnic_Netstack(p *VnicParameters, vals map[string]cty.Value)
primitiveTypeDecodeTemplate
func DecodeVnic_Portgroup ¶
func DecodeVnic_Portgroup(p *VnicParameters, vals map[string]cty.Value)
primitiveTypeDecodeTemplate
func EncodeVnic ¶
func EncodeVnic_DistributedPortGroup ¶
func EncodeVnic_DistributedPortGroup(p VnicParameters, vals map[string]cty.Value)
func EncodeVnic_DistributedSwitchPort ¶
func EncodeVnic_DistributedSwitchPort(p VnicParameters, vals map[string]cty.Value)
func EncodeVnic_Host ¶
func EncodeVnic_Host(p VnicParameters, vals map[string]cty.Value)
func EncodeVnic_Mac ¶
func EncodeVnic_Mac(p VnicParameters, vals map[string]cty.Value)
func EncodeVnic_Mtu ¶
func EncodeVnic_Mtu(p VnicParameters, vals map[string]cty.Value)
func EncodeVnic_Netstack ¶
func EncodeVnic_Netstack(p VnicParameters, vals map[string]cty.Value)
func EncodeVnic_Portgroup ¶
func EncodeVnic_Portgroup(p VnicParameters, vals map[string]cty.Value)
func Implementation ¶
func Implementation() *plugin.Implementation
func MergeVnic_DistributedPortGroup ¶
func MergeVnic_DistributedPortGroup(k *VnicParameters, p *VnicParameters, md *plugin.MergeDescription) bool
mergePrimitiveTemplateSpec
func MergeVnic_DistributedSwitchPort ¶
func MergeVnic_DistributedSwitchPort(k *VnicParameters, p *VnicParameters, md *plugin.MergeDescription) bool
mergePrimitiveTemplateSpec
func MergeVnic_Host ¶
func MergeVnic_Host(k *VnicParameters, p *VnicParameters, md *plugin.MergeDescription) bool
mergePrimitiveTemplateSpec
func MergeVnic_Ipv4 ¶
func MergeVnic_Ipv4(k *Ipv4, p *Ipv4, md *plugin.MergeDescription) bool
mergeStructTemplateSpec
func MergeVnic_Ipv4_Dhcp ¶
func MergeVnic_Ipv4_Dhcp(k *Ipv4, p *Ipv4, md *plugin.MergeDescription) bool
mergePrimitiveTemplateSpec
func MergeVnic_Ipv4_Gw ¶
func MergeVnic_Ipv4_Gw(k *Ipv4, p *Ipv4, md *plugin.MergeDescription) bool
mergePrimitiveTemplateSpec
func MergeVnic_Ipv4_Ip ¶
func MergeVnic_Ipv4_Ip(k *Ipv4, p *Ipv4, md *plugin.MergeDescription) bool
mergePrimitiveTemplateSpec
func MergeVnic_Ipv4_Netmask ¶
func MergeVnic_Ipv4_Netmask(k *Ipv4, p *Ipv4, md *plugin.MergeDescription) bool
mergePrimitiveTemplateSpec
func MergeVnic_Ipv6 ¶
func MergeVnic_Ipv6(k *Ipv6, p *Ipv6, md *plugin.MergeDescription) bool
mergeStructTemplateSpec
func MergeVnic_Ipv6_Addresses ¶
func MergeVnic_Ipv6_Addresses(k *Ipv6, p *Ipv6, md *plugin.MergeDescription) bool
mergePrimitiveContainerTemplateSpec
func MergeVnic_Ipv6_Autoconfig ¶
func MergeVnic_Ipv6_Autoconfig(k *Ipv6, p *Ipv6, md *plugin.MergeDescription) bool
mergePrimitiveTemplateSpec
func MergeVnic_Ipv6_Dhcp ¶
func MergeVnic_Ipv6_Dhcp(k *Ipv6, p *Ipv6, md *plugin.MergeDescription) bool
mergePrimitiveTemplateSpec
func MergeVnic_Ipv6_Gw ¶
func MergeVnic_Ipv6_Gw(k *Ipv6, p *Ipv6, md *plugin.MergeDescription) bool
mergePrimitiveTemplateSpec
func MergeVnic_Mac ¶
func MergeVnic_Mac(k *VnicParameters, p *VnicParameters, md *plugin.MergeDescription) bool
mergePrimitiveTemplateSpec
func MergeVnic_Mtu ¶
func MergeVnic_Mtu(k *VnicParameters, p *VnicParameters, md *plugin.MergeDescription) bool
mergePrimitiveTemplateSpec
func MergeVnic_Netstack ¶
func MergeVnic_Netstack(k *VnicParameters, p *VnicParameters, md *plugin.MergeDescription) bool
mergePrimitiveTemplateSpec
func MergeVnic_Portgroup ¶
func MergeVnic_Portgroup(k *VnicParameters, p *VnicParameters, md *plugin.MergeDescription) bool
mergePrimitiveTemplateSpec
Types ¶
type Ipv4 ¶
type Ipv4 struct { Dhcp bool `json:"dhcp"` Gw string `json:"gw"` Ip string `json:"ip"` Netmask string `json:"netmask"` }
func (*Ipv4) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ipv4.
func (*Ipv4) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Ipv6 ¶
type Ipv6 struct { Addresses []string `json:"addresses,omitempty"` Autoconfig bool `json:"autoconfig"` Dhcp bool `json:"dhcp"` Gw string `json:"gw"` }
func (*Ipv6) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ipv6.
func (*Ipv6) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Vnic ¶
type Vnic struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VnicSpec `json:"spec"` Status VnicStatus `json:"status,omitempty"` }
Vnic is a managed resource representing a resource mirrored in the cloud +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster
func (*Vnic) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Vnic.
func (*Vnic) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Vnic) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Vnic) GetCondition ¶
func (mg *Vnic) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Vnic.
func (*Vnic) GetDeletionPolicy ¶
func (mg *Vnic) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Vnic.
func (*Vnic) GetProviderConfigReference ¶
GetProviderConfigReference of this Vnic.
func (*Vnic) GetProviderReference ¶
GetProviderReference of this Vnic. Deprecated: Use GetProviderConfigReference.
func (*Vnic) GetWriteConnectionSecretToReference ¶
func (mg *Vnic) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Vnic.
func (*Vnic) SetConditions ¶
SetConditions of this Vnic.
func (*Vnic) SetDeletionPolicy ¶
func (mg *Vnic) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Vnic.
func (*Vnic) SetProviderConfigReference ¶
SetProviderConfigReference of this Vnic.
func (*Vnic) SetProviderReference ¶
SetProviderReference of this Vnic. Deprecated: Use SetProviderConfigReference.
func (*Vnic) SetWriteConnectionSecretToReference ¶
func (mg *Vnic) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Vnic.
type VnicList ¶
type VnicList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Vnic `json:"items"` }
Vnic contains a list of VnicList
func (*VnicList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VnicList.
func (*VnicList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VnicList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VnicObservation ¶
type VnicObservation struct{}
A VnicObservation records the observed state of a Vnic
func (*VnicObservation) DeepCopy ¶
func (in *VnicObservation) DeepCopy() *VnicObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VnicObservation.
func (*VnicObservation) DeepCopyInto ¶
func (in *VnicObservation) DeepCopyInto(out *VnicObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VnicParameters ¶
type VnicParameters struct { DistributedPortGroup string `json:"distributed_port_group"` DistributedSwitchPort string `json:"distributed_switch_port"` Host string `json:"host"` Mac string `json:"mac"` Mtu int64 `json:"mtu"` Netstack string `json:"netstack"` Portgroup string `json:"portgroup"` Ipv4 Ipv4 `json:"ipv4"` Ipv6 Ipv6 `json:"ipv6"` }
A VnicParameters defines the desired state of a Vnic
func (*VnicParameters) DeepCopy ¶
func (in *VnicParameters) DeepCopy() *VnicParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VnicParameters.
func (*VnicParameters) DeepCopyInto ¶
func (in *VnicParameters) DeepCopyInto(out *VnicParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VnicSpec ¶
type VnicSpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider VnicParameters `json:"forProvider"` }
A VnicSpec defines the desired state of a Vnic
func (*VnicSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VnicSpec.
func (*VnicSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VnicStatus ¶
type VnicStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider VnicObservation `json:"atProvider"` }
A VnicStatus defines the observed state of a Vnic
func (*VnicStatus) DeepCopy ¶
func (in *VnicStatus) DeepCopy() *VnicStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VnicStatus.
func (*VnicStatus) DeepCopyInto ¶
func (in *VnicStatus) DeepCopyInto(out *VnicStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.