MCPcopy Index your code
hub / github.com/cortexproject/cortex / Overrides

Struct Overrides

pkg/util/validation/limits.go:619–622  ·  view source on GitHub ↗

Overrides periodically fetch a set of per-user overrides, and provides convenience functions for fetching the correct value.

Source from the content-addressed store, hash-verified

617// Overrides periodically fetch a set of per-user overrides, and provides convenience
618// functions for fetching the correct value.
619type Overrides struct {
620 defaultLimits *Limits
621 tenantLimits TenantLimits
622}
623
624// NewOverrides makes a new Overrides.
625func NewOverrides(defaults Limits, tenantLimits TenantLimits) *Overrides {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected