nodes

package
v0.14.9 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllWorkerNames

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

GetAllWorkerNames returns all worker nodes.

func LabelAnyAsGateway

func LabelAnyAsGateway(clientset kubernetes.Interface) (bool, error)

LabelAnyAsGateway labels any worker node as a gateway.

func LabelAsGateway

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

LabelAsGateway labels the specified node as a gateway.

func ListGateways

func ListGateways(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