node

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package node contains some utilities to describe Kubernetes nodes

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	NodeType, Role, Name, Version, Namespace, Label string

	MetricsPort int
}

Info contains all information used for creating an equivalent kubernetes node

func NewInfo

func NewInfo(nodeType, role, name, version, label string) (Info, error)

NewInfo creates a new Info

Jump to

Keyboard shortcuts

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