Documentation
¶
Index ¶
Constants ¶
View Source
const ( ReconcileErrorDuration = 10 * time.Minute ReconcileSuccessDuration = 1 * time.Minute )
Variables ¶
View Source
var ( AppsResources = []string{"deployments", "statefulsets"} HpaResources = []string{"horizontalpodautoscalers", "hpa", "scaledobjects"} ErrMixedAppsHPA = errors.New("mixing apps and hpa resources is not allowed") ErrLoadRestorePeriod = errors.New("unable to load restore period") ErrLoadPeriod = errors.New("unable to load period") ErrRunOncePeriod = errors.New("run once period") )
Functions ¶
func IgnoreDeletionPredicate ¶
func ValidatePeriod ¶
func ValidatePeriod(periods []*cloudscaleriov1alpha1.ScalerPeriod, status *cloudscaleriov1alpha1.ScalerStatus) (*periodPkg.Period, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.