Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶ added in v0.7.0
Reconciler reconciles an Instance object.
func (*Reconciler) Reconcile ¶ added in v0.7.0
Reconcile is the main controller method that gets called every time something about the instance changes
+-------------------------------+
| Query state of Instance |
| and OperatorVersion |
+-------------------------------+
|
v
+-------------------------------+
| Start new plan if required |
| and none is running |
+-------------------------------+
|
v
+-------------------------------+
| If there is plan in progress, |
| proceed with the execution |
+-------------------------------+
|
v
+-------------------------------+
| Update instance with new |
| state of the execution |
+-------------------------------+
Automatically generate RBAC rules to allow the Controller to read and write Deployments +kubebuilder:rbac:groups=apps,resources=deployments,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=kudo.dev,resources=instances,verbs=get;list;watch;create;update;patch;delete
func (*Reconciler) SetupWithManager ¶ added in v0.7.0
func (r *Reconciler) SetupWithManager( mgr ctrl.Manager) error
SetupWithManager registers this reconciler with the controller manager
Click to show internal directories.
Click to hide internal directories.