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

Method RevokeDBCryptKey

coderd/database/querier.go:1116–1116  ·  view source on GitHub ↗
(ctx context.Context, activeKeyDigest string)

Source from the content-addressed store, hash-verified

1114 // or 'disabled'.
1115 ResolveUserChatSpendLimit(ctx context.Context, arg ResolveUserChatSpendLimitParams) (ResolveUserChatSpendLimitRow, error)
1116 RevokeDBCryptKey(ctx context.Context, activeKeyDigest string) error
1117 // Note that this selects from the CTE, not the original table. The CTE is named
1118 // the same as the original table to trick sqlc into reusing the existing struct
1119 // for the table.

Callers 9

RevokeDBCryptKeyMethod · 0.65
RevokeDBCryptKeyMethod · 0.65
TestDBCryptMethod · 0.65
TestServerDBCryptFunction · 0.65
RotateFunction · 0.65
DecryptFunction · 0.65
DeleteFunction · 0.65
TestNewFunction · 0.65
RevokeDBCryptKeyMethod · 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 3

TestDBCryptMethod · 0.52
TestServerDBCryptFunction · 0.52
TestNewFunction · 0.52