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   = "host-port-group.terraform-provider-vsphere.crossplane.io"
	Version = "v1alpha1"
)

Package type metadata.

Variables

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

Functions

func DecodeHostPortGroup

func DecodeHostPortGroup(prev *HostPortGroup, ctyValue cty.Value) (resource.Managed, error)

func DecodeHostPortGroup_ActiveNics

func DecodeHostPortGroup_ActiveNics(p *HostPortGroupParameters, vals map[string]cty.Value)

primitiveCollectionTypeDecodeTemplate

func DecodeHostPortGroup_AllowForgedTransmits

func DecodeHostPortGroup_AllowForgedTransmits(p *HostPortGroupParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeHostPortGroup_AllowMacChanges

func DecodeHostPortGroup_AllowMacChanges(p *HostPortGroupParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeHostPortGroup_AllowPromiscuous

func DecodeHostPortGroup_AllowPromiscuous(p *HostPortGroupParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeHostPortGroup_CheckBeacon

func DecodeHostPortGroup_CheckBeacon(p *HostPortGroupParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeHostPortGroup_ComputedPolicy

func DecodeHostPortGroup_ComputedPolicy(p *HostPortGroupObservation, vals map[string]cty.Value)

primitiveMapTypeDecodeTemplate

func DecodeHostPortGroup_Failback

func DecodeHostPortGroup_Failback(p *HostPortGroupParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeHostPortGroup_HostSystemId

func DecodeHostPortGroup_HostSystemId(p *HostPortGroupParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeHostPortGroup_Key

func DecodeHostPortGroup_Key(p *HostPortGroupObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeHostPortGroup_Name

func DecodeHostPortGroup_Name(p *HostPortGroupParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeHostPortGroup_NotifySwitches

func DecodeHostPortGroup_NotifySwitches(p *HostPortGroupParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeHostPortGroup_Ports

func DecodeHostPortGroup_Ports(pp *[]Ports, vals map[string]cty.Value)

containerCollectionTypeDecodeTemplate

func DecodeHostPortGroup_Ports_Key

func DecodeHostPortGroup_Ports_Key(p *Ports, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeHostPortGroup_Ports_MacAddresses

func DecodeHostPortGroup_Ports_MacAddresses(p *Ports, vals map[string]cty.Value)

primitiveCollectionTypeDecodeTemplate

func DecodeHostPortGroup_Ports_Type

func DecodeHostPortGroup_Ports_Type(p *Ports, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeHostPortGroup_ShapingAverageBandwidth

func DecodeHostPortGroup_ShapingAverageBandwidth(p *HostPortGroupParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeHostPortGroup_ShapingBurstSize

func DecodeHostPortGroup_ShapingBurstSize(p *HostPortGroupParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeHostPortGroup_ShapingEnabled

func DecodeHostPortGroup_ShapingEnabled(p *HostPortGroupParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeHostPortGroup_ShapingPeakBandwidth

func DecodeHostPortGroup_ShapingPeakBandwidth(p *HostPortGroupParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeHostPortGroup_StandbyNics

func DecodeHostPortGroup_StandbyNics(p *HostPortGroupParameters, vals map[string]cty.Value)

primitiveCollectionTypeDecodeTemplate

func DecodeHostPortGroup_TeamingPolicy

func DecodeHostPortGroup_TeamingPolicy(p *HostPortGroupParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeHostPortGroup_VirtualSwitchName

func DecodeHostPortGroup_VirtualSwitchName(p *HostPortGroupParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeHostPortGroup_VlanId

func DecodeHostPortGroup_VlanId(p *HostPortGroupParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func EncodeHostPortGroup

func EncodeHostPortGroup(r HostPortGroup) cty.Value

func EncodeHostPortGroup_ActiveNics

func EncodeHostPortGroup_ActiveNics(p HostPortGroupParameters, vals map[string]cty.Value)

func EncodeHostPortGroup_AllowForgedTransmits

func EncodeHostPortGroup_AllowForgedTransmits(p HostPortGroupParameters, vals map[string]cty.Value)

func EncodeHostPortGroup_AllowMacChanges

func EncodeHostPortGroup_AllowMacChanges(p HostPortGroupParameters, vals map[string]cty.Value)

func EncodeHostPortGroup_AllowPromiscuous

func EncodeHostPortGroup_AllowPromiscuous(p HostPortGroupParameters, vals map[string]cty.Value)

func EncodeHostPortGroup_CheckBeacon

func EncodeHostPortGroup_CheckBeacon(p HostPortGroupParameters, vals map[string]cty.Value)

func EncodeHostPortGroup_ComputedPolicy

func EncodeHostPortGroup_ComputedPolicy(p HostPortGroupObservation, vals map[string]cty.Value)

func EncodeHostPortGroup_Failback

func EncodeHostPortGroup_Failback(p HostPortGroupParameters, vals map[string]cty.Value)

func EncodeHostPortGroup_HostSystemId

func EncodeHostPortGroup_HostSystemId(p HostPortGroupParameters, vals map[string]cty.Value)

func EncodeHostPortGroup_Key

func EncodeHostPortGroup_Key(p HostPortGroupObservation, vals map[string]cty.Value)

func EncodeHostPortGroup_Name

func EncodeHostPortGroup_Name(p HostPortGroupParameters, vals map[string]cty.Value)

func EncodeHostPortGroup_NotifySwitches

func EncodeHostPortGroup_NotifySwitches(p HostPortGroupParameters, vals map[string]cty.Value)

func EncodeHostPortGroup_Ports

func EncodeHostPortGroup_Ports(p []Ports, vals map[string]cty.Value)

func EncodeHostPortGroup_Ports_Key

func EncodeHostPortGroup_Ports_Key(p Ports, vals map[string]cty.Value)

func EncodeHostPortGroup_Ports_MacAddresses

func EncodeHostPortGroup_Ports_MacAddresses(p Ports, vals map[string]cty.Value)

func EncodeHostPortGroup_Ports_Type

func EncodeHostPortGroup_Ports_Type(p Ports, vals map[string]cty.Value)

func EncodeHostPortGroup_ShapingAverageBandwidth

func EncodeHostPortGroup_ShapingAverageBandwidth(p HostPortGroupParameters, vals map[string]cty.Value)

func EncodeHostPortGroup_ShapingBurstSize

func EncodeHostPortGroup_ShapingBurstSize(p HostPortGroupParameters, vals map[string]cty.Value)

func EncodeHostPortGroup_ShapingEnabled

func EncodeHostPortGroup_ShapingEnabled(p HostPortGroupParameters, vals map[string]cty.Value)

func EncodeHostPortGroup_ShapingPeakBandwidth

func EncodeHostPortGroup_ShapingPeakBandwidth(p HostPortGroupParameters, vals map[string]cty.Value)

func EncodeHostPortGroup_StandbyNics

func EncodeHostPortGroup_StandbyNics(p HostPortGroupParameters, vals map[string]cty.Value)

func EncodeHostPortGroup_TeamingPolicy

func EncodeHostPortGroup_TeamingPolicy(p HostPortGroupParameters, vals map[string]cty.Value)

func EncodeHostPortGroup_VirtualSwitchName

func EncodeHostPortGroup_VirtualSwitchName(p HostPortGroupParameters, vals map[string]cty.Value)

func EncodeHostPortGroup_VlanId

func EncodeHostPortGroup_VlanId(p HostPortGroupParameters, vals map[string]cty.Value)

func Implementation

func Implementation() *plugin.Implementation

func MergeHostPortGroup_ActiveNics

func MergeHostPortGroup_ActiveNics(k *HostPortGroupParameters, p *HostPortGroupParameters, md *plugin.MergeDescription) bool

mergePrimitiveContainerTemplateSpec

func MergeHostPortGroup_AllowForgedTransmits

func MergeHostPortGroup_AllowForgedTransmits(k *HostPortGroupParameters, p *HostPortGroupParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeHostPortGroup_AllowMacChanges

func MergeHostPortGroup_AllowMacChanges(k *HostPortGroupParameters, p *HostPortGroupParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeHostPortGroup_AllowPromiscuous

func MergeHostPortGroup_AllowPromiscuous(k *HostPortGroupParameters, p *HostPortGroupParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeHostPortGroup_CheckBeacon

func MergeHostPortGroup_CheckBeacon(k *HostPortGroupParameters, p *HostPortGroupParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeHostPortGroup_ComputedPolicy

func MergeHostPortGroup_ComputedPolicy(k *HostPortGroupObservation, p *HostPortGroupObservation, md *plugin.MergeDescription) bool

mergePrimitiveContainerTemplateStatus

func MergeHostPortGroup_Failback

func MergeHostPortGroup_Failback(k *HostPortGroupParameters, p *HostPortGroupParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeHostPortGroup_HostSystemId

func MergeHostPortGroup_HostSystemId(k *HostPortGroupParameters, p *HostPortGroupParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeHostPortGroup_Key

mergePrimitiveTemplateStatus

func MergeHostPortGroup_Name

func MergeHostPortGroup_Name(k *HostPortGroupParameters, p *HostPortGroupParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeHostPortGroup_NotifySwitches

func MergeHostPortGroup_NotifySwitches(k *HostPortGroupParameters, p *HostPortGroupParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeHostPortGroup_Ports

func MergeHostPortGroup_Ports(ksp *[]Ports, psp *[]Ports, md *plugin.MergeDescription) bool

mergeStructSliceTemplateStatus

func MergeHostPortGroup_Ports_Key

func MergeHostPortGroup_Ports_Key(k *Ports, p *Ports, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeHostPortGroup_Ports_MacAddresses

func MergeHostPortGroup_Ports_MacAddresses(k *Ports, p *Ports, md *plugin.MergeDescription) bool

mergePrimitiveContainerTemplateStatus

func MergeHostPortGroup_Ports_Type

func MergeHostPortGroup_Ports_Type(k *Ports, p *Ports, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeHostPortGroup_ShapingAverageBandwidth

func MergeHostPortGroup_ShapingAverageBandwidth(k *HostPortGroupParameters, p *HostPortGroupParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeHostPortGroup_ShapingBurstSize

func MergeHostPortGroup_ShapingBurstSize(k *HostPortGroupParameters, p *HostPortGroupParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeHostPortGroup_ShapingEnabled

func MergeHostPortGroup_ShapingEnabled(k *HostPortGroupParameters, p *HostPortGroupParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeHostPortGroup_ShapingPeakBandwidth

func MergeHostPortGroup_ShapingPeakBandwidth(k *HostPortGroupParameters, p *HostPortGroupParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeHostPortGroup_StandbyNics

func MergeHostPortGroup_StandbyNics(k *HostPortGroupParameters, p *HostPortGroupParameters, md *plugin.MergeDescription) bool

mergePrimitiveContainerTemplateSpec

func MergeHostPortGroup_TeamingPolicy

func MergeHostPortGroup_TeamingPolicy(k *HostPortGroupParameters, p *HostPortGroupParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeHostPortGroup_VirtualSwitchName

func MergeHostPortGroup_VirtualSwitchName(k *HostPortGroupParameters, p *HostPortGroupParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeHostPortGroup_VlanId

func MergeHostPortGroup_VlanId(k *HostPortGroupParameters, p *HostPortGroupParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

Types

type HostPortGroup

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

	Spec   HostPortGroupSpec   `json:"spec"`
	Status HostPortGroupStatus `json:"status,omitempty"`
}

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

func (*HostPortGroup) DeepCopy

func (in *HostPortGroup) DeepCopy() *HostPortGroup

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

func (*HostPortGroup) DeepCopyInto

func (in *HostPortGroup) DeepCopyInto(out *HostPortGroup)

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

func (*HostPortGroup) DeepCopyObject

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

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

func (*HostPortGroup) GetCondition

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

GetCondition of this HostPortGroup.

func (*HostPortGroup) GetDeletionPolicy

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

GetDeletionPolicy of this HostPortGroup.

func (*HostPortGroup) GetProviderConfigReference

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

GetProviderConfigReference of this HostPortGroup.

func (*HostPortGroup) GetProviderReference

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

GetProviderReference of this HostPortGroup. Deprecated: Use GetProviderConfigReference.

func (*HostPortGroup) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this HostPortGroup.

func (*HostPortGroup) SetConditions

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

SetConditions of this HostPortGroup.

func (*HostPortGroup) SetDeletionPolicy

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

SetDeletionPolicy of this HostPortGroup.

func (*HostPortGroup) SetProviderConfigReference

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

SetProviderConfigReference of this HostPortGroup.

func (*HostPortGroup) SetProviderReference

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

SetProviderReference of this HostPortGroup. Deprecated: Use SetProviderConfigReference.

func (*HostPortGroup) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this HostPortGroup.

type HostPortGroupList

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

HostPortGroup contains a list of HostPortGroupList

func (*HostPortGroupList) DeepCopy

func (in *HostPortGroupList) DeepCopy() *HostPortGroupList

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

func (*HostPortGroupList) DeepCopyInto

func (in *HostPortGroupList) DeepCopyInto(out *HostPortGroupList)

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

func (*HostPortGroupList) DeepCopyObject

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

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

func (*HostPortGroupList) GetItems

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

GetItems of this HostPortGroupList.

type HostPortGroupObservation

type HostPortGroupObservation struct {
	ComputedPolicy map[string]string `json:"computed_policy,omitempty"`
	Key            string            `json:"key"`
	Ports          []Ports           `json:"ports,omitempty"`
}

A HostPortGroupObservation records the observed state of a HostPortGroup

func (*HostPortGroupObservation) DeepCopy

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

func (*HostPortGroupObservation) DeepCopyInto

func (in *HostPortGroupObservation) DeepCopyInto(out *HostPortGroupObservation)

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

type HostPortGroupParameters

type HostPortGroupParameters struct {
	ActiveNics              []string `json:"active_nics,omitempty"`
	AllowForgedTransmits    bool     `json:"allow_forged_transmits"`
	AllowMacChanges         bool     `json:"allow_mac_changes"`
	AllowPromiscuous        bool     `json:"allow_promiscuous"`
	CheckBeacon             bool     `json:"check_beacon"`
	Failback                bool     `json:"failback"`
	HostSystemId            string   `json:"host_system_id"`
	Name                    string   `json:"name"`
	NotifySwitches          bool     `json:"notify_switches"`
	ShapingAverageBandwidth int64    `json:"shaping_average_bandwidth"`
	ShapingBurstSize        int64    `json:"shaping_burst_size"`
	ShapingEnabled          bool     `json:"shaping_enabled"`
	ShapingPeakBandwidth    int64    `json:"shaping_peak_bandwidth"`
	StandbyNics             []string `json:"standby_nics,omitempty"`
	TeamingPolicy           string   `json:"teaming_policy"`
	VirtualSwitchName       string   `json:"virtual_switch_name"`
	VlanId                  int64    `json:"vlan_id"`
}

A HostPortGroupParameters defines the desired state of a HostPortGroup

func (*HostPortGroupParameters) DeepCopy

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

func (*HostPortGroupParameters) DeepCopyInto

func (in *HostPortGroupParameters) DeepCopyInto(out *HostPortGroupParameters)

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

type HostPortGroupSpec

type HostPortGroupSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       HostPortGroupParameters `json:"forProvider"`
}

A HostPortGroupSpec defines the desired state of a HostPortGroup

func (*HostPortGroupSpec) DeepCopy

func (in *HostPortGroupSpec) DeepCopy() *HostPortGroupSpec

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

func (*HostPortGroupSpec) DeepCopyInto

func (in *HostPortGroupSpec) DeepCopyInto(out *HostPortGroupSpec)

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

type HostPortGroupStatus

type HostPortGroupStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          HostPortGroupObservation `json:"atProvider"`
}

A HostPortGroupStatus defines the observed state of a HostPortGroup

func (*HostPortGroupStatus) DeepCopy

func (in *HostPortGroupStatus) DeepCopy() *HostPortGroupStatus

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

func (*HostPortGroupStatus) DeepCopyInto

func (in *HostPortGroupStatus) DeepCopyInto(out *HostPortGroupStatus)

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

type Ports

type Ports struct {
	Type         string   `json:"type"`
	Key          string   `json:"key"`
	MacAddresses []string `json:"mac_addresses,omitempty"`
}

func (*Ports) DeepCopy

func (in *Ports) DeepCopy() *Ports

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

func (*Ports) DeepCopyInto

func (in *Ports) DeepCopyInto(out *Ports)

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