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

Method TenantIDs

pkg/util/users/resolver.go:51–51  ·  view source on GitHub ↗

TenantIDs returns all tenant IDs from the context. It should return normalized list of ordered and distinct tenant IDs (as produced by NormalizeTenantIDs).

(context.Context)

Source from the content-addressed store, hash-verified

49 // normalized list of ordered and distinct tenant IDs (as produced by
50 // NormalizeTenantIDs).
51 TenantIDs(context.Context) ([]string, error)
52}
53
54// NewSingleResolver creates a tenant resolver, which restricts all requests to

Callers 2

testMethod · 0.65
TenantIDsFunction · 0.65

Implementers 4

RegexResolverpkg/querier/tenantfederation/regex_res
RegexValidatorpkg/querier/tenantfederation/regex_res
SingleResolverpkg/util/users/resolver.go
MultiResolverpkg/util/users/resolver.go

Calls

no outgoing calls

Tested by 1

testMethod · 0.52