Documentation ¶
Overview ¶
Definitions for the Kubernetes Controllers
Definitions for the multicluster Kubernetes Controllers ¶
Definitions for the Kubernetes Controllers
Index ¶
- type MulticlusterXdsConfigDeletionReconciler
- type MulticlusterXdsConfigReconcileLoop
- type MulticlusterXdsConfigReconciler
- type MulticlusterXdsConfigReconcilerFuncs
- type XdsConfigDeletionReconciler
- type XdsConfigEventHandler
- type XdsConfigEventHandlerFuncs
- func (f *XdsConfigEventHandlerFuncs) CreateXdsConfig(obj *xds_agent_enterprise_mesh_gloo_solo_io_v1alpha1.XdsConfig) error
- func (f *XdsConfigEventHandlerFuncs) DeleteXdsConfig(obj *xds_agent_enterprise_mesh_gloo_solo_io_v1alpha1.XdsConfig) error
- func (f *XdsConfigEventHandlerFuncs) GenericXdsConfig(obj *xds_agent_enterprise_mesh_gloo_solo_io_v1alpha1.XdsConfig) error
- func (f *XdsConfigEventHandlerFuncs) UpdateXdsConfig(objOld, objNew *xds_agent_enterprise_mesh_gloo_solo_io_v1alpha1.XdsConfig) error
- type XdsConfigEventWatcher
- type XdsConfigFinalizer
- type XdsConfigReconcileLoop
- type XdsConfigReconciler
- type XdsConfigReconcilerFuncs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MulticlusterXdsConfigDeletionReconciler ¶
type MulticlusterXdsConfigDeletionReconciler interface {
ReconcileXdsConfigDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the XdsConfig 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 MulticlusterXdsConfigReconcileLoop ¶
type MulticlusterXdsConfigReconcileLoop interface { // AddMulticlusterXdsConfigReconciler adds a MulticlusterXdsConfigReconciler to the MulticlusterXdsConfigReconcileLoop. AddMulticlusterXdsConfigReconciler(ctx context.Context, rec MulticlusterXdsConfigReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterXdsConfigReconcileLoop ¶
func NewMulticlusterXdsConfigReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterXdsConfigReconcileLoop
type MulticlusterXdsConfigReconciler ¶
type MulticlusterXdsConfigReconciler interface {
ReconcileXdsConfig(clusterName string, obj *xds_agent_enterprise_mesh_gloo_solo_io_v1alpha1.XdsConfig) (reconcile.Result, error)
}
Reconcile Upsert events for the XdsConfig Resource across clusters. implemented by the user
type MulticlusterXdsConfigReconcilerFuncs ¶
type MulticlusterXdsConfigReconcilerFuncs struct { OnReconcileXdsConfig func(clusterName string, obj *xds_agent_enterprise_mesh_gloo_solo_io_v1alpha1.XdsConfig) (reconcile.Result, error) OnReconcileXdsConfigDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterXdsConfigReconcilerFuncs) ReconcileXdsConfig ¶
func (f *MulticlusterXdsConfigReconcilerFuncs) ReconcileXdsConfig(clusterName string, obj *xds_agent_enterprise_mesh_gloo_solo_io_v1alpha1.XdsConfig) (reconcile.Result, error)
func (*MulticlusterXdsConfigReconcilerFuncs) ReconcileXdsConfigDeletion ¶
func (f *MulticlusterXdsConfigReconcilerFuncs) ReconcileXdsConfigDeletion(clusterName string, req reconcile.Request) error
type XdsConfigDeletionReconciler ¶
type XdsConfigDeletionReconciler interface {
ReconcileXdsConfigDeletion(req reconcile.Request) error
}
Reconcile deletion events for the XdsConfig Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type XdsConfigEventHandler ¶
type XdsConfigEventHandler interface { CreateXdsConfig(obj *xds_agent_enterprise_mesh_gloo_solo_io_v1alpha1.XdsConfig) error UpdateXdsConfig(old, new *xds_agent_enterprise_mesh_gloo_solo_io_v1alpha1.XdsConfig) error DeleteXdsConfig(obj *xds_agent_enterprise_mesh_gloo_solo_io_v1alpha1.XdsConfig) error GenericXdsConfig(obj *xds_agent_enterprise_mesh_gloo_solo_io_v1alpha1.XdsConfig) error }
Handle events for the XdsConfig Resource DEPRECATED: Prefer reconciler pattern.
type XdsConfigEventHandlerFuncs ¶
type XdsConfigEventHandlerFuncs struct { OnCreate func(obj *xds_agent_enterprise_mesh_gloo_solo_io_v1alpha1.XdsConfig) error OnUpdate func(old, new *xds_agent_enterprise_mesh_gloo_solo_io_v1alpha1.XdsConfig) error OnDelete func(obj *xds_agent_enterprise_mesh_gloo_solo_io_v1alpha1.XdsConfig) error OnGeneric func(obj *xds_agent_enterprise_mesh_gloo_solo_io_v1alpha1.XdsConfig) error }
func (*XdsConfigEventHandlerFuncs) CreateXdsConfig ¶
func (f *XdsConfigEventHandlerFuncs) CreateXdsConfig(obj *xds_agent_enterprise_mesh_gloo_solo_io_v1alpha1.XdsConfig) error
func (*XdsConfigEventHandlerFuncs) DeleteXdsConfig ¶
func (f *XdsConfigEventHandlerFuncs) DeleteXdsConfig(obj *xds_agent_enterprise_mesh_gloo_solo_io_v1alpha1.XdsConfig) error
func (*XdsConfigEventHandlerFuncs) GenericXdsConfig ¶
func (f *XdsConfigEventHandlerFuncs) GenericXdsConfig(obj *xds_agent_enterprise_mesh_gloo_solo_io_v1alpha1.XdsConfig) error
func (*XdsConfigEventHandlerFuncs) UpdateXdsConfig ¶
func (f *XdsConfigEventHandlerFuncs) UpdateXdsConfig(objOld, objNew *xds_agent_enterprise_mesh_gloo_solo_io_v1alpha1.XdsConfig) error
type XdsConfigEventWatcher ¶
type XdsConfigEventWatcher interface {
AddEventHandler(ctx context.Context, h XdsConfigEventHandler, predicates ...predicate.Predicate) error
}
func NewXdsConfigEventWatcher ¶
func NewXdsConfigEventWatcher(name string, mgr manager.Manager) XdsConfigEventWatcher
type XdsConfigFinalizer ¶
type XdsConfigFinalizer interface { XdsConfigReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task XdsConfigFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizeXdsConfig(obj *xds_agent_enterprise_mesh_gloo_solo_io_v1alpha1.XdsConfig) error }
Reconcile and finalize the XdsConfig Resource implemented by the user
type XdsConfigReconcileLoop ¶
type XdsConfigReconcileLoop interface {
RunXdsConfigReconciler(ctx context.Context, rec XdsConfigReconciler, predicates ...predicate.Predicate) error
}
type XdsConfigReconciler ¶
type XdsConfigReconciler interface {
ReconcileXdsConfig(obj *xds_agent_enterprise_mesh_gloo_solo_io_v1alpha1.XdsConfig) (reconcile.Result, error)
}
Reconcile Upsert events for the XdsConfig Resource. implemented by the user
type XdsConfigReconcilerFuncs ¶
type XdsConfigReconcilerFuncs struct { OnReconcileXdsConfig func(obj *xds_agent_enterprise_mesh_gloo_solo_io_v1alpha1.XdsConfig) (reconcile.Result, error) OnReconcileXdsConfigDeletion func(req reconcile.Request) error }
func (*XdsConfigReconcilerFuncs) ReconcileXdsConfig ¶
func (f *XdsConfigReconcilerFuncs) ReconcileXdsConfig(obj *xds_agent_enterprise_mesh_gloo_solo_io_v1alpha1.XdsConfig) (reconcile.Result, error)
func (*XdsConfigReconcilerFuncs) ReconcileXdsConfigDeletion ¶
func (f *XdsConfigReconcilerFuncs) ReconcileXdsConfigDeletion(req reconcile.Request) error