Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WireSet = wire.NewSet( ProvideCanceler, )
WireSet provides a wire set for this package.
Functions ¶
This section is empty.
Types ¶
type Canceler ¶
type Canceler interface { // Cancel cancels the provided execution. Cancel(ctx context.Context, repo *types.Repository, execution *types.Execution) error }
Canceler cancels a build.
func New ¶
func New( executionStore store.ExecutionStore, sseStreamer sse.Streamer, repoStore store.RepoStore, scheduler scheduler.Scheduler, stageStore store.StageStore, stepStore store.StepStore, ) Canceler
New returns a cancellation service that encapsulates all cancellation operations.
func ProvideCanceler ¶
func ProvideCanceler( executionStore store.ExecutionStore, sseStreamer sse.Streamer, repoStore store.RepoStore, scheduler scheduler.Scheduler, stageStore store.StageStore, stepStore store.StepStore) Canceler
ProvideExecutionManager provides an execution manager.
Click to show internal directories.
Click to hide internal directories.