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

Method GroupsByOrganization

codersdk/groups.go:74–76  ·  view source on GitHub ↗

GroupsByOrganization Deprecated: use Groups with GroupArguments instead.

(ctx context.Context, orgID uuid.UUID)

Source from the content-addressed store, hash-verified

72// GroupsByOrganization
73// Deprecated: use Groups with GroupArguments instead.
74func (c *Client) GroupsByOrganization(ctx context.Context, orgID uuid.UUID) ([]Group, error) {
75 return c.Groups(ctx, GroupArguments{Organization: orgID.String()})
76}
77
78type GroupArguments struct {
79 // Organization can be an org UUID or name

Callers 3

TestGroupSyncFunction · 0.80
AssertGroupsMethod · 0.80
groupListMethod · 0.80

Calls 2

GroupsMethod · 0.95
StringMethod · 0.45

Tested by 2

TestGroupSyncFunction · 0.64
AssertGroupsMethod · 0.64