Documentation
¶
Overview ¶
Package status defines the structured progress events emitted by long-running commands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Event ¶
type Event struct {
Phase Phase `json:"phase"`
Step string `json:"step,omitempty"`
Started bool `json:"started"`
Err string `json:"error,omitempty"`
}
Event is one phase transition.
type Phase ¶
type Phase string
Phase identifies a step in the up pipeline.
const ( PhaseCloningRepository Phase = "cloning_repository" PhaseResolvingConfig Phase = "resolving_config" PhaseInitializeCommand Phase = "initialize_command" PhaseBuildingImage Phase = "building_image" PhaseStartingContainer Phase = "starting_container" PhaseInjectingAgent Phase = "injecting_agent" PhaseRunningLifecycleHook Phase = "running_lifecycle_hook" PhaseWaitingFor Phase = "waiting_for" PhaseReady Phase = "ready" PhaseFailed Phase = "failed" )
Click to show internal directories.
Click to hide internal directories.