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

Method UsesUsagePeriod

codersdk/deployment.go:307–311  ·  view source on GitHub ↗

UsesUsagePeriod returns true if the feature uses period-based usage limits.

()

Source from the content-addressed store, hash-verified

305
306// UsesUsagePeriod returns true if the feature uses period-based usage limits.
307func (n FeatureName) UsesUsagePeriod() bool {
308 return map[FeatureName]bool{
309 FeatureManagedAgentLimit: true,
310 }[n]
311}
312
313// IsAIGovernanceAddon returns true if the feature is an AI Governance addon feature.
314func (n FeatureName) IsAIGovernanceAddon() bool {

Callers 3

ValidateDependenciesMethod · 0.80
AddFeatureMethod · 0.80
LicensesEntitlementsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected