Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultZapcoreLevel = zapcore.InfoLevel First = 100 ThereAfter = 100 DefaultMaxFileSize = 500 DefaultMaxFileAge = 7 DefaultMaxFileRotation = 3 DefaultLevel = "info" DefaultDevMode = true )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OperatorConfig ¶
type OperatorConfig struct { MetricsAddr string EnableLeaderElection bool ProbeAddr string EnableProfiler bool ServiceAccountName string PrefixName string // Prefix of the name of all objects created when the operator was deployed WebhookCertSecret string // when this is empty we will generate the webhook cert DevMode bool // If the webhook is enabled but we don't require a webhook config patch. // This should be true only if the webhook CA bundle was provided during // deployment or using cert-manager, which handles the CA bundle injection // itself. SkipWebhookPatch bool Logging }
func (*OperatorConfig) GetLogger ¶
func (o *OperatorConfig) GetLogger() *zap.Logger
getLogger is a wrapper that calls other functions to build a logger.
func (*OperatorConfig) SetFlagArgs ¶
func (o *OperatorConfig) SetFlagArgs()
SetFlagArgs define flags with specified names and default values
Click to show internal directories.
Click to hide internal directories.