Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller reconciles a ReleasePlan object
func (*Controller) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*Controller) SetupCache ¶
func (c *Controller) SetupCache(mgr ctrl.Manager) error
SetupCache indexes fields for each of the resources used in the releaseplan adapter in those cases where filtering by field is required. NOTE: Both the release and releaseplan controller need this ReleasePlanAdmission cache. However, it only needs to be added once to the manager, so only one controller should add it. If it is removed from the Release controller, it should be added here.
Click to show internal directories.
Click to hide internal directories.