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

Method IsDatabaseNameAvailable

controlplane/provisioning/api.go:84–84  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

82 // GetOrgUser reads one login. Used to preflight the Trino opt-in: an org
83 // with no `root` user cannot be projected into a cell, and the reconcile
84 // loop skips it silently, so the API rejects it up front instead.
85 GetOrgUser(orgID, username string) (*configstore.OrgUser, error)
86 SetWarehouseDeleting(orgID string, expectedState configstore.ManagedWarehouseProvisioningState) error
87 IsDatabaseNameAvailable(name string) (bool, error)

Callers 1

checkDatabaseNameMethod · 0.65

Implementers 2

gormStorecontrolplane/provisioning/store.go
fakeStorecontrolplane/provisioning/api_test.go

Calls

no outgoing calls

Tested by

no test coverage detected