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

Method UpdateCryptoKeyDeletesAt

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

Source from the content-addressed store, hash-verified

1241 UpdateChatTitleByID(ctx context.Context, arg UpdateChatTitleByIDParams) (Chat, error)
1242 UpdateChatWorkspaceBinding(ctx context.Context, arg UpdateChatWorkspaceBindingParams) (Chat, error)
1243 UpdateCryptoKeyDeletesAt(ctx context.Context, arg UpdateCryptoKeyDeletesAtParams) (CryptoKey, error)
1244 UpdateCustomRole(ctx context.Context, arg UpdateCustomRoleParams) (CustomRole, error)
1245 // Updates only the encrypted columns (api_key, api_key_key_id) and
1246 // the updated_at timestamp on a row. Used by the dbcrypt key

Callers 7

TestCryptoKeysMethod · 0.65
CryptoKeyFunction · 0.65
rotateKeyMethod · 0.65
TestCryptoKeysFunction · 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

TestCryptoKeysMethod · 0.52
TestCryptoKeysFunction · 0.52