Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SkipScaledObjectCreationAnnotation = "httpscaledobject.keda.sh/skip-scaledobject-creation"
Functions ¶
func MigrateConditions ¶ added in v0.12.0
MigrateConditions filters out old conditions that have zero LastTransitionTime. This is needed because old conditions used a "timestamp" field which doesn't map to metav1.Condition and contained duplicate Ready conditions resulting in errors.
TODO(v1): Remove this migration helper when graduating to v1.
func SaveStatus ¶
func SaveStatus( ctx context.Context, logger logr.Logger, cl client.Client, httpso *httpv1alpha1.HTTPScaledObject, ) error
SaveStatus persists the current status to the API server.
Types ¶
type HTTPScaledObjectReconciler ¶
type HTTPScaledObjectReconciler struct {
client.Client
Scheme *runtime.Scheme
ExternalScalerConfig config.ExternalScaler
BaseConfig config.Base
}
HTTPScaledObjectReconciler reconciles a HTTPScaledObject object
func (*HTTPScaledObjectReconciler) Reconcile ¶
func (r *HTTPScaledObjectReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile reconciles a newly created, deleted, or otherwise changed HTTPScaledObject
func (*HTTPScaledObjectReconciler) SetupWithManager ¶
func (r *HTTPScaledObjectReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.