MCPcopy
hub / github.com/harness/harness / Canceler

Interface Canceler

app/pipeline/canceler/canceler.go:41–44  ·  view source on GitHub ↗

Canceler cancels a build.

Source from the content-addressed store, hash-verified

39
40// Canceler cancels a build.
41type Canceler interface {
42 // Cancel cancels the provided execution.
43 Cancel(ctx context.Context, repo *types.RepositoryCore, execution *types.Execution) error
44}
45
46// New returns a cancellation service that encapsulates
47// all cancellation operations.

Callers 3

PurgeNoAuthMethod · 0.65
CancelMethod · 0.65
HandleCancelFunction · 0.65

Implementers 8

blobWriterregistry/app/storage/blobwriter.go
writerregistry/app/driver/s3-aws/s3.go
fileWriterregistry/app/driver/filesystem/driver.
Repositoryapp/services/importer/repository.go
Controllerapp/api/controller/execution/controlle
cancelerapp/pipeline/scheduler/canceler.go
serviceapp/pipeline/canceler/canceler.go
ReaderCancelerevents/reader.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…