Documentation ¶
Overview ¶
Definitions for the Kubernetes Controllers
Definitions for the multicluster Kubernetes Controllers ¶
Definitions for the Kubernetes Controllers
Index ¶
- type MulticlusterTrafficSplitDeletionReconciler
- type MulticlusterTrafficSplitReconcileLoop
- type MulticlusterTrafficSplitReconciler
- type MulticlusterTrafficSplitReconcilerFuncs
- type TrafficSplitDeletionReconciler
- type TrafficSplitEventHandler
- type TrafficSplitEventHandlerFuncs
- func (f *TrafficSplitEventHandlerFuncs) CreateTrafficSplit(obj *split_smi_spec_io_v1alpha1.TrafficSplit) error
- func (f *TrafficSplitEventHandlerFuncs) DeleteTrafficSplit(obj *split_smi_spec_io_v1alpha1.TrafficSplit) error
- func (f *TrafficSplitEventHandlerFuncs) GenericTrafficSplit(obj *split_smi_spec_io_v1alpha1.TrafficSplit) error
- func (f *TrafficSplitEventHandlerFuncs) UpdateTrafficSplit(objOld, objNew *split_smi_spec_io_v1alpha1.TrafficSplit) error
- type TrafficSplitEventWatcher
- type TrafficSplitFinalizer
- type TrafficSplitReconcileLoop
- type TrafficSplitReconciler
- type TrafficSplitReconcilerFuncs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MulticlusterTrafficSplitDeletionReconciler ¶
type MulticlusterTrafficSplitDeletionReconciler interface {
ReconcileTrafficSplitDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the TrafficSplit 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 MulticlusterTrafficSplitReconcileLoop ¶
type MulticlusterTrafficSplitReconcileLoop interface { // AddMulticlusterTrafficSplitReconciler adds a MulticlusterTrafficSplitReconciler to the MulticlusterTrafficSplitReconcileLoop. AddMulticlusterTrafficSplitReconciler(ctx context.Context, rec MulticlusterTrafficSplitReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterTrafficSplitReconcileLoop ¶
func NewMulticlusterTrafficSplitReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterTrafficSplitReconcileLoop
type MulticlusterTrafficSplitReconciler ¶
type MulticlusterTrafficSplitReconciler interface {
ReconcileTrafficSplit(clusterName string, obj *split_smi_spec_io_v1alpha1.TrafficSplit) (reconcile.Result, error)
}
Reconcile Upsert events for the TrafficSplit Resource across clusters. implemented by the user
type MulticlusterTrafficSplitReconcilerFuncs ¶
type MulticlusterTrafficSplitReconcilerFuncs struct { OnReconcileTrafficSplit func(clusterName string, obj *split_smi_spec_io_v1alpha1.TrafficSplit) (reconcile.Result, error) OnReconcileTrafficSplitDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterTrafficSplitReconcilerFuncs) ReconcileTrafficSplit ¶
func (f *MulticlusterTrafficSplitReconcilerFuncs) ReconcileTrafficSplit(clusterName string, obj *split_smi_spec_io_v1alpha1.TrafficSplit) (reconcile.Result, error)
func (*MulticlusterTrafficSplitReconcilerFuncs) ReconcileTrafficSplitDeletion ¶
func (f *MulticlusterTrafficSplitReconcilerFuncs) ReconcileTrafficSplitDeletion(clusterName string, req reconcile.Request) error
type TrafficSplitDeletionReconciler ¶
type TrafficSplitDeletionReconciler interface {
ReconcileTrafficSplitDeletion(req reconcile.Request) error
}
Reconcile deletion events for the TrafficSplit Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type TrafficSplitEventHandler ¶
type TrafficSplitEventHandler interface { CreateTrafficSplit(obj *split_smi_spec_io_v1alpha1.TrafficSplit) error UpdateTrafficSplit(old, new *split_smi_spec_io_v1alpha1.TrafficSplit) error DeleteTrafficSplit(obj *split_smi_spec_io_v1alpha1.TrafficSplit) error GenericTrafficSplit(obj *split_smi_spec_io_v1alpha1.TrafficSplit) error }
Handle events for the TrafficSplit Resource DEPRECATED: Prefer reconciler pattern.
type TrafficSplitEventHandlerFuncs ¶
type TrafficSplitEventHandlerFuncs struct { OnCreate func(obj *split_smi_spec_io_v1alpha1.TrafficSplit) error OnUpdate func(old, new *split_smi_spec_io_v1alpha1.TrafficSplit) error OnDelete func(obj *split_smi_spec_io_v1alpha1.TrafficSplit) error OnGeneric func(obj *split_smi_spec_io_v1alpha1.TrafficSplit) error }
func (*TrafficSplitEventHandlerFuncs) CreateTrafficSplit ¶
func (f *TrafficSplitEventHandlerFuncs) CreateTrafficSplit(obj *split_smi_spec_io_v1alpha1.TrafficSplit) error
func (*TrafficSplitEventHandlerFuncs) DeleteTrafficSplit ¶
func (f *TrafficSplitEventHandlerFuncs) DeleteTrafficSplit(obj *split_smi_spec_io_v1alpha1.TrafficSplit) error
func (*TrafficSplitEventHandlerFuncs) GenericTrafficSplit ¶
func (f *TrafficSplitEventHandlerFuncs) GenericTrafficSplit(obj *split_smi_spec_io_v1alpha1.TrafficSplit) error
func (*TrafficSplitEventHandlerFuncs) UpdateTrafficSplit ¶
func (f *TrafficSplitEventHandlerFuncs) UpdateTrafficSplit(objOld, objNew *split_smi_spec_io_v1alpha1.TrafficSplit) error
type TrafficSplitEventWatcher ¶
type TrafficSplitEventWatcher interface {
AddEventHandler(ctx context.Context, h TrafficSplitEventHandler, predicates ...predicate.Predicate) error
}
func NewTrafficSplitEventWatcher ¶
func NewTrafficSplitEventWatcher(name string, mgr manager.Manager) TrafficSplitEventWatcher
type TrafficSplitFinalizer ¶
type TrafficSplitFinalizer interface { TrafficSplitReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task TrafficSplitFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizeTrafficSplit(obj *split_smi_spec_io_v1alpha1.TrafficSplit) error }
Reconcile and finalize the TrafficSplit Resource implemented by the user
type TrafficSplitReconcileLoop ¶
type TrafficSplitReconcileLoop interface {
RunTrafficSplitReconciler(ctx context.Context, rec TrafficSplitReconciler, predicates ...predicate.Predicate) error
}
type TrafficSplitReconciler ¶
type TrafficSplitReconciler interface {
ReconcileTrafficSplit(obj *split_smi_spec_io_v1alpha1.TrafficSplit) (reconcile.Result, error)
}
Reconcile Upsert events for the TrafficSplit Resource. implemented by the user
type TrafficSplitReconcilerFuncs ¶
type TrafficSplitReconcilerFuncs struct { OnReconcileTrafficSplit func(obj *split_smi_spec_io_v1alpha1.TrafficSplit) (reconcile.Result, error) OnReconcileTrafficSplitDeletion func(req reconcile.Request) error }
func (*TrafficSplitReconcilerFuncs) ReconcileTrafficSplit ¶
func (f *TrafficSplitReconcilerFuncs) ReconcileTrafficSplit(obj *split_smi_spec_io_v1alpha1.TrafficSplit) (reconcile.Result, error)
func (*TrafficSplitReconcilerFuncs) ReconcileTrafficSplitDeletion ¶
func (f *TrafficSplitReconcilerFuncs) ReconcileTrafficSplitDeletion(req reconcile.Request) error