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

Method EveryoneAllowance

coderd/database/dbfake/builder.go:42–47  ·  view source on GitHub ↗
(allowance int)

Source from the content-addressed store, hash-verified

40}
41
42func (b OrganizationBuilder) EveryoneAllowance(allowance int) OrganizationBuilder {
43 //nolint: revive // returns modified struct
44 // #nosec G115 - Safe conversion as allowance is expected to be within int32 range
45 b.allUsersAllowance = int32(allowance)
46 return b
47}
48
49func (b OrganizationBuilder) Deleted(deleted bool) OrganizationBuilder {
50 //nolint: revive // returns modified struct

Callers 3

TestStartWorkspaceFunction · 0.80
TestWorkspaceQuotaFunction · 0.80

Calls

no outgoing calls

Tested by 3

TestStartWorkspaceFunction · 0.64
TestWorkspaceQuotaFunction · 0.64