Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 DeduplicateWarnings ¶ added in v1.16.0
func DeduplicateWarnings()
DeduplicateWarnings configures a client-go warning handler that deduplicates API warnings in order to not spam production logs of gardener components.
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.