Documentation ¶
Index ¶
- func Get(ctx context.Context, cfg config.Config, appName, jobName string) (*models.Job, error)
- func GetAnyPipelineJobWithStatus(ctx context.Context, cfg config.Config, appName, expectedStatus string) (*models.JobSummary, error)
- func GetLastPipelineJobWithStatus(ctx context.Context, cfg config.Config, appName, expectedStatus string) (*models.JobSummary, error)
- func GetLogForPipelineStep(ctx context.Context, cfg config.Config, ...) (string, error)
- func GetLogForStep(ctx context.Context, cfg config.Config, appName, jobName, stepName string) string
- func GetPipelineRunTasks(ctx context.Context, cfg config.Config, ...) ([]*models.PipelineRunTask, error)
- func GetPipelineRuns(ctx context.Context, cfg config.Config, appName, jobName string) ([]*models.PipelineRun, error)
- func GetStatus(ctx context.Context, cfg config.Config, appName, jobName string) (string, error)
- func GetSteps(ctx context.Context, cfg config.Config, appName, jobName string) []*models.Step
- func IsDone(ctx context.Context, cfg config.Config, appName, jobName string) (string, error)
- func Stop(ctx context.Context, cfg config.Config, appName, jobName string) error
- type ExpectedSteps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAnyPipelineJobWithStatus ¶
func GetAnyPipelineJobWithStatus(ctx context.Context, cfg config.Config, appName, expectedStatus string) (*models.JobSummary, error)
GetAnyPipelineJobWithStatus Checks if any pipeline job exists with status
func GetLastPipelineJobWithStatus ¶
func GetLastPipelineJobWithStatus(ctx context.Context, cfg config.Config, appName, expectedStatus string) (*models.JobSummary, error)
GetLastPipelineJobWithStatus Checks if a last pipeline job exists with status
func GetLogForPipelineStep ¶
func GetLogForStep ¶
func GetLogForStep(ctx context.Context, cfg config.Config, appName, jobName, stepName string) string
GetLogForStep gets log for step
func GetPipelineRunTasks ¶
func GetPipelineRunTasks(ctx context.Context, cfg config.Config, appName, jobName, pipelineRunName string) ([]*models.PipelineRunTask, error)
GetPipelineRunTasks gets tasks from pipeline run from job name
func GetPipelineRuns ¶
func GetPipelineRuns(ctx context.Context, cfg config.Config, appName, jobName string) ([]*models.PipelineRun, error)
GetPipelineRuns gets pipeline runs from job name
Types ¶
type ExpectedSteps ¶
type ExpectedSteps interface { Add(stepName string, components ...string) ExpectedSteps Count() int HasStepWithComponent(stepName string, components []string) bool }
func NewExpectedSteps ¶
func NewExpectedSteps() ExpectedSteps
Click to show internal directories.
Click to hide internal directories.