http

package
v0.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2026 License: Apache-2.0 Imports: 26 Imported by: 1

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

func MigrateConditions(conditions []metav1.Condition) []metav1.Condition

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

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

type InterceptorRouteReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

InterceptorRouteReconciler reconciles InterceptorRoute objects.

func (*InterceptorRouteReconciler) Reconcile added in v0.14.0

func (*InterceptorRouteReconciler) SetupWithManager added in v0.14.0

func (r *InterceptorRouteReconciler) SetupWithManager(mgr ctrl.Manager) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL