v1alpha1

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+groupName=host.vsphere.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: host.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Host

type Host struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              HostSpec   `json:"spec,omitempty"`
	Status            HostStatus `json:"status,omitempty"`
}

func (*Host) DeepCopy

func (in *Host) DeepCopy() *Host

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

func (*Host) DeepCopyInto

func (in *Host) DeepCopyInto(out *Host)

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

func (*Host) DeepCopyObject

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

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

func (*Host) SetupWebhookWithManager

func (r *Host) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Host) ValidateCreate

func (r *Host) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Host) ValidateDelete

func (r *Host) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Host) ValidateUpdate

func (r *Host) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type HostList

type HostList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Host CRD objects
	Items []Host `json:"items,omitempty"`
}

HostList is a list of Hosts

func (*HostList) DeepCopy

func (in *HostList) DeepCopy() *HostList

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

func (*HostList) DeepCopyInto

func (in *HostList) DeepCopyInto(out *HostList)

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

func (*HostList) DeepCopyObject

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

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

type HostSpec

type HostSpec struct {
	State *HostSpecResource `json:"state,omitempty" tf:"-"`

	Resource HostSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*HostSpec) DeepCopy

func (in *HostSpec) DeepCopy() *HostSpec

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

func (*HostSpec) DeepCopyInto

func (in *HostSpec) DeepCopyInto(out *HostSpec)

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

type HostSpecResource

type HostSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// ID of the vSphere cluster the host will belong to.
	// +optional
	Cluster *string `json:"cluster,omitempty" tf:"cluster"`
	// Must be set if host is a member of a managed compute_cluster resource.
	// +optional
	ClusterManaged *bool `json:"clusterManaged,omitempty" tf:"cluster_managed"`
	// Set the state of the host. If set to false then the host will be asked to disconnect.
	// +optional
	Connected *bool `json:"connected,omitempty" tf:"connected"`
	// ID of the vSphere datacenter the host will belong to.
	// +optional
	Datacenter *string `json:"datacenter,omitempty" tf:"datacenter"`
	// Force add the host to vsphere, even if it's already managed by a different vSphere instance.
	// +optional
	Force *bool `json:"force,omitempty" tf:"force"`
	// FQDN or IP address of the host.
	Hostname *string `json:"hostname" tf:"hostname"`
	// License key that will be applied to this host.
	// +optional
	License *string `json:"license,omitempty" tf:"license"`
	// Set the host's lockdown status. Default is disabled. Valid options are 'disabled', 'normal', 'strict'
	// +optional
	Lockdown *string `json:"lockdown,omitempty" tf:"lockdown"`
	// Set the host's maintenance mode. Default is false
	// +optional
	Maintenance *bool `json:"maintenance,omitempty" tf:"maintenance"`
	// Password of the administration account of the host.
	Password *string `json:"-" sensitive:"true" tf:"password"`
	// A list of tag IDs to apply to this object.
	// +optional
	Tags []string `json:"tags,omitempty" tf:"tags"`
	// Host's certificate SHA-1 thumbprint. If not set then the CA that signed the host's certificate must be trusted.
	// +optional
	Thumbprint *string `json:"thumbprint,omitempty" tf:"thumbprint"`
	// Username of the administration account of the host.
	Username *string `json:"username" tf:"username"`
}

func (*HostSpecResource) DeepCopy

func (in *HostSpecResource) DeepCopy() *HostSpecResource

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

func (*HostSpecResource) DeepCopyInto

func (in *HostSpecResource) DeepCopyInto(out *HostSpecResource)

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

type HostStatus

type HostStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

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.

type PortGroup

type PortGroup struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PortGroupSpec   `json:"spec,omitempty"`
	Status            PortGroupStatus `json:"status,omitempty"`
}

func (*PortGroup) DeepCopy

func (in *PortGroup) DeepCopy() *PortGroup

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

func (*PortGroup) DeepCopyInto

func (in *PortGroup) DeepCopyInto(out *PortGroup)

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

