Documentation ¶
Overview ¶
Definitions for the Kubernetes Controllers
Definitions for the multicluster Kubernetes Controllers ¶
Definitions for the Kubernetes Controllers
Index ¶
- type KubernetesClusterDeletionReconciler
- type KubernetesClusterEventHandler
- type KubernetesClusterEventHandlerFuncs
- func (f *KubernetesClusterEventHandlerFuncs) CreateKubernetesCluster(obj *multicluster_solo_io_v1alpha1.KubernetesCluster) error
- func (f *KubernetesClusterEventHandlerFuncs) DeleteKubernetesCluster(obj *multicluster_solo_io_v1alpha1.KubernetesCluster) error
- func (f *KubernetesClusterEventHandlerFuncs) GenericKubernetesCluster(obj *multicluster_solo_io_v1alpha1.KubernetesCluster) error
- func (f *KubernetesClusterEventHandlerFuncs) UpdateKubernetesCluster(objOld, objNew *multicluster_solo_io_v1alpha1.KubernetesCluster) error
- type KubernetesClusterEventWatcher
- type KubernetesClusterFinalizer
- type KubernetesClusterReconcileLoop
- type KubernetesClusterReconciler
- type KubernetesClusterReconcilerFuncs
- type MulticlusterKubernetesClusterDeletionReconciler
- type MulticlusterKubernetesClusterReconcileLoop
- type MulticlusterKubernetesClusterReconciler
- type MulticlusterKubernetesClusterReconcilerFuncs
- func (f *MulticlusterKubernetesClusterReconcilerFuncs) ReconcileKubernetesCluster(clusterName string, obj *multicluster_solo_io_v1alpha1.KubernetesCluster) (reconcile.Result, error)
- func (f *MulticlusterKubernetesClusterReconcilerFuncs) ReconcileKubernetesClusterDeletion(clusterName string, req reconcile.Request) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubernetesClusterDeletionReconciler ¶
type KubernetesClusterDeletionReconciler interface {
ReconcileKubernetesClusterDeletion(req reconcile.Request) error
}
Reconcile deletion events for the KubernetesCluster Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type KubernetesClusterEventHandler ¶
type KubernetesClusterEventHandler interface { CreateKubernetesCluster(obj *multicluster_solo_io_v1alpha1.KubernetesCluster) error UpdateKubernetesCluster(old, new *multicluster_solo_io_v1alpha1.KubernetesCluster) error DeleteKubernetesCluster(obj *multicluster_solo_io_v1alpha1.KubernetesCluster) error GenericKubernetesCluster(obj *multicluster_solo_io_v1alpha1.KubernetesCluster) error }
Handle events for the KubernetesCluster Resource DEPRECATED: Prefer reconciler pattern.
type KubernetesClusterEventHandlerFuncs ¶
type KubernetesClusterEventHandlerFuncs struct { OnCreate func(obj *multicluster_solo_io_v1alpha1.KubernetesCluster) error OnUpdate func(old, new *multicluster_solo_io_v1alpha1.KubernetesCluster) error OnDelete func(obj *multicluster_solo_io_v1alpha1.KubernetesCluster) error OnGeneric func(obj *multicluster_solo_io_v1alpha1.KubernetesCluster) error }
func (*KubernetesClusterEventHandlerFuncs) CreateKubernetesCluster ¶
func (f *KubernetesClusterEventHandlerFuncs) CreateKubernetesCluster(obj *multicluster_solo_io_v1alpha1.KubernetesCluster) error
func (*KubernetesClusterEventHandlerFuncs) DeleteKubernetesCluster ¶
func (f *KubernetesClusterEventHandlerFuncs) DeleteKubernetesCluster(obj *multicluster_solo_io_v1alpha1.KubernetesCluster) error
func (*KubernetesClusterEventHandlerFuncs) GenericKubernetesCluster ¶
func (f *KubernetesClusterEventHandlerFuncs) GenericKubernetesCluster(obj *multicluster_solo_io_v1alpha1.KubernetesCluster) error
func (*KubernetesClusterEventHandlerFuncs) UpdateKubernetesCluster ¶
func (f *KubernetesClusterEventHandlerFuncs) UpdateKubernetesCluster(objOld, objNew *multicluster_solo_io_v1alpha1.KubernetesCluster) error
type KubernetesClusterEventWatcher ¶
type KubernetesClusterEventWatcher interface {
AddEventHandler(ctx context.Context, h KubernetesClusterEventHandler, predicates ...predicate.Predicate) error
}
func NewKubernetesClusterEventWatcher ¶
func NewKubernetesClusterEventWatcher(name string, mgr manager.Manager) KubernetesClusterEventWatcher
type KubernetesClusterFinalizer ¶
type KubernetesClusterFinalizer interface { KubernetesClusterReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task KubernetesClusterFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizeKubernetesCluster(obj *multicluster_solo_io_v1alpha1.KubernetesCluster) error }
Reconcile and finalize the KubernetesCluster Resource implemented by the user
type KubernetesClusterReconcileLoop ¶
type KubernetesClusterReconcileLoop interface {
RunKubernetesClusterReconciler(ctx context.Context, rec KubernetesClusterReconciler, predicates ...predicate.Predicate) error
}
type KubernetesClusterReconciler ¶
type KubernetesClusterReconciler interface {
ReconcileKubernetesCluster(obj *multicluster_solo_io_v1alpha1.KubernetesCluster) (reconcile.Result, error)
}
Reconcile Upsert events for the KubernetesCluster Resource. implemented by the user
type KubernetesClusterReconcilerFuncs ¶
type KubernetesClusterReconcilerFuncs struct { OnReconcileKubernetesCluster func(obj *multicluster_solo_io_v1alpha1.KubernetesCluster) (reconcile.Result, error) OnReconcileKubernetesClusterDeletion func(req reconcile.Request) error }
func (*KubernetesClusterReconcilerFuncs) ReconcileKubernetesCluster ¶
func (f *KubernetesClusterReconcilerFuncs) ReconcileKubernetesCluster(obj *multicluster_solo_io_v1alpha1.KubernetesCluster) (reconcile.Result, error)
func (*KubernetesClusterReconcilerFuncs) ReconcileKubernetesClusterDeletion ¶
func (f *KubernetesClusterReconcilerFuncs) ReconcileKubernetesClusterDeletion(req reconcile.Request) error
type MulticlusterKubernetesClusterDeletionReconciler ¶
type MulticlusterKubernetesClusterDeletionReconciler interface {
ReconcileKubernetesClusterDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the KubernetesCluster 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 MulticlusterKubernetesClusterReconcileLoop ¶
type MulticlusterKubernetesClusterReconcileLoop interface { // AddMulticlusterKubernetesClusterReconciler adds a MulticlusterKubernetesClusterReconciler to the MulticlusterKubernetesClusterReconcileLoop. AddMulticlusterKubernetesClusterReconciler(ctx context.Context, rec MulticlusterKubernetesClusterReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterKubernetesClusterReconcileLoop ¶
func NewMulticlusterKubernetesClusterReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterKubernetesClusterReconcileLoop
type MulticlusterKubernetesClusterReconciler ¶
type MulticlusterKubernetesClusterReconciler interface {
ReconcileKubernetesCluster(clusterName string, obj *multicluster_solo_io_v1alpha1.KubernetesCluster) (reconcile.Result, error)
}
Reconcile Upsert events for the KubernetesCluster Resource across clusters. implemented by the user
type MulticlusterKubernetesClusterReconcilerFuncs ¶
type MulticlusterKubernetesClusterReconcilerFuncs struct { OnReconcileKubernetesCluster func(clusterName string, obj *multicluster_solo_io_v1alpha1.KubernetesCluster) (reconcile.Result, error) OnReconcileKubernetesClusterDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterKubernetesClusterReconcilerFuncs) ReconcileKubernetesCluster ¶
func (f *MulticlusterKubernetesClusterReconcilerFuncs) ReconcileKubernetesCluster(clusterName string, obj *multicluster_solo_io_v1alpha1.KubernetesCluster) (reconcile.Result, error)
func (*MulticlusterKubernetesClusterReconcilerFuncs) ReconcileKubernetesClusterDeletion ¶
func (f *MulticlusterKubernetesClusterReconcilerFuncs) ReconcileKubernetesClusterDeletion(clusterName string, req reconcile.Request) error