resumecommand

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2026 License: AGPL-3.0 Imports: 16 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	RetrySynopsis   = command.Name + " resume retry [-o <directory>] [--operation <id>] [--only <path>]... <link>"
	ListSynopsis    = command.Name + " resume list -o <directory>"
	DiscardSynopsis = command.Name + " resume discard -o <directory> --item <N>"
)

Resume synopses are the single source of truth shared between resumecommand help and top-level wind usage.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilesystemConfig

type FilesystemConfig struct {
	Recovery          recoveryInspector
	Input             io.Reader
	Output            io.Writer
	RawTerminalOutput io.Writer
	DiagnosticOutput  command.LineOutput
	Logf              func(string, ...any)
}

FilesystemConfig keeps raw terminal detection separate from diagnostic records; the CLI's stderr lock must not hide the underlying terminal file descriptor.

type Request added in v0.1.6

type Request struct {
	// contains filtered or unexported fields
}

Request is a validated resume list or discard invocation ready to execute.

func Parse added in v0.1.6

func Parse(args []string, output command.LineOutput) (Request, command.ExitCode, bool)

Parse validates resume list/discard arguments before the caller acquires engine or destination authority. When ready is false, code is the terminal exit status.

type Runner

type Runner struct {
	// contains filtered or unexported fields
}

Runner owns argument handling, item numbering and terminal confirmation. Engine inventories retain the authority and all recovery decisions.

func NewFilesystemRunner

func NewFilesystemRunner(config FilesystemConfig) Runner

func (Runner) Execute added in v0.1.6

func (runner Runner) Execute(ctx context.Context, request Request) command.ExitCode

func (Runner) Run

func (runner Runner) Run(ctx context.Context, args []string) command.ExitCode

Jump to

Keyboard shortcuts

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