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

Method TenantIDs

pkg/util/users/resolver.go:86–92  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

84}
85
86func (t *SingleResolver) TenantIDs(ctx context.Context) ([]string, error) {
87 orgID, err := t.TenantID(ctx)
88 if err != nil {
89 return nil, err
90 }
91 return []string{orgID}, err
92}
93
94type MultiResolver struct {
95}

Callers

nothing calls this directly

Calls 1

TenantIDMethod · 0.95

Tested by

no test coverage detected