network

package
v0.19.0-m2 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: Apache-2.0 Imports: 22 Imported by: 2

Documentation

Index

Constants

This section is empty.

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