Documentation ¶
Overview ¶
Definitions for the Kubernetes Controllers
Definitions for the multicluster Kubernetes Controllers ¶
Definitions for the Kubernetes Controllers
Index ¶
- type MulticlusterRateLimitConfigDeletionReconciler
- type MulticlusterRateLimitConfigReconcileLoop
- type MulticlusterRateLimitConfigReconciler
- type MulticlusterRateLimitConfigReconcilerFuncs
- func (f *MulticlusterRateLimitConfigReconcilerFuncs) ReconcileRateLimitConfig(clusterName string, obj *ratelimit_solo_io_v1alpha1.RateLimitConfig) (reconcile.Result, error)
- func (f *MulticlusterRateLimitConfigReconcilerFuncs) ReconcileRateLimitConfigDeletion(clusterName string, req reconcile.Request) error
- type RateLimitConfigDeletionReconciler
- type RateLimitConfigEventHandler
- type RateLimitConfigEventHandlerFuncs
- func (f *RateLimitConfigEventHandlerFuncs) CreateRateLimitConfig(obj *ratelimit_solo_io_v1alpha1.RateLimitConfig) error
- func (f *RateLimitConfigEventHandlerFuncs) DeleteRateLimitConfig(obj *ratelimit_solo_io_v1alpha1.RateLimitConfig) error
- func (f *RateLimitConfigEventHandlerFuncs) GenericRateLimitConfig(obj *ratelimit_solo_io_v1alpha1.RateLimitConfig) error
- func (f *RateLimitConfigEventHandlerFuncs) UpdateRateLimitConfig(objOld, objNew *ratelimit_solo_io_v1alpha1.RateLimitConfig) error
- type RateLimitConfigEventWatcher
- type RateLimitConfigFinalizer
- type RateLimitConfigReconcileLoop
- type RateLimitConfigReconciler
- type RateLimitConfigReconcilerFuncs
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) }
func NewMulticlusterRateLimitConfigReconcileLoop ¶
func NewMulticlusterRateLimitConfigReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterRateLimitConfigReconcileLoop
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 (f *MulticlusterRateLimitConfigReconcilerFuncs) ReconcileRateLimitConfig(clusterName string, obj *ratelimit_solo_io_v1alpha1.RateLimitConfig) (reconcile.Result, error)
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 (f *RateLimitConfigEventHandlerFuncs) CreateRateLimitConfig(obj *ratelimit_solo_io_v1alpha1.RateLimitConfig) error
func (*RateLimitConfigEventHandlerFuncs) DeleteRateLimitConfig ¶
func (f *RateLimitConfigEventHandlerFuncs) DeleteRateLimitConfig(obj *ratelimit_solo_io_v1alpha1.RateLimitConfig) error
func (*RateLimitConfigEventHandlerFuncs) GenericRateLimitConfig ¶
func (f *RateLimitConfigEventHandlerFuncs) GenericRateLimitConfig(obj *ratelimit_solo_io_v1alpha1.RateLimitConfig) error
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
}
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 (f *RateLimitConfigReconcilerFuncs) ReconcileRateLimitConfig(obj *ratelimit_solo_io_v1alpha1.RateLimitConfig) (reconcile.Result, error)
func (*RateLimitConfigReconcilerFuncs) ReconcileRateLimitConfigDeletion ¶
func (f *RateLimitConfigReconcilerFuncs) ReconcileRateLimitConfigDeletion(req reconcile.Request) error