package
0.0.0-20210727112111-33bb21918eae
Repository: https://github.com/force12io/force12.git
Documentation: pkg.go.dev
# Functions
NewEnvVarConfig gets a new EnvVarConfig.
NewHardcodedConfig gets a new hardcoded config.
NewKubeLabelConfig gets a new KubeLabelConfig.
NewLabelConfig gets a new LabelConfig.
NewServerConfig gets a new ServerConfig.
# Structs
EnvVarConfig is used when we retrieve config from an environment variable.
HardcodedConfig is used for testing.
KubeLabelConfig is used when we retrieve get image config from the Microscaling server and then get label config from MicroBadger APIs.
LabelConfig is used when we retrieve get image config from the Microscaling server and then get label config from MicroBadger APIs.
ServerConfig is used when we retrieve config over the API from the server.
# Interfaces
Config is an interface for retrieving task config - could be hardcoded, from the server, from a file etc.