machine

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Type

type Type int

Type represents a machine type.

const (
	// TypeInit represents a bootstrap node.
	TypeInit Type = iota
	// TypeControlPlane represents a control plane node.
	TypeControlPlane
	// TypeJoin represents a worker node.
	TypeJoin
)

func ParseType

func ParseType(t string) (Type, error)

ParseType parses string constant as Type.

func (Type) String

func (t Type) String() string

String returns the string representation of Type.

Jump to

Keyboard shortcuts

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