Documentation ¶
Overview ¶
Definitions for the Kubernetes Controllers
Definitions for the multicluster Kubernetes Controllers ¶
Definitions for the Kubernetes Controllers
Index ¶
- type MulticlusterTrafficTargetDeletionReconciler
- type MulticlusterTrafficTargetReconcileLoop
- type MulticlusterTrafficTargetReconciler
- type MulticlusterTrafficTargetReconcilerFuncs
- type TrafficTargetDeletionReconciler
- type TrafficTargetEventHandler
- type TrafficTargetEventHandlerFuncs
- func (f *TrafficTargetEventHandlerFuncs) CreateTrafficTarget(obj *access_smi_spec_io_v1alpha2.TrafficTarget) error
- func (f *TrafficTargetEventHandlerFuncs) DeleteTrafficTarget(obj *access_smi_spec_io_v1alpha2.TrafficTarget) error
- func (f *TrafficTargetEventHandlerFuncs) GenericTrafficTarget(obj *access_smi_spec_io_v1alpha2.TrafficTarget) error
- func (f *TrafficTargetEventHandlerFuncs) UpdateTrafficTarget(objOld, objNew *access_smi_spec_io_v1alpha2.TrafficTarget) error
- type TrafficTargetEventWatcher
- type TrafficTargetFinalizer
- type TrafficTargetReconcileLoop
- type TrafficTargetReconciler
- type TrafficTargetReconcilerFuncs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MulticlusterTrafficTargetDeletionReconciler ¶
type MulticlusterTrafficTargetDeletionReconciler interface {
ReconcileTrafficTargetDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the TrafficTarget 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 MulticlusterTrafficTargetReconcileLoop ¶
type MulticlusterTrafficTargetReconcileLoop interface { // AddMulticlusterTrafficTargetReconciler adds a MulticlusterTrafficTargetReconciler to the MulticlusterTrafficTargetReconcileLoop. AddMulticlusterTrafficTargetReconciler(ctx context.Context, rec MulticlusterTrafficTargetReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterTrafficTargetReconcileLoop ¶
func NewMulticlusterTrafficTargetReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterTrafficTargetReconcileLoop
type MulticlusterTrafficTargetReconciler ¶
type MulticlusterTrafficTargetReconciler interface {
ReconcileTrafficTarget(clusterName string, obj *access_smi_spec_io_v1alpha2.TrafficTarget) (reconcile.Result, error)
}
Reconcile Upsert events for the TrafficTarget Resource across clusters. implemented by the user
type MulticlusterTrafficTargetReconcilerFuncs ¶
type MulticlusterTrafficTargetReconcilerFuncs struct { OnReconcileTrafficTarget func(clusterName string, obj *access_smi_spec_io_v1alpha2.TrafficTarget) (reconcile.Result, error) OnReconcileTrafficTargetDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterTrafficTargetReconcilerFuncs) ReconcileTrafficTarget ¶
func (f *MulticlusterTrafficTargetReconcilerFuncs) ReconcileTrafficTarget(clusterName string, obj *access_smi_spec_io_v1alpha2.TrafficTarget) (reconcile.Result, error)
func (*MulticlusterTrafficTargetReconcilerFuncs) ReconcileTrafficTargetDeletion ¶
func (f *MulticlusterTrafficTargetReconcilerFuncs) ReconcileTrafficTargetDeletion(clusterName string, req reconcile.Request) error
type TrafficTargetDeletionReconciler ¶
type TrafficTargetDeletionReconciler interface {
ReconcileTrafficTargetDeletion(req reconcile.Request) error
}
Reconcile deletion events for the TrafficTarget Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type TrafficTargetEventHandler ¶
type TrafficTargetEventHandler interface { CreateTrafficTarget(obj *access_smi_spec_io_v1alpha2.TrafficTarget) error UpdateTrafficTarget(old, new *access_smi_spec_io_v1alpha2.TrafficTarget) error DeleteTrafficTarget(obj *access_smi_spec_io_v1alpha2.TrafficTarget) error GenericTrafficTarget(obj *access_smi_spec_io_v1alpha2.TrafficTarget) error }
Handle events for the TrafficTarget Resource DEPRECATED: Prefer reconciler pattern.
type TrafficTargetEventHandlerFuncs ¶
type TrafficTargetEventHandlerFuncs struct { OnCreate func(obj *access_smi_spec_io_v1alpha2.TrafficTarget) error OnUpdate func(old, new *access_smi_spec_io_v1alpha2.TrafficTarget) error OnDelete func(obj *access_smi_spec_io_v1alpha2.TrafficTarget) error OnGeneric func(obj *access_smi_spec_io_v1alpha2.TrafficTarget) error }
func (*TrafficTargetEventHandlerFuncs) CreateTrafficTarget ¶
func (f *TrafficTargetEventHandlerFuncs) CreateTrafficTarget(obj *access_smi_spec_io_v1alpha2.TrafficTarget) error
func (*TrafficTargetEventHandlerFuncs) DeleteTrafficTarget ¶
func (f *TrafficTargetEventHandlerFuncs) DeleteTrafficTarget(obj *access_smi_spec_io_v1alpha2.TrafficTarget) error
func (*TrafficTargetEventHandlerFuncs) GenericTrafficTarget ¶
func (f *TrafficTargetEventHandlerFuncs) GenericTrafficTarget(obj *access_smi_spec_io_v1alpha2.TrafficTarget) error
func (*TrafficTargetEventHandlerFuncs) UpdateTrafficTarget ¶
func (f *TrafficTargetEventHandlerFuncs) UpdateTrafficTarget(objOld, objNew *access_smi_spec_io_v1alpha2.TrafficTarget) error
type TrafficTargetEventWatcher ¶
type TrafficTargetEventWatcher interface {
AddEventHandler(ctx context.Context, h TrafficTargetEventHandler, predicates ...predicate.Predicate) error
}
func NewTrafficTargetEventWatcher ¶
func NewTrafficTargetEventWatcher(name string, mgr manager.Manager) TrafficTargetEventWatcher
type TrafficTargetFinalizer ¶
type TrafficTargetFinalizer interface { TrafficTargetReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task TrafficTargetFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizeTrafficTarget(obj *access_smi_spec_io_v1alpha2.TrafficTarget) error }
Reconcile and finalize the TrafficTarget Resource implemented by the user
type TrafficTargetReconcileLoop ¶
type TrafficTargetReconcileLoop interface {
RunTrafficTargetReconciler(ctx context.Context, rec TrafficTargetReconciler, predicates ...predicate.Predicate) error
}
type TrafficTargetReconciler ¶
type TrafficTargetReconciler interface {
ReconcileTrafficTarget(obj *access_smi_spec_io_v1alpha2.TrafficTarget) (reconcile.Result, error)
}
Reconcile Upsert events for the TrafficTarget Resource. implemented by the user
type TrafficTargetReconcilerFuncs ¶
type TrafficTargetReconcilerFuncs struct { OnReconcileTrafficTarget func(obj *access_smi_spec_io_v1alpha2.TrafficTarget) (reconcile.Result, error) OnReconcileTrafficTargetDeletion func(req reconcile.Request) error }
func (*TrafficTargetReconcilerFuncs) ReconcileTrafficTarget ¶
func (f *TrafficTargetReconcilerFuncs) ReconcileTrafficTarget(obj *access_smi_spec_io_v1alpha2.TrafficTarget) (reconcile.Result, error)
func (*TrafficTargetReconcilerFuncs) ReconcileTrafficTargetDeletion ¶
func (f *TrafficTargetReconcilerFuncs) ReconcileTrafficTargetDeletion(req reconcile.Request) error