Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScaleHandler ¶
type ScaleHandler interface { HandleScalableObject(ctx context.Context, scalableObject interface{}) error DeleteScalableObject(ctx context.Context, scalableObject interface{}) error GetScalersCache(ctx context.Context, scalableObject interface{}) (*cache.ScalersCache, error) ClearScalersCache(ctx context.Context, scalableObject interface{}) 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, globalHTTPTimeout time.Duration, recorder record.EventRecorder) ScaleHandler
NewScaleHandler creates a ScaleHandler object
Click to show internal directories.
Click to hide internal directories.