autoscaler

package
v0.38.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoscaleFn

func AutoscaleFn(initialDeployment *kapps.Deployment, apiSpec *spec.API, getInFlightFn GetInFlightFunc) (func() error, error)

AutoscaleFn returns the autoscaler function

Types

type GetInFlightFunc

type GetInFlightFunc func(apiName string, window time.Duration) (*float64, error)

GetInFlightFunc is the function signature used by the autoscaler to retrieve the number of in-flight requests / messages

Jump to

Keyboard shortcuts

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