Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoMoreRuns = errors.New("no more runs")
)
Functions ¶
func Run ¶
func Run(scanPath string, runctx run.RunContext, opts ...earthly.EarthlyExecutorOption, ) error
Run starts the TUI application.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
App represents the TUI application.
type CI ¶
type CI struct {
// contains filtered or unexported fields
}
CI represents a CI simulation.
func (*CI) Next ¶
Next returns the next command to be executed. If there are no more runs, it returns an error.
func (*CI) UpdateSpinners ¶
UpdateSpinner updates the spinners of the CI simulation.
type CIRun ¶
type CIRun struct {
Project *project.Project
Status RunStatus
Target string
// contains filtered or unexported fields
}
CIRun represents a CI run.
func (*CIRun) UpdateSpinner ¶
UpdateSpinner updates the spinner of the CI run.
type CIRunFinishedMsg ¶
type CIRunFinishedMsg struct {
Run *CIRun
}
type CIRunGroup ¶
type CIRunGroup struct {
Runs []*CIRun
// contains filtered or unexported fields
}
CIRunGroup represents a group of CI runs.
func (*CIRunGroup) Failed ¶
func (c *CIRunGroup) Failed() []*CIRun
Failed returns the failed runs of the group.
func (*CIRunGroup) Finished ¶
func (c *CIRunGroup) Finished() bool
Finished returns true if all runs in the group have finished.
func (*CIRunGroup) View ¶
func (c *CIRunGroup) View() string
View returns the view of the CI run group.
Click to show internal directories.
Click to hide internal directories.