Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Autoscaler ¶
type Autoscaler interface { Reconcile() (*autoscalingv2.HorizontalPodAutoscaler, error) SetControllerReferences(owner metav1.Object, scheme *runtime.Scheme) error }
Autoscaler Interface implemented by all autoscalers
type AutoscalerReconciler ¶
type AutoscalerReconciler struct { Autoscaler Autoscaler // contains filtered or unexported fields }
AutoscalerReconciler is the struct of Raw K8S Object
func NewAutoscalerReconciler ¶
func NewAutoscalerReconciler(client client.Client, scheme *runtime.Scheme, componentMeta metav1.ObjectMeta, componentExt *v1beta1.ComponentExtensionSpec) (*AutoscalerReconciler, error)
func (*AutoscalerReconciler) Reconcile ¶
func (r *AutoscalerReconciler) Reconcile() error
Reconcile ...
type NoOpAutoscaler ¶ added in v0.12.0
type NoOpAutoscaler struct{}
NoOpAutoscaler Autoscaler that does nothing. Can be used to disable creation of autoscaler resources.
func (*NoOpAutoscaler) Reconcile ¶ added in v0.12.0
func (*NoOpAutoscaler) Reconcile() (*autoscalingv2.HorizontalPodAutoscaler, error)
func (*NoOpAutoscaler) SetControllerReferences ¶ added in v0.12.0
Click to show internal directories.
Click to hide internal directories.