Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { Scale(kclient client.Client, reqLogger logr.Logger, kd *kanaryv1alpha1.KanaryDeployment, canaryDep *appsv1beta1.Deployment) (*kanaryv1alpha1.KanaryDeploymentStatus, reconcile.Result, error) Clear(kclient client.Client, reqLogger logr.Logger, kd *kanaryv1alpha1.KanaryDeployment, canaryDep *appsv1beta1.Deployment) (*kanaryv1alpha1.KanaryDeploymentStatus, reconcile.Result, error) }
Interface scale strategy interface
func NewHPA ¶
func NewHPA(s *kanaryv1alpha1.HorizontalPodAutoscalerSpec) Interface
NewHPA returns new scale.HPA instance
func NewStatic ¶
func NewStatic(s *kanaryv1alpha1.KanaryDeploymentSpecScaleStatic) Interface
NewStatic returns new scale.Static instance
Click to show internal directories.
Click to hide internal directories.