MCPcopy
hub / github.com/devtron-labs/devtron / TransactionWrapper

Interface TransactionWrapper

pkg/sql/TransactionWrapper.go:21–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19import "github.com/go-pg/pg"
20
21type TransactionWrapper interface {
22 StartTx() (*pg.Tx, error)
23 RollbackTx(tx *pg.Tx) error
24 CommitTx(tx *pg.Tx) error
25}
26
27type TransactionUtilImpl struct {
28 dbConnection *pg.DB

Callers 24

CreateMethod · 0.65
UpdateAppOverrideMethod · 0.65
SavePolicyMethod · 0.65
CreateVariablesMethod · 0.65
CreateMethod · 0.65
UpdateAppOverrideMethod · 0.65

Implementers 8

VariableEntityMappingRepositorypkg/variables/mocks/VariableEntityMapp
GenericNoteRepositorypkg/genericNotes/repository/mocks/Gene
GenericNoteHistoryRepositorypkg/genericNotes/repository/mocks/Gene
TransactionUtilImplpkg/sql/TransactionWrapper.go
InfraConfigRepositorypkg/infraConfig/repository/mocks/Infra
EphemeralContainersRepositorypkg/cluster/repository/mocks/Ephemeral
CiPipelineRepositoryinternal/sql/repository/pipelineConfig
ImageTaggingRepositoryinternal/sql/repository/imageTagging/m

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…