nodes

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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllWorkerNames

func GetAllWorkerNames(ctx context.Context, clientset kubernetes.Interface) ([]string, error)

GetAllWorkerNames returns all worker nodes.

func LabelAsGateway

func LabelAsGateway(ctx context.Context, clientset kubernetes.Interface, nodeName string) error

LabelAsGateway labels the specified node as a gateway.

func ListGateways

func ListGateways(ctx context.Context, clientset kubernetes.Interface) ([]string, error)

ListGateways returns the names of all node labeled as a gateway.

Types

This section is empty.

Jump to

Keyboard shortcuts

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