kubernetes

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyConfigMap

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

Apply inserts 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 UpdateNodeWithBackoff

func UpdateNodeWithBackoff(client clientset.Interface, node v1.Node, backoff wait.Backoff) error

UpdateNodeWithBackoff update 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