node

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	Client kubernetes.Interface
}

Node represents a Kubernetes node API

func (*Node) GetNode

func (n *Node) GetNode(nodeName string) (*corev1.Node, error)

GetNode returns error if the given node cannot be found

func (*Node) GetProviderID

func (n *Node) GetProviderID(nodeName string) (string, string, error)

GetProviderID returns a cloud provider specific ID for the given Kubernetes node

Jump to

Keyboard shortcuts

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