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

Method GetUserSecretByUserIDAndName

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

Source from the content-addressed store, hash-verified

798 GetUserNotificationPreferences(ctx context.Context, userID uuid.UUID) ([]NotificationPreference, error)
799 GetUserSecretByID(ctx context.Context, id uuid.UUID) (UserSecret, error)
800 GetUserSecretByUserIDAndName(ctx context.Context, arg GetUserSecretByUserIDAndNameParams) (UserSecret, error)
801 // Returns deployment-wide aggregates for the telemetry snapshot.
802 //
803 // The denominator for both user-level counts and the per-user

Callers 10

getUserSecretMethod · 0.65
patchUserSecretMethod · 0.65
TestUserSecretsMethod · 0.65
TestSecretCreateFunction · 0.65
TestUserSecretsFunction · 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 5

TestUserSecretsMethod · 0.52
TestSecretCreateFunction · 0.52
TestUserSecretsFunction · 0.52