operation

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package operation defines shared presentation states without granting host or filesystem authority. Typed queues and lifecycle coordinators retain their own closed requests, journals, validation and ownership.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Receipt

type Receipt struct {
	ID                string
	State             State
	Label, Tone, Next string
}

Receipt carries catalog keys and safe operation identity, never raw errors, subprocess text, credentials or arbitrary commands.

func Present

func Present(id string, state State, recovery bool) Receipt

type State

type State string
const (
	Queued          State = "queued"
	Running         State = "running"
	Succeeded       State = "succeeded"
	Failed          State = "failed"
	Scheduled       State = "scheduled"
	Canceled        State = "canceled"
	AwaitingRestart State = "awaiting_restart"
	RecoveryNeeded  State = "recovery_needed"
	Review          State = "review"
)

func (State) Active

func (s State) Active() bool

Jump to

Keyboard shortcuts

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