hoststate

package
v21.11.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Enum

type Enum int

Enum represents the state of a host

const (
	Stopped    Enum = iota // Stopped when host is stopped
	Starting               // Starting when host is starting
	Started                // Started when host is started
	Stopping               // Stopping when host is stopping
	Error                  // Error when host is in error state
	Terminated             // Terminated when a host can be enumerated, but it's already deleted
	Unknown                // Unknown when the state is undetermined
	Any                    // Any when a valid state is received
	Failed                 // Failed when installing something on a Started host was not a success
	Deleted                // Deleted when it's not there anymore
)

Jump to

Keyboard shortcuts

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