# Functions

CreateControllerContext creates the ControllerContext with the ClientBuilder.
CreateResourceLock returns an interface for the resource lock.
NewClientBuilder returns a *ClientBuilder with the given kubeconfig.

# Constants

LeaseDuration is the default duration for the leader election lease.
RenewDeadline is the default duration for the leader renewal.
RetryPeriod is the default duration for the leader electrion retrial.

# Structs

ClientBuilder can create a variety of kubernetes client interface with its embeded rest.Config.
ControllerContext stores all the informers for a variety of kubernetes objects.