Documentation ¶
Overview ¶
Definitions for the Kubernetes Controllers
Definitions for the multicluster Kubernetes Controllers ¶
Definitions for the Kubernetes Controllers
Index ¶
- type HTTPRouteGroupDeletionReconciler
- type HTTPRouteGroupEventHandler
- type HTTPRouteGroupEventHandlerFuncs
- func (f *HTTPRouteGroupEventHandlerFuncs) CreateHTTPRouteGroup(obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) error
- func (f *HTTPRouteGroupEventHandlerFuncs) DeleteHTTPRouteGroup(obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) error
- func (f *HTTPRouteGroupEventHandlerFuncs) GenericHTTPRouteGroup(obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) error
- func (f *HTTPRouteGroupEventHandlerFuncs) UpdateHTTPRouteGroup(objOld, objNew *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) error
- type HTTPRouteGroupEventWatcher
- type HTTPRouteGroupFinalizer
- type HTTPRouteGroupReconcileLoop
- type HTTPRouteGroupReconciler
- type HTTPRouteGroupReconcilerFuncs
- type MulticlusterHTTPRouteGroupDeletionReconciler
- type MulticlusterHTTPRouteGroupReconcileLoop
- type MulticlusterHTTPRouteGroupReconciler
- type MulticlusterHTTPRouteGroupReconcilerFuncs
- func (f *MulticlusterHTTPRouteGroupReconcilerFuncs) ReconcileHTTPRouteGroup(clusterName string, obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) (reconcile.Result, error)
- func (f *MulticlusterHTTPRouteGroupReconcilerFuncs) ReconcileHTTPRouteGroupDeletion(clusterName string, req reconcile.Request) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPRouteGroupDeletionReconciler ¶
type HTTPRouteGroupDeletionReconciler interface {
ReconcileHTTPRouteGroupDeletion(req reconcile.Request) error
}
Reconcile deletion events for the HTTPRouteGroup Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type HTTPRouteGroupEventHandler ¶
type HTTPRouteGroupEventHandler interface { CreateHTTPRouteGroup(obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) error UpdateHTTPRouteGroup(old, new *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) error DeleteHTTPRouteGroup(obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) error GenericHTTPRouteGroup(obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) error }
Handle events for the HTTPRouteGroup Resource DEPRECATED: Prefer reconciler pattern.
type HTTPRouteGroupEventHandlerFuncs ¶
type HTTPRouteGroupEventHandlerFuncs struct { OnCreate func(obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) error OnUpdate func(old, new *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) error OnDelete func(obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) error OnGeneric func(obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) error }
func (*HTTPRouteGroupEventHandlerFuncs) CreateHTTPRouteGroup ¶
func (f *HTTPRouteGroupEventHandlerFuncs) CreateHTTPRouteGroup(obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) error
func (*HTTPRouteGroupEventHandlerFuncs) DeleteHTTPRouteGroup ¶
func (f *HTTPRouteGroupEventHandlerFuncs) DeleteHTTPRouteGroup(obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) error
func (*HTTPRouteGroupEventHandlerFuncs) GenericHTTPRouteGroup ¶
func (f *HTTPRouteGroupEventHandlerFuncs) GenericHTTPRouteGroup(obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) error
func (*HTTPRouteGroupEventHandlerFuncs) UpdateHTTPRouteGroup ¶
func (f *HTTPRouteGroupEventHandlerFuncs) UpdateHTTPRouteGroup(objOld, objNew *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) error
type HTTPRouteGroupEventWatcher ¶
type HTTPRouteGroupEventWatcher interface {
AddEventHandler(ctx context.Context, h HTTPRouteGroupEventHandler, predicates ...predicate.Predicate) error
}
func NewHTTPRouteGroupEventWatcher ¶
func NewHTTPRouteGroupEventWatcher(name string, mgr manager.Manager) HTTPRouteGroupEventWatcher
type HTTPRouteGroupFinalizer ¶
type HTTPRouteGroupFinalizer interface { HTTPRouteGroupReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task HTTPRouteGroupFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizeHTTPRouteGroup(obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) error }
Reconcile and finalize the HTTPRouteGroup Resource implemented by the user
type HTTPRouteGroupReconcileLoop ¶
type HTTPRouteGroupReconcileLoop interface {
RunHTTPRouteGroupReconciler(ctx context.Context, rec HTTPRouteGroupReconciler, predicates ...predicate.Predicate) error
}
type HTTPRouteGroupReconciler ¶
type HTTPRouteGroupReconciler interface {
ReconcileHTTPRouteGroup(obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) (reconcile.Result, error)
}
Reconcile Upsert events for the HTTPRouteGroup Resource. implemented by the user
type HTTPRouteGroupReconcilerFuncs ¶
type HTTPRouteGroupReconcilerFuncs struct { OnReconcileHTTPRouteGroup func(obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) (reconcile.Result, error) OnReconcileHTTPRouteGroupDeletion func(req reconcile.Request) error }
func (*HTTPRouteGroupReconcilerFuncs) ReconcileHTTPRouteGroup ¶
func (f *HTTPRouteGroupReconcilerFuncs) ReconcileHTTPRouteGroup(obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) (reconcile.Result, error)
func (*HTTPRouteGroupReconcilerFuncs) ReconcileHTTPRouteGroupDeletion ¶
func (f *HTTPRouteGroupReconcilerFuncs) ReconcileHTTPRouteGroupDeletion(req reconcile.Request) error
type MulticlusterHTTPRouteGroupDeletionReconciler ¶
type MulticlusterHTTPRouteGroupDeletionReconciler interface {
ReconcileHTTPRouteGroupDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the HTTPRouteGroup 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 MulticlusterHTTPRouteGroupReconcileLoop ¶
type MulticlusterHTTPRouteGroupReconcileLoop interface { // AddMulticlusterHTTPRouteGroupReconciler adds a MulticlusterHTTPRouteGroupReconciler to the MulticlusterHTTPRouteGroupReconcileLoop. AddMulticlusterHTTPRouteGroupReconciler(ctx context.Context, rec MulticlusterHTTPRouteGroupReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterHTTPRouteGroupReconcileLoop ¶
func NewMulticlusterHTTPRouteGroupReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterHTTPRouteGroupReconcileLoop
type MulticlusterHTTPRouteGroupReconciler ¶
type MulticlusterHTTPRouteGroupReconciler interface {
ReconcileHTTPRouteGroup(clusterName string, obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) (reconcile.Result, error)
}
Reconcile Upsert events for the HTTPRouteGroup Resource across clusters. implemented by the user
type MulticlusterHTTPRouteGroupReconcilerFuncs ¶
type MulticlusterHTTPRouteGroupReconcilerFuncs struct { OnReconcileHTTPRouteGroup func(clusterName string, obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) (reconcile.Result, error) OnReconcileHTTPRouteGroupDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterHTTPRouteGroupReconcilerFuncs) ReconcileHTTPRouteGroup ¶
func (f *MulticlusterHTTPRouteGroupReconcilerFuncs) ReconcileHTTPRouteGroup(clusterName string, obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) (reconcile.Result, error)
func (*MulticlusterHTTPRouteGroupReconcilerFuncs) ReconcileHTTPRouteGroupDeletion ¶
func (f *MulticlusterHTTPRouteGroupReconcilerFuncs) ReconcileHTTPRouteGroupDeletion(clusterName string, req reconcile.Request) error