func (*PortGroup) DeepCopyObject

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

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

func (*PortGroup) SetupWebhookWithManager

func (r *PortGroup) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*PortGroup) ValidateCreate

func (r *PortGroup) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*PortGroup) ValidateDelete

func (r *PortGroup) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*PortGroup) ValidateUpdate

func (r *PortGroup) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type PortGroupList

type PortGroupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of PortGroup CRD objects
	Items []PortGroup `json:"items,omitempty"`
}

PortGroupList is a list of PortGroups

func (*PortGroupList) DeepCopy

func (in *PortGroupList) DeepCopy() *PortGroupList

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

func (*PortGroupList) DeepCopyInto

func (in *PortGroupList) DeepCopyInto(out *PortGroupList)

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

func (*PortGroupList) DeepCopyObject

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

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

type PortGroupSpec

type PortGroupSpec struct {
	State *PortGroupSpecResource `json:"state,omitempty" tf:"-"`

	Resource PortGroupSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*PortGroupSpec) DeepCopy

func (in *PortGroupSpec) DeepCopy() *PortGroupSpec

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

func (*PortGroupSpec) DeepCopyInto

func (in *PortGroupSpec) DeepCopyInto(out *PortGroupSpec)

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

type PortGroupSpecPorts

type PortGroupSpecPorts struct {
	// The linkable identifier for this port entry.
	// +optional
	Key *string `json:"key,omitempty" tf:"key"`
	// The MAC addresses of the network service of the virtual machine connected on this port.
	// +optional
	MacAddresses []string `json:"macAddresses,omitempty" tf:"mac_addresses"`
	// Type type of the entity connected on this port. Possible values are host (VMKkernel), systemManagement (service console), virtualMachine, or unknown.
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*PortGroupSpecPorts) DeepCopy

func (in *PortGroupSpecPorts) DeepCopy() *PortGroupSpecPorts

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

func (*PortGroupSpecPorts) DeepCopyInto

func (in *PortGroupSpecPorts) DeepCopyInto(out *PortGroupSpecPorts)

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

type PortGroupSpecResource

type PortGroupSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// List of active network adapters used for load balancing.
	// +optional
	ActiveNics []string `json:"activeNics,omitempty" tf:"active_nics"`
	// Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than that of its own.
	// +optional
	AllowForgedTransmits *bool `json:"allowForgedTransmits,omitempty" tf:"allow_forged_transmits"`
	// Controls whether or not the Media Access Control (MAC) address can be changed.
	// +optional
	AllowMACChanges *bool `json:"allowMACChanges,omitempty" tf:"allow_mac_changes"`
	// Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
	// +optional
	AllowPromiscuous *bool `json:"allowPromiscuous,omitempty" tf:"allow_promiscuous"`
	// Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used only.
	// +optional
	CheckBeacon *bool `json:"checkBeacon,omitempty" tf:"check_beacon"`
	// The effective network policy after inheritance. Note that this will look similar to, but is not the same, as the policy attributes defined in this resource.
	// +optional
	ComputedPolicy *map[string]string `json:"computedPolicy,omitempty" tf:"computed_policy"`
	// If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
	// +optional
	Failback *bool `json:"failback,omitempty" tf:"failback"`
	// The managed object ID of the host to set the virtual switch up on.
	HostSystemID *string `json:"hostSystemID" tf:"host_system_id"`
	// The linkable identifier for this port group.
	// +optional
	Key *string `json:"key,omitempty" tf:"key"`
	// The name of the port group.
	Name *string `json:"name" tf:"name"`
	// If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
	// +optional
	NotifySwitches *bool `json:"notifySwitches,omitempty" tf:"notify_switches"`
	// The ports that currently exist and are used on this port group.
	// +optional
	Ports []PortGroupSpecPorts `json:"ports,omitempty" tf:"ports"`
	// The average bandwidth in bits per second if traffic shaping is enabled.
	// +optional
	ShapingAverageBandwidth *int64 `json:"shapingAverageBandwidth,omitempty" tf:"shaping_average_bandwidth"`
	// The maximum burst size allowed in bytes if traffic shaping is enabled.
	// +optional
	ShapingBurstSize *int64 `json:"shapingBurstSize,omitempty" tf:"shaping_burst_size"`
	// Enable traffic shaping on this virtual switch or port group.
	// +optional
	ShapingEnabled *bool `json:"shapingEnabled,omitempty" tf:"shaping_enabled"`
	// The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
	// +optional
	ShapingPeakBandwidth *int64 `json:"shapingPeakBandwidth,omitempty" tf:"shaping_peak_bandwidth"`
	// List of standby network adapters used for failover.
	// +optional
	StandbyNics []string `json:"standbyNics,omitempty" tf:"standby_nics"`
	// The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or failover_explicit.
	// +optional
	TeamingPolicy *string `json:"teamingPolicy,omitempty" tf:"teaming_policy"`
	// The name of the virtual switch to bind this port group to.
	VirtualSwitchName *string `json:"virtualSwitchName" tf:"virtual_switch_name"`
	// The VLAN ID/trunk mode for this port group. An ID of 0 denotes no tagging, an ID of 1-4094 tags with the specific ID, and an ID of 4095 enables trunk mode, allowing the guest to manage its own tagging.
	// +optional
	VlanID *int64 `json:"vlanID,omitempty" tf:"vlan_id"`
}

