package
0.33.0-alpha.2
Repository: https://github.com/kubernetes/kubectl.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
NewScaler get a scaler for a given resource.
ScaleCondition is a closure around Scale that facilitates retries via util.wait.
WaitForScaleHasDesiredReplicas waits until condition scaleHasDesiredReplicas is satisfied or returns error when timeout happens.

# Structs

A PreconditionError is returned when a resource fails to match the scale preconditions passed to kubectl.
RetryParams encapsulates the retry parameters used by kubectl's scaler.
ScalePrecondition describes a condition that must be true for the scale to take place If CurrentSize == -1, it is ignored.

# Interfaces

Scaler provides an interface for resources that can be scaled.