Documentation
¶
Overview ¶
Package spacewave_cli provides CLI commands for the spacewave CLI binary.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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.
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.
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.
Source Files
¶
- account.go
- apt.go
- apt_open_unix.go
- auth.go
- billing.go
- canvas.go
- cli.go
- client.go
- daemon-accept.go
- daemon-control.go
- daemon-desktop-control.go
- daemon-idle.go
- daemon-stop.go
- daemon-update.go
- debug.go
- device-approve.go
- device-capability-projection.go
- device-policy-forge.go
- device-policy-host.go
- device-policy.go
- device-update-projection.go
- device.go
- devtool.go
- forge-worker-process.go
- forge.go
- format.go
- fs-restore.go
- fs-sync.go
- fs.go
- git-lfs.go
- git-remote.go
- git.go
- local-session-keeper.go
- login-file.go
- login-pair.go
- login.go
- logout.go
- object.go
- plugin.go
- provider.go
- runtime-trace.go
- serve-core-plugin.go
- serve.go
- session-attach-local.go
- session.go
- space-world-export.go
- space-world.go
- space.go
- state-path-lease-held-error.go
- state-path-lease.go
- state-path-process-unix.go
- status.go
- storage.go
- takeover.go
- tui.go
- vm-run.go
- vm.go
- web-listener-keepalive.go
- web.go
- whoami.go
- world-op.go
- writable-store-lease.go