Documentation ¶
Index ¶
Constants ¶
View Source
const ( SpecWarningTargetWorkloadNotSet = "Spec.targetWorkload is not set" SpecWarningStartAtTimeFormat = "startAt is not in the right format, which should be like `12:01`" )
View Source
const ( CPUType v1alpha1.TriggerType = "cpu" MemoryType v1alpha1.TriggerType = "memory" StorageType v1alpha1.TriggerType = "storage" EphemeralStorageType v1alpha1.TriggerType = "ephemeral-storage" CronType v1alpha1.TriggerType = "cron" )
Variables ¶
View Source
var ReconcileWaitResult = reconcile.Result{RequeueAfter: 30 * time.Second}
ReconcileWaitResult is the time to wait between reconciliation.
Functions ¶
This section is empty.
Types ¶
type AutoscalerReconciler ¶
type AutoscalerReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme // contains filtered or unexported fields }
AutoscalerReconciler reconciles a Autoscaler object
func (*AutoscalerReconciler) Reconcile ¶
+kubebuilder:rbac:groups=standard.oam.dev,resources=autoscalers,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=standard.oam.dev,resources=autoscalers/status,verbs=get;update;patch
func (*AutoscalerReconciler) SetupWithManager ¶
func (r *AutoscalerReconciler) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.