Documentation
¶
Overview ¶
Package domain defines the stable lifecycle vocabulary enforced by the Fenced kernel. It has no infrastructure dependencies.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAttemptTransition ¶
func ValidateAttemptTransition(from, to AttemptPhase) error
func ValidateRunTransition ¶
func ValidateTaskTransition ¶
Types ¶
type AttemptPhase ¶
type AttemptPhase string
const ( AttemptPending AttemptPhase = "PENDING" AttemptPlaced AttemptPhase = "PLACED" AttemptStarting AttemptPhase = "STARTING" AttemptRunning AttemptPhase = "RUNNING" AttemptWaitingTool AttemptPhase = "WAITING_TOOL" AttemptWaitingAgent AttemptPhase = "WAITING_AGENT" AttemptWaitingApproval AttemptPhase = "WAITING_APPROVAL" AttemptCheckpointing AttemptPhase = "CHECKPOINTING" AttemptCompleted AttemptPhase = "COMPLETED" AttemptFailed AttemptPhase = "ATTEMPT_FAILED" AttemptCancelRequested AttemptPhase = "CANCEL_REQUESTED" AttemptCancelled AttemptPhase = "CANCELLED" )
func (AttemptPhase) Terminal ¶
func (p AttemptPhase) Terminal() bool
Click to show internal directories.
Click to hide internal directories.