Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultOstreePath = "/proc/1/root/ostree/bootc" DefaultComposefsPath = "/proc/1/root/sysroot/state/deploy" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BootcNodeReconciler ¶
type BootcNodeReconciler struct {
client.Client
Scheme *runtime.Scheme
NodeName string
Executor bootc.Executor
StatusWatcher *StatusWatcher
// contains filtered or unexported fields
}
BootcNodeReconciler reconciles the BootcNode for the node this daemon runs on. It reads bootc status from the watcher's cache, detects image mismatches, and drives updates via bootc stage.
func (*BootcNodeReconciler) SetupWithManager ¶
func (r *BootcNodeReconciler) SetupWithManager(mgr ctrl.Manager) error
type StatusWatcher ¶
type StatusWatcher struct {
PollInterval time.Duration
OstreePath string
ComposefsPath string
Events chan event.GenericEvent
NodeName string
Executor bootc.Executor
Ready chan struct{}
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.