Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
pdb-schema-extract
command
pdb-schema-extract parses PeeringDB Django serializer and model Python source to produce an intermediate JSON schema representation.
|
pdb-schema-extract parses PeeringDB Django serializer and model Python source to produce an intermediate JSON schema representation. |
|
pdb-schema-generate
command
pdb-schema-generate reads an intermediate JSON schema produced by pdb-schema-extract and generates entgo schema Go files.
|
pdb-schema-generate reads an intermediate JSON schema produced by pdb-schema-extract and generates entgo schema Go files. |
|
pdbcompat-check
command
Command pdbcompat-check fetches responses from the PeeringDB API and compares their structure against local golden files to detect drift.
|
Command pdbcompat-check fetches responses from the PeeringDB API and compares their structure against local golden files to detect drift. |
|
peeringdb-plus
command
Package main is the entry point for the peeringdb-plus application.
|
Package main is the entry point for the peeringdb-plus application. |
|
schema
Package schema defines the entgo schema types for PeeringDB objects.
|
Package schema defines the entgo schema types for PeeringDB objects. |
|
gen
|
|
|
Package graph provides the GraphQL resolver layer for the PeeringDB Plus API.
|
Package graph provides the GraphQL resolver layer for the PeeringDB Plus API. |
|
model
Package model defines custom GraphQL model types that are not generated by ent.
|
Package model defines custom GraphQL model types that are not generated by ent. |
|
internal
|
|
|
config
Package config loads application configuration from environment variables.
|
Package config loads application configuration from environment variables. |
|
conformance
Package conformance provides structural comparison of JSON API responses for validating PeeringDB compatibility layer output against the real PeeringDB API.
|
Package conformance provides structural comparison of JSON API responses for validating PeeringDB compatibility layer output against the real PeeringDB API. |
|
database
Package database provides SQLite database setup for the ent ORM client.
|
Package database provides SQLite database setup for the ent ORM client. |
|
graphql
Package graphql provides the HTTP handler factory for the PeeringDB Plus GraphQL API.
|
Package graphql provides the HTTP handler factory for the PeeringDB Plus GraphQL API. |
|
grpcserver
Package grpcserver provides ConnectRPC service handlers for the PeeringDB gRPC API.
|
Package grpcserver provides ConnectRPC service handlers for the PeeringDB gRPC API. |
|
health
Package health provides HTTP handlers for liveness and readiness checks.
|
Package health provides HTTP handlers for liveness and readiness checks. |
|
httperr
Package httperr provides RFC 9457 Problem Details for HTTP API error responses.
|
Package httperr provides RFC 9457 Problem Details for HTTP API error responses. |
|
litefs
Package litefs provides utilities for detecting the role of the current node in a LiteFS cluster (primary vs replica).
|
Package litefs provides utilities for detecting the role of the current node in a LiteFS cluster (primary vs replica). |
|
middleware
Package middleware provides HTTP middleware for the PeeringDB Plus server.
|
Package middleware provides HTTP middleware for the PeeringDB Plus server. |
|
otel
Package otel initializes the OpenTelemetry trace, metric, and log pipelines.
|
Package otel initializes the OpenTelemetry trace, metric, and log pipelines. |
|
pdbcompat
Package pdbcompat provides a PeeringDB-compatible REST API layer that translates Django-style query parameters to ent predicates and serializes ent entities to PeeringDB's exact JSON response format.
|
Package pdbcompat provides a PeeringDB-compatible REST API layer that translates Django-style query parameters to ent predicates and serializes ent entities to PeeringDB's exact JSON response format. |
|
peeringdb
Package peeringdb provides a client for the PeeringDB API with rate limiting, pagination, retry logic, and response types for all 13 PeeringDB object types.
|
Package peeringdb provides a client for the PeeringDB API with rate limiting, pagination, retry logic, and response types for all 13 PeeringDB object types. |
|
sync
Package sync orchestrates data synchronization from PeeringDB into the local SQLite database using the ent ORM.
|
Package sync orchestrates data synchronization from PeeringDB into the local SQLite database using the ent ORM. |
|
testutil
Package testutil provides shared test helpers for ent client setup.
|
Package testutil provides shared test helpers for ent client setup. |
|
web/templates
templ: version: v0.3.1001
|
templ: version: v0.3.1001 |
|
web/termrender
Package termrender provides terminal client detection and ANSI text rendering for serving styled text responses to CLI clients like curl, wget, and HTTPie.
|
Package termrender provides terminal client detection and ANSI text rendering for serving styled text responses to CLI clients like curl, wget, and HTTPie. |
|
Package schema contains the intermediate PeeringDB JSON schema and generate directives for the schema extraction pipeline.
|
Package schema contains the intermediate PeeringDB JSON schema and generate directives for the schema extraction pipeline. |
Click to show internal directories.
Click to hide internal directories.