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

Method UpsertGroupAIBudget

coderd/database/querier.go:1406–1406  ·  view source on GitHub ↗
(ctx context.Context, arg UpsertGroupAIBudgetParams)

Source from the content-addressed store, hash-verified

1404 // The functional values are immutable and controlled implicitly.
1405 UpsertDefaultProxy(ctx context.Context, arg UpsertDefaultProxyParams) error
1406 UpsertGroupAIBudget(ctx context.Context, arg UpsertGroupAIBudgetParams) (GroupAiBudget, error)
1407 UpsertHealthSettings(ctx context.Context, value string) error
1408 UpsertLastUpdateCheck(ctx context.Context, value string) error
1409 UpsertLogoURL(ctx context.Context, value string) error

Callers 5

UpsertGroupAIBudgetMethod · 0.65
UpsertGroupAIBudgetMethod · 0.65
TestAIBridgeMethod · 0.65
upsertGroupAIBudgetMethod · 0.65
TestGroupAIBudgetFunction · 0.65

Implementers 5

sqlQueriercoderd/database/db.go
queryMetricsStorecoderd/database/dbmetrics/querymetrics
queriercoderd/database/dbauthz/dbauthz.go
MockStorecoderd/database/dbmock/dbmock.go
MockStoreMockRecordercoderd/database/dbmock/dbmock.go

Calls

no outgoing calls

Tested by 2

TestAIBridgeMethod · 0.52
TestGroupAIBudgetFunction · 0.52