Documentation ¶
Overview ¶
Definitions for the Kubernetes Controllers
Definitions for the multicluster Kubernetes Controllers ¶
Definitions for the Kubernetes Controllers
Index ¶
- type MulticlusterWasmDeploymentDeletionReconciler
- type MulticlusterWasmDeploymentReconcileLoop
- type MulticlusterWasmDeploymentReconciler
- type MulticlusterWasmDeploymentReconcilerFuncs
- type WasmDeploymentDeletionReconciler
- type WasmDeploymentEventHandler
- type WasmDeploymentEventHandlerFuncs
- func (f *WasmDeploymentEventHandlerFuncs) CreateWasmDeployment(obj *networking_enterprise_mesh_gloo_solo_io_v1alpha1.WasmDeployment) error
- func (f *WasmDeploymentEventHandlerFuncs) DeleteWasmDeployment(obj *networking_enterprise_mesh_gloo_solo_io_v1alpha1.WasmDeployment) error
- func (f *WasmDeploymentEventHandlerFuncs) GenericWasmDeployment(obj *networking_enterprise_mesh_gloo_solo_io_v1alpha1.WasmDeployment) error
- func (f *WasmDeploymentEventHandlerFuncs) UpdateWasmDeployment(...) error
- type WasmDeploymentEventWatcher
- type WasmDeploymentFinalizer
- type WasmDeploymentReconcileLoop
- type WasmDeploymentReconciler
- type WasmDeploymentReconcilerFuncs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MulticlusterWasmDeploymentDeletionReconciler ¶
type MulticlusterWasmDeploymentDeletionReconciler interface {
ReconcileWasmDeploymentDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the WasmDeployment 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 MulticlusterWasmDeploymentReconcileLoop ¶
type MulticlusterWasmDeploymentReconcileLoop interface { // AddMulticlusterWasmDeploymentReconciler adds a MulticlusterWasmDeploymentReconciler to the MulticlusterWasmDeploymentReconcileLoop. AddMulticlusterWasmDeploymentReconciler(ctx context.Context, rec MulticlusterWasmDeploymentReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterWasmDeploymentReconcileLoop ¶
func NewMulticlusterWasmDeploymentReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterWasmDeploymentReconcileLoop
type MulticlusterWasmDeploymentReconciler ¶
type MulticlusterWasmDeploymentReconciler interface {
ReconcileWasmDeployment(clusterName string, obj *networking_enterprise_mesh_gloo_solo_io_v1alpha1.WasmDeployment) (reconcile.Result, error)
}
Reconcile Upsert events for the WasmDeployment Resource across clusters. implemented by the user
type MulticlusterWasmDeploymentReconcilerFuncs ¶
type MulticlusterWasmDeploymentReconcilerFuncs struct { OnReconcileWasmDeployment func(clusterName string, obj *networking_enterprise_mesh_gloo_solo_io_v1alpha1.WasmDeployment) (reconcile.Result, error) OnReconcileWasmDeploymentDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterWasmDeploymentReconcilerFuncs) ReconcileWasmDeployment ¶
func (f *MulticlusterWasmDeploymentReconcilerFuncs) ReconcileWasmDeployment(clusterName string, obj *networking_enterprise_mesh_gloo_solo_io_v1alpha1.WasmDeployment) (reconcile.Result, error)
func (*MulticlusterWasmDeploymentReconcilerFuncs) ReconcileWasmDeploymentDeletion ¶
func (f *MulticlusterWasmDeploymentReconcilerFuncs) ReconcileWasmDeploymentDeletion(clusterName string, req reconcile.Request) error
type WasmDeploymentDeletionReconciler ¶
type WasmDeploymentDeletionReconciler interface {
ReconcileWasmDeploymentDeletion(req reconcile.Request) error
}
Reconcile deletion events for the WasmDeployment Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type WasmDeploymentEventHandler ¶
type WasmDeploymentEventHandler interface { CreateWasmDeployment(obj *networking_enterprise_mesh_gloo_solo_io_v1alpha1.WasmDeployment) error UpdateWasmDeployment(old, new *networking_enterprise_mesh_gloo_solo_io_v1alpha1.WasmDeployment) error DeleteWasmDeployment(obj *networking_enterprise_mesh_gloo_solo_io_v1alpha1.WasmDeployment) error GenericWasmDeployment(obj *networking_enterprise_mesh_gloo_solo_io_v1alpha1.WasmDeployment) error }
Handle events for the WasmDeployment Resource DEPRECATED: Prefer reconciler pattern.
type WasmDeploymentEventHandlerFuncs ¶
type WasmDeploymentEventHandlerFuncs struct { OnCreate func(obj *networking_enterprise_mesh_gloo_solo_io_v1alpha1.WasmDeployment) error OnUpdate func(old, new *networking_enterprise_mesh_gloo_solo_io_v1alpha1.WasmDeployment) error OnDelete func(obj *networking_enterprise_mesh_gloo_solo_io_v1alpha1.WasmDeployment) error OnGeneric func(obj *networking_enterprise_mesh_gloo_solo_io_v1alpha1.WasmDeployment) error }
func (*WasmDeploymentEventHandlerFuncs) CreateWasmDeployment ¶
func (f *WasmDeploymentEventHandlerFuncs) CreateWasmDeployment(obj *networking_enterprise_mesh_gloo_solo_io_v1alpha1.WasmDeployment) error
func (*WasmDeploymentEventHandlerFuncs) DeleteWasmDeployment ¶
func (f *WasmDeploymentEventHandlerFuncs) DeleteWasmDeployment(obj *networking_enterprise_mesh_gloo_solo_io_v1alpha1.WasmDeployment) error
func (*WasmDeploymentEventHandlerFuncs) GenericWasmDeployment ¶
func (f *WasmDeploymentEventHandlerFuncs) GenericWasmDeployment(obj *networking_enterprise_mesh_gloo_solo_io_v1alpha1.WasmDeployment) error
func (*WasmDeploymentEventHandlerFuncs) UpdateWasmDeployment ¶
func (f *WasmDeploymentEventHandlerFuncs) UpdateWasmDeployment(objOld, objNew *networking_enterprise_mesh_gloo_solo_io_v1alpha1.WasmDeployment) error
type WasmDeploymentEventWatcher ¶
type WasmDeploymentEventWatcher interface {
AddEventHandler(ctx context.Context, h WasmDeploymentEventHandler, predicates ...predicate.Predicate) error
}
func NewWasmDeploymentEventWatcher ¶
func NewWasmDeploymentEventWatcher(name string, mgr manager.Manager) WasmDeploymentEventWatcher
type WasmDeploymentFinalizer ¶
type WasmDeploymentFinalizer interface { WasmDeploymentReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task WasmDeploymentFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizeWasmDeployment(obj *networking_enterprise_mesh_gloo_solo_io_v1alpha1.WasmDeployment) error }
Reconcile and finalize the WasmDeployment Resource implemented by the user
type WasmDeploymentReconcileLoop ¶
type WasmDeploymentReconcileLoop interface {
RunWasmDeploymentReconciler(ctx context.Context, rec WasmDeploymentReconciler, predicates ...predicate.Predicate) error
}
type WasmDeploymentReconciler ¶
type WasmDeploymentReconciler interface {
ReconcileWasmDeployment(obj *networking_enterprise_mesh_gloo_solo_io_v1alpha1.WasmDeployment) (reconcile.Result, error)
}
Reconcile Upsert events for the WasmDeployment Resource. implemented by the user
type WasmDeploymentReconcilerFuncs ¶
type WasmDeploymentReconcilerFuncs struct { OnReconcileWasmDeployment func(obj *networking_enterprise_mesh_gloo_solo_io_v1alpha1.WasmDeployment) (reconcile.Result, error) OnReconcileWasmDeploymentDeletion func(req reconcile.Request) error }
func (*WasmDeploymentReconcilerFuncs) ReconcileWasmDeployment ¶
func (f *WasmDeploymentReconcilerFuncs) ReconcileWasmDeployment(obj *networking_enterprise_mesh_gloo_solo_io_v1alpha1.WasmDeployment) (reconcile.Result, error)
func (*WasmDeploymentReconcilerFuncs) ReconcileWasmDeploymentDeletion ¶
func (f *WasmDeploymentReconcilerFuncs) ReconcileWasmDeploymentDeletion(req reconcile.Request) error