Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScaleHandler ¶
type ScaleHandler interface { HandleScalableObject(scalableObject interface{}) error DeleteScalableObject(scalableObject interface{}) error GetScalers(scalableObject interface{}) ([]scalers.Scaler, error) }
ScaleHandler encapsulates the logic of calling the right scalers for each ScaledObject and making the final scale decision and operation
func NewScaleHandler ¶
func NewScaleHandler(client client.Client, scaleClient *scale.ScalesGetter, reconcilerScheme *runtime.Scheme) ScaleHandler
NewScaleHandler creates a ScaleHandler object
Click to show internal directories.
Click to hide internal directories.