Documentation
¶
Overview ¶
Package commandprojection adapts engine facts to command-specific results.
Index ¶
- Variables
- func ClassifyError(cause error) (appobs.Failure, bool)
- func NormalizeRelayOrigin(raw string) (appobs.RelayOrigin, error)
- func ObserverLossReason(cause error) appobs.ObserverLossReason
- func ProjectCommandFailure(command clievent.Command, exit clievent.ExitCode, cause error) (clievent.CommandFailed, error)
- func ProjectProgress(value transfer.ReceiveProgressSnapshot, visible bool) (appobs.ProgressSnapshot, error)
- func ProjectReceiveResult(input engine.TaskCompletion[engine.ReceiveResult]) (clievent.TransferResult, error)
- func ProjectShareResult(input engine.TaskResult[engine.ShareResult]) (clievent.ShareResult, error)
- func ProjectSharingSubject(value liveshare.SelectedRootSummary) (appobs.SharingSubjectSelected, error)
- func ProjectStartFailure(command clievent.Command, cause error) (clievent.CommandFailed, error)
- func ProjectTransferProgress(operation receivecontract.OperationID, job transfer.TransferJobID, ...) (appobs.TransferProgress, error)
- func ProjectionRejection(cause error) appobs.ObservationRejection
- func SealFilesystemOutputFailure(value osfs.FilesystemOutputDiagnostic) (error, bool)
Constants ¶
This section is empty.
Variables ¶
var ErrInvalidProjection = errors.New("command presentation is invalid")
Functions ¶
func NormalizeRelayOrigin ¶
func NormalizeRelayOrigin(raw string) (appobs.RelayOrigin, error)
func ObserverLossReason ¶
func ObserverLossReason(cause error) appobs.ObserverLossReason
func ProjectCommandFailure ¶
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 ProjectShareResult ¶
func ProjectShareResult(input engine.TaskResult[engine.ShareResult]) (clievent.ShareResult, error)
func ProjectSharingSubject ¶
func ProjectSharingSubject(value liveshare.SelectedRootSummary) (appobs.SharingSubjectSelected, error)
func ProjectStartFailure ¶
ProjectStartFailure owns status for failures before a task exists. Settled task failures retain their authoritative failure class through ProjectCommandFailure.
func ProjectTransferProgress ¶
func ProjectTransferProgress(operation receivecontract.OperationID, job transfer.TransferJobID, value transfer.ReceiveProgressSnapshot, visible bool) (appobs.TransferProgress, error)
func ProjectionRejection ¶
func ProjectionRejection(cause error) appobs.ObservationRejection
func SealFilesystemOutputFailure ¶
func SealFilesystemOutputFailure(value osfs.FilesystemOutputDiagnostic) (error, bool)
Types ¶
This section is empty.