k8s

package
v0.23.1 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2026 License: Apache-2.0 Imports: 8 Imported by: 6

Documentation

Index

Constants

View Source
const (
	SubmarinerGatewayLabel = "submariner.io/gateway"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface added in v0.12.0

type Interface interface {
	ListNodesWithLabel(ctx context.Context, labelSelector string) (*v1.NodeList, error)
	ListGatewayNodes(ctx context.Context) (*v1.NodeList, error)
	AddGWLabelOnNode(ctx context.Context, nodeName string) error
	RemoveGWLabelFromWorkerNodes(ctx context.Context) error
	RemoveGWLabelFromWorkerNode(ctx context.Context, node *v1.Node) error
}

func NewInterface added in v0.12.0

func NewInterface(clientSet kubernetes.Interface) Interface

Jump to

Keyboard shortcuts

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