retry

package
v0.190.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicRetrier

type BasicRetrier struct{}

func (*BasicRetrier) Retry

func (b *BasicRetrier) Retry(_ context.Context, jobOpts chan<- job.StartOptions, opt job.StartOptions, _ job.Job)

type JunitRetrier added in v0.132.0

type JunitRetrier struct {
	JobService job.Service
}

func (*JunitRetrier) Retry added in v0.132.0

func (b *JunitRetrier) Retry(ctx context.Context, jobOpts chan<- job.StartOptions, opt job.StartOptions, previous job.Job)

type Project added in v0.138.0

type Project interface {
	FilterFailedTests(suiteName string, report saucereport.SauceReport) error
}

type Retrier

type Retrier interface {
	Retry(ctx context.Context, c chan<- job.StartOptions, opt job.StartOptions, previous job.Job)
}

Retrier represents the retry strategy.

type SauceReportRetrier added in v0.138.0

type SauceReportRetrier struct {
	JobService      job.Service
	ProjectUploader storage.AppService

	Project Project
}

func (*SauceReportRetrier) Retry added in v0.138.0

func (r *SauceReportRetrier) Retry(ctx context.Context, jobOpts chan<- job.StartOptions, opt job.StartOptions, previous job.Job)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL