package
12.0.0+incompatible
Repository: https://github.com/kubernetes/client-go.git
Documentation: pkg.go.dev
# Functions
NewLeaderElector creates a LeaderElector from a LeaderElectionConfig.
NewLeaderHealthzAdaptor creates a basic healthz adaptor to monitor a leader election.
RunOrDie starts a client with the provided config or panics if the config fails to validate.
SetProvider sets the metrics provider for all subsequently created work queues.
# Structs
HealthzAdaptor associates the /healthz endpoint with the LeaderElection object.
LeaderCallbacks are callbacks that are triggered during certain lifecycle events of the LeaderElector.
LeaderElector is a leader election client.
# Interfaces
MetricsProvider generates various metrics used by the leader election.
GaugeMetric represents a single numerical value that can arbitrarily go up and down.