package
0.0.0-20231113132835-3586578317d2
Repository: https://github.com/monimesl/operator-helper.git
Documentation: pkg.go.dev
# Functions
GetLogger get the logger instance to use.
GetManagerParams get the manager options to use.
GetWebHookCertDir returns the directory of the webhook certificates.
LeaderElectionEnabled checks if leader election is enabled.
LeaderElectionNamespace get the leader election namespace.
NamespacesToWatch get the array of namespaces to watch.
NewRestConfig creates new rest config or panic.
RequireClientset creates a singleton client set.
RequireRestClient creates a singleton rest interface.
RequireRootLogger get the root logger or panic if not yet created.
WebHooksEnabled checks if webhook is enabled.