Versions in this module Expand all Collapse all v0 v0.27.0 Nov 19, 2026 Changes in this version + const Slot + func Present() bool + func ReconcileNVIDIA(ctx context.Context, log *slog.Logger, b *container.Backend, slot string, ...) error + func RefreshNVIDIAGrants(h NVIDIAHooks) func(context.Context, []isolation.Grant) ([]isolation.Grant, error) + type NVIDIAHooks struct + Execute func(ctx context.Context, log *slog.Logger, task phases.Task) error + ImageArchiveDir string + PollInterval time.Duration + ReadyTimeout time.Duration + Resolve func(arch string) (goalstates.NvidiaHost, error) + type Node struct + func New(p Params) *Node + func (n *Node) Activate(ctx context.Context) error + func (n *Node) Backend() *container.Backend + func (n *Node) Configure(ctx context.Context) (containerdChanged, kubeletChanged bool, err error) + func (n *Node) Destroy(ctx context.Context) error + func (n *Node) GoalState() (*goalstates.MachineGoalState, error) + func (n *Node) Prepare(ctx context.Context) (isolation.NodeRoot, error) + func (n *Node) Restart(ctx context.Context) error + func (n *Node) Resume(ctx context.Context) error + func (n *Node) RewriteUnit(ctx context.Context) error + func (n *Node) Running(ctx context.Context) (bool, error) + func (n *Node) Start(ctx context.Context, wasRunning, containerdChanged, kubeletChanged bool) error + func (n *Node) Stop(ctx context.Context) error + func (n *Node) Upgrade(ctx context.Context, old *Node) (err error) + type Overrides struct + GoneTimeout time.Duration + HelperPath string + Host *container.HostFS + ImageArchiveDir string + InstallHelper func(ctx context.Context) error + InstallRuntime func(ctx context.Context) error + Layout container.Layout + MountInfoPath string + PollInterval time.Duration + ProvisionRootfs func(ctx context.Context) error + ReadyTimeout time.Duration + Run container.Runner + RuntimePath string + SystemdDir string + Unpack func(ctx context.Context, dir string) error + type Params struct + Config *config.AgentConfig + Downloads *goalstates.DownloadOverrides + GoalState *goalstates.MachineGoalState + Log *slog.Logger + Slot string + type Teardown struct + GoneTimeout time.Duration + Layout container.Layout + Log *slog.Logger + MountInfo string + PollInterval time.Duration + Root string + Run container.Runner + RuntimePath string + SystemdDir string + func (t *Teardown) Destroy() phases.Task + func (t *Teardown) Present() bool + func (t *Teardown) RemoveConfig() phases.Task + func (t *Teardown) Stop() phases.Task v0.27.0-rc.1 Nov 19, 2026