Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextFromStopChannel ¶
ContextFromStopChannel creates a new context from a given stop channel.
func CreateRecorder ¶
func CreateRecorder(kubeClient k8s.Interface, eventSourceName string) record.EventRecorder
CreateRecorder creates a record.EventRecorder that is not limited to a namespace having a specific eventSourceName.
func MakeLeaderElectionConfig ¶
func MakeLeaderElectionConfig(cfg componentbaseconfig.LeaderElectionConfiguration, lockObjectNamespace string, lockObjectName string, client k8s.Interface, recorder record.EventRecorder) (*leaderelection.LeaderElectionConfig, error)
MakeLeaderElectionConfig creates a *leaderelection.LeaderElectionConfig from a set of configurations
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.