Documentation ¶
Overview ¶
Definitions for the Kubernetes Controllers
Definitions for the multicluster Kubernetes Controllers ¶
Definitions for the Kubernetes Controllers
Index ¶
- type ConfigMapDeletionReconciler
- type ConfigMapEventHandler
- type ConfigMapEventHandlerFuncs
- func (f *ConfigMapEventHandlerFuncs) CreateConfigMap(obj *v1.ConfigMap) error
- func (f *ConfigMapEventHandlerFuncs) DeleteConfigMap(obj *v1.ConfigMap) error
- func (f *ConfigMapEventHandlerFuncs) GenericConfigMap(obj *v1.ConfigMap) error
- func (f *ConfigMapEventHandlerFuncs) UpdateConfigMap(objOld, objNew *v1.ConfigMap) error
- type ConfigMapEventWatcher
- type ConfigMapFinalizer
- type ConfigMapReconcileLoop
- type ConfigMapReconciler
- type ConfigMapReconcilerFuncs
- type MulticlusterConfigMapDeletionReconciler
- type MulticlusterConfigMapReconcileLoop
- type MulticlusterConfigMapReconciler
- type MulticlusterConfigMapReconcilerFuncs
- type MulticlusterNamespaceDeletionReconciler
- type MulticlusterNamespaceReconcileLoop
- type MulticlusterNamespaceReconciler
- type MulticlusterNamespaceReconcilerFuncs
- type MulticlusterNodeDeletionReconciler
- type MulticlusterNodeReconcileLoop
- type MulticlusterNodeReconciler
- type MulticlusterNodeReconcilerFuncs
- type MulticlusterPodDeletionReconciler
- type MulticlusterPodReconcileLoop
- type MulticlusterPodReconciler
- type MulticlusterPodReconcilerFuncs
- type MulticlusterSecretDeletionReconciler
- type MulticlusterSecretReconcileLoop
- type MulticlusterSecretReconciler
- type MulticlusterSecretReconcilerFuncs
- type MulticlusterServiceAccountDeletionReconciler
- type MulticlusterServiceAccountReconcileLoop
- type MulticlusterServiceAccountReconciler
- type MulticlusterServiceAccountReconcilerFuncs
- type MulticlusterServiceDeletionReconciler
- type MulticlusterServiceReconcileLoop
- type MulticlusterServiceReconciler
- type MulticlusterServiceReconcilerFuncs
- type NamespaceDeletionReconciler
- type NamespaceEventHandler
- type NamespaceEventHandlerFuncs
- func (f *NamespaceEventHandlerFuncs) CreateNamespace(obj *v1.Namespace) error
- func (f *NamespaceEventHandlerFuncs) DeleteNamespace(obj *v1.Namespace) error
- func (f *NamespaceEventHandlerFuncs) GenericNamespace(obj *v1.Namespace) error
- func (f *NamespaceEventHandlerFuncs) UpdateNamespace(objOld, objNew *v1.Namespace) error
- type NamespaceEventWatcher
- type NamespaceFinalizer
- type NamespaceReconcileLoop
- type NamespaceReconciler
- type NamespaceReconcilerFuncs
- type NodeDeletionReconciler
- type NodeEventHandler
- type NodeEventHandlerFuncs
- type NodeEventWatcher
- type NodeFinalizer
- type NodeReconcileLoop
- type NodeReconciler
- type NodeReconcilerFuncs
- type PodDeletionReconciler
- type PodEventHandler
- type PodEventHandlerFuncs
- type PodEventWatcher
- type PodFinalizer
- type PodReconcileLoop
- type PodReconciler
- type PodReconcilerFuncs
- type SecretDeletionReconciler
- type SecretEventHandler
- type SecretEventHandlerFuncs
- type SecretEventWatcher
- type SecretFinalizer
- type SecretReconcileLoop
- type SecretReconciler
- type SecretReconcilerFuncs
- type ServiceAccountDeletionReconciler
- type ServiceAccountEventHandler
- type ServiceAccountEventHandlerFuncs
- func (f *ServiceAccountEventHandlerFuncs) CreateServiceAccount(obj *v1.ServiceAccount) error
- func (f *ServiceAccountEventHandlerFuncs) DeleteServiceAccount(obj *v1.ServiceAccount) error
- func (f *ServiceAccountEventHandlerFuncs) GenericServiceAccount(obj *v1.ServiceAccount) error
- func (f *ServiceAccountEventHandlerFuncs) UpdateServiceAccount(objOld, objNew *v1.ServiceAccount) error
- type ServiceAccountEventWatcher
- type ServiceAccountFinalizer
- type ServiceAccountReconcileLoop
- type ServiceAccountReconciler
- type ServiceAccountReconcilerFuncs
- type ServiceDeletionReconciler
- type ServiceEventHandler
- type ServiceEventHandlerFuncs
- type ServiceEventWatcher
- type ServiceFinalizer
- type ServiceReconcileLoop
- type ServiceReconciler
- type ServiceReconcilerFuncs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMapDeletionReconciler ¶
type ConfigMapDeletionReconciler interface {
ReconcileConfigMapDeletion(req reconcile.Request) error
}
Reconcile deletion events for the ConfigMap Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type ConfigMapEventHandler ¶
type ConfigMapEventHandler interface { CreateConfigMap(obj *v1.ConfigMap) error UpdateConfigMap(old, new *v1.ConfigMap) error DeleteConfigMap(obj *v1.ConfigMap) error GenericConfigMap(obj *v1.ConfigMap) error }
Handle events for the ConfigMap Resource DEPRECATED: Prefer reconciler pattern.
type ConfigMapEventHandlerFuncs ¶
type ConfigMapEventHandlerFuncs struct { OnCreate func(obj *v1.ConfigMap) error OnUpdate func(old, new *v1.ConfigMap) error OnDelete func(obj *v1.ConfigMap) error OnGeneric func(obj *v1.ConfigMap) error }
func (*ConfigMapEventHandlerFuncs) CreateConfigMap ¶
func (f *ConfigMapEventHandlerFuncs) CreateConfigMap(obj *v1.ConfigMap) error
func (*ConfigMapEventHandlerFuncs) DeleteConfigMap ¶
func (f *ConfigMapEventHandlerFuncs) DeleteConfigMap(obj *v1.ConfigMap) error
func (*ConfigMapEventHandlerFuncs) GenericConfigMap ¶
func (f *ConfigMapEventHandlerFuncs) GenericConfigMap(obj *v1.ConfigMap) error
func (*ConfigMapEventHandlerFuncs) UpdateConfigMap ¶
func (f *ConfigMapEventHandlerFuncs) UpdateConfigMap(objOld, objNew *v1.ConfigMap) error
type ConfigMapEventWatcher ¶
type ConfigMapEventWatcher interface {
AddEventHandler(ctx context.Context, h ConfigMapEventHandler, predicates ...predicate.Predicate) error
}
func NewConfigMapEventWatcher ¶
func NewConfigMapEventWatcher(name string, mgr manager.Manager) ConfigMapEventWatcher
type ConfigMapFinalizer ¶
type ConfigMapFinalizer interface { ConfigMapReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task ConfigMapFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizeConfigMap(obj *v1.ConfigMap) error }
Reconcile and finalize the ConfigMap Resource implemented by the user
type ConfigMapReconcileLoop ¶
type ConfigMapReconcileLoop interface {
RunConfigMapReconciler(ctx context.Context, rec ConfigMapReconciler, predicates ...predicate.Predicate) error
}
type ConfigMapReconciler ¶
type ConfigMapReconciler interface {
ReconcileConfigMap(obj *v1.ConfigMap) (reconcile.Result, error)
}
Reconcile Upsert events for the ConfigMap Resource. implemented by the user
type ConfigMapReconcilerFuncs ¶
type ConfigMapReconcilerFuncs struct { OnReconcileConfigMap func(obj *v1.ConfigMap) (reconcile.Result, error) OnReconcileConfigMapDeletion func(req reconcile.Request) error }
func (*ConfigMapReconcilerFuncs) ReconcileConfigMap ¶
func (*ConfigMapReconcilerFuncs) ReconcileConfigMapDeletion ¶
func (f *ConfigMapReconcilerFuncs) ReconcileConfigMapDeletion(req reconcile.Request) error
type MulticlusterConfigMapDeletionReconciler ¶
type MulticlusterConfigMapDeletionReconciler interface {
ReconcileConfigMapDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the ConfigMap 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 MulticlusterConfigMapReconcileLoop ¶
type MulticlusterConfigMapReconcileLoop interface { // AddMulticlusterConfigMapReconciler adds a MulticlusterConfigMapReconciler to the MulticlusterConfigMapReconcileLoop. AddMulticlusterConfigMapReconciler(ctx context.Context, rec MulticlusterConfigMapReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterConfigMapReconcileLoop ¶
func NewMulticlusterConfigMapReconcileLoop(name string, cw multicluster.ClusterWatcher) MulticlusterConfigMapReconcileLoop
type MulticlusterConfigMapReconciler ¶
type MulticlusterConfigMapReconciler interface {
ReconcileConfigMap(clusterName string, obj *v1.ConfigMap) (reconcile.Result, error)
}
Reconcile Upsert events for the ConfigMap Resource across clusters. implemented by the user
type MulticlusterConfigMapReconcilerFuncs ¶
type MulticlusterConfigMapReconcilerFuncs struct { OnReconcileConfigMap func(clusterName string, obj *v1.ConfigMap) (reconcile.Result, error) OnReconcileConfigMapDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterConfigMapReconcilerFuncs) ReconcileConfigMap ¶
func (*MulticlusterConfigMapReconcilerFuncs) ReconcileConfigMapDeletion ¶
func (f *MulticlusterConfigMapReconcilerFuncs) ReconcileConfigMapDeletion(clusterName string, req reconcile.Request) error
type MulticlusterNamespaceDeletionReconciler ¶
type MulticlusterNamespaceDeletionReconciler interface {
ReconcileNamespaceDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the Namespace 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 MulticlusterNamespaceReconcileLoop ¶
type MulticlusterNamespaceReconcileLoop interface { // AddMulticlusterNamespaceReconciler adds a MulticlusterNamespaceReconciler to the MulticlusterNamespaceReconcileLoop. AddMulticlusterNamespaceReconciler(ctx context.Context, rec MulticlusterNamespaceReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterNamespaceReconcileLoop ¶
func NewMulticlusterNamespaceReconcileLoop(name string, cw multicluster.ClusterWatcher) MulticlusterNamespaceReconcileLoop
type MulticlusterNamespaceReconciler ¶
type MulticlusterNamespaceReconciler interface {
ReconcileNamespace(clusterName string, obj *v1.Namespace) (reconcile.Result, error)
}
Reconcile Upsert events for the Namespace Resource across clusters. implemented by the user
type MulticlusterNamespaceReconcilerFuncs ¶
type MulticlusterNamespaceReconcilerFuncs struct { OnReconcileNamespace func(clusterName string, obj *v1.Namespace) (reconcile.Result, error) OnReconcileNamespaceDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterNamespaceReconcilerFuncs) ReconcileNamespace ¶
func (*MulticlusterNamespaceReconcilerFuncs) ReconcileNamespaceDeletion ¶
func (f *MulticlusterNamespaceReconcilerFuncs) ReconcileNamespaceDeletion(clusterName string, req reconcile.Request) error
type MulticlusterNodeDeletionReconciler ¶
type MulticlusterNodeDeletionReconciler interface {
ReconcileNodeDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the Node 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 MulticlusterNodeReconcileLoop ¶
type MulticlusterNodeReconcileLoop interface { // AddMulticlusterNodeReconciler adds a MulticlusterNodeReconciler to the MulticlusterNodeReconcileLoop. AddMulticlusterNodeReconciler(ctx context.Context, rec MulticlusterNodeReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterNodeReconcileLoop ¶
func NewMulticlusterNodeReconcileLoop(name string, cw multicluster.ClusterWatcher) MulticlusterNodeReconcileLoop
type MulticlusterNodeReconciler ¶
type MulticlusterNodeReconciler interface {
ReconcileNode(clusterName string, obj *v1.Node) (reconcile.Result, error)
}
Reconcile Upsert events for the Node Resource across clusters. implemented by the user
type MulticlusterNodeReconcilerFuncs ¶
type MulticlusterNodeReconcilerFuncs struct { OnReconcileNode func(clusterName string, obj *v1.Node) (reconcile.Result, error) OnReconcileNodeDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterNodeReconcilerFuncs) ReconcileNode ¶
func (*MulticlusterNodeReconcilerFuncs) ReconcileNodeDeletion ¶
func (f *MulticlusterNodeReconcilerFuncs) ReconcileNodeDeletion(clusterName string, req reconcile.Request) error
type MulticlusterPodDeletionReconciler ¶
type MulticlusterPodDeletionReconciler interface {
ReconcilePodDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the Pod 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 MulticlusterPodReconcileLoop ¶
type MulticlusterPodReconcileLoop interface { // AddMulticlusterPodReconciler adds a MulticlusterPodReconciler to the MulticlusterPodReconcileLoop. AddMulticlusterPodReconciler(ctx context.Context, rec MulticlusterPodReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterPodReconcileLoop ¶
func NewMulticlusterPodReconcileLoop(name string, cw multicluster.ClusterWatcher) MulticlusterPodReconcileLoop
type MulticlusterPodReconciler ¶
type MulticlusterPodReconciler interface {
ReconcilePod(clusterName string, obj *v1.Pod) (reconcile.Result, error)
}
Reconcile Upsert events for the Pod Resource across clusters. implemented by the user
type MulticlusterPodReconcilerFuncs ¶
type MulticlusterPodReconcilerFuncs struct { OnReconcilePod func(clusterName string, obj *v1.Pod) (reconcile.Result, error) OnReconcilePodDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterPodReconcilerFuncs) ReconcilePod ¶
func (*MulticlusterPodReconcilerFuncs) ReconcilePodDeletion ¶
func (f *MulticlusterPodReconcilerFuncs) ReconcilePodDeletion(clusterName string, req reconcile.Request) error
type MulticlusterSecretDeletionReconciler ¶
type MulticlusterSecretDeletionReconciler interface {
ReconcileSecretDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the Secret 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 MulticlusterSecretReconcileLoop ¶
type MulticlusterSecretReconcileLoop interface { // AddMulticlusterSecretReconciler adds a MulticlusterSecretReconciler to the MulticlusterSecretReconcileLoop. AddMulticlusterSecretReconciler(ctx context.Context, rec MulticlusterSecretReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterSecretReconcileLoop ¶
func NewMulticlusterSecretReconcileLoop(name string, cw multicluster.ClusterWatcher) MulticlusterSecretReconcileLoop
type MulticlusterSecretReconciler ¶
type MulticlusterSecretReconciler interface {
ReconcileSecret(clusterName string, obj *v1.Secret) (reconcile.Result, error)
}
Reconcile Upsert events for the Secret Resource across clusters. implemented by the user
type MulticlusterSecretReconcilerFuncs ¶
type MulticlusterSecretReconcilerFuncs struct { OnReconcileSecret func(clusterName string, obj *v1.Secret) (reconcile.Result, error) OnReconcileSecretDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterSecretReconcilerFuncs) ReconcileSecret ¶
func (*MulticlusterSecretReconcilerFuncs) ReconcileSecretDeletion ¶
func (f *MulticlusterSecretReconcilerFuncs) ReconcileSecretDeletion(clusterName string, req reconcile.Request) error
type MulticlusterServiceAccountDeletionReconciler ¶
type MulticlusterServiceAccountDeletionReconciler interface {
ReconcileServiceAccountDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the ServiceAccount 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 MulticlusterServiceAccountReconcileLoop ¶
type MulticlusterServiceAccountReconcileLoop interface { // AddMulticlusterServiceAccountReconciler adds a MulticlusterServiceAccountReconciler to the MulticlusterServiceAccountReconcileLoop. AddMulticlusterServiceAccountReconciler(ctx context.Context, rec MulticlusterServiceAccountReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterServiceAccountReconcileLoop ¶
func NewMulticlusterServiceAccountReconcileLoop(name string, cw multicluster.ClusterWatcher) MulticlusterServiceAccountReconcileLoop
type MulticlusterServiceAccountReconciler ¶
type MulticlusterServiceAccountReconciler interface {
ReconcileServiceAccount(clusterName string, obj *v1.ServiceAccount) (reconcile.Result, error)
}
Reconcile Upsert events for the ServiceAccount Resource across clusters. implemented by the user
type MulticlusterServiceAccountReconcilerFuncs ¶
type MulticlusterServiceAccountReconcilerFuncs struct { OnReconcileServiceAccount func(clusterName string, obj *v1.ServiceAccount) (reconcile.Result, error) OnReconcileServiceAccountDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterServiceAccountReconcilerFuncs) ReconcileServiceAccount ¶
func (f *MulticlusterServiceAccountReconcilerFuncs) ReconcileServiceAccount(clusterName string, obj *v1.ServiceAccount) (reconcile.Result, error)
func (*MulticlusterServiceAccountReconcilerFuncs) ReconcileServiceAccountDeletion ¶
func (f *MulticlusterServiceAccountReconcilerFuncs) ReconcileServiceAccountDeletion(clusterName string, req reconcile.Request) error
type MulticlusterServiceDeletionReconciler ¶
type MulticlusterServiceDeletionReconciler interface {
ReconcileServiceDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the Service 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 MulticlusterServiceReconcileLoop ¶
type MulticlusterServiceReconcileLoop interface { // AddMulticlusterServiceReconciler adds a MulticlusterServiceReconciler to the MulticlusterServiceReconcileLoop. AddMulticlusterServiceReconciler(ctx context.Context, rec MulticlusterServiceReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterServiceReconcileLoop ¶
func NewMulticlusterServiceReconcileLoop(name string, cw multicluster.ClusterWatcher) MulticlusterServiceReconcileLoop
type MulticlusterServiceReconciler ¶
type MulticlusterServiceReconciler interface {
ReconcileService(clusterName string, obj *v1.Service) (reconcile.Result, error)
}
Reconcile Upsert events for the Service Resource across clusters. implemented by the user
type MulticlusterServiceReconcilerFuncs ¶
type MulticlusterServiceReconcilerFuncs struct { OnReconcileService func(clusterName string, obj *v1.Service) (reconcile.Result, error) OnReconcileServiceDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterServiceReconcilerFuncs) ReconcileService ¶
func (*MulticlusterServiceReconcilerFuncs) ReconcileServiceDeletion ¶
func (f *MulticlusterServiceReconcilerFuncs) ReconcileServiceDeletion(clusterName string, req reconcile.Request) error
type NamespaceDeletionReconciler ¶
type NamespaceDeletionReconciler interface {
ReconcileNamespaceDeletion(req reconcile.Request) error
}
Reconcile deletion events for the Namespace Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type NamespaceEventHandler ¶
type NamespaceEventHandler interface { CreateNamespace(obj *v1.Namespace) error UpdateNamespace(old, new *v1.Namespace) error DeleteNamespace(obj *v1.Namespace) error GenericNamespace(obj *v1.Namespace) error }
Handle events for the Namespace Resource DEPRECATED: Prefer reconciler pattern.
type NamespaceEventHandlerFuncs ¶
type NamespaceEventHandlerFuncs struct { OnCreate func(obj *v1.Namespace) error OnUpdate func(old, new *v1.Namespace) error OnDelete func(obj *v1.Namespace) error OnGeneric func(obj *v1.Namespace) error }
func (*NamespaceEventHandlerFuncs) CreateNamespace ¶
func (f *NamespaceEventHandlerFuncs) CreateNamespace(obj *v1.Namespace) error
func (*NamespaceEventHandlerFuncs) DeleteNamespace ¶
func (f *NamespaceEventHandlerFuncs) DeleteNamespace(obj *v1.Namespace) error
func (*NamespaceEventHandlerFuncs) GenericNamespace ¶
func (f *NamespaceEventHandlerFuncs) GenericNamespace(obj *v1.Namespace) error
func (*NamespaceEventHandlerFuncs) UpdateNamespace ¶
func (f *NamespaceEventHandlerFuncs) UpdateNamespace(objOld, objNew *v1.Namespace) error
type NamespaceEventWatcher ¶
type NamespaceEventWatcher interface {
AddEventHandler(ctx context.Context, h NamespaceEventHandler, predicates ...predicate.Predicate) error
}
func NewNamespaceEventWatcher ¶
func NewNamespaceEventWatcher(name string, mgr manager.Manager) NamespaceEventWatcher
type NamespaceFinalizer ¶
type NamespaceFinalizer interface { NamespaceReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task NamespaceFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizeNamespace(obj *v1.Namespace) error }
Reconcile and finalize the Namespace Resource implemented by the user
type NamespaceReconcileLoop ¶
type NamespaceReconcileLoop interface {
RunNamespaceReconciler(ctx context.Context, rec NamespaceReconciler, predicates ...predicate.Predicate) error
}
type NamespaceReconciler ¶
type NamespaceReconciler interface {
ReconcileNamespace(obj *v1.Namespace) (reconcile.Result, error)
}
Reconcile Upsert events for the Namespace Resource. implemented by the user
type NamespaceReconcilerFuncs ¶
type NamespaceReconcilerFuncs struct { OnReconcileNamespace func(obj *v1.Namespace) (reconcile.Result, error) OnReconcileNamespaceDeletion func(req reconcile.Request) error }
func (*NamespaceReconcilerFuncs) ReconcileNamespace ¶
func (*NamespaceReconcilerFuncs) ReconcileNamespaceDeletion ¶
func (f *NamespaceReconcilerFuncs) ReconcileNamespaceDeletion(req reconcile.Request) error
type NodeDeletionReconciler ¶
Reconcile deletion events for the Node Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type NodeEventHandler ¶
type NodeEventHandler interface { CreateNode(obj *v1.Node) error UpdateNode(old, new *v1.Node) error DeleteNode(obj *v1.Node) error GenericNode(obj *v1.Node) error }
Handle events for the Node Resource DEPRECATED: Prefer reconciler pattern.
type NodeEventHandlerFuncs ¶
type NodeEventHandlerFuncs struct { OnCreate func(obj *v1.Node) error OnUpdate func(old, new *v1.Node) error OnDelete func(obj *v1.Node) error OnGeneric func(obj *v1.Node) error }
func (*NodeEventHandlerFuncs) CreateNode ¶
func (f *NodeEventHandlerFuncs) CreateNode(obj *v1.Node) error
func (*NodeEventHandlerFuncs) DeleteNode ¶
func (f *NodeEventHandlerFuncs) DeleteNode(obj *v1.Node) error
func (*NodeEventHandlerFuncs) GenericNode ¶
func (f *NodeEventHandlerFuncs) GenericNode(obj *v1.Node) error
func (*NodeEventHandlerFuncs) UpdateNode ¶
func (f *NodeEventHandlerFuncs) UpdateNode(objOld, objNew *v1.Node) error
type NodeEventWatcher ¶
type NodeEventWatcher interface {
AddEventHandler(ctx context.Context, h NodeEventHandler, predicates ...predicate.Predicate) error
}
func NewNodeEventWatcher ¶
func NewNodeEventWatcher(name string, mgr manager.Manager) NodeEventWatcher
type NodeFinalizer ¶
type NodeFinalizer interface { NodeReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task NodeFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizeNode(obj *v1.Node) error }
Reconcile and finalize the Node Resource implemented by the user
type NodeReconcileLoop ¶
type NodeReconcileLoop interface {
RunNodeReconciler(ctx context.Context, rec NodeReconciler, predicates ...predicate.Predicate) error
}
func NewNodeReconcileLoop ¶
type NodeReconciler ¶
Reconcile Upsert events for the Node Resource. implemented by the user
type NodeReconcilerFuncs ¶
type NodeReconcilerFuncs struct { OnReconcileNode func(obj *v1.Node) (reconcile.Result, error) OnReconcileNodeDeletion func(req reconcile.Request) error }
func (*NodeReconcilerFuncs) ReconcileNode ¶
func (*NodeReconcilerFuncs) ReconcileNodeDeletion ¶
func (f *NodeReconcilerFuncs) ReconcileNodeDeletion(req reconcile.Request) error
type PodDeletionReconciler ¶
Reconcile deletion events for the Pod Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type PodEventHandler ¶
type PodEventHandler interface { CreatePod(obj *v1.Pod) error UpdatePod(old, new *v1.Pod) error DeletePod(obj *v1.Pod) error GenericPod(obj *v1.Pod) error }
Handle events for the Pod Resource DEPRECATED: Prefer reconciler pattern.
type PodEventHandlerFuncs ¶
type PodEventHandlerFuncs struct { OnCreate func(obj *v1.Pod) error OnUpdate func(old, new *v1.Pod) error OnDelete func(obj *v1.Pod) error OnGeneric func(obj *v1.Pod) error }
func (*PodEventHandlerFuncs) CreatePod ¶
func (f *PodEventHandlerFuncs) CreatePod(obj *v1.Pod) error
func (*PodEventHandlerFuncs) DeletePod ¶
func (f *PodEventHandlerFuncs) DeletePod(obj *v1.Pod) error
func (*PodEventHandlerFuncs) GenericPod ¶
func (f *PodEventHandlerFuncs) GenericPod(obj *v1.Pod) error
type PodEventWatcher ¶
type PodEventWatcher interface {
AddEventHandler(ctx context.Context, h PodEventHandler, predicates ...predicate.Predicate) error
}
func NewPodEventWatcher ¶
func NewPodEventWatcher(name string, mgr manager.Manager) PodEventWatcher
type PodFinalizer ¶
type PodFinalizer interface { PodReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task PodFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizePod(obj *v1.Pod) error }
Reconcile and finalize the Pod Resource implemented by the user
type PodReconcileLoop ¶
type PodReconcileLoop interface {
RunPodReconciler(ctx context.Context, rec PodReconciler, predicates ...predicate.Predicate) error
}
func NewPodReconcileLoop ¶
type PodReconciler ¶
Reconcile Upsert events for the Pod Resource. implemented by the user
type PodReconcilerFuncs ¶
type PodReconcilerFuncs struct { OnReconcilePod func(obj *v1.Pod) (reconcile.Result, error) OnReconcilePodDeletion func(req reconcile.Request) error }
func (*PodReconcilerFuncs) ReconcilePod ¶
func (*PodReconcilerFuncs) ReconcilePodDeletion ¶
func (f *PodReconcilerFuncs) ReconcilePodDeletion(req reconcile.Request) error
type SecretDeletionReconciler ¶
Reconcile deletion events for the Secret Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type SecretEventHandler ¶
type SecretEventHandler interface { CreateSecret(obj *v1.Secret) error UpdateSecret(old, new *v1.Secret) error DeleteSecret(obj *v1.Secret) error GenericSecret(obj *v1.Secret) error }
Handle events for the Secret Resource DEPRECATED: Prefer reconciler pattern.
type SecretEventHandlerFuncs ¶
type SecretEventHandlerFuncs struct { OnCreate func(obj *v1.Secret) error OnUpdate func(old, new *v1.Secret) error OnDelete func(obj *v1.Secret) error OnGeneric func(obj *v1.Secret) error }
func (*SecretEventHandlerFuncs) CreateSecret ¶
func (f *SecretEventHandlerFuncs) CreateSecret(obj *v1.Secret) error
func (*SecretEventHandlerFuncs) DeleteSecret ¶
func (f *SecretEventHandlerFuncs) DeleteSecret(obj *v1.Secret) error
func (*SecretEventHandlerFuncs) GenericSecret ¶
func (f *SecretEventHandlerFuncs) GenericSecret(obj *v1.Secret) error
func (*SecretEventHandlerFuncs) UpdateSecret ¶
func (f *SecretEventHandlerFuncs) UpdateSecret(objOld, objNew *v1.Secret) error
type SecretEventWatcher ¶
type SecretEventWatcher interface {
AddEventHandler(ctx context.Context, h SecretEventHandler, predicates ...predicate.Predicate) error
}
func NewSecretEventWatcher ¶
func NewSecretEventWatcher(name string, mgr manager.Manager) SecretEventWatcher
type SecretFinalizer ¶
type SecretFinalizer interface { SecretReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task SecretFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizeSecret(obj *v1.Secret) error }
Reconcile and finalize the Secret Resource implemented by the user
type SecretReconcileLoop ¶
type SecretReconcileLoop interface {
RunSecretReconciler(ctx context.Context, rec SecretReconciler, predicates ...predicate.Predicate) error
}
func NewSecretReconcileLoop ¶
type SecretReconciler ¶
Reconcile Upsert events for the Secret Resource. implemented by the user
type SecretReconcilerFuncs ¶
type SecretReconcilerFuncs struct { OnReconcileSecret func(obj *v1.Secret) (reconcile.Result, error) OnReconcileSecretDeletion func(req reconcile.Request) error }
func (*SecretReconcilerFuncs) ReconcileSecret ¶
func (*SecretReconcilerFuncs) ReconcileSecretDeletion ¶
func (f *SecretReconcilerFuncs) ReconcileSecretDeletion(req reconcile.Request) error
type ServiceAccountDeletionReconciler ¶
type ServiceAccountDeletionReconciler interface {
ReconcileServiceAccountDeletion(req reconcile.Request) error
}
Reconcile deletion events for the ServiceAccount Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type ServiceAccountEventHandler ¶
type ServiceAccountEventHandler interface { CreateServiceAccount(obj *v1.ServiceAccount) error UpdateServiceAccount(old, new *v1.ServiceAccount) error DeleteServiceAccount(obj *v1.ServiceAccount) error GenericServiceAccount(obj *v1.ServiceAccount) error }
Handle events for the ServiceAccount Resource DEPRECATED: Prefer reconciler pattern.
type ServiceAccountEventHandlerFuncs ¶
type ServiceAccountEventHandlerFuncs struct { OnCreate func(obj *v1.ServiceAccount) error OnUpdate func(old, new *v1.ServiceAccount) error OnDelete func(obj *v1.ServiceAccount) error OnGeneric func(obj *v1.ServiceAccount) error }
func (*ServiceAccountEventHandlerFuncs) CreateServiceAccount ¶
func (f *ServiceAccountEventHandlerFuncs) CreateServiceAccount(obj *v1.ServiceAccount) error
func (*ServiceAccountEventHandlerFuncs) DeleteServiceAccount ¶
func (f *ServiceAccountEventHandlerFuncs) DeleteServiceAccount(obj *v1.ServiceAccount) error
func (*ServiceAccountEventHandlerFuncs) GenericServiceAccount ¶
func (f *ServiceAccountEventHandlerFuncs) GenericServiceAccount(obj *v1.ServiceAccount) error
func (*ServiceAccountEventHandlerFuncs) UpdateServiceAccount ¶
func (f *ServiceAccountEventHandlerFuncs) UpdateServiceAccount(objOld, objNew *v1.ServiceAccount) error
type ServiceAccountEventWatcher ¶
type ServiceAccountEventWatcher interface {
AddEventHandler(ctx context.Context, h ServiceAccountEventHandler, predicates ...predicate.Predicate) error
}
func NewServiceAccountEventWatcher ¶
func NewServiceAccountEventWatcher(name string, mgr manager.Manager) ServiceAccountEventWatcher
type ServiceAccountFinalizer ¶
type ServiceAccountFinalizer interface { ServiceAccountReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task ServiceAccountFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizeServiceAccount(obj *v1.ServiceAccount) error }
Reconcile and finalize the ServiceAccount Resource implemented by the user
type ServiceAccountReconcileLoop ¶
type ServiceAccountReconcileLoop interface {
RunServiceAccountReconciler(ctx context.Context, rec ServiceAccountReconciler, predicates ...predicate.Predicate) error
}
type ServiceAccountReconciler ¶
type ServiceAccountReconciler interface {
ReconcileServiceAccount(obj *v1.ServiceAccount) (reconcile.Result, error)
}
Reconcile Upsert events for the ServiceAccount Resource. implemented by the user
type ServiceAccountReconcilerFuncs ¶
type ServiceAccountReconcilerFuncs struct { OnReconcileServiceAccount func(obj *v1.ServiceAccount) (reconcile.Result, error) OnReconcileServiceAccountDeletion func(req reconcile.Request) error }
func (*ServiceAccountReconcilerFuncs) ReconcileServiceAccount ¶
func (f *ServiceAccountReconcilerFuncs) ReconcileServiceAccount(obj *v1.ServiceAccount) (reconcile.Result, error)
func (*ServiceAccountReconcilerFuncs) ReconcileServiceAccountDeletion ¶
func (f *ServiceAccountReconcilerFuncs) ReconcileServiceAccountDeletion(req reconcile.Request) error
type ServiceDeletionReconciler ¶
Reconcile deletion events for the Service Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type ServiceEventHandler ¶
type ServiceEventHandler interface { CreateService(obj *v1.Service) error UpdateService(old, new *v1.Service) error DeleteService(obj *v1.Service) error GenericService(obj *v1.Service) error }
Handle events for the Service Resource DEPRECATED: Prefer reconciler pattern.
type ServiceEventHandlerFuncs ¶
type ServiceEventHandlerFuncs struct { OnCreate func(obj *v1.Service) error OnUpdate func(old, new *v1.Service) error OnDelete func(obj *v1.Service) error OnGeneric func(obj *v1.Service) error }
func (*ServiceEventHandlerFuncs) CreateService ¶
func (f *ServiceEventHandlerFuncs) CreateService(obj *v1.Service) error
func (*ServiceEventHandlerFuncs) DeleteService ¶
func (f *ServiceEventHandlerFuncs) DeleteService(obj *v1.Service) error
func (*ServiceEventHandlerFuncs) GenericService ¶
func (f *ServiceEventHandlerFuncs) GenericService(obj *v1.Service) error
func (*ServiceEventHandlerFuncs) UpdateService ¶
func (f *ServiceEventHandlerFuncs) UpdateService(objOld, objNew *v1.Service) error
type ServiceEventWatcher ¶
type ServiceEventWatcher interface {
AddEventHandler(ctx context.Context, h ServiceEventHandler, predicates ...predicate.Predicate) error
}
func NewServiceEventWatcher ¶
func NewServiceEventWatcher(name string, mgr manager.Manager) ServiceEventWatcher
type ServiceFinalizer ¶
type ServiceFinalizer interface { ServiceReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task ServiceFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizeService(obj *v1.Service) error }
Reconcile and finalize the Service Resource implemented by the user
type ServiceReconcileLoop ¶
type ServiceReconcileLoop interface {
RunServiceReconciler(ctx context.Context, rec ServiceReconciler, predicates ...predicate.Predicate) error
}
func NewServiceReconcileLoop ¶
type ServiceReconciler ¶
Reconcile Upsert events for the Service Resource. implemented by the user
type ServiceReconcilerFuncs ¶
type ServiceReconcilerFuncs struct { OnReconcileService func(obj *v1.Service) (reconcile.Result, error) OnReconcileServiceDeletion func(req reconcile.Request) error }
func (*ServiceReconcilerFuncs) ReconcileService ¶
func (*ServiceReconcilerFuncs) ReconcileServiceDeletion ¶
func (f *ServiceReconcilerFuncs) ReconcileServiceDeletion(req reconcile.Request) error