clusterstate

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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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