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

Method Feature

enterprise/coderd/coderdenttest/coderdenttest.go:238–244  ·  view source on GitHub ↗
(name codersdk.FeatureName, value int64)

Source from the content-addressed store, hash-verified

236}
237
238func (opts *LicenseOptions) Feature(name codersdk.FeatureName, value int64) *LicenseOptions {
239 if opts.Features == nil {
240 opts.Features = license.Features{}
241 }
242 opts.Features[name] = value
243 return opts
244}
245
246func (opts *LicenseOptions) Generate(t *testing.T) string {
247 return GenerateLicense(t, *opts)

Callers 6

UserLimitMethod · 0.95
AIGovernanceAddonMethod · 0.95
ManagedAgentLimitMethod · 0.95
CheckBuildUsageMethod · 0.45
collectUserLimitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected