mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 20:31:48 +00:00
This PR aims to craft the /internal/tenant package for use by all Sourcegraph cluster-internal services to properly scope data visibility to the correct requesting tenant. For now, we only expose methods we know we will DEFINITELY need. This PR also adds the required middlewares so we can start to tinker with it in implementations. ## Test plan CI passes. We don't enforce anything for now except not passing unparseable tenant IDs, which should be fine. |
||
|---|---|---|
| .. | ||
| BUILD.bazel | ||
| client_test.go | ||
| client.go | ||
| CODENOTIFY | ||
| doc.go | ||
| external.go | ||
| init.go | ||
| noop_response_cache.go | ||
| redis_logger_middleware_test.go | ||
| redis_logger_middleware.go | ||
| transport.go | ||