Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Clientset kubernetes.Interface
Clientset - Interface to kubernetes
Functions ¶
func CreateKubeClientSet ¶
func CreateKubeClientSet() error
CreateKubeClientSet - Returns kubeclient set
func LeaderElection ¶
func LeaderElection(clientset *kubernetes.Interface, lockName string, namespace string, runFunc func(ctx context.Context))
LeaderElection - Initializes Leader election
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.