Documentation ¶
Index ¶
- func GraphDependencies(collection tasks.Collection)
- func HandleError(err error)
- func NewInteractiveRunner(forest tasks.Collection, opts ViewOptions, conf config.Config) error
- func NewNotifyWriter() *notifyWriter
- func NewRunner(tasks tasks.TaskList, options ViewOptions)
- func NewStatusView(list tasks.TaskList, opts ViewOptions) error
- func PrintSuccess(msg string)
- type ActiveTask
- type ActiveView
- 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(collection tasks.Collection)
func HandleError ¶
func HandleError(err error)
func NewInteractiveRunner ¶
func NewInteractiveRunner(forest tasks.Collection, opts ViewOptions, conf config.Config) error
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
func PrintSuccess ¶
func PrintSuccess(msg string)
Types ¶
type ActiveTask ¶
type ActiveTask struct {
// contains filtered or unexported fields
}
type ActiveView ¶
type ActiveView int
const ( ViewDefault ActiveView = iota ViewHelp ViewFullScreen ViewAddTask )
type ContentUpdateMsg ¶
type ContentUpdateMsg struct {
// contains filtered or unexported fields
}
fired when the current logs content changes
type InteractiveTaskStatus ¶
type InteractiveTaskStatus struct {
// contains filtered or unexported fields
}
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func (*Model) RenderTabs ¶
func (*Model) ViewAddTask ¶
func (*Model) ViewFullScreen ¶
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 when 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 when 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
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
This Version customizes the handling of suggestions allowing the component to - handle CurrentSuggestion() when there is no current suggestion - exposes MatchedSuggestions() which returns the list of matched suggestions
|
This Version customizes the handling of suggestions allowing the component to - handle CurrentSuggestion() when there is no current suggestion - exposes MatchedSuggestions() which returns the list of matched suggestions |
Click to show internal directories.
Click to hide internal directories.