Documentation ¶
Overview ¶
Definitions for the Kubernetes Controllers
Definitions for the multicluster Kubernetes Controllers ¶
Definitions for the Kubernetes Controllers
Index ¶
- type MulticlusterNamespaceDeletionReconciler
- type MulticlusterNamespaceReconcileLoop
- type MulticlusterNamespaceReconciler
- type MulticlusterNamespaceReconcilerFuncs
- type MulticlusterSecretDeletionReconciler
- type MulticlusterSecretReconcileLoop
- type MulticlusterSecretReconciler
- type MulticlusterSecretReconcilerFuncs
- type MulticlusterServiceAccountDeletionReconciler
- type MulticlusterServiceAccountReconcileLoop
- type MulticlusterServiceAccountReconciler
- type MulticlusterServiceAccountReconcilerFuncs
- 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 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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, options reconcile.Options) 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 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, options reconcile.Options) 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, options reconcile.Options) 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 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 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