MCPcopy
hub / github.com/harness/harness / Transactor

Struct Transactor

registry/app/api/controller/mocks/transactor.go:12–14  ·  view source on GitHub ↗

Transactor is a mock of dbtx.Transactor interface.

Source from the content-addressed store, hash-verified

10
11// Transactor is a mock of dbtx.Transactor interface.
12type Transactor struct {
13 mock.Mock
14}
15
16// WithTx provides a mock function
17func (m *Transactor) WithTx(ctx context.Context, fn func(context.Context) error, opts ...interface{}) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected