controllers

package
v0.40.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: BSD-3-Clause Imports: 46 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RpaasInstanceReconciler

type RpaasInstanceReconciler struct {
	client.Client
	Log               logr.Logger
	SystemRateLimiter SystemRolloutRateLimiter
	EventRecorder     record.EventRecorder
}

RpaasInstanceReconciler reconciles a RpaasInstance object

func (*RpaasInstanceReconciler) Reconcile

func (r *RpaasInstanceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*RpaasInstanceReconciler) SetupWithManager

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

type SystemRolloutRateLimiter added in v0.39.0

type SystemRolloutRateLimiter interface {
	Reserve() (allowed bool, reservation SystemRolloutReservation)
}

func NewSystemRolloutRateLimiter added in v0.39.0

func NewSystemRolloutRateLimiter(operations int, interval time.Duration) SystemRolloutRateLimiter

type SystemRolloutReservation added in v0.39.0

type SystemRolloutReservation interface {
	Cancel()
}

func NoopReservation added in v0.39.0

func NoopReservation() SystemRolloutReservation

Jump to

Keyboard shortcuts

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