MCPcopy Create free account
hub / github.com/cortexproject/cortex / mockTenantLimits

Struct mockTenantLimits

pkg/util/validation/limits_test.go:24–26  ·  view source on GitHub ↗

mockTenantLimits exposes per-tenant limits based on a provided map

Source from the content-addressed store, hash-verified

22
23// mockTenantLimits exposes per-tenant limits based on a provided map
24type mockTenantLimits struct {
25 limits map[string]*Limits
26}
27
28// newMockTenantLimits creates a new mockTenantLimits that returns per-tenant limits based on
29// the given map

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected