execution

package
v1.0.0-alpha.6 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2026 License: Apache-2.0 Imports: 2 Imported by: 1 module, 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 execution defines execution and host-identity semantics shared by Ferret Wire clients and servers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Sequence uint64
	Snapshot Snapshot
}

Event carries an ordered execution snapshot.

type Snapshot

type Snapshot struct {
	State    State
	Metadata *api.Metadata
	Failure  *failure.Failure
}

Snapshot is the semantic state published for a remote execution.

type State

type State uint8

State describes the lifecycle state in an execution Snapshot.

const (
	StateRunning State = iota + 1
	StateCompleted
	StateFailed
	StateCancelled
)

Execution states distinguish a running operation from its terminal outcome.

func (State) Terminal

func (state State) Terminal() bool

Terminal reports whether the execution has reached a final state.

Jump to

Keyboard shortcuts

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