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

Method GetUserLinksByUserID

coderd/database/querier.go:797–797  ·  view source on GitHub ↗
(ctx context.Context, userID uuid.UUID)

Source from the content-addressed store, hash-verified

795 GetUserLinkByLinkedID(ctx context.Context, linkedID string) (UserLink, error)
796 GetUserLinkByUserIDLoginType(ctx context.Context, arg GetUserLinkByUserIDLoginTypeParams) (UserLink, error)
797 GetUserLinksByUserID(ctx context.Context, userID uuid.UUID) ([]UserLink, error)
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)

Callers 11

TestUserOAuth2GithubFunction · 0.65
GetUserLinksByUserIDMethod · 0.65
GetUserLinksByUserIDMethod · 0.65
TestSystemFunctionsMethod · 0.65
TestServerDBCryptFunction · 0.65
RotateFunction · 0.65
DecryptFunction · 0.65
TestUserLinksFunction · 0.65
GetUserLinksByUserIDMethod · 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 6

TestUserOAuth2GithubFunction · 0.52
TestSystemFunctionsMethod · 0.52
TestServerDBCryptFunction · 0.52
TestUserLinksFunction · 0.52