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

Struct mockTenantLimits

pkg/ingester/ingester_test.go:7416–7419  ·  view source on GitHub ↗

mockTenantLimits exposes per-tenant limits based on a provided map

Source from the content-addressed store, hash-verified

7414
7415// mockTenantLimits exposes per-tenant limits based on a provided map
7416type mockTenantLimits struct {
7417 limits map[string]*validation.Limits
7418 m sync.Mutex
7419}
7420
7421// newMockTenantLimits creates a new mockTenantLimits that returns per-tenant limits based on
7422// the given map

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected