Documentation ¶
Overview ¶
Package clusterstate is an enumeration of the possible states of a Cluster
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 node
const ( // Unknown the cluster is in unknown state Unknown Enum = iota // Nominal the cluster is started and fully operational Nominal // Degraded the cluster is running but some key components are failing (typically a master) Degraded // Stopped the cluster is stopped Stopped // Initializing the cluster is initializing Initializing // Created the cluster is ready to be initialized Created // Creating the cluster is currently created Creating // Error when an error occurred on gathering cluster state Error // Removed tells the struct still exist but the underlying cluster has been totally wiped out Removed // Stopping the cluster is stopping Stopping // Starting the cluster is starting Starting )
Click to show internal directories.
Click to hide internal directories.