Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { // GenerateHorizontal portrait data for the scale target with specified metrics spec and algorithm configuration. // It returns the generated portrait data and an expected duration before next generating. GenerateHorizontal(ctx context.Context, namespace string, scaleTargetRef k8sautoscalingv2.CrossVersionObjectReference, metrics []autoscalingv1alpha1.MetricSpec, algorithm autoscalingv1alpha1.PortraitAlgorithm) (*autoscalingv1alpha1.HorizontalPortraitData, time.Duration, error) }
Interface provide methods to generate portrait data.
Click to show internal directories.
Click to hide internal directories.