Documentation
¶
Index ¶
Constants ¶
View Source
const ( SkipScaledObjectCreationAnnotation = "httpscaledobject.keda.sh/skip-scaledobject-creation" OrphanScaledObjectAnnotation = "httpscaledobject.keda.sh/orphan-scaledobject" )
Variables ¶
This section is empty.
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
// contains filtered or unexported fields
}
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.
type InterceptorRouteReconciler ¶ added in v0.14.0
InterceptorRouteReconciler reconciles InterceptorRoute objects.
func (*InterceptorRouteReconciler) SetupWithManager ¶ added in v0.14.0
func (r *InterceptorRouteReconciler) SetupWithManager(mgr ctrl.Manager) error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.