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

Method OrgDefaultWorkerProfile

controlplane/control.go:245–245  ·  view source on GitHub ↗

OrgDefaultWorkerProfile returns the org's operator-set default worker profile (config-store columns default_worker_cpu/memory/ttl): cpu and memory as k8s resource-quantity strings, ttl as a Go duration string. Empty strings mean "not set" (including unknown orgs). Raw stored values — validation happ

(orgID string)

Source from the content-addressed store, hash-verified

243
244 // isRemoteBackend is true when workers run as separate K8s pods (remote backend).
245 isRemoteBackend bool
246
247 // Multi-tenant fields (non-nil in remote multitenant mode)
248 orgRouter OrgRouterInterface

Callers 1

handleConnectionMethod · 0.65

Implementers 2

fakeConfigStorecontrolplane/sni_kubernetes_test.go
ConfigStorecontrolplane/configstore/store.go

Calls

no outgoing calls

Tested by

no test coverage detected