Documentation
¶
Index ¶
- Constants
- type Reconciler
- func (r *Reconciler) AddToManager(mgr manager.Manager) error
- func (r *Reconciler) MapShootToProjectInDeletion(log logr.Logger) handler.MapFunc
- func (r *Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
- func (r *Reconciler) RoleBindingPredicate() predicate.Predicate
Constants ¶
View Source
const ControllerName = "project"
ControllerName is the name of this controller.
View Source
const ResourceQuotaName = "gardener"
ResourceQuotaName is the name of the default ResourceQuota resource that is created by Gardener in the project namespace.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct {
Client client.Client
Config controllermanagerconfigv1alpha1.ProjectControllerConfiguration
Recorder record.EventRecorder
// RateLimiter allows limiting exponential backoff for testing purposes
RateLimiter workqueue.TypedRateLimiter[reconcile.Request]
}
Reconciler reconciles Projects.
func (*Reconciler) AddToManager ¶
func (r *Reconciler) AddToManager(mgr manager.Manager) error
AddToManager adds Reconciler to the given manager.
func (*Reconciler) MapShootToProjectInDeletion ¶
func (r *Reconciler) MapShootToProjectInDeletion(log logr.Logger) handler.MapFunc
MapShootToProjectInDeletion returns a mapper that returns requests for the Project to which the Shoot belongs, if the Project is being deleted and does not contain any other Shoots.
func (*Reconciler) Reconcile ¶
func (r *Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
Reconcile reconciles Projects.
func (*Reconciler) RoleBindingPredicate ¶
func (r *Reconciler) RoleBindingPredicate() predicate.Predicate
RoleBindingPredicate filters for events for RoleBindings that we might need to reconcile back.
Click to show internal directories.
Click to hide internal directories.