const requeueInterval …
type CacheSyncWaiter …
type LeaseCandidate …
func NewCandidate(clientset kubernetes.Interface,
candidateNamespace string,
candidateName string,
targetLease string,
binaryVersion, emulationVersion string,
preferredStrategies []v1.CoordinatedLeaseStrategy,
) (*LeaseCandidate, CacheSyncWaiter, error) { … }
func (c *LeaseCandidate) Run(ctx context.Context) { … }
func (c *LeaseCandidate) runWorker(ctx context.Context) { … }
func (c *LeaseCandidate) processNextWorkItem(ctx context.Context) bool { … }
func (c *LeaseCandidate) enqueueLease() { … }
func (c *LeaseCandidate) ensureLease(ctx context.Context) error { … }
func (c *LeaseCandidate) newLeaseCandidate() *v1alpha1.LeaseCandidate { … }