k8s

package
v0.19.1 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 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(labelSelector string) (*v1.NodeList, error)
	ListGatewayNodes() (*v1.NodeList, error)
	AddGWLabelOnNode(nodeName string) error
	RemoveGWLabelFromWorkerNodes() error
	RemoveGWLabelFromWorkerNode(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