kubernetes

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyConfigMap

func ApplyConfigMap(ctx context.Context, client kubernetes.Interface, namespace, name string, configMap map[string]string) error

ApplyConfigMap creates or updates given config map.

func GetNodes

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

GetNodes returns all nodes of this cluster.

func NodeNamesOfNodes

func NodeNamesOfNodes(nodes []v1.Node) string

NodeNamesOfNodes returns the node names of the nodess

func UpdateNodeLabelsWithBackoff added in v0.7.2

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