network

package
v0.15.4 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: Apache-2.0 Imports: 22 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(ctx context.Context, client controllerClient.Client, labelSelector string) (*corev1.Pod, error)

func FindPodCommandParameter added in v0.12.0

func FindPodCommandParameter(ctx context.Context, client controllerClient.Client, 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(ctx context.Context, client controllerClient.Client, 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