Documentation ¶
Overview ¶
Definitions for the Kubernetes Controllers
Definitions for the multicluster Kubernetes Controllers ¶
Definitions for the Kubernetes Controllers
Index ¶
- type MulticlusterWasmPluginDeletionReconciler
- type MulticlusterWasmPluginReconcileLoop
- type MulticlusterWasmPluginReconciler
- type MulticlusterWasmPluginReconcilerFuncs
- type WasmPluginDeletionReconciler
- type WasmPluginEventHandler
- type WasmPluginEventHandlerFuncs
- func (f *WasmPluginEventHandlerFuncs) CreateWasmPlugin(obj *extensions_istio_io_v1alpha1.WasmPlugin) error
- func (f *WasmPluginEventHandlerFuncs) DeleteWasmPlugin(obj *extensions_istio_io_v1alpha1.WasmPlugin) error
- func (f *WasmPluginEventHandlerFuncs) GenericWasmPlugin(obj *extensions_istio_io_v1alpha1.WasmPlugin) error
- func (f *WasmPluginEventHandlerFuncs) UpdateWasmPlugin(objOld, objNew *extensions_istio_io_v1alpha1.WasmPlugin) error
- type WasmPluginEventWatcher
- type WasmPluginFinalizer
- type WasmPluginReconcileLoop
- type WasmPluginReconciler
- type WasmPluginReconcilerFuncs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MulticlusterWasmPluginDeletionReconciler ¶
type MulticlusterWasmPluginDeletionReconciler interface {
ReconcileWasmPluginDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the WasmPlugin 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 MulticlusterWasmPluginReconcileLoop ¶
type MulticlusterWasmPluginReconcileLoop interface { // AddMulticlusterWasmPluginReconciler adds a MulticlusterWasmPluginReconciler to the MulticlusterWasmPluginReconcileLoop. AddMulticlusterWasmPluginReconciler(ctx context.Context, rec MulticlusterWasmPluginReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterWasmPluginReconcileLoop ¶
func NewMulticlusterWasmPluginReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterWasmPluginReconcileLoop
type MulticlusterWasmPluginReconciler ¶
type MulticlusterWasmPluginReconciler interface {
ReconcileWasmPlugin(clusterName string, obj *extensions_istio_io_v1alpha1.WasmPlugin) (reconcile.Result, error)
}
Reconcile Upsert events for the WasmPlugin Resource across clusters. implemented by the user
type MulticlusterWasmPluginReconcilerFuncs ¶
type MulticlusterWasmPluginReconcilerFuncs struct { OnReconcileWasmPlugin func(clusterName string, obj *extensions_istio_io_v1alpha1.WasmPlugin) (reconcile.Result, error) OnReconcileWasmPluginDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterWasmPluginReconcilerFuncs) ReconcileWasmPlugin ¶
func (f *MulticlusterWasmPluginReconcilerFuncs) ReconcileWasmPlugin(clusterName string, obj *extensions_istio_io_v1alpha1.WasmPlugin) (reconcile.Result, error)
func (*MulticlusterWasmPluginReconcilerFuncs) ReconcileWasmPluginDeletion ¶
func (f *MulticlusterWasmPluginReconcilerFuncs) ReconcileWasmPluginDeletion(clusterName string, req reconcile.Request) error
type WasmPluginDeletionReconciler ¶
type WasmPluginDeletionReconciler interface {
ReconcileWasmPluginDeletion(req reconcile.Request) error
}
Reconcile deletion events for the WasmPlugin Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type WasmPluginEventHandler ¶
type WasmPluginEventHandler interface { CreateWasmPlugin(obj *extensions_istio_io_v1alpha1.WasmPlugin) error UpdateWasmPlugin(old, new *extensions_istio_io_v1alpha1.WasmPlugin) error DeleteWasmPlugin(obj *extensions_istio_io_v1alpha1.WasmPlugin) error GenericWasmPlugin(obj *extensions_istio_io_v1alpha1.WasmPlugin) error }
Handle events for the WasmPlugin Resource DEPRECATED: Prefer reconciler pattern.
type WasmPluginEventHandlerFuncs ¶
type WasmPluginEventHandlerFuncs struct { OnCreate func(obj *extensions_istio_io_v1alpha1.WasmPlugin) error OnUpdate func(old, new *extensions_istio_io_v1alpha1.WasmPlugin) error OnDelete func(obj *extensions_istio_io_v1alpha1.WasmPlugin) error OnGeneric func(obj *extensions_istio_io_v1alpha1.WasmPlugin) error }
func (*WasmPluginEventHandlerFuncs) CreateWasmPlugin ¶
func (f *WasmPluginEventHandlerFuncs) CreateWasmPlugin(obj *extensions_istio_io_v1alpha1.WasmPlugin) error
func (*WasmPluginEventHandlerFuncs) DeleteWasmPlugin ¶
func (f *WasmPluginEventHandlerFuncs) DeleteWasmPlugin(obj *extensions_istio_io_v1alpha1.WasmPlugin) error
func (*WasmPluginEventHandlerFuncs) GenericWasmPlugin ¶
func (f *WasmPluginEventHandlerFuncs) GenericWasmPlugin(obj *extensions_istio_io_v1alpha1.WasmPlugin) error
func (*WasmPluginEventHandlerFuncs) UpdateWasmPlugin ¶
func (f *WasmPluginEventHandlerFuncs) UpdateWasmPlugin(objOld, objNew *extensions_istio_io_v1alpha1.WasmPlugin) error
type WasmPluginEventWatcher ¶
type WasmPluginEventWatcher interface {
AddEventHandler(ctx context.Context, h WasmPluginEventHandler, predicates ...predicate.Predicate) error
}
func NewWasmPluginEventWatcher ¶
func NewWasmPluginEventWatcher(name string, mgr manager.Manager) WasmPluginEventWatcher
type WasmPluginFinalizer ¶
type WasmPluginFinalizer interface { WasmPluginReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task WasmPluginFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizeWasmPlugin(obj *extensions_istio_io_v1alpha1.WasmPlugin) error }
Reconcile and finalize the WasmPlugin Resource implemented by the user
type WasmPluginReconcileLoop ¶
type WasmPluginReconcileLoop interface {
RunWasmPluginReconciler(ctx context.Context, rec WasmPluginReconciler, predicates ...predicate.Predicate) error
}
type WasmPluginReconciler ¶
type WasmPluginReconciler interface {
ReconcileWasmPlugin(obj *extensions_istio_io_v1alpha1.WasmPlugin) (reconcile.Result, error)
}
Reconcile Upsert events for the WasmPlugin Resource. implemented by the user
type WasmPluginReconcilerFuncs ¶
type WasmPluginReconcilerFuncs struct { OnReconcileWasmPlugin func(obj *extensions_istio_io_v1alpha1.WasmPlugin) (reconcile.Result, error) OnReconcileWasmPluginDeletion func(req reconcile.Request) error }
func (*WasmPluginReconcilerFuncs) ReconcileWasmPlugin ¶
func (f *WasmPluginReconcilerFuncs) ReconcileWasmPlugin(obj *extensions_istio_io_v1alpha1.WasmPlugin) (reconcile.Result, error)
func (*WasmPluginReconcilerFuncs) ReconcileWasmPluginDeletion ¶
func (f *WasmPluginReconcilerFuncs) ReconcileWasmPluginDeletion(req reconcile.Request) error