MCPcopy
hub / github.com/harness/harness / WithTx

Method WithTx

store/database/dbtx/interface.go:44–44  ·  view source on GitHub ↗
(ctx context.Context, txFn func(ctx context.Context) error, opts ...interface{})

Source from the content-addressed store, hash-verified

42
43type Transactor interface {
44 WithTx(ctx context.Context, txFn func(ctx context.Context) error, opts ...interface{}) error
45}
46
47// AccessorTx is used to access the database. It combines Accessor interface

Callers 15

finalStatusUpdateMethod · 0.65
ModifyCleanupPoliciesMethod · 0.65
postUploadArtifactMethod · 0.65
DeletePackageMethod · 0.65
DeleteVersionMethod · 0.65
UploadArtifactMethod · 0.65
dbBlobLinkExistsMethod · 0.65
dbTagManifestMethod · 0.65
dbPutManifestListMethod · 0.65

Implementers 3

Transactorregistry/app/api/controller/mocks/tran
Transactionregistry/app/api/controller/mocks/tran
runnerDBstore/database/dbtx/runner.go

Calls

no outgoing calls

Tested by 1

TestLockingFunction · 0.52