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

Method GetGroups

coderd/database/querier.go:504–504  ·  view source on GitHub ↗

A limit of 0 means "no limit".

(ctx context.Context, arg GetGroupsParams)

Source from the content-addressed store, hash-verified

502 GetGroupMembersCountByGroupIDs(ctx context.Context, arg GetGroupMembersCountByGroupIDsParams) ([]GetGroupMembersCountByGroupIDsRow, error)
503 // A limit of 0 means "no limit".
504 GetGroups(ctx context.Context, arg GetGroupsParams) ([]GetGroupsRow, error)
505 GetHealthSettings(ctx context.Context) (string, error)
506 GetInboxNotificationByID(ctx context.Context, id uuid.UUID) (InboxNotification, error)
507 // Fetches inbox notifications for a user filtered by templates and targets

Callers 15

workspaceACLMethod · 0.65
chatACLGroupsMethod · 0.65
createSnapshotMethod · 0.65
SyncGroupsMethod · 0.65
HandleMissingGroupsMethod · 0.65
TestApplyGroupDifferenceFunction · 0.65
AssertMethod · 0.65
TestGroupRemovalTriggerFunction · 0.65
GetGroupsMethod · 0.65
GetGroupsMethod · 0.65
TestGroupMethod · 0.65
TestOrganizationMethod · 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

TestApplyGroupDifferenceFunction · 0.52
AssertMethod · 0.52
TestGroupRemovalTriggerFunction · 0.52
TestGroupMethod · 0.52
TestOrganizationMethod · 0.52