Documentation ¶
Index ¶
- func GetLogger(operatorName string, opts ...zap.Opts) logr.Logger
- func GetManagerParams(scheme *runtime.Scheme, operatorName, domainName string) (*rest.Config, ctrl.Options)
- func GetWebHookCertDir() string
- func LeaderElectionEnabled() bool
- func LeaderElectionNamespace(operatorName string) string
- func NamespacesToWatch() []string
- func WebHooksEnabled() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetManagerParams ¶
func GetManagerParams(scheme *runtime.Scheme, operatorName, domainName string) (*rest.Config, ctrl.Options)
GetManagerParams get the manager options to use
func GetWebHookCertDir ¶
func GetWebHookCertDir() string
GetWebHookCertDir returns the directory of the webhook certificates
func LeaderElectionEnabled ¶
func LeaderElectionEnabled() bool
LeaderElectionEnabled checks if leader election is enabled
func LeaderElectionNamespace ¶
LeaderElectionNamespace get the leader election namespace
func NamespacesToWatch ¶
func NamespacesToWatch() []string
NamespacesToWatch get the array of namespaces to watch
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.