func (*PortGroupSpecResource) DeepCopy

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

func (*PortGroupSpecResource) DeepCopyInto

func (in *PortGroupSpecResource) DeepCopyInto(out *PortGroupSpecResource)

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

type PortGroupStatus

type PortGroupStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*PortGroupStatus) DeepCopy

func (in *PortGroupStatus) DeepCopy() *PortGroupStatus

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

func (*PortGroupStatus) DeepCopyInto

func (in *PortGroupStatus) DeepCopyInto(out *PortGroupStatus)

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

type VirtualSwitch

type VirtualSwitch struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              VirtualSwitchSpec   `json:"spec,omitempty"`
	Status            VirtualSwitchStatus `json:"status,omitempty"`
}

func (*VirtualSwitch) DeepCopy

func (in *VirtualSwitch) DeepCopy() *VirtualSwitch

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

func (*VirtualSwitch) DeepCopyInto

func (in *VirtualSwitch) DeepCopyInto(out *VirtualSwitch)

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

func (*VirtualSwitch) DeepCopyObject

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

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

func (*VirtualSwitch) SetupWebhookWithManager

func (r *VirtualSwitch) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*VirtualSwitch) ValidateCreate

func (r *VirtualSwitch) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*VirtualSwitch) ValidateDelete

func (r *VirtualSwitch) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*VirtualSwitch) ValidateUpdate

func (r *VirtualSwitch) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type VirtualSwitchList

type VirtualSwitchList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of VirtualSwitch CRD objects
	Items []VirtualSwitch `json:"items,omitempty"`
}

VirtualSwitchList is a list of VirtualSwitchs

func (*VirtualSwitchList) DeepCopy

func (in *VirtualSwitchList) DeepCopy() *VirtualSwitchList

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

func (*VirtualSwitchList) DeepCopyInto

func (in *VirtualSwitchList) DeepCopyInto(out *VirtualSwitchList)

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

func (*VirtualSwitchList) DeepCopyObject

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

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

type VirtualSwitchSpec

type VirtualSwitchSpec struct {
	State *VirtualSwitchSpecResource `json:"state,omitempty" tf:"-"`

	Resource VirtualSwitchSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*VirtualSwitchSpec) DeepCopy

func (in *VirtualSwitchSpec) DeepCopy() *VirtualSwitchSpec

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

func (*VirtualSwitchSpec) DeepCopyInto

func (in *VirtualSwitchSpec) DeepCopyInto(out *VirtualSwitchSpec)

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

