const LeaderElectionRecordAnnotationKey …
const endpointsResourceLock …
const configMapsResourceLock …
const LeasesResourceLock …
const endpointsLeasesResourceLock …
const configMapsLeasesResourceLock …
type LeaderElectionRecord …
type EventRecorder …
type ResourceLockConfig …
type Interface …
func New(lockType string, ns string, name string, coreClient corev1.CoreV1Interface, coordinationClient coordinationv1.CoordinationV1Interface, rlc ResourceLockConfig) (Interface, error) { … }
func NewFromKubeconfig(lockType string, ns string, name string, rlc ResourceLockConfig, kubeconfig *restclient.Config, renewDeadline time.Duration) (Interface, error) { … }