Documentation ¶
Overview ¶
Definitions for the Kubernetes Controllers
Definitions for the multicluster Kubernetes Controllers ¶
Definitions for the Kubernetes Controllers
Index ¶
- type ClusterRoleBindingDeletionReconciler
- type ClusterRoleBindingEventHandler
- type ClusterRoleBindingEventHandlerFuncs
- func (f *ClusterRoleBindingEventHandlerFuncs) CreateClusterRoleBinding(obj *rbac_authorization_k8s_io_v1.ClusterRoleBinding) error
- func (f *ClusterRoleBindingEventHandlerFuncs) DeleteClusterRoleBinding(obj *rbac_authorization_k8s_io_v1.ClusterRoleBinding) error
- func (f *ClusterRoleBindingEventHandlerFuncs) GenericClusterRoleBinding(obj *rbac_authorization_k8s_io_v1.ClusterRoleBinding) error
- func (f *ClusterRoleBindingEventHandlerFuncs) UpdateClusterRoleBinding(objOld, objNew *rbac_authorization_k8s_io_v1.ClusterRoleBinding) error
- type ClusterRoleBindingEventWatcher
- type ClusterRoleBindingFinalizer
- type ClusterRoleBindingReconcileLoop
- type ClusterRoleBindingReconciler
- type ClusterRoleBindingReconcilerFuncs
- type ClusterRoleDeletionReconciler
- type ClusterRoleEventHandler
- type ClusterRoleEventHandlerFuncs
- func (f *ClusterRoleEventHandlerFuncs) CreateClusterRole(obj *rbac_authorization_k8s_io_v1.ClusterRole) error
- func (f *ClusterRoleEventHandlerFuncs) DeleteClusterRole(obj *rbac_authorization_k8s_io_v1.ClusterRole) error
- func (f *ClusterRoleEventHandlerFuncs) GenericClusterRole(obj *rbac_authorization_k8s_io_v1.ClusterRole) error
- func (f *ClusterRoleEventHandlerFuncs) UpdateClusterRole(objOld, objNew *rbac_authorization_k8s_io_v1.ClusterRole) error
- type ClusterRoleEventWatcher
- type ClusterRoleFinalizer
- type ClusterRoleReconcileLoop
- type ClusterRoleReconciler
- type ClusterRoleReconcilerFuncs
- type MulticlusterClusterRoleBindingDeletionReconciler
- type MulticlusterClusterRoleBindingReconcileLoop
- type MulticlusterClusterRoleBindingReconciler
- type MulticlusterClusterRoleBindingReconcilerFuncs
- func (f *MulticlusterClusterRoleBindingReconcilerFuncs) ReconcileClusterRoleBinding(clusterName string, obj *rbac_authorization_k8s_io_v1.ClusterRoleBinding) (reconcile.Result, error)
- func (f *MulticlusterClusterRoleBindingReconcilerFuncs) ReconcileClusterRoleBindingDeletion(clusterName string, req reconcile.Request) error
- type MulticlusterClusterRoleDeletionReconciler
- type MulticlusterClusterRoleReconcileLoop
- type MulticlusterClusterRoleReconciler
- type MulticlusterClusterRoleReconcilerFuncs
- type MulticlusterRoleBindingDeletionReconciler
- type MulticlusterRoleBindingReconcileLoop
- type MulticlusterRoleBindingReconciler
- type MulticlusterRoleBindingReconcilerFuncs
- type MulticlusterRoleDeletionReconciler
- type MulticlusterRoleReconcileLoop
- type MulticlusterRoleReconciler
- type MulticlusterRoleReconcilerFuncs
- type RoleBindingDeletionReconciler
- type RoleBindingEventHandler
- type RoleBindingEventHandlerFuncs
- func (f *RoleBindingEventHandlerFuncs) CreateRoleBinding(obj *rbac_authorization_k8s_io_v1.RoleBinding) error
- func (f *RoleBindingEventHandlerFuncs) DeleteRoleBinding(obj *rbac_authorization_k8s_io_v1.RoleBinding) error
- func (f *RoleBindingEventHandlerFuncs) GenericRoleBinding(obj *rbac_authorization_k8s_io_v1.RoleBinding) error
- func (f *RoleBindingEventHandlerFuncs) UpdateRoleBinding(objOld, objNew *rbac_authorization_k8s_io_v1.RoleBinding) error
- type RoleBindingEventWatcher
- type RoleBindingFinalizer
- type RoleBindingReconcileLoop
- type RoleBindingReconciler
- type RoleBindingReconcilerFuncs
- type RoleDeletionReconciler
- type RoleEventHandler
- type RoleEventHandlerFuncs
- func (f *RoleEventHandlerFuncs) CreateRole(obj *rbac_authorization_k8s_io_v1.Role) error
- func (f *RoleEventHandlerFuncs) DeleteRole(obj *rbac_authorization_k8s_io_v1.Role) error
- func (f *RoleEventHandlerFuncs) GenericRole(obj *rbac_authorization_k8s_io_v1.Role) error
- func (f *RoleEventHandlerFuncs) UpdateRole(objOld, objNew *rbac_authorization_k8s_io_v1.Role) error
- type RoleEventWatcher
- type RoleFinalizer
- type RoleReconcileLoop
- type RoleReconciler
- type RoleReconcilerFuncs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterRoleBindingDeletionReconciler ¶
type ClusterRoleBindingDeletionReconciler interface {
ReconcileClusterRoleBindingDeletion(req reconcile.Request) error
}
Reconcile deletion events for the ClusterRoleBinding Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type ClusterRoleBindingEventHandler ¶
type ClusterRoleBindingEventHandler interface { CreateClusterRoleBinding(obj *rbac_authorization_k8s_io_v1.ClusterRoleBinding) error UpdateClusterRoleBinding(old, new *rbac_authorization_k8s_io_v1.ClusterRoleBinding) error DeleteClusterRoleBinding(obj *rbac_authorization_k8s_io_v1.ClusterRoleBinding) error GenericClusterRoleBinding(obj *rbac_authorization_k8s_io_v1.ClusterRoleBinding) error }
Handle events for the ClusterRoleBinding Resource DEPRECATED: Prefer reconciler pattern.
type ClusterRoleBindingEventHandlerFuncs ¶
type ClusterRoleBindingEventHandlerFuncs struct { OnCreate func(obj *rbac_authorization_k8s_io_v1.ClusterRoleBinding) error OnUpdate func(old, new *rbac_authorization_k8s_io_v1.ClusterRoleBinding) error OnDelete func(obj *rbac_authorization_k8s_io_v1.ClusterRoleBinding) error OnGeneric func(obj *rbac_authorization_k8s_io_v1.ClusterRoleBinding) error }
func (*ClusterRoleBindingEventHandlerFuncs) CreateClusterRoleBinding ¶
func (f *ClusterRoleBindingEventHandlerFuncs) CreateClusterRoleBinding(obj *rbac_authorization_k8s_io_v1.ClusterRoleBinding) error
func (*ClusterRoleBindingEventHandlerFuncs) DeleteClusterRoleBinding ¶
func (f *ClusterRoleBindingEventHandlerFuncs) DeleteClusterRoleBinding(obj *rbac_authorization_k8s_io_v1.ClusterRoleBinding) error
func (*ClusterRoleBindingEventHandlerFuncs) GenericClusterRoleBinding ¶
func (f *ClusterRoleBindingEventHandlerFuncs) GenericClusterRoleBinding(obj *rbac_authorization_k8s_io_v1.ClusterRoleBinding) error
func (*ClusterRoleBindingEventHandlerFuncs) UpdateClusterRoleBinding ¶
func (f *ClusterRoleBindingEventHandlerFuncs) UpdateClusterRoleBinding(objOld, objNew *rbac_authorization_k8s_io_v1.ClusterRoleBinding) error
type ClusterRoleBindingEventWatcher ¶
type ClusterRoleBindingEventWatcher interface {
AddEventHandler(ctx context.Context, h ClusterRoleBindingEventHandler, predicates ...predicate.Predicate) error
}
func NewClusterRoleBindingEventWatcher ¶
func NewClusterRoleBindingEventWatcher(name string, mgr manager.Manager) ClusterRoleBindingEventWatcher
type ClusterRoleBindingFinalizer ¶
type ClusterRoleBindingFinalizer interface { ClusterRoleBindingReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task ClusterRoleBindingFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizeClusterRoleBinding(obj *rbac_authorization_k8s_io_v1.ClusterRoleBinding) error }
Reconcile and finalize the ClusterRoleBinding Resource implemented by the user
type ClusterRoleBindingReconcileLoop ¶
type ClusterRoleBindingReconcileLoop interface {
RunClusterRoleBindingReconciler(ctx context.Context, rec ClusterRoleBindingReconciler, predicates ...predicate.Predicate) error
}
type ClusterRoleBindingReconciler ¶
type ClusterRoleBindingReconciler interface {
ReconcileClusterRoleBinding(obj *rbac_authorization_k8s_io_v1.ClusterRoleBinding) (reconcile.Result, error)
}
Reconcile Upsert events for the ClusterRoleBinding Resource. implemented by the user
type ClusterRoleBindingReconcilerFuncs ¶
type ClusterRoleBindingReconcilerFuncs struct { OnReconcileClusterRoleBinding func(obj *rbac_authorization_k8s_io_v1.ClusterRoleBinding) (reconcile.Result, error) OnReconcileClusterRoleBindingDeletion func(req reconcile.Request) error }
func (*ClusterRoleBindingReconcilerFuncs) ReconcileClusterRoleBinding ¶
func (f *ClusterRoleBindingReconcilerFuncs) ReconcileClusterRoleBinding(obj *rbac_authorization_k8s_io_v1.ClusterRoleBinding) (reconcile.Result, error)
func (*ClusterRoleBindingReconcilerFuncs) ReconcileClusterRoleBindingDeletion ¶
func (f *ClusterRoleBindingReconcilerFuncs) ReconcileClusterRoleBindingDeletion(req reconcile.Request) error
type ClusterRoleDeletionReconciler ¶
type ClusterRoleDeletionReconciler interface {
ReconcileClusterRoleDeletion(req reconcile.Request) error
}
Reconcile deletion events for the ClusterRole Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type ClusterRoleEventHandler ¶
type ClusterRoleEventHandler interface { CreateClusterRole(obj *rbac_authorization_k8s_io_v1.ClusterRole) error UpdateClusterRole(old, new *rbac_authorization_k8s_io_v1.ClusterRole) error DeleteClusterRole(obj *rbac_authorization_k8s_io_v1.ClusterRole) error GenericClusterRole(obj *rbac_authorization_k8s_io_v1.ClusterRole) error }
Handle events for the ClusterRole Resource DEPRECATED: Prefer reconciler pattern.
type ClusterRoleEventHandlerFuncs ¶
type ClusterRoleEventHandlerFuncs struct { OnCreate func(obj *rbac_authorization_k8s_io_v1.ClusterRole) error OnUpdate func(old, new *rbac_authorization_k8s_io_v1.ClusterRole) error OnDelete func(obj *rbac_authorization_k8s_io_v1.ClusterRole) error OnGeneric func(obj *rbac_authorization_k8s_io_v1.ClusterRole) error }
func (*ClusterRoleEventHandlerFuncs) CreateClusterRole ¶
func (f *ClusterRoleEventHandlerFuncs) CreateClusterRole(obj *rbac_authorization_k8s_io_v1.ClusterRole) error
func (*ClusterRoleEventHandlerFuncs) DeleteClusterRole ¶
func (f *ClusterRoleEventHandlerFuncs) DeleteClusterRole(obj *rbac_authorization_k8s_io_v1.ClusterRole) error
func (*ClusterRoleEventHandlerFuncs) GenericClusterRole ¶
func (f *ClusterRoleEventHandlerFuncs) GenericClusterRole(obj *rbac_authorization_k8s_io_v1.ClusterRole) error
func (*ClusterRoleEventHandlerFuncs) UpdateClusterRole ¶
func (f *ClusterRoleEventHandlerFuncs) UpdateClusterRole(objOld, objNew *rbac_authorization_k8s_io_v1.ClusterRole) error
type ClusterRoleEventWatcher ¶
type ClusterRoleEventWatcher interface {
AddEventHandler(ctx context.Context, h ClusterRoleEventHandler, predicates ...predicate.Predicate) error
}
func NewClusterRoleEventWatcher ¶
func NewClusterRoleEventWatcher(name string, mgr manager.Manager) ClusterRoleEventWatcher
type ClusterRoleFinalizer ¶
type ClusterRoleFinalizer interface { ClusterRoleReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task ClusterRoleFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizeClusterRole(obj *rbac_authorization_k8s_io_v1.ClusterRole) error }
Reconcile and finalize the ClusterRole Resource implemented by the user
type ClusterRoleReconcileLoop ¶
type ClusterRoleReconcileLoop interface {
RunClusterRoleReconciler(ctx context.Context, rec ClusterRoleReconciler, predicates ...predicate.Predicate) error
}
type ClusterRoleReconciler ¶
type ClusterRoleReconciler interface {
ReconcileClusterRole(obj *rbac_authorization_k8s_io_v1.ClusterRole) (reconcile.Result, error)
}
Reconcile Upsert events for the ClusterRole Resource. implemented by the user
type ClusterRoleReconcilerFuncs ¶
type ClusterRoleReconcilerFuncs struct { OnReconcileClusterRole func(obj *rbac_authorization_k8s_io_v1.ClusterRole) (reconcile.Result, error) OnReconcileClusterRoleDeletion func(req reconcile.Request) error }
func (*ClusterRoleReconcilerFuncs) ReconcileClusterRole ¶
func (f *ClusterRoleReconcilerFuncs) ReconcileClusterRole(obj *rbac_authorization_k8s_io_v1.ClusterRole) (reconcile.Result, error)
func (*ClusterRoleReconcilerFuncs) ReconcileClusterRoleDeletion ¶
func (f *ClusterRoleReconcilerFuncs) ReconcileClusterRoleDeletion(req reconcile.Request) error
type MulticlusterClusterRoleBindingDeletionReconciler ¶
type MulticlusterClusterRoleBindingDeletionReconciler interface {
ReconcileClusterRoleBindingDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the ClusterRoleBinding 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 MulticlusterClusterRoleBindingReconcileLoop ¶
type MulticlusterClusterRoleBindingReconcileLoop interface { // AddMulticlusterClusterRoleBindingReconciler adds a MulticlusterClusterRoleBindingReconciler to the MulticlusterClusterRoleBindingReconcileLoop. AddMulticlusterClusterRoleBindingReconciler(ctx context.Context, rec MulticlusterClusterRoleBindingReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterClusterRoleBindingReconcileLoop ¶
func NewMulticlusterClusterRoleBindingReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterClusterRoleBindingReconcileLoop
type MulticlusterClusterRoleBindingReconciler ¶
type MulticlusterClusterRoleBindingReconciler interface {
ReconcileClusterRoleBinding(clusterName string, obj *rbac_authorization_k8s_io_v1.ClusterRoleBinding) (reconcile.Result, error)
}
Reconcile Upsert events for the ClusterRoleBinding Resource across clusters. implemented by the user
type MulticlusterClusterRoleBindingReconcilerFuncs ¶
type MulticlusterClusterRoleBindingReconcilerFuncs struct { OnReconcileClusterRoleBinding func(clusterName string, obj *rbac_authorization_k8s_io_v1.ClusterRoleBinding) (reconcile.Result, error) OnReconcileClusterRoleBindingDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterClusterRoleBindingReconcilerFuncs) ReconcileClusterRoleBinding ¶
func (f *MulticlusterClusterRoleBindingReconcilerFuncs) ReconcileClusterRoleBinding(clusterName string, obj *rbac_authorization_k8s_io_v1.ClusterRoleBinding) (reconcile.Result, error)
func (*MulticlusterClusterRoleBindingReconcilerFuncs) ReconcileClusterRoleBindingDeletion ¶
func (f *MulticlusterClusterRoleBindingReconcilerFuncs) ReconcileClusterRoleBindingDeletion(clusterName string, req reconcile.Request) error
type MulticlusterClusterRoleDeletionReconciler ¶
type MulticlusterClusterRoleDeletionReconciler interface {
ReconcileClusterRoleDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the ClusterRole 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 MulticlusterClusterRoleReconcileLoop ¶
type MulticlusterClusterRoleReconcileLoop interface { // AddMulticlusterClusterRoleReconciler adds a MulticlusterClusterRoleReconciler to the MulticlusterClusterRoleReconcileLoop. AddMulticlusterClusterRoleReconciler(ctx context.Context, rec MulticlusterClusterRoleReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterClusterRoleReconcileLoop ¶
func NewMulticlusterClusterRoleReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterClusterRoleReconcileLoop
type MulticlusterClusterRoleReconciler ¶
type MulticlusterClusterRoleReconciler interface {
ReconcileClusterRole(clusterName string, obj *rbac_authorization_k8s_io_v1.ClusterRole) (reconcile.Result, error)
}
Reconcile Upsert events for the ClusterRole Resource across clusters. implemented by the user
type MulticlusterClusterRoleReconcilerFuncs ¶
type MulticlusterClusterRoleReconcilerFuncs struct { OnReconcileClusterRole func(clusterName string, obj *rbac_authorization_k8s_io_v1.ClusterRole) (reconcile.Result, error) OnReconcileClusterRoleDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterClusterRoleReconcilerFuncs) ReconcileClusterRole ¶
func (f *MulticlusterClusterRoleReconcilerFuncs) ReconcileClusterRole(clusterName string, obj *rbac_authorization_k8s_io_v1.ClusterRole) (reconcile.Result, error)
func (*MulticlusterClusterRoleReconcilerFuncs) ReconcileClusterRoleDeletion ¶
func (f *MulticlusterClusterRoleReconcilerFuncs) ReconcileClusterRoleDeletion(clusterName string, req reconcile.Request) error
type MulticlusterRoleBindingDeletionReconciler ¶
type MulticlusterRoleBindingDeletionReconciler interface {
ReconcileRoleBindingDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the RoleBinding 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 MulticlusterRoleBindingReconcileLoop ¶
type MulticlusterRoleBindingReconcileLoop interface { // AddMulticlusterRoleBindingReconciler adds a MulticlusterRoleBindingReconciler to the MulticlusterRoleBindingReconcileLoop. AddMulticlusterRoleBindingReconciler(ctx context.Context, rec MulticlusterRoleBindingReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterRoleBindingReconcileLoop ¶
func NewMulticlusterRoleBindingReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterRoleBindingReconcileLoop
type MulticlusterRoleBindingReconciler ¶
type MulticlusterRoleBindingReconciler interface {
ReconcileRoleBinding(clusterName string, obj *rbac_authorization_k8s_io_v1.RoleBinding) (reconcile.Result, error)
}
Reconcile Upsert events for the RoleBinding Resource across clusters. implemented by the user
type MulticlusterRoleBindingReconcilerFuncs ¶
type MulticlusterRoleBindingReconcilerFuncs struct { OnReconcileRoleBinding func(clusterName string, obj *rbac_authorization_k8s_io_v1.RoleBinding) (reconcile.Result, error) OnReconcileRoleBindingDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterRoleBindingReconcilerFuncs) ReconcileRoleBinding ¶
func (f *MulticlusterRoleBindingReconcilerFuncs) ReconcileRoleBinding(clusterName string, obj *rbac_authorization_k8s_io_v1.RoleBinding) (reconcile.Result, error)
func (*MulticlusterRoleBindingReconcilerFuncs) ReconcileRoleBindingDeletion ¶
func (f *MulticlusterRoleBindingReconcilerFuncs) ReconcileRoleBindingDeletion(clusterName string, req reconcile.Request) error
type MulticlusterRoleDeletionReconciler ¶
type MulticlusterRoleDeletionReconciler interface {
ReconcileRoleDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the Role 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 MulticlusterRoleReconcileLoop ¶
type MulticlusterRoleReconcileLoop interface { // AddMulticlusterRoleReconciler adds a MulticlusterRoleReconciler to the MulticlusterRoleReconcileLoop. AddMulticlusterRoleReconciler(ctx context.Context, rec MulticlusterRoleReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterRoleReconcileLoop ¶
func NewMulticlusterRoleReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterRoleReconcileLoop
type MulticlusterRoleReconciler ¶
type MulticlusterRoleReconciler interface {
ReconcileRole(clusterName string, obj *rbac_authorization_k8s_io_v1.Role) (reconcile.Result, error)
}
Reconcile Upsert events for the Role Resource across clusters. implemented by the user
type MulticlusterRoleReconcilerFuncs ¶
type MulticlusterRoleReconcilerFuncs struct { OnReconcileRole func(clusterName string, obj *rbac_authorization_k8s_io_v1.Role) (reconcile.Result, error) OnReconcileRoleDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterRoleReconcilerFuncs) ReconcileRole ¶
func (f *MulticlusterRoleReconcilerFuncs) ReconcileRole(clusterName string, obj *rbac_authorization_k8s_io_v1.Role) (reconcile.Result, error)
func (*MulticlusterRoleReconcilerFuncs) ReconcileRoleDeletion ¶
func (f *MulticlusterRoleReconcilerFuncs) ReconcileRoleDeletion(clusterName string, req reconcile.Request) error
type RoleBindingDeletionReconciler ¶
type RoleBindingDeletionReconciler interface {
ReconcileRoleBindingDeletion(req reconcile.Request) error
}
Reconcile deletion events for the RoleBinding Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type RoleBindingEventHandler ¶
type RoleBindingEventHandler interface { CreateRoleBinding(obj *rbac_authorization_k8s_io_v1.RoleBinding) error UpdateRoleBinding(old, new *rbac_authorization_k8s_io_v1.RoleBinding) error DeleteRoleBinding(obj *rbac_authorization_k8s_io_v1.RoleBinding) error GenericRoleBinding(obj *rbac_authorization_k8s_io_v1.RoleBinding) error }
Handle events for the RoleBinding Resource DEPRECATED: Prefer reconciler pattern.
type RoleBindingEventHandlerFuncs ¶
type RoleBindingEventHandlerFuncs struct { OnCreate func(obj *rbac_authorization_k8s_io_v1.RoleBinding) error OnUpdate func(old, new *rbac_authorization_k8s_io_v1.RoleBinding) error OnDelete func(obj *rbac_authorization_k8s_io_v1.RoleBinding) error OnGeneric func(obj *rbac_authorization_k8s_io_v1.RoleBinding) error }
func (*RoleBindingEventHandlerFuncs) CreateRoleBinding ¶
func (f *RoleBindingEventHandlerFuncs) CreateRoleBinding(obj *rbac_authorization_k8s_io_v1.RoleBinding) error
func (*RoleBindingEventHandlerFuncs) DeleteRoleBinding ¶
func (f *RoleBindingEventHandlerFuncs) DeleteRoleBinding(obj *rbac_authorization_k8s_io_v1.RoleBinding) error
func (*RoleBindingEventHandlerFuncs) GenericRoleBinding ¶
func (f *RoleBindingEventHandlerFuncs) GenericRoleBinding(obj *rbac_authorization_k8s_io_v1.RoleBinding) error
func (*RoleBindingEventHandlerFuncs) UpdateRoleBinding ¶
func (f *RoleBindingEventHandlerFuncs) UpdateRoleBinding(objOld, objNew *rbac_authorization_k8s_io_v1.RoleBinding) error
type RoleBindingEventWatcher ¶
type RoleBindingEventWatcher interface {
AddEventHandler(ctx context.Context, h RoleBindingEventHandler, predicates ...predicate.Predicate) error
}
func NewRoleBindingEventWatcher ¶
func NewRoleBindingEventWatcher(name string, mgr manager.Manager) RoleBindingEventWatcher
type RoleBindingFinalizer ¶
type RoleBindingFinalizer interface { RoleBindingReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task RoleBindingFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizeRoleBinding(obj *rbac_authorization_k8s_io_v1.RoleBinding) error }
Reconcile and finalize the RoleBinding Resource implemented by the user
type RoleBindingReconcileLoop ¶
type RoleBindingReconcileLoop interface {
RunRoleBindingReconciler(ctx context.Context, rec RoleBindingReconciler, predicates ...predicate.Predicate) error
}
type RoleBindingReconciler ¶
type RoleBindingReconciler interface {
ReconcileRoleBinding(obj *rbac_authorization_k8s_io_v1.RoleBinding) (reconcile.Result, error)
}
Reconcile Upsert events for the RoleBinding Resource. implemented by the user
type RoleBindingReconcilerFuncs ¶
type RoleBindingReconcilerFuncs struct { OnReconcileRoleBinding func(obj *rbac_authorization_k8s_io_v1.RoleBinding) (reconcile.Result, error) OnReconcileRoleBindingDeletion func(req reconcile.Request) error }
func (*RoleBindingReconcilerFuncs) ReconcileRoleBinding ¶
func (f *RoleBindingReconcilerFuncs) ReconcileRoleBinding(obj *rbac_authorization_k8s_io_v1.RoleBinding) (reconcile.Result, error)
func (*RoleBindingReconcilerFuncs) ReconcileRoleBindingDeletion ¶
func (f *RoleBindingReconcilerFuncs) ReconcileRoleBindingDeletion(req reconcile.Request) error
type RoleDeletionReconciler ¶
Reconcile deletion events for the Role Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type RoleEventHandler ¶
type RoleEventHandler interface { CreateRole(obj *rbac_authorization_k8s_io_v1.Role) error UpdateRole(old, new *rbac_authorization_k8s_io_v1.Role) error DeleteRole(obj *rbac_authorization_k8s_io_v1.Role) error GenericRole(obj *rbac_authorization_k8s_io_v1.Role) error }
Handle events for the Role Resource DEPRECATED: Prefer reconciler pattern.
type RoleEventHandlerFuncs ¶
type RoleEventHandlerFuncs struct { OnCreate func(obj *rbac_authorization_k8s_io_v1.Role) error OnUpdate func(old, new *rbac_authorization_k8s_io_v1.Role) error OnDelete func(obj *rbac_authorization_k8s_io_v1.Role) error OnGeneric func(obj *rbac_authorization_k8s_io_v1.Role) error }
func (*RoleEventHandlerFuncs) CreateRole ¶
func (f *RoleEventHandlerFuncs) CreateRole(obj *rbac_authorization_k8s_io_v1.Role) error
func (*RoleEventHandlerFuncs) DeleteRole ¶
func (f *RoleEventHandlerFuncs) DeleteRole(obj *rbac_authorization_k8s_io_v1.Role) error
func (*RoleEventHandlerFuncs) GenericRole ¶
func (f *RoleEventHandlerFuncs) GenericRole(obj *rbac_authorization_k8s_io_v1.Role) error
func (*RoleEventHandlerFuncs) UpdateRole ¶
func (f *RoleEventHandlerFuncs) UpdateRole(objOld, objNew *rbac_authorization_k8s_io_v1.Role) error
type RoleEventWatcher ¶
type RoleEventWatcher interface {
AddEventHandler(ctx context.Context, h RoleEventHandler, predicates ...predicate.Predicate) error
}
func NewRoleEventWatcher ¶
func NewRoleEventWatcher(name string, mgr manager.Manager) RoleEventWatcher
type RoleFinalizer ¶
type RoleFinalizer interface { RoleReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task RoleFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizeRole(obj *rbac_authorization_k8s_io_v1.Role) error }
Reconcile and finalize the Role Resource implemented by the user
type RoleReconcileLoop ¶
type RoleReconcileLoop interface {
RunRoleReconciler(ctx context.Context, rec RoleReconciler, predicates ...predicate.Predicate) error
}
func NewRoleReconcileLoop ¶
type RoleReconciler ¶
type RoleReconciler interface {
ReconcileRole(obj *rbac_authorization_k8s_io_v1.Role) (reconcile.Result, error)
}
Reconcile Upsert events for the Role Resource. implemented by the user
type RoleReconcilerFuncs ¶
type RoleReconcilerFuncs struct { OnReconcileRole func(obj *rbac_authorization_k8s_io_v1.Role) (reconcile.Result, error) OnReconcileRoleDeletion func(req reconcile.Request) error }
func (*RoleReconcilerFuncs) ReconcileRole ¶
func (f *RoleReconcilerFuncs) ReconcileRole(obj *rbac_authorization_k8s_io_v1.Role) (reconcile.Result, error)
func (*RoleReconcilerFuncs) ReconcileRoleDeletion ¶
func (f *RoleReconcilerFuncs) ReconcileRoleDeletion(req reconcile.Request) error