Versions in this module Expand all Collapse all v0 v0.55.0 Sep 9, 2026 Changes in this version type CheckID — linux/amd64 + const CheckFirewallIsStillOff type Step — linux/amd64 + Reads bool v0.54.4 Sep 7, 2026 v0.54.3 Sep 6, 2026 v0.54.2 Sep 6, 2026 v0.54.1 Sep 6, 2026 Changes in this version + const ModeDryRun — linux/amd64 + const ModeRun — linux/amd64 + const ProtectedFileName — linux/amd64 + const SwitchFileName — linux/amd64 + func FreeBytes(path string) (int64, error) — linux/amd64 + func PossibleOn(deps Deps) []string — linux/amd64 + func Protected() ([]string, error) — linux/amd64 + func SwitchedOff() (bool, string) — linux/amd64 + type Action struct — linux/amd64 + Params []Param + Reversibility Reversibility + Settle time.Duration + Summary string + Type string + UndoWhy string + Variants []Variant + func All() []Action + func Lookup(actionType string) (Action, bool) + type ActionReport struct — linux/amd64 + Commands []CommandRun + DoItYourself *DoItYourself + FreedBytes int64 + OK bool + Refused string + Reversibility Reversibility + Summary string + Type string + UndoWhy string + WouldRun []string + type BackupKind string — linux/amd64 + const BackupArchiveFreed + const BackupCopyFiles + const BackupNone + type BackupPlan struct — linux/amd64 + Freed *regexp.Regexp + Kind BackupKind + Target string + type BackupReport struct — linux/amd64 + Asked bool + Free int64 + Needs int64 + Taken bool + Why string + type CheckID string — linux/amd64 + const CheckDropInWillTakeEffect + const CheckKeepsMeReachable + const CheckPlanKeepsMeReachable + const CheckServiceIsOneWeConfigure + const CheckSettingTookEffect + const CheckSomebodyCanStillLogIn + const CheckUnitNotProtected + type CommandRun struct — linux/amd64 + Advice *DoItYourself + Display string + ExitCode int + Millis int64 + Skipped string + Stderr string + Stdout string + Why string + type Deps struct — linux/amd64 + Accounts func() ([]string, error) + Applies func(privexec.ID) (bool, string) + Exec func(context.Context, privexec.ID, privexec.Values) (privexec.Result, error) + FreeBytes func(path string) (int64, error) + InboundPorts func() ([]int, error) + Installed func(binary string) bool + Listening func(port int) bool + Protected func() ([]string, error) + SSHAccess func(context.Context) (confedit.Access, error) + Sleep func(context.Context, time.Duration) error + SwitchedOff func() (bool, string) + func HostDeps() Deps + type DoItYourself struct — linux/amd64 + CheckFirst string + Risk string + Script string + type Job struct — linux/amd64 + Actions []Request + Backup bool + Mode string + type LedgerEntry struct — linux/amd64 + CanPutBack bool + PutBack bool + Type string + Why string + type Param struct — linux/amd64 + Allow *regexp.Regexp + Name string + Why string + type PhaseReport struct — linux/amd64 + Commands []CommandRun + OK bool + type Report struct — linux/amd64 + Actions []ActionReport + Backup BackupReport + Mode string + OK bool + PreviewID string + Refused string + Undo *UndoReport + Verify *PhaseReport + func Run(ctx context.Context, deps Deps, job Job) Report + type Request struct — linux/amd64 + Params map[string]string + Type string + type Reversibility string — linux/amd64 + const ReverseFull + const ReverseNone + const ReversePartial + type Step struct — linux/amd64 + Args map[string]string + Check CheckID + Command privexec.ID + Why string + type UndoReport struct — linux/amd64 + Commands []CommandRun + Ledger []LedgerEntry + Ran bool + type Variant struct — linux/amd64 + Backup BackupPlan + DryRun []Step + Needs string + Run []Step + Undo []Step + Verify []Step