package
0.21.4
Repository: https://github.com/tigera/kubernetes-openapi.git
Documentation: pkg.go.dev

# Functions

NewEtcdMasterElector returns an implementation of election.MasterElector backed by etcd.
NewFake makes a new fake MasterElector.
Notify runs Elect() on m, and calls Start()/Stop() on s when the elected master starts/stops matching 'id'.

# Structs

Fake allows for testing of anything consuming a MasterElector.

# Interfaces

MasterElector is an interface for services that can elect masters.
Service represents anything that can start and stop on demand.

# Type aliases

Master is used to announce the current elected master.