package
2.16.1
Repository: https://github.com/elastic/cloud-on-k8s.git
Documentation: pkg.go.dev

# Functions

NewNodeShutdown creates a new NodeShutdown struct restricted to one type of shutdown (typ); podToNodeID is mapping from K8s Pod name to Elasticsearch node ID; reason is an arbitrary bit of metadata that will be attached to each node shutdown request in Elasticsearch and can help to track and audit shutdown requests.
No description provided by the author

# Variables

No description provided by the author

# Structs

NodeShutdown implements the shutdown.Interface with the Elasticsearch node shutdown API.
NodeShutdownStatus describes the current shutdown status of an Elasticsearch node/Pod.

# Interfaces

Interface defines methods that both legacy shard migration based shutdown and new API based shutdowns implement to prepare node shutdowns.
No description provided by the author

# Type aliases

ClearCondition predicate that can be used to limit the Clear function.