Documentation
¶
Index ¶
Constants ¶
const ( ShortListThreshold = 50 StatusColumnWidth = 4 EllipsisLength = 3 NotStartedDuration = "<not started>" )
Display constants for step formatting
const ( NameColumnPercent = 65 TagsColumnPercent = 15 DurationColumnPercent = 20 )
Column width percentages for wide layouts
const ( ListWidthPercentage = 30.0 MinBottomPanelHeight = 3 FilterInputHeightOffset = 1 TagsHeightOffset = 1 AlignHorizontal = 130 )
UI dimensions and layout constants
const ( KeyFilter = "/" KeyEscape = "esc" KeyTab = "tab" KeyEnter = "enter" KeyQuit = "ctrl+c" )
Keyboard shortcuts
const Logo = `` /* 4821-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PipelineDoneMsg ¶ added in v0.0.29
type PipelineDoneMsg struct {
Status StepStatus
Error error
}
PipelineDoneMsg represents a message when the pipeline is complete
type StepMsg ¶ added in v0.0.29
type StepMsg struct {
Name string
DisplayName string
Tags []processor.Tag
Status StepStatus
// contains filtered or unexported fields
}
StepMsg represents a pipeline step with its state and UI components
func NewStep ¶ added in v0.0.29
func NewStep() StepMsg
NewStep creates a new StepMsg with initialized components
func (StepMsg) Description ¶ added in v0.0.29
Description returns the description for list display (used in narrow layouts)
func (StepMsg) FilterValue ¶ added in v0.0.29
FilterValue returns the value used for filtering
func (*StepMsg) TagsAsString ¶ added in v0.0.29
TagsAsString returns a formatted string representation of all tags
func (StepMsg) WithStatus ¶ added in v0.0.29
func (t StepMsg) WithStatus(status StepStatus) StepMsg
WithStatus creates a new StepMsg with the given status, updating timestamps
type StepStatus ¶
type StepStatus int
StepStatus represents the current state of a pipeline step
const ( StepStatusWaiting StepStatus = iota StepStatusRunning StepStatusFailed StepStatusDone StepStatusSkipped )
func (StepStatus) Render ¶
func (e StepStatus) Render() string
Render returns the styled visual representation of the step status
func (StepStatus) String ¶
func (e StepStatus) String() string
String returns the string representation of the step status