Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupRepoCacheController ¶
SetupRepoCacheController registers the repo cache controller with the given manager.
Types ¶
type Reconciler ¶
type Reconciler struct {
Client client.Client
Cache cachetypes.Cache
MaxConcurrency int
}
Reconciler watches Repository CRs and manages the porch-server in-memory cache:
- On Create/startup: requeues until the repo is Ready, then opens it.
- On spec change (generation bump): re-opens the repository.
- On deletion (DeletionTimestamp set): evicts from cache and removes finalizer.
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.