tenant-apiserver

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2026 License: MIT

README

tenant-apiserver

This microservice provides the source of truth for tenant-related data.

  • Tenants
  • Tenant members
  • Project
  • Project members
  • Quotas
  • Version

Design

The API definition and the client are included in a dedicated repository that can be found on: https://github.com/metal-stack/tenant-api.

The services are exposed as grpc-services using connectrpc.

The data is stored in a generic way using a postgres database with tables consisting of id and json-document fields.

Changes to the data are reflected in a history table-twin per entity. When data is created, updated or deleted, the change is also written to the history table.

Metrics

http://localhost:2112/metrics
pprof
go tool pprof -http :8080 localhost:2113/debug/pprof/heap
go tool pprof -http :8080 localhost:2113/debug/pprof/goroutine

Directories

Path Synopsis
cmd
cli command
server command
pkg
api

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL