clusterstate

package
v22.11.6 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

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
)

Jump to

Keyboard shortcuts

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