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

Function sharedStartupConfigKey

controlplane/shared_startup_config.go:66–72  ·  view source on GitHub ↗
(configPath string)

Source from the content-addressed store, hash-verified

64}
65
66func sharedStartupConfigKey(configPath string) string {
67 key := filepath.Base(configPath)
68 if key == "." || key == string(filepath.Separator) || key == "" {
69 return "duckgres.yaml"
70 }
71 return key
72}
73
74func (p *K8sWorkerPool) validateSharedStartupConfigMap(ctx context.Context) error {
75 if p.configMap == "" {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected