Documentation ¶
Overview ¶
Package config provides configuration options for the Predictive Horizontal Pod Autoscaler
Index ¶
Constants ¶
View Source
const ( // DecisionMaximum means use the highest predicted value from the models DecisionMaximum = "maximum" // DecisionMinimum means use the lowest predicted value from the models DecisionMinimum = "minimum" // DecisionMean means use the mean average of predicted values DecisionMean = "mean" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Models []*Model `yaml:"models"` DecisionType string `yaml:"decisionType"` DBPath string `yaml:"dbPath"` MigrationPath string `yaml:"migrationPath"` }
Config holds the configuration of the Predictive element of the PHPA
func LoadConfig ¶
LoadConfig takes in the predictive config as a byte array and uses it to build the config, overriding default values
Click to show internal directories.
Click to hide internal directories.