machines

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMachineByNode

func GetMachineByNode(c client.Client, node *v1.Node) (*mapiv1.Machine, error)

GetMachineByNode get the machine object by node object

func GetMachinesByLabelSelector

func GetMachinesByLabelSelector(c client.Client, selector *metav1.LabelSelector, namespace string) (*mapiv1.MachineList, error)

GetMachinesByLabelSelector returns machines that suit to the label selector

func GetNodeByMachine

func GetNodeByMachine(c client.Client, machine *mapiv1.Machine) (*v1.Node, error)

GetNodeByMachine get the node object by machine object

Types

This section is empty.

Jump to

Keyboard shortcuts

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