project

package
v1.87.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2024 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 34 Imported by: 0

Documentation

Index

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   config.ProjectControllerConfiguration
	Recorder record.EventRecorder

	// RateLimiter allows limiting exponential backoff for testing purposes
	RateLimiter ratelimiter.RateLimiter
}

Reconciler reconciles Projects.

func (*Reconciler) AddToManager

func (r *Reconciler) AddToManager(mgr manager.Manager) error

AddToManager adds Reconciler to the given manager.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL