configs

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLogger

func GetLogger(operatorName string, opts ...zap.Opts) logr.Logger

GetLogger get the logger instance to use

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

func LeaderElectionNamespace(operatorName string) string

LeaderElectionNamespace get the leader election namespace

func NamespacesToWatch

func NamespacesToWatch() []string

NamespacesToWatch get the array of namespaces to watch

func WebHooksEnabled

func WebHooksEnabled() bool

WebHooksEnabled checks if webhook is enabled

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL