kubernetes

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNodes

func GetNodes(ctx context.Context, client clientset.Interface) ([]v1.Node, error)

GetNodes returns all nodes of this cluster.

func NodeAddress added in v0.9.2

func NodeAddress(node v1.Node) (string, error)

func NodeNamesOfNodes

func NodeNamesOfNodes(nodes []v1.Node) string

NodeNamesOfNodes returns the node names of the nodes

func UpdateNodeAnnotationsWithBackoff added in v0.9.2

func UpdateNodeAnnotationsWithBackoff(ctx context.Context, client clientset.Interface, nodeName string, annotations map[string]string, backoff wait.Backoff) error

UpdateNodeAnnotationsWithBackoff updates labels on a given node with a given backoff retry.

func UpdateNodeLabelsWithBackoff added in v0.7.2

func UpdateNodeLabelsWithBackoff(ctx context.Context, client clientset.Interface, nodeName string, labels map[string]string, backoff wait.Backoff) error

UpdateNodeLabelsWithBackoff updates labels on a given node with a given backoff retry.

Types

This section is empty.

Jump to

Keyboard shortcuts

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