Documentation ¶
Index ¶
- func ShowJobSelectionPrompt(jobs []models.Job) (*models.Job, error)
- func ShowPipelineSelectionPrompt(pipelines []*models.Pipeline) (*models.Pipeline, error)
- type App
- func (app App) EnrichPipelinesByJobs(pipelines []*models.Pipeline, concurrencyLimit int) ([]*models.Pipeline, error)
- func (app App) EnrichPipelinesByUser(pipelines []*models.Pipeline, concurrencyLimit int) ([]*models.Pipeline, error)
- func (app *App) GetJobs(pipelineId string) ([]models.Job, error)
- func (app App) GetLastFailLog() (string, error)
- func (app App) GetLog(jobID string) (string, error)
- func (app App) GetPipeline(id string) (*models.Pipeline, error)
- func (app App) GetPipelines(status string, count int) ([]*models.Pipeline, error)
- func (app *App) GetProjects() ([]models.Project, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type App ¶
func (App) EnrichPipelinesByJobs ¶
func (app App) EnrichPipelinesByJobs(pipelines []*models.Pipeline, concurrencyLimit int) ([]*models.Pipeline, error)
TODO: needs refactoring
func (App) EnrichPipelinesByUser ¶
func (app App) EnrichPipelinesByUser(pipelines []*models.Pipeline, concurrencyLimit int) ([]*models.Pipeline, error)
TODO: needs refactoring
func (App) GetLastFailLog ¶
func (App) GetPipelines ¶
Click to show internal directories.
Click to hide internal directories.