Documentation ¶
Index ¶
- Constants
- Variables
- func GetAutoScaler(c *p.Provider) (p.ClowderProvider, error)
- func NewAutoScaleProviderRouter(p *providers.Provider) (providers.ClowderProvider, error)
- func NewNoneAutoScalerProvider(p *providers.Provider) (providers.ClowderProvider, error)
- func ProvideKedaAutoScaler(app *crd.ClowdApp, c *config.AppConfig, asp *providers.Provider, ...) error
- func ProvideSimpleAutoScaler(app *crd.ClowdApp, appConfig *config.AppConfig, sp *providers.Provider, ...) error
Constants ¶
View Source
const ( SIMPLE_HPA = "simple_hpa" CLOWD_API_VERSION = "clowd.redhat.com/v1alpha1" CLOWD_KIND = "ClowdApp" DEPLOYMENT_API_VERSION = "apps/v1" DEPLOYMENT_KIND = "Deployment" )
View Source
const ENABLED = "enabled"
View Source
const KEDA = "keda"
Variables ¶
View Source
var CoreAutoScaler = rc.NewMultiResourceIdent(ProvName, "core_autoscaler", &keda.ScaledObject{})
CoreAutoScaler is the config that is presented as the cdappconfig.json file.
View Source
var ProvName = "autoscaler"
ProvName sets the provider name identifier
Functions ¶
func GetAutoScaler ¶
func GetAutoScaler(c *p.Provider) (p.ClowderProvider, error)
GetAutoscaler returns the correct end provider.
func NewAutoScaleProviderRouter ¶ added in v0.43.0
func NewAutoScaleProviderRouter(p *providers.Provider) (providers.ClowderProvider, error)
func NewNoneAutoScalerProvider ¶ added in v0.24.0
func NewNoneAutoScalerProvider(p *providers.Provider) (providers.ClowderProvider, error)
NewNoneDBProvider returns a new none db provider object.
func ProvideKedaAutoScaler ¶ added in v0.43.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.