Versions in this module Expand all Collapse all v0 v0.0.0 Dec 15, 2018 Changes in this version + const MachineTargetFinalizer + var ErrTargetMissingAnnotations = errors.New("missing min or max annotation") + var ErrUnsupportedTarget = errors.New("unsupported MachineAutoscaler target") + var SupportedTargetGVKs = []schema.GroupVersionKind + func SupportedTarget(gvk schema.GroupVersionKind) bool + type MachineTarget struct + func (mt *MachineTarget) GetLimits() (min, max int, err error) + func (mt *MachineTarget) NeedsUpdate(min, max int) bool + func (mt *MachineTarget) RemoveLimits() + func (mt *MachineTarget) SetLimits(min, max int) + type Reconciler struct + func NewReconciler(mgr manager.Manager) *Reconciler + func (r *Reconciler) AddToManager(mgr manager.Manager) error + func (r *Reconciler) EnsureFinalizer(ma *autoscalingv1alpha1.MachineAutoscaler) error + func (r *Reconciler) FinalizeTarget(target *MachineTarget) error + func (r *Reconciler) GetTarget(ma *autoscalingv1alpha1.MachineAutoscaler) (*MachineTarget, error) + func (r *Reconciler) Reconcile(request reconcile.Request) (reconcile.Result, error) + func (r *Reconciler) RemoveFinalizer(ma *autoscalingv1alpha1.MachineAutoscaler) error + func (r *Reconciler) UpdateTarget(target *MachineTarget, min, max int) error