controller

package
v1.1.0-beta31 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Definitions for the Kubernetes Controllers

Definitions for the multicluster Kubernetes Controllers

Definitions for the Kubernetes Controllers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MulticlusterRateLimitConfigDeletionReconciler

type MulticlusterRateLimitConfigDeletionReconciler interface {
	ReconcileRateLimitConfigDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the RateLimitConfig Resource across clusters. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user

type MulticlusterRateLimitConfigReconcileLoop

type MulticlusterRateLimitConfigReconcileLoop interface {
	// AddMulticlusterRateLimitConfigReconciler adds a MulticlusterRateLimitConfigReconciler to the MulticlusterRateLimitConfigReconcileLoop.
	AddMulticlusterRateLimitConfigReconciler(ctx context.Context, rec MulticlusterRateLimitConfigReconciler, predicates ...predicate.Predicate)
}

type MulticlusterRateLimitConfigReconciler

type MulticlusterRateLimitConfigReconciler interface {
	ReconcileRateLimitConfig(clusterName string, obj *ratelimit_solo_io_v1alpha1.RateLimitConfig) (reconcile.Result, error)
}

Reconcile Upsert events for the RateLimitConfig Resource across clusters. implemented by the user

type MulticlusterRateLimitConfigReconcilerFuncs

type MulticlusterRateLimitConfigReconcilerFuncs struct {
	OnReconcileRateLimitConfig         func(clusterName string, obj *ratelimit_solo_io_v1alpha1.RateLimitConfig) (reconcile.Result, error)
	OnReconcileRateLimitConfigDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterRateLimitConfigReconcilerFuncs) ReconcileRateLimitConfig

func (*MulticlusterRateLimitConfigReconcilerFuncs) ReconcileRateLimitConfigDeletion

func (f *MulticlusterRateLimitConfigReconcilerFuncs) ReconcileRateLimitConfigDeletion(clusterName string, req reconcile.Request) error

type RateLimitConfigDeletionReconciler

type RateLimitConfigDeletionReconciler interface {
	ReconcileRateLimitConfigDeletion(req reconcile.Request) error
}

Reconcile deletion events for the RateLimitConfig Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user

type RateLimitConfigEventHandler

type RateLimitConfigEventHandler interface {
	CreateRateLimitConfig(obj *ratelimit_solo_io_v1alpha1.RateLimitConfig) error
	UpdateRateLimitConfig(old, new *ratelimit_solo_io_v1alpha1.RateLimitConfig) error
	DeleteRateLimitConfig(obj *ratelimit_solo_io_v1alpha1.RateLimitConfig) error
	GenericRateLimitConfig(obj *ratelimit_solo_io_v1alpha1.RateLimitConfig) error
}

Handle events for the RateLimitConfig Resource DEPRECATED: Prefer reconciler pattern.

type RateLimitConfigEventHandlerFuncs

type RateLimitConfigEventHandlerFuncs struct {
	OnCreate  func(obj *ratelimit_solo_io_v1alpha1.RateLimitConfig) error
	OnUpdate  func(old, new *ratelimit_solo_io_v1alpha1.RateLimitConfig) error
	OnDelete  func(obj *ratelimit_solo_io_v1alpha1.RateLimitConfig) error
	OnGeneric func(obj *ratelimit_solo_io_v1alpha1.RateLimitConfig) error
}

func (*RateLimitConfigEventHandlerFuncs) CreateRateLimitConfig

func (*RateLimitConfigEventHandlerFuncs) DeleteRateLimitConfig

func (*RateLimitConfigEventHandlerFuncs) GenericRateLimitConfig

func (*RateLimitConfigEventHandlerFuncs) UpdateRateLimitConfig

func (f *RateLimitConfigEventHandlerFuncs) UpdateRateLimitConfig(objOld, objNew *ratelimit_solo_io_v1alpha1.RateLimitConfig) error

type RateLimitConfigEventWatcher

type RateLimitConfigEventWatcher interface {
	AddEventHandler(ctx context.Context, h RateLimitConfigEventHandler, predicates ...predicate.Predicate) error
}

func NewRateLimitConfigEventWatcher

func NewRateLimitConfigEventWatcher(name string, mgr manager.Manager) RateLimitConfigEventWatcher

type RateLimitConfigFinalizer

type RateLimitConfigFinalizer interface {
	RateLimitConfigReconciler

	// name of the finalizer used by this handler.
	// finalizer names should be unique for a single task
	RateLimitConfigFinalizerName() string

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeRateLimitConfig(obj *ratelimit_solo_io_v1alpha1.RateLimitConfig) error
}

Reconcile and finalize the RateLimitConfig Resource implemented by the user

type RateLimitConfigReconcileLoop

type RateLimitConfigReconcileLoop interface {
	RunRateLimitConfigReconciler(ctx context.Context, rec RateLimitConfigReconciler, predicates ...predicate.Predicate) error
}

func NewRateLimitConfigReconcileLoop

func NewRateLimitConfigReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) RateLimitConfigReconcileLoop

type RateLimitConfigReconciler

type RateLimitConfigReconciler interface {
	ReconcileRateLimitConfig(obj *ratelimit_solo_io_v1alpha1.RateLimitConfig) (reconcile.Result, error)
}

Reconcile Upsert events for the RateLimitConfig Resource. implemented by the user

type RateLimitConfigReconcilerFuncs

type RateLimitConfigReconcilerFuncs struct {
	OnReconcileRateLimitConfig         func(obj *ratelimit_solo_io_v1alpha1.RateLimitConfig) (reconcile.Result, error)
	OnReconcileRateLimitConfigDeletion func(req reconcile.Request) error
}

func (*RateLimitConfigReconcilerFuncs) ReconcileRateLimitConfig

func (*RateLimitConfigReconcilerFuncs) ReconcileRateLimitConfigDeletion

func (f *RateLimitConfigReconcilerFuncs) ReconcileRateLimitConfigDeletion(req reconcile.Request) error

Directories

Path Synopsis
Package mock_controller is a generated GoMock package.
Package mock_controller is a generated GoMock package.

Jump to

Keyboard shortcuts

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