Versions in this module Expand all Collapse all v0 v0.0.3 May 12, 2022 Changes in this version + type Config struct + Callbacks leaderelection.LeaderCallbacks + Client clientset.Interface + ElectionID string + Logger *zap.SugaredLogger + type Elector struct + Elector *leaderelection.LeaderElector + func NewElector(config Config) Elector + func (e Elector) IsLeader() bool + func (e Elector) Run(ctx context.Context) + type PodInfo struct + Labels map[string]string + Name string + Namespace string + NodeIP string + func GetPodDetails() (*PodInfo, error)