Documentation ¶
Index ¶
- func GraphDependencies(tasks *tasks.TaskTreeNode)
- func HandleError(err error)
- func NewInteractiveRunner(list tasks.TaskList, opts ViewOptions, conf config.Config) error
- func NewNotifyWriter() *notifyWriter
- func NewRunner(tasks tasks.TaskList, options ViewOptions)
- func NewStatusView(list tasks.TaskList, opts ViewOptions) error
- type ActiveTask
- type ContentUpdateMsg
- type InteractiveTaskStatus
- type Model
- type PostErroredMsg
- type PostRunnerUpdateMsg
- type PostStageFinishedMsg
- type PreRunnerUpdateMsg
- type PreTaskStatus
- type ScheduledErroredMsg
- type ScheduledStageFinishedMsg
- type ScheduledTask
- type StatusErrorMsg
- type StatusModel
- type StatusStageFinishedMsg
- type StatusUpdateMsg
- type ViewOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GraphDependencies ¶
func GraphDependencies(tasks *tasks.TaskTreeNode)
func HandleError ¶
func HandleError(err error)
func NewInteractiveRunner ¶
NewInteractiveRunner creates a new interactive runner for long running tasks
func NewNotifyWriter ¶
func NewNotifyWriter() *notifyWriter
func NewRunner ¶
func NewRunner(tasks tasks.TaskList, options ViewOptions)
func NewStatusView ¶
func NewStatusView(list tasks.TaskList, opts ViewOptions) error
Types ¶
type ActiveTask ¶
type ActiveTask struct {
// contains filtered or unexported fields
}
type ContentUpdateMsg ¶
type ContentUpdateMsg string // fired when the current logs content changes
type InteractiveTaskStatus ¶
type InteractiveTaskStatus struct {
// contains filtered or unexported fields
}
type PostErroredMsg ¶
type PostErroredMsg struct { // contains filtered or unexported fields } // fired when a post task errored
type PostRunnerUpdateMsg ¶
type PostRunnerUpdateMsg tasks.RunnerStatus //fired when a $post tasks updates
type PostStageFinishedMsg ¶
type PostStageFinishedMsg int // fired whe a post action of a scheduled task finished
type PreRunnerUpdateMsg ¶
type PreRunnerUpdateMsg tasks.RunnerStatus //fired when a $pre tasks updates
type PreTaskStatus ¶
type PreTaskStatus struct {
// contains filtered or unexported fields
}
type ScheduledErroredMsg ¶
type ScheduledErroredMsg struct { // contains filtered or unexported fields } // fired when a scheduled task errored
type ScheduledStageFinishedMsg ¶
type ScheduledStageFinishedMsg int // fired whe a pre action of a scheduled task finished
type ScheduledTask ¶
type ScheduledTask struct {
// contains filtered or unexported fields
}
type StatusErrorMsg ¶
type StatusErrorMsg struct {
// contains filtered or unexported fields
}
type StatusModel ¶
type StatusModel struct {
// contains filtered or unexported fields
}
func (*StatusModel) Init ¶
func (m *StatusModel) Init() tea.Cmd
func (*StatusModel) View ¶
func (m *StatusModel) View() (s string)
type StatusStageFinishedMsg ¶
type StatusStageFinishedMsg int
type StatusUpdateMsg ¶
type StatusUpdateMsg tasks.RunnerStatus
Click to show internal directories.
Click to hide internal directories.