type VirtualSwitchSpecResource

type VirtualSwitchSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// List of active network adapters used for load balancing.
	ActiveNics []string `json:"activeNics" tf:"active_nics"`
	// Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than that of its own.
	// +optional
	AllowForgedTransmits *bool `json:"allowForgedTransmits,omitempty" tf:"allow_forged_transmits"`
	// Controls whether or not the Media Access Control (MAC) address can be changed.
	// +optional
	AllowMACChanges *bool `json:"allowMACChanges,omitempty" tf:"allow_mac_changes"`
	// Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
	// +optional
	AllowPromiscuous *bool `json:"allowPromiscuous,omitempty" tf:"allow_promiscuous"`
	// Determines how often, in seconds, a beacon should be sent to probe for the validity of a link.
	// +optional
	BeaconInterval *int64 `json:"beaconInterval,omitempty" tf:"beacon_interval"`
	// Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used only.
	// +optional
	CheckBeacon *bool `json:"checkBeacon,omitempty" tf:"check_beacon"`
	// If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
	// +optional
	Failback *bool `json:"failback,omitempty" tf:"failback"`
	// The managed object ID of the host to set the virtual switch up on.
	HostSystemID *string `json:"hostSystemID" tf:"host_system_id"`
	// Whether to advertise or listen for link discovery. Valid values are advertise, both, listen, and none.
	// +optional
	LinkDiscoveryOperation *string `json:"linkDiscoveryOperation,omitempty" tf:"link_discovery_operation"`
	// The discovery protocol type. Valid values are cdp and lldp.
	// +optional
	LinkDiscoveryProtocol *string `json:"linkDiscoveryProtocol,omitempty" tf:"link_discovery_protocol"`
	// The maximum transmission unit (MTU) of the virtual switch in bytes.
	// +optional
	Mtu *int64 `json:"mtu,omitempty" tf:"mtu"`
	// The name of the virtual switch.
	Name *string `json:"name" tf:"name"`
	// The list of network adapters to bind to this virtual switch.
	NetworkAdapters []string `json:"networkAdapters" tf:"network_adapters"`
	// If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
	// +optional
	NotifySwitches *bool `json:"notifySwitches,omitempty" tf:"notify_switches"`
	// The number of ports that this virtual switch is configured to use.
	// +optional
	NumberOfPorts *int64 `json:"numberOfPorts,omitempty" tf:"number_of_ports"`
	// The average bandwidth in bits per second if traffic shaping is enabled.
	// +optional
	ShapingAverageBandwidth *int64 `json:"shapingAverageBandwidth,omitempty" tf:"shaping_average_bandwidth"`
	// The maximum burst size allowed in bytes if traffic shaping is enabled.
	// +optional
	ShapingBurstSize *int64 `json:"shapingBurstSize,omitempty" tf:"shaping_burst_size"`
	// Enable traffic shaping on this virtual switch or port group.
	// +optional
	ShapingEnabled *bool `json:"shapingEnabled,omitempty" tf:"shaping_enabled"`
	// The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
	// +optional
	ShapingPeakBandwidth *int64 `json:"shapingPeakBandwidth,omitempty" tf:"shaping_peak_bandwidth"`
	// List of standby network adapters used for failover.
	StandbyNics []string `json:"standbyNics" tf:"standby_nics"`
	// The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or failover_explicit.
	// +optional
	TeamingPolicy *string `json:"teamingPolicy,omitempty" tf:"teaming_policy"`
}

func (*VirtualSwitchSpecResource) DeepCopy

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

func (*VirtualSwitchSpecResource) DeepCopyInto

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

type VirtualSwitchStatus

type VirtualSwitchStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*VirtualSwitchStatus) DeepCopy

func (in *VirtualSwitchStatus) DeepCopy() *VirtualSwitchStatus

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

func (*VirtualSwitchStatus) DeepCopyInto

func (in *VirtualSwitchStatus) DeepCopyInto(out *VirtualSwitchStatus)

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