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

Method GetUser

controlplane/admin/api_test.go:115–123  ·  view source on GitHub ↗
(orgID, username string)

Source from the content-addressed store, hash-verified

113 if _, ok := s.orgs[name]; !ok {
114 return false, nil
115 }
116 // Only a non-terminal warehouse row blocks deletion; a "deleted" row (infra
117 // torn down by the provisioner) is cascaded away so the name is released.
118 if wh, ok := s.warehouses[name]; ok && wh.State != configstore.ManagedWarehouseStateDeleted {
119 return false, errWarehouseStillExists
120 }
121 delete(s.warehouses, name)
122 delete(s.orgs, name)
123 return true, nil
124}
125
126func (s *fakeAPIStore) seedTeam(team configstore.OrgTeam) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected