network

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2022 License: Apache-2.0 Imports: 19 Imported by: 2

Documentation

Index

Constants

View Source
const (
	OvnNBDB            = "OVN_NBDB"
	OvnSBDB            = "OVN_SBDB"
	OvnNBDBDefaultPort = 6641
	OvnSBDBDefaultPort = 6642
)

Variables

This section is empty.

Functions

func FindPod added in v0.12.0

func FindPod(clientSet kubernetes.Interface, labelSelector string) (*v1.Pod, error)

nolint:nilnil // Intentional as the purpose is to find.

func FindPodCommandParameter added in v0.12.0

func FindPodCommandParameter(clientSet kubernetes.Interface, labelSelector, parameter string) (string, error)

Types

type ClusterNetwork

type ClusterNetwork struct {
	PodCIDRs       []string
	ServiceCIDRs   []string
	NetworkPlugin  string
	GlobalCIDR     string
	PluginSettings map[string]string
}

func Discover

func Discover(dynClient dynamic.Interface, clientSet kubernetes.Interface, operatorClient operatorclientset.Interface,
	operatorNamespace string,
) (*ClusterNetwork, error)

func (*ClusterNetwork) IsComplete

func (cn *ClusterNetwork) IsComplete() bool

func (*ClusterNetwork) Log added in v0.5.0

func (cn *ClusterNetwork) Log(logger logr.Logger)

func (*ClusterNetwork) Show

func (cn *ClusterNetwork) Show()

Jump to

Keyboard shortcuts

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