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

Method Members

coderd/database/dbfake/builder.go:61–67  ·  view source on GitHub ↗
(users ...database.User)

Source from the content-addressed store, hash-verified

59}
60
61func (b OrganizationBuilder) Members(users ...database.User) OrganizationBuilder {
62 for _, u := range users {
63 //nolint: revive // returns modified struct
64 b.members = append(b.members, u.ID)
65 }
66 return b
67}
68
69func (b OrganizationBuilder) Group(seed database.Group, members ...database.User) OrganizationBuilder {
70 //nolint: revive // returns modified struct

Callers 6

TestSyncOrganizationsFunction · 0.80
TestOIDCClaimsFunction · 0.80
TestStartWorkspaceFunction · 0.80
initSetupFunction · 0.80
TestWorkspaceQuotaFunction · 0.80

Calls

no outgoing calls

Tested by 6

TestSyncOrganizationsFunction · 0.64
TestOIDCClaimsFunction · 0.64
TestStartWorkspaceFunction · 0.64
initSetupFunction · 0.64
TestWorkspaceQuotaFunction · 0.64