MCPcopy Create free account
hub / github.com/cloudquery/cloudquery / tenantItem

Function tenantItem

cli/internal/platform/inject_test.go:47–49  ·  view source on GitHub ↗
(id, tenantStatus, team string)

Source from the content-addressed store, hash-verified

45}
46
47func tenantItem(id, tenantStatus, team string) map[string]any {
48 return map[string]any{"tenant_id": id, "status": tenantStatus, "team_name": team}
49}
50
51func writeTenants(w http.ResponseWriter, items ...map[string]any) {
52 w.Header().Set("Content-Type", "application/json")

Calls

no outgoing calls

Tested by

no test coverage detected