Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CustomLoggerSetup func() logr.Logger
Functions ¶
This section is empty.
Types ¶
type DefaultConfig ¶
type DefaultConfig struct { MetricsAddr string `long:"metrics-bind-address" description:"The address the metrics endpoint binds to." default:":8080"` ProbeAddr string `long:"health-probe-bind-address" description:"The address the probe endpoint binds to." default:":8081"` EnableLeaderElection bool `long:"enable-leader-election" description:"LeaderElection configMap name"` LoggingLevel string `long:"loglevel" description:"Can be debug or info" default:"info"` LoggingType string `long:"logtype" description:"Can be prod or dev" default:"dev"` ConfigPath string `long:"config" description:"The path to an additional custom operator's config'" default:""` LocalEnv bool `long:"localEnv" description:"DEBUG ONLY!"` Kubeconfig string `` /* 129-byte string literal not displayed */ }
func (DefaultConfig) GetDefaultConfig ¶ added in v0.1.3
func (d DefaultConfig) GetDefaultConfig() DefaultConfig
type OperatorConfig ¶
type OperatorConfig interface { GetDefaultConfig() DefaultConfig // Initialize may help to do additional initialization during configuration instantiation Initialize() error }
Click to show internal directories.
Click to hide internal directories.