cni

package
v0.19.0-m0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: Apache-2.0 Imports: 4 Imported by: 9

Documentation

Index

Constants

View Source
const (
	Generic       = "generic"
	Calico        = "calico"
	CanalFlannel  = "canal-flannel"
	Flannel       = "flannel"
	KindNet       = "kindnet"
	OpenShiftSDN  = "OpenShiftSDN"
	OVNKubernetes = "OVNKubernetes"
	WeaveNet      = "weave-net"
)

Supported network plugins.

Variables

View Source
var DiscoverFunc func(clusterCIDRs []string) (*Interface, error)

DiscoverFunc is a hook for unit tests.

Functions

func GetNetworkPlugins added in v0.14.0

func GetNetworkPlugins() []string

Types

type Interface added in v0.18.0

type Interface struct {
	Name      string
	IPAddress string
}

func Discover added in v0.18.0

func Discover(clusterCIDRs []string) (*Interface, error)

Jump to

Keyboard shortcuts

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