mockTenantLimits exposes per-tenant limits based on a provided map
| 7414 | |
| 7415 | // mockTenantLimits exposes per-tenant limits based on a provided map |
| 7416 | type 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 |
nothing calls this directly
no outgoing calls
no test coverage detected