Documentation ¶
Overview ¶
Definitions for the Kubernetes Controllers
Definitions for the multicluster Kubernetes Controllers ¶
Definitions for the Kubernetes Controllers
Index ¶
- type MulticlusterSettingsDeletionReconciler
- type MulticlusterSettingsReconcileLoop
- type MulticlusterSettingsReconciler
- type MulticlusterSettingsReconcilerFuncs
- type SettingsDeletionReconciler
- type SettingsEventHandler
- type SettingsEventHandlerFuncs
- func (f *SettingsEventHandlerFuncs) CreateSettings(obj *settings_mesh_gloo_solo_io_v1.Settings) error
- func (f *SettingsEventHandlerFuncs) DeleteSettings(obj *settings_mesh_gloo_solo_io_v1.Settings) error
- func (f *SettingsEventHandlerFuncs) GenericSettings(obj *settings_mesh_gloo_solo_io_v1.Settings) error
- func (f *SettingsEventHandlerFuncs) UpdateSettings(objOld, objNew *settings_mesh_gloo_solo_io_v1.Settings) error
- type SettingsEventWatcher
- type SettingsFinalizer
- type SettingsReconcileLoop
- type SettingsReconciler
- type SettingsReconcilerFuncs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MulticlusterSettingsDeletionReconciler ¶
type MulticlusterSettingsDeletionReconciler interface {
ReconcileSettingsDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the Settings 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 MulticlusterSettingsReconcileLoop ¶
type MulticlusterSettingsReconcileLoop interface { // AddMulticlusterSettingsReconciler adds a MulticlusterSettingsReconciler to the MulticlusterSettingsReconcileLoop. AddMulticlusterSettingsReconciler(ctx context.Context, rec MulticlusterSettingsReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterSettingsReconcileLoop ¶
func NewMulticlusterSettingsReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterSettingsReconcileLoop
type MulticlusterSettingsReconciler ¶
type MulticlusterSettingsReconciler interface {
ReconcileSettings(clusterName string, obj *settings_mesh_gloo_solo_io_v1.Settings) (reconcile.Result, error)
}
Reconcile Upsert events for the Settings Resource across clusters. implemented by the user
type MulticlusterSettingsReconcilerFuncs ¶
type MulticlusterSettingsReconcilerFuncs struct { OnReconcileSettings func(clusterName string, obj *settings_mesh_gloo_solo_io_v1.Settings) (reconcile.Result, error) OnReconcileSettingsDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterSettingsReconcilerFuncs) ReconcileSettings ¶
func (f *MulticlusterSettingsReconcilerFuncs) ReconcileSettings(clusterName string, obj *settings_mesh_gloo_solo_io_v1.Settings) (reconcile.Result, error)
func (*MulticlusterSettingsReconcilerFuncs) ReconcileSettingsDeletion ¶
func (f *MulticlusterSettingsReconcilerFuncs) ReconcileSettingsDeletion(clusterName string, req reconcile.Request) error
type SettingsDeletionReconciler ¶
type SettingsDeletionReconciler interface {
ReconcileSettingsDeletion(req reconcile.Request) error
}
Reconcile deletion events for the Settings Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type SettingsEventHandler ¶
type SettingsEventHandler interface { CreateSettings(obj *settings_mesh_gloo_solo_io_v1.Settings) error UpdateSettings(old, new *settings_mesh_gloo_solo_io_v1.Settings) error DeleteSettings(obj *settings_mesh_gloo_solo_io_v1.Settings) error GenericSettings(obj *settings_mesh_gloo_solo_io_v1.Settings) error }
Handle events for the Settings Resource DEPRECATED: Prefer reconciler pattern.
type SettingsEventHandlerFuncs ¶
type SettingsEventHandlerFuncs struct { OnCreate func(obj *settings_mesh_gloo_solo_io_v1.Settings) error OnUpdate func(old, new *settings_mesh_gloo_solo_io_v1.Settings) error OnDelete func(obj *settings_mesh_gloo_solo_io_v1.Settings) error OnGeneric func(obj *settings_mesh_gloo_solo_io_v1.Settings) error }
func (*SettingsEventHandlerFuncs) CreateSettings ¶
func (f *SettingsEventHandlerFuncs) CreateSettings(obj *settings_mesh_gloo_solo_io_v1.Settings) error
func (*SettingsEventHandlerFuncs) DeleteSettings ¶
func (f *SettingsEventHandlerFuncs) DeleteSettings(obj *settings_mesh_gloo_solo_io_v1.Settings) error
func (*SettingsEventHandlerFuncs) GenericSettings ¶
func (f *SettingsEventHandlerFuncs) GenericSettings(obj *settings_mesh_gloo_solo_io_v1.Settings) error
func (*SettingsEventHandlerFuncs) UpdateSettings ¶
func (f *SettingsEventHandlerFuncs) UpdateSettings(objOld, objNew *settings_mesh_gloo_solo_io_v1.Settings) error
type SettingsEventWatcher ¶
type SettingsEventWatcher interface {
AddEventHandler(ctx context.Context, h SettingsEventHandler, predicates ...predicate.Predicate) error
}
func NewSettingsEventWatcher ¶
func NewSettingsEventWatcher(name string, mgr manager.Manager) SettingsEventWatcher
type SettingsFinalizer ¶
type SettingsFinalizer interface { SettingsReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task SettingsFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizeSettings(obj *settings_mesh_gloo_solo_io_v1.Settings) error }
Reconcile and finalize the Settings Resource implemented by the user
type SettingsReconcileLoop ¶
type SettingsReconcileLoop interface {
RunSettingsReconciler(ctx context.Context, rec SettingsReconciler, predicates ...predicate.Predicate) error
}
type SettingsReconciler ¶
type SettingsReconciler interface {
ReconcileSettings(obj *settings_mesh_gloo_solo_io_v1.Settings) (reconcile.Result, error)
}
Reconcile Upsert events for the Settings Resource. implemented by the user
type SettingsReconcilerFuncs ¶
type SettingsReconcilerFuncs struct { OnReconcileSettings func(obj *settings_mesh_gloo_solo_io_v1.Settings) (reconcile.Result, error) OnReconcileSettingsDeletion func(req reconcile.Request) error }
func (*SettingsReconcilerFuncs) ReconcileSettings ¶
func (f *SettingsReconcilerFuncs) ReconcileSettings(obj *settings_mesh_gloo_solo_io_v1.Settings) (reconcile.Result, error)
func (*SettingsReconcilerFuncs) ReconcileSettingsDeletion ¶
func (f *SettingsReconcilerFuncs) ReconcileSettingsDeletion(req reconcile.Request) error