http

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddOrUpdateCondition added in v0.7.0

AddOrUpdateCondition adds or update a condition to the HTTPScaledObject

func CreateCondition

CreateCondition initializes a new status condition

func SaveStatus

func SaveStatus(
	ctx context.Context,
	logger logr.Logger,
	cl client.Client,
	httpso *httpv1alpha1.HTTPScaledObject,
)

SaveStatus will trigger an object update to save the current status conditions

func SetMessage

SetMessage sets the optional reason for the condition

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

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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