Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Namespace string `env:"NAMESPACE" envDefault:"default"` LeaderElectionEnabled bool `env:"LEADERELECTION_ENABLED" envDefault:"true"` KubeConfigFile string KubeAPIServer string HealthCheckAddr string MetricsAddr string Redis config.Redis }
Config contains configuration for redis-operator
func NewRedisOperatorConfig ¶
func NewRedisOperatorConfig() *Config
NewRedisOperatorConfig builds and returns a redis-operator Config
func (*Config) ParseEnvironment ¶
ParseEnvironment parses Config for environment variables
Click to show internal directories.
Click to hide internal directories.