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

Struct handler

controlplane/provisioning/api.go:100–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98 // gorm.ErrRecordNotFound for an unknown org. UpsertOrgTeam is the
99 // grandfather path: it MAY overwrite schema_name and the legacy table
100 // names of an existing row (see configstore.UpsertOrgTeamTx).
101 // DeleteOrgTeam enforces the last-team refusal (see
102 // configstore.DeleteOrgTeamTx).
103 ListOrgTeams(orgID string) ([]configstore.OrgTeam, error)
104 UpsertOrgTeam(orgID string, up configstore.OrgTeamUpsert) (*configstore.OrgTeam, error)
105 DeleteOrgTeam(orgID string, teamID int64) error
106 // Discovery backing (discovery.go): list live warehouses, batch-fetch
107 // their team rows, and the unfiltered change marker.
108 ListWarehousesByStates(states []configstore.ManagedWarehouseProvisioningState) ([]configstore.ManagedWarehouse, error)
109 ListOrgTeamsByOrgIDs(orgIDs []string) ([]configstore.OrgTeam, error)

Callers 3

Calls

no outgoing calls

Tested by

no test coverage detected