node

package
v1.4.1-beta.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2016 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHostname

func GetHostname(hostnameOverride string) string

func GetNodeHostIP

func GetNodeHostIP(node *api.Node) (net.IP, error)

GetNodeHostIP returns the provided node's IP, based on the priority: 1. NodeInternalIP 2. NodeExternalIP 3. NodeLegacyHostIP

func GetZoneKey added in v1.4.0

func GetZoneKey(node *api.Node) string

Helper function that builds a string identifier that is unique per failure-zone Returns empty-string for no zone

func SetNodeCondition added in v1.4.0

func SetNodeCondition(c clientset.Interface, node string, condition api.NodeCondition) error

SetNodeCondition updates specific node condition with patch operation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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