MCPcopy Create free account
hub / github.com/PostHog/duckgres / orgRouterAdapter

Struct orgRouterAdapter

controlplane/multitenant.go:27–29  ·  view source on GitHub ↗

orgRouterAdapter wraps OrgRouter to implement both OrgRouterInterface (for the control plane) and admin.OrgStackInfo (for the admin API).

Source from the content-addressed store, hash-verified

25 "github.com/posthog/duckgres/server"
26 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
27 "k8s.io/client-go/kubernetes"
28)
29
30// catalogCopierProber adapts provisioner.PGCatalogCopier's SELECT-1 probe to
31// the admin.ExternalTargetProber seam so the reshard start handler can
32// fail-fast a doomed cnpg→external target (unreachable endpoint / wrong

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected