configs

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 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 added in v0.1.8

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 added in v0.1.7

func WebHooksEnabled() bool

LeaderElectionEnabled checks if leader election 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