package
1.19.0
Repository: https://github.com/cortexproject/cortex.git
Documentation: pkg.go.dev

# Functions

ExtractTenantIDFromHTTPRequest extracts a single TenantID through a given resolver directly from a HTTP request.
No description provided by the author
NewMultiResolver creates a tenant resolver, which allows request to have multiple tenant ids submitted separated by a '|' character.
NewSingleResolver creates a tenant resolver, which restricts all requests to be using a single tenant only.
NormalizeTenantIDs is creating a normalized form by sortiing and de-duplicating the list of tenantIDs.
TenantID returns exactly a single tenant ID from the context.
TenantIDs returns all tenant IDs from the context.
TenantIDsFromOrgID extracts different tenants from an orgID string value ignore stutter warning nolint:revive.
ValidTenantID.
WithDefaultResolver updates the resolver used for the package methods.

# Structs

No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author