node

package
v2.2.3-rc2+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LabelNodeName = "management.cattle.io/nodename"
)

Variables

This section is empty.

Functions

func GetEndpointNodeIP

func GetEndpointNodeIP(node *v3.Node) string

func GetMachineForNode

func GetMachineForNode(node *corev1.Node, clusterNamespace string, machineLister v3.NodeLister) (*v3.Node, error)

func GetNodeByNodeName

func GetNodeByNodeName(nodes []*v3.Node, nodeName string) *v3.Node

func GetNodeForMachine

func GetNodeForMachine(machine *v3.Node, nodeLister v1.NodeLister) (*corev1.Node, error)

func GetNodeInternalAddress

func GetNodeInternalAddress(node *corev1.Node) string

func GetNodeName

func GetNodeName(node *v3.Node) string

func IsNodeForNode

func IsNodeForNode(node *corev1.Node, machine *v3.Node) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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