Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
MetricsCheckInterval int `envconfig:"METRICS_CHECK_INTERVAL" required:"true"`
}
Config represents the configuration options for zeroscaler nolint: lll
func GetConfigFromEnvironment ¶
GetConfigFromEnvironment returns configuration derived from environment variables
func NewConfigWithDefaults ¶
func NewConfigWithDefaults() Config
NewConfigWithDefaults returns a Config object with default values already applied. Callers are then free to set custom values for the remaining fields and/or override default values.
type Zeroscaler ¶
Zeroscaler interface definition.
func NewZeroscaler ¶
func NewZeroscaler(cfg Config, kubeClient kubernetes.Interface) Zeroscaler
NewZeroscaler creates and returns a new Zeroscaler interface.
Click to show internal directories.
Click to hide internal directories.