network

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NSXTTypeNetwork = "nsx-t"
	// NSXTVNetSelectorKey
	// This constant is also defined in VM Operator.
	NSXTVNetSelectorKey = "ncp.vmware.com/virtual-network-name"

	CAPVDefaultNetworkLabel    = "capv.vmware.com/is-default-network"
	NetOpNetworkNameAnnotation = "netoperator.vmware.com/network-name"

	// SystemNamespace is the namespace where supervisor control plane VMs reside.
	SystemNamespace = "kube-system"
)

Variables

This section is empty.

Functions

func DummyLBNetworkProvider

func DummyLBNetworkProvider() services.NetworkProvider

DummyLBNetworkProvider returns an instance of dummy network provider that has a LB.

func DummyNetworkProvider

func DummyNetworkProvider() services.NetworkProvider

DummyNetworkProvider returns an instance of dummy network provider.

func GetNSXTVirtualNetworkName

func GetNSXTVirtualNetworkName(clusterName string) string

GetNSXTVirtualNetworkName returns the name of the NSX-T vnet object.

func NetOpNetworkProvider

func NetOpNetworkProvider(client client.Client) services.NetworkProvider

func NsxtNetworkProvider

func NsxtNetworkProvider(client client.Client, disableFW string) services.NetworkProvider

NsxtNetworkProvider returns an instance of nsx-t type network provider.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL