commandprojection

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: AGPL-3.0 Imports: 10 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

Overview

Package commandprojection adapts engine facts to command-specific results.

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidProjection = errors.New("command presentation is invalid")

Functions

func ClassifyError

func ClassifyError(cause error) (appobs.Failure, bool)

func NormalizeRelayOrigin

func NormalizeRelayOrigin(raw string) (appobs.RelayOrigin, error)

func ObserverLossReason

func ObserverLossReason(cause error) appobs.ObserverLossReason

func ProjectCommandFailure

func ProjectCommandFailure(
	command clievent.Command,
	exit clievent.ExitCode,
	cause error,
) (clievent.CommandFailed, error)

func ProjectProgress

func ProjectProgress(value transfer.ReceiveProgressSnapshot, visible bool) (appobs.ProgressSnapshot, error)

func ProjectReceiveResult

func ProjectReceiveResult(input engine.TaskCompletion[engine.ReceiveResult]) (clievent.TransferResult, error)

ProjectReceiveResult translates an already settled application outcome.

func ProjectStartFailure

func ProjectStartFailure(command clievent.Command, cause error) (clievent.CommandFailed, error)

ProjectStartFailure owns status for failures before a task exists. Settled task failures retain their authoritative failure class through ProjectCommandFailure.

func ProjectionRejection

func ProjectionRejection(cause error) appobs.ObservationRejection

func SealFilesystemOutputFailure

func SealFilesystemOutputFailure(value osfs.FilesystemOutputDiagnostic) (error, bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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