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

spacewave_cli

package
v0.57.22 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2026 License: Apache-2.0 Imports: 157 Imported by: 0

Documentation

Overview

Package spacewave_cli provides CLI commands for the spacewave CLI binary.

Index

Constants

This section is empty.

Variables

View Source
var ErrDesktopUIUnavailable = errors.New("desktop UI artifact unavailable: the running daemon has no web plugin")

ErrDesktopUIUnavailable reports that the running daemon has no web plugin to host the desktop. A launcher receives this exact message over RPC.

Functions

func NewCliCommands

func NewCliCommands(getBus func() cli_entrypoint.CliBus, yieldBroker *yield_policy.Broker) []*cli.Command

NewCliCommands builds the spacewave CLI commands. The yield broker is the process-shared broker from the composition root; nil builds commands with a private broker for tests and read-only command trees.

Types

type FsRestoreArgs

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

FsRestoreArgs selects an exported World root and its S3 packfiles.

func (*FsRestoreArgs) BuildFlags

func (a *FsRestoreArgs) BuildFlags() []cli.Flag

BuildFlags builds the recovery location flags.

func (*FsRestoreArgs) Run

func (a *FsRestoreArgs) Run(c *cli.Context) error

Run restores into a new directory without the original daemon or account state.

type FsSyncArgs

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

FsSyncArgs selects a local directory and a UnixFS directory to mirror.

func (*FsSyncArgs) BuildFlags

func (a *FsSyncArgs) BuildFlags() []cli.Flag

BuildFlags builds the targeting and deletion flags.

func (*FsSyncArgs) Run

func (a *FsSyncArgs) Run(c *cli.Context) error

Run mirrors the source directory and fences uploaded World blocks.

type StatePathLeaseHeldError added in v0.57.0

type StatePathLeaseHeldError struct {
	// StatePath is the canonical writable root.
	StatePath string
	// HolderPID identifies the lease holder when available.
	HolderPID int
	// StorePath identifies the contended storage lock.
	StorePath string
}

StatePathLeaseHeldError reports the process that owns a writable state path.

func (*StatePathLeaseHeldError) Error added in v0.57.0

func (e *StatePathLeaseHeldError) Error() string

Error returns the terminal writable-state conflict.

func (*StatePathLeaseHeldError) Is

func (e *StatePathLeaseHeldError) Is(target error) bool

Is distinguishes a competing daemon startup from a separate writable store.

Jump to

Keyboard shortcuts

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