Help us shape the future of Go! Take the 2026 Go Developer Survey

systemdunitcheck

package
v1.146.5 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const ControllerName = "systemd-unit-check"

ControllerName is the name of this controller.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	Client client.Client
	DBus   dbus.DBus
	Clock  clock.Clock
	FS     afero.Afero
	Config nodeagentconfigv1alpha1.SystemdUnitCheckControllerConfig
}

Reconciler checks the health of systemd units managed by gardener-node-agent and reports a condition on the Node.

func (*Reconciler) AddToManager

func (r *Reconciler) AddToManager(mgr manager.Manager, nodePredicate predicate.Predicate) 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 checks systemd unit health and updates the Node condition.

Jump to

Keyboard shortcuts

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