confload

package
v2.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package confload handles loading in configuration - parsing YAML and environment variable input into a Custom Pod Autoscaler configuration struct. Contains a set of defaults that can be overridden by provided YAML and env vars.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(configFileData []byte, envVars map[string]string) (*config.Config, error)

Load loads in the default configuration, then overrides it from the config file, then any env vars set.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL