Documentation ¶
Index ¶
Constants ¶
View Source
const ControllerName = "node"
ControllerName is the name of this controller.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
Reconciler checks for node annotation changes and restarts the specified systemd services.
func (*Reconciler) AddToManager ¶
AddToManager adds Reconciler to the given manager.
func (*Reconciler) NodePredicate ¶
func (r *Reconciler) NodePredicate() predicate.Predicate
NodePredicate returns 'true' when the annotation describing which systemd services should be restarted gets set or changed. When it's removed, 'false' is returned.
Click to show internal directories.
Click to hide internal directories.