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

Function newFakeAPIStore

controlplane/admin/api_test.go:27–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25type fakeAPIStore struct {
26 orgs map[string]*configstore.Org
27 users map[string]*configstore.OrgUser
28 warehouses map[string]*configstore.ManagedWarehouse
29 teams map[string]map[int64]*configstore.OrgTeam
30 grants map[string][]*configstore.ServiceGrant // orgID -> grants (insertion order)
31 revokedGrants []string // credential_ids revoked through the store fake
32 reloadSnapshotCalls int
33 reloadSnapshotErr error
34}
35
36func newFakeAPIStore() *fakeAPIStore {

Calls

no outgoing calls

Tested by

no test coverage detected