Documentation ¶
Overview ¶
Definitions for the Kubernetes Controllers
Definitions for the multicluster Kubernetes Controllers ¶
Definitions for the Kubernetes Controllers
Index ¶
- type DaemonSetDeletionReconciler
- type DaemonSetEventHandler
- type DaemonSetEventHandlerFuncs
- func (f *DaemonSetEventHandlerFuncs) CreateDaemonSet(obj *apps_v1.DaemonSet) error
- func (f *DaemonSetEventHandlerFuncs) DeleteDaemonSet(obj *apps_v1.DaemonSet) error
- func (f *DaemonSetEventHandlerFuncs) GenericDaemonSet(obj *apps_v1.DaemonSet) error
- func (f *DaemonSetEventHandlerFuncs) UpdateDaemonSet(objOld, objNew *apps_v1.DaemonSet) error
- type DaemonSetEventWatcher
- type DaemonSetFinalizer
- type DaemonSetReconcileLoop
- type DaemonSetReconciler
- type DaemonSetReconcilerFuncs
- type DeploymentDeletionReconciler
- type DeploymentEventHandler
- type DeploymentEventHandlerFuncs
- func (f *DeploymentEventHandlerFuncs) CreateDeployment(obj *apps_v1.Deployment) error
- func (f *DeploymentEventHandlerFuncs) DeleteDeployment(obj *apps_v1.Deployment) error
- func (f *DeploymentEventHandlerFuncs) GenericDeployment(obj *apps_v1.Deployment) error
- func (f *DeploymentEventHandlerFuncs) UpdateDeployment(objOld, objNew *apps_v1.Deployment) error
- type DeploymentEventWatcher
- type DeploymentFinalizer
- type DeploymentReconcileLoop
- type DeploymentReconciler
- type DeploymentReconcilerFuncs
- type MulticlusterDaemonSetDeletionReconciler
- type MulticlusterDaemonSetReconcileLoop
- type MulticlusterDaemonSetReconciler
- type MulticlusterDaemonSetReconcilerFuncs
- type MulticlusterDeploymentDeletionReconciler
- type MulticlusterDeploymentReconcileLoop
- type MulticlusterDeploymentReconciler
- type MulticlusterDeploymentReconcilerFuncs
- type MulticlusterReplicaSetDeletionReconciler
- type MulticlusterReplicaSetReconcileLoop
- type MulticlusterReplicaSetReconciler
- type MulticlusterReplicaSetReconcilerFuncs
- type MulticlusterStatefulSetDeletionReconciler
- type MulticlusterStatefulSetReconcileLoop
- type MulticlusterStatefulSetReconciler
- type MulticlusterStatefulSetReconcilerFuncs
- type ReplicaSetDeletionReconciler
- type ReplicaSetEventHandler
- type ReplicaSetEventHandlerFuncs
- func (f *ReplicaSetEventHandlerFuncs) CreateReplicaSet(obj *apps_v1.ReplicaSet) error
- func (f *ReplicaSetEventHandlerFuncs) DeleteReplicaSet(obj *apps_v1.ReplicaSet) error
- func (f *ReplicaSetEventHandlerFuncs) GenericReplicaSet(obj *apps_v1.ReplicaSet) error
- func (f *ReplicaSetEventHandlerFuncs) UpdateReplicaSet(objOld, objNew *apps_v1.ReplicaSet) error
- type ReplicaSetEventWatcher
- type ReplicaSetFinalizer
- type ReplicaSetReconcileLoop
- type ReplicaSetReconciler
- type ReplicaSetReconcilerFuncs
- type StatefulSetDeletionReconciler
- type StatefulSetEventHandler
- type StatefulSetEventHandlerFuncs
- func (f *StatefulSetEventHandlerFuncs) CreateStatefulSet(obj *apps_v1.StatefulSet) error
- func (f *StatefulSetEventHandlerFuncs) DeleteStatefulSet(obj *apps_v1.StatefulSet) error
- func (f *StatefulSetEventHandlerFuncs) GenericStatefulSet(obj *apps_v1.StatefulSet) error
- func (f *StatefulSetEventHandlerFuncs) UpdateStatefulSet(objOld, objNew *apps_v1.StatefulSet) error
- type StatefulSetEventWatcher
- type StatefulSetFinalizer
- type StatefulSetReconcileLoop
- type StatefulSetReconciler
- type StatefulSetReconcilerFuncs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DaemonSetDeletionReconciler ¶
type DaemonSetDeletionReconciler interface {
ReconcileDaemonSetDeletion(req reconcile.Request) error
}
Reconcile deletion events for the DaemonSet Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type DaemonSetEventHandler ¶
type DaemonSetEventHandler interface { CreateDaemonSet(obj *apps_v1.DaemonSet) error UpdateDaemonSet(old, new *apps_v1.DaemonSet) error DeleteDaemonSet(obj *apps_v1.DaemonSet) error GenericDaemonSet(obj *apps_v1.DaemonSet) error }
Handle events for the DaemonSet Resource DEPRECATED: Prefer reconciler pattern.
type DaemonSetEventHandlerFuncs ¶
type DaemonSetEventHandlerFuncs struct { OnCreate func(obj *apps_v1.DaemonSet) error OnUpdate func(old, new *apps_v1.DaemonSet) error OnDelete func(obj *apps_v1.DaemonSet) error OnGeneric func(obj *apps_v1.DaemonSet) error }
func (*DaemonSetEventHandlerFuncs) CreateDaemonSet ¶
func (f *DaemonSetEventHandlerFuncs) CreateDaemonSet(obj *apps_v1.DaemonSet) error
func (*DaemonSetEventHandlerFuncs) DeleteDaemonSet ¶
func (f *DaemonSetEventHandlerFuncs) DeleteDaemonSet(obj *apps_v1.DaemonSet) error
func (*DaemonSetEventHandlerFuncs) GenericDaemonSet ¶
func (f *DaemonSetEventHandlerFuncs) GenericDaemonSet(obj *apps_v1.DaemonSet) error
func (*DaemonSetEventHandlerFuncs) UpdateDaemonSet ¶
func (f *DaemonSetEventHandlerFuncs) UpdateDaemonSet(objOld, objNew *apps_v1.DaemonSet) error
type DaemonSetEventWatcher ¶
type DaemonSetEventWatcher interface {
AddEventHandler(ctx context.Context, h DaemonSetEventHandler, predicates ...predicate.Predicate) error
}
func NewDaemonSetEventWatcher ¶
func NewDaemonSetEventWatcher(name string, mgr manager.Manager) DaemonSetEventWatcher
type DaemonSetFinalizer ¶
type DaemonSetFinalizer interface { DaemonSetReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task DaemonSetFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizeDaemonSet(obj *apps_v1.DaemonSet) error }
Reconcile and finalize the DaemonSet Resource implemented by the user
type DaemonSetReconcileLoop ¶
type DaemonSetReconcileLoop interface {
RunDaemonSetReconciler(ctx context.Context, rec DaemonSetReconciler, predicates ...predicate.Predicate) error
}
type DaemonSetReconciler ¶
type DaemonSetReconciler interface {
ReconcileDaemonSet(obj *apps_v1.DaemonSet) (reconcile.Result, error)
}
Reconcile Upsert events for the DaemonSet Resource. implemented by the user
type DaemonSetReconcilerFuncs ¶
type DaemonSetReconcilerFuncs struct { OnReconcileDaemonSet func(obj *apps_v1.DaemonSet) (reconcile.Result, error) OnReconcileDaemonSetDeletion func(req reconcile.Request) error }
func (*DaemonSetReconcilerFuncs) ReconcileDaemonSet ¶
func (*DaemonSetReconcilerFuncs) ReconcileDaemonSetDeletion ¶
func (f *DaemonSetReconcilerFuncs) ReconcileDaemonSetDeletion(req reconcile.Request) error
type DeploymentDeletionReconciler ¶
type DeploymentDeletionReconciler interface {
ReconcileDeploymentDeletion(req reconcile.Request) error
}
Reconcile deletion events for the Deployment Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type DeploymentEventHandler ¶
type DeploymentEventHandler interface { CreateDeployment(obj *apps_v1.Deployment) error UpdateDeployment(old, new *apps_v1.Deployment) error DeleteDeployment(obj *apps_v1.Deployment) error GenericDeployment(obj *apps_v1.Deployment) error }
Handle events for the Deployment Resource DEPRECATED: Prefer reconciler pattern.
type DeploymentEventHandlerFuncs ¶
type DeploymentEventHandlerFuncs struct { OnCreate func(obj *apps_v1.Deployment) error OnUpdate func(old, new *apps_v1.Deployment) error OnDelete func(obj *apps_v1.Deployment) error OnGeneric func(obj *apps_v1.Deployment) error }
func (*DeploymentEventHandlerFuncs) CreateDeployment ¶
func (f *DeploymentEventHandlerFuncs) CreateDeployment(obj *apps_v1.Deployment) error
func (*DeploymentEventHandlerFuncs) DeleteDeployment ¶
func (f *DeploymentEventHandlerFuncs) DeleteDeployment(obj *apps_v1.Deployment) error
func (*DeploymentEventHandlerFuncs) GenericDeployment ¶
func (f *DeploymentEventHandlerFuncs) GenericDeployment(obj *apps_v1.Deployment) error
func (*DeploymentEventHandlerFuncs) UpdateDeployment ¶
func (f *DeploymentEventHandlerFuncs) UpdateDeployment(objOld, objNew *apps_v1.Deployment) error
type DeploymentEventWatcher ¶
type DeploymentEventWatcher interface {
AddEventHandler(ctx context.Context, h DeploymentEventHandler, predicates ...predicate.Predicate) error
}
func NewDeploymentEventWatcher ¶
func NewDeploymentEventWatcher(name string, mgr manager.Manager) DeploymentEventWatcher
type DeploymentFinalizer ¶
type DeploymentFinalizer interface { DeploymentReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task DeploymentFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizeDeployment(obj *apps_v1.Deployment) error }
Reconcile and finalize the Deployment Resource implemented by the user
type DeploymentReconcileLoop ¶
type DeploymentReconcileLoop interface {
RunDeploymentReconciler(ctx context.Context, rec DeploymentReconciler, predicates ...predicate.Predicate) error
}
type DeploymentReconciler ¶
type DeploymentReconciler interface {
ReconcileDeployment(obj *apps_v1.Deployment) (reconcile.Result, error)
}
Reconcile Upsert events for the Deployment Resource. implemented by the user
type DeploymentReconcilerFuncs ¶
type DeploymentReconcilerFuncs struct { OnReconcileDeployment func(obj *apps_v1.Deployment) (reconcile.Result, error) OnReconcileDeploymentDeletion func(req reconcile.Request) error }
func (*DeploymentReconcilerFuncs) ReconcileDeployment ¶
func (f *DeploymentReconcilerFuncs) ReconcileDeployment(obj *apps_v1.Deployment) (reconcile.Result, error)
func (*DeploymentReconcilerFuncs) ReconcileDeploymentDeletion ¶
func (f *DeploymentReconcilerFuncs) ReconcileDeploymentDeletion(req reconcile.Request) error
type MulticlusterDaemonSetDeletionReconciler ¶
type MulticlusterDaemonSetDeletionReconciler interface {
ReconcileDaemonSetDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the DaemonSet 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 MulticlusterDaemonSetReconcileLoop ¶
type MulticlusterDaemonSetReconcileLoop interface { // AddMulticlusterDaemonSetReconciler adds a MulticlusterDaemonSetReconciler to the MulticlusterDaemonSetReconcileLoop. AddMulticlusterDaemonSetReconciler(ctx context.Context, rec MulticlusterDaemonSetReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterDaemonSetReconcileLoop ¶
func NewMulticlusterDaemonSetReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterDaemonSetReconcileLoop
type MulticlusterDaemonSetReconciler ¶
type MulticlusterDaemonSetReconciler interface {
ReconcileDaemonSet(clusterName string, obj *apps_v1.DaemonSet) (reconcile.Result, error)
}
Reconcile Upsert events for the DaemonSet Resource across clusters. implemented by the user
type MulticlusterDaemonSetReconcilerFuncs ¶
type MulticlusterDaemonSetReconcilerFuncs struct { OnReconcileDaemonSet func(clusterName string, obj *apps_v1.DaemonSet) (reconcile.Result, error) OnReconcileDaemonSetDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterDaemonSetReconcilerFuncs) ReconcileDaemonSet ¶
func (*MulticlusterDaemonSetReconcilerFuncs) ReconcileDaemonSetDeletion ¶
func (f *MulticlusterDaemonSetReconcilerFuncs) ReconcileDaemonSetDeletion(clusterName string, req reconcile.Request) error
type MulticlusterDeploymentDeletionReconciler ¶
type MulticlusterDeploymentDeletionReconciler interface {
ReconcileDeploymentDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the Deployment 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 MulticlusterDeploymentReconcileLoop ¶
type MulticlusterDeploymentReconcileLoop interface { // AddMulticlusterDeploymentReconciler adds a MulticlusterDeploymentReconciler to the MulticlusterDeploymentReconcileLoop. AddMulticlusterDeploymentReconciler(ctx context.Context, rec MulticlusterDeploymentReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterDeploymentReconcileLoop ¶
func NewMulticlusterDeploymentReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterDeploymentReconcileLoop
type MulticlusterDeploymentReconciler ¶
type MulticlusterDeploymentReconciler interface {
ReconcileDeployment(clusterName string, obj *apps_v1.Deployment) (reconcile.Result, error)
}
Reconcile Upsert events for the Deployment Resource across clusters. implemented by the user
type MulticlusterDeploymentReconcilerFuncs ¶
type MulticlusterDeploymentReconcilerFuncs struct { OnReconcileDeployment func(clusterName string, obj *apps_v1.Deployment) (reconcile.Result, error) OnReconcileDeploymentDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterDeploymentReconcilerFuncs) ReconcileDeployment ¶
func (f *MulticlusterDeploymentReconcilerFuncs) ReconcileDeployment(clusterName string, obj *apps_v1.Deployment) (reconcile.Result, error)
func (*MulticlusterDeploymentReconcilerFuncs) ReconcileDeploymentDeletion ¶
func (f *MulticlusterDeploymentReconcilerFuncs) ReconcileDeploymentDeletion(clusterName string, req reconcile.Request) error
type MulticlusterReplicaSetDeletionReconciler ¶
type MulticlusterReplicaSetDeletionReconciler interface {
ReconcileReplicaSetDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the ReplicaSet 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 MulticlusterReplicaSetReconcileLoop ¶
type MulticlusterReplicaSetReconcileLoop interface { // AddMulticlusterReplicaSetReconciler adds a MulticlusterReplicaSetReconciler to the MulticlusterReplicaSetReconcileLoop. AddMulticlusterReplicaSetReconciler(ctx context.Context, rec MulticlusterReplicaSetReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterReplicaSetReconcileLoop ¶
func NewMulticlusterReplicaSetReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterReplicaSetReconcileLoop
type MulticlusterReplicaSetReconciler ¶
type MulticlusterReplicaSetReconciler interface {
ReconcileReplicaSet(clusterName string, obj *apps_v1.ReplicaSet) (reconcile.Result, error)
}
Reconcile Upsert events for the ReplicaSet Resource across clusters. implemented by the user
type MulticlusterReplicaSetReconcilerFuncs ¶
type MulticlusterReplicaSetReconcilerFuncs struct { OnReconcileReplicaSet func(clusterName string, obj *apps_v1.ReplicaSet) (reconcile.Result, error) OnReconcileReplicaSetDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterReplicaSetReconcilerFuncs) ReconcileReplicaSet ¶
func (f *MulticlusterReplicaSetReconcilerFuncs) ReconcileReplicaSet(clusterName string, obj *apps_v1.ReplicaSet) (reconcile.Result, error)
func (*MulticlusterReplicaSetReconcilerFuncs) ReconcileReplicaSetDeletion ¶
func (f *MulticlusterReplicaSetReconcilerFuncs) ReconcileReplicaSetDeletion(clusterName string, req reconcile.Request) error
type MulticlusterStatefulSetDeletionReconciler ¶
type MulticlusterStatefulSetDeletionReconciler interface {
ReconcileStatefulSetDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the StatefulSet 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 MulticlusterStatefulSetReconcileLoop ¶
type MulticlusterStatefulSetReconcileLoop interface { // AddMulticlusterStatefulSetReconciler adds a MulticlusterStatefulSetReconciler to the MulticlusterStatefulSetReconcileLoop. AddMulticlusterStatefulSetReconciler(ctx context.Context, rec MulticlusterStatefulSetReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterStatefulSetReconcileLoop ¶
func NewMulticlusterStatefulSetReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterStatefulSetReconcileLoop
type MulticlusterStatefulSetReconciler ¶
type MulticlusterStatefulSetReconciler interface {
ReconcileStatefulSet(clusterName string, obj *apps_v1.StatefulSet) (reconcile.Result, error)
}
Reconcile Upsert events for the StatefulSet Resource across clusters. implemented by the user
type MulticlusterStatefulSetReconcilerFuncs ¶
type MulticlusterStatefulSetReconcilerFuncs struct { OnReconcileStatefulSet func(clusterName string, obj *apps_v1.StatefulSet) (reconcile.Result, error) OnReconcileStatefulSetDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterStatefulSetReconcilerFuncs) ReconcileStatefulSet ¶
func (f *MulticlusterStatefulSetReconcilerFuncs) ReconcileStatefulSet(clusterName string, obj *apps_v1.StatefulSet) (reconcile.Result, error)
func (*MulticlusterStatefulSetReconcilerFuncs) ReconcileStatefulSetDeletion ¶
func (f *MulticlusterStatefulSetReconcilerFuncs) ReconcileStatefulSetDeletion(clusterName string, req reconcile.Request) error
type ReplicaSetDeletionReconciler ¶
type ReplicaSetDeletionReconciler interface {
ReconcileReplicaSetDeletion(req reconcile.Request) error
}
Reconcile deletion events for the ReplicaSet Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type ReplicaSetEventHandler ¶
type ReplicaSetEventHandler interface { CreateReplicaSet(obj *apps_v1.ReplicaSet) error UpdateReplicaSet(old, new *apps_v1.ReplicaSet) error DeleteReplicaSet(obj *apps_v1.ReplicaSet) error GenericReplicaSet(obj *apps_v1.ReplicaSet) error }
Handle events for the ReplicaSet Resource DEPRECATED: Prefer reconciler pattern.
type ReplicaSetEventHandlerFuncs ¶
type ReplicaSetEventHandlerFuncs struct { OnCreate func(obj *apps_v1.ReplicaSet) error OnUpdate func(old, new *apps_v1.ReplicaSet) error OnDelete func(obj *apps_v1.ReplicaSet) error OnGeneric func(obj *apps_v1.ReplicaSet) error }
func (*ReplicaSetEventHandlerFuncs) CreateReplicaSet ¶
func (f *ReplicaSetEventHandlerFuncs) CreateReplicaSet(obj *apps_v1.ReplicaSet) error
func (*ReplicaSetEventHandlerFuncs) DeleteReplicaSet ¶
func (f *ReplicaSetEventHandlerFuncs) DeleteReplicaSet(obj *apps_v1.ReplicaSet) error
func (*ReplicaSetEventHandlerFuncs) GenericReplicaSet ¶
func (f *ReplicaSetEventHandlerFuncs) GenericReplicaSet(obj *apps_v1.ReplicaSet) error
func (*ReplicaSetEventHandlerFuncs) UpdateReplicaSet ¶
func (f *ReplicaSetEventHandlerFuncs) UpdateReplicaSet(objOld, objNew *apps_v1.ReplicaSet) error
type ReplicaSetEventWatcher ¶
type ReplicaSetEventWatcher interface {
AddEventHandler(ctx context.Context, h ReplicaSetEventHandler, predicates ...predicate.Predicate) error
}
func NewReplicaSetEventWatcher ¶
func NewReplicaSetEventWatcher(name string, mgr manager.Manager) ReplicaSetEventWatcher
type ReplicaSetFinalizer ¶
type ReplicaSetFinalizer interface { ReplicaSetReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task ReplicaSetFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizeReplicaSet(obj *apps_v1.ReplicaSet) error }
Reconcile and finalize the ReplicaSet Resource implemented by the user
type ReplicaSetReconcileLoop ¶
type ReplicaSetReconcileLoop interface {
RunReplicaSetReconciler(ctx context.Context, rec ReplicaSetReconciler, predicates ...predicate.Predicate) error
}
type ReplicaSetReconciler ¶
type ReplicaSetReconciler interface {
ReconcileReplicaSet(obj *apps_v1.ReplicaSet) (reconcile.Result, error)
}
Reconcile Upsert events for the ReplicaSet Resource. implemented by the user
type ReplicaSetReconcilerFuncs ¶
type ReplicaSetReconcilerFuncs struct { OnReconcileReplicaSet func(obj *apps_v1.ReplicaSet) (reconcile.Result, error) OnReconcileReplicaSetDeletion func(req reconcile.Request) error }
func (*ReplicaSetReconcilerFuncs) ReconcileReplicaSet ¶
func (f *ReplicaSetReconcilerFuncs) ReconcileReplicaSet(obj *apps_v1.ReplicaSet) (reconcile.Result, error)
func (*ReplicaSetReconcilerFuncs) ReconcileReplicaSetDeletion ¶
func (f *ReplicaSetReconcilerFuncs) ReconcileReplicaSetDeletion(req reconcile.Request) error
type StatefulSetDeletionReconciler ¶
type StatefulSetDeletionReconciler interface {
ReconcileStatefulSetDeletion(req reconcile.Request) error
}
Reconcile deletion events for the StatefulSet Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type StatefulSetEventHandler ¶
type StatefulSetEventHandler interface { CreateStatefulSet(obj *apps_v1.StatefulSet) error UpdateStatefulSet(old, new *apps_v1.StatefulSet) error DeleteStatefulSet(obj *apps_v1.StatefulSet) error GenericStatefulSet(obj *apps_v1.StatefulSet) error }
Handle events for the StatefulSet Resource DEPRECATED: Prefer reconciler pattern.
type StatefulSetEventHandlerFuncs ¶
type StatefulSetEventHandlerFuncs struct { OnCreate func(obj *apps_v1.StatefulSet) error OnUpdate func(old, new *apps_v1.StatefulSet) error OnDelete func(obj *apps_v1.StatefulSet) error OnGeneric func(obj *apps_v1.StatefulSet) error }
func (*StatefulSetEventHandlerFuncs) CreateStatefulSet ¶
func (f *StatefulSetEventHandlerFuncs) CreateStatefulSet(obj *apps_v1.StatefulSet) error
func (*StatefulSetEventHandlerFuncs) DeleteStatefulSet ¶
func (f *StatefulSetEventHandlerFuncs) DeleteStatefulSet(obj *apps_v1.StatefulSet) error
func (*StatefulSetEventHandlerFuncs) GenericStatefulSet ¶
func (f *StatefulSetEventHandlerFuncs) GenericStatefulSet(obj *apps_v1.StatefulSet) error
func (*StatefulSetEventHandlerFuncs) UpdateStatefulSet ¶
func (f *StatefulSetEventHandlerFuncs) UpdateStatefulSet(objOld, objNew *apps_v1.StatefulSet) error
type StatefulSetEventWatcher ¶
type StatefulSetEventWatcher interface {
AddEventHandler(ctx context.Context, h StatefulSetEventHandler, predicates ...predicate.Predicate) error
}
func NewStatefulSetEventWatcher ¶
func NewStatefulSetEventWatcher(name string, mgr manager.Manager) StatefulSetEventWatcher
type StatefulSetFinalizer ¶
type StatefulSetFinalizer interface { StatefulSetReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task StatefulSetFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizeStatefulSet(obj *apps_v1.StatefulSet) error }
Reconcile and finalize the StatefulSet Resource implemented by the user
type StatefulSetReconcileLoop ¶
type StatefulSetReconcileLoop interface {
RunStatefulSetReconciler(ctx context.Context, rec StatefulSetReconciler, predicates ...predicate.Predicate) error
}
type StatefulSetReconciler ¶
type StatefulSetReconciler interface {
ReconcileStatefulSet(obj *apps_v1.StatefulSet) (reconcile.Result, error)
}
Reconcile Upsert events for the StatefulSet Resource. implemented by the user
type StatefulSetReconcilerFuncs ¶
type StatefulSetReconcilerFuncs struct { OnReconcileStatefulSet func(obj *apps_v1.StatefulSet) (reconcile.Result, error) OnReconcileStatefulSetDeletion func(req reconcile.Request) error }
func (*StatefulSetReconcilerFuncs) ReconcileStatefulSet ¶
func (f *StatefulSetReconcilerFuncs) ReconcileStatefulSet(obj *apps_v1.StatefulSet) (reconcile.Result, error)
func (*StatefulSetReconcilerFuncs) ReconcileStatefulSetDeletion ¶
func (f *StatefulSetReconcilerFuncs) ReconcileStatefulSetDeletion(req reconcile.Request) error