Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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 the operator's config'" default:"/etc/k8s-operator/config.yaml"`
LocalEnv bool `long:"localEnv" description:"DEBUG ONLY!"`
Kubeconfig string `` /* 129-byte string literal not displayed */
}
func (DefaultConfig) LogLevel ¶ added in v0.1.1
func (d DefaultConfig) LogLevel() string
func (DefaultConfig) LogType ¶ added in v0.1.1
func (d DefaultConfig) LogType() string
type OperatorConfig ¶
Click to show internal directories.
Click to hide internal directories.