MCPcopy Index your code
hub / github.com/coder/coder / AcquirerStore

Interface AcquirerStore

coderd/provisionerdserver/acquirer.go:65–67  ·  view source on GitHub ↗

AcquirerStore is the subset of database.Store that the Acquirer needs

Source from the content-addressed store, hash-verified

63
64// AcquirerStore is the subset of database.Store that the Acquirer needs
65type AcquirerStore interface {
66 AcquireProvisionerJob(context.Context, database.AcquireProvisionerJobParams) (database.ProvisionerJob, error)
67}
68
69func NewAcquirer(ctx context.Context, logger slog.Logger, store AcquirerStore, ps pubsub.Pubsub,
70 opts ...AcquirerOption,

Callers 6

insertRunningFunction · 0.65
AcquireJobMethod · 0.65
TestUpdateJobFunction · 0.65
TestFailJobFunction · 0.65
TestCompleteJobFunction · 0.65
TestNotificationsFunction · 0.65

Implementers 7

sqlQueriercoderd/database/db.go
queryMetricsStorecoderd/database/dbmetrics/querymetrics
queriercoderd/database/dbauthz/dbauthz.go
MockStorecoderd/database/dbmock/dbmock.go
MockStoreMockRecordercoderd/database/dbmock/dbmock.go
fakeOrderedStorecoderd/provisionerdserver/acquirer_tes
fakeTaggedStorecoderd/provisionerdserver/acquirer_tes

Calls

no outgoing calls

Tested by

no test coverage detected