Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
melange
command
Package main provides the melange CLI for managing authorization schemas.
|
Package main provides the melange CLI for managing authorization schemas. |
|
internal
|
|
|
cli
Package cli provides shared configuration and utilities for the melange CLI.
|
Package cli provides shared configuration and utilities for the melange CLI. |
|
clientgen
Package clientgen provides a registry of language-specific client code generators.
|
Package clientgen provides a registry of language-specific client code generators. |
|
clientgen/go
Package gogen implements the Go client code generator for melange.
|
Package gogen implements the Go client code generator for melange. |
|
clientgen/typescript
Package typescript implements the TypeScript client code generator for melange.
|
Package typescript implements the TypeScript client code generator for melange. |
|
doctor
Package doctor provides health checks for melange authorization infrastructure.
|
Package doctor provides health checks for melange authorization infrastructure. |
|
sqlgen
Package sqlgen generates specialized SQL functions for OpenFGA authorization checks.
|
Package sqlgen generates specialized SQL functions for OpenFGA authorization checks. |
|
sqlgen/analysis
Package analysis provides relation analysis and strategy selection for SQL code generation.
|
Package analysis provides relation analysis and strategy selection for SQL code generation. |
|
sqlgen/inline
Package inline generates VALUES clauses for inlining metadata into SQL functions.
|
Package inline generates VALUES clauses for inlining metadata into SQL functions. |
|
sqlgen/plpgsql
Package plpgsql provides PL/pgSQL function builder types.
|
Package plpgsql provides PL/pgSQL function builder types. |
|
sqlgen/sqldsl
Package sqldsl provides a type-safe DSL for building PostgreSQL queries.
|
Package sqldsl provides a type-safe DSL for building PostgreSQL queries. |
|
sqlgen/tuples
Package tuples provides tuple-table specific builders and helpers.
|
Package tuples provides tuple-table specific builders and helpers. |
|
melange
module
|
|
|
pkg
|
|
|
clientgen
Package clientgen provides a public API for generating type-safe client code from authorization schemas.
|
Package clientgen provides a public API for generating type-safe client code from authorization schemas. |
|
compiler
Package compiler provides public APIs for compiling OpenFGA schemas to SQL.
|
Package compiler provides public APIs for compiling OpenFGA schemas to SQL. |
|
parser
Package parser provides OpenFGA schema parsing for melange.
|
Package parser provides OpenFGA schema parsing for melange. |
|
schema
Package schema provides OpenFGA schema types and transformation logic for melange.
|
Package schema provides OpenFGA schema types and transformation logic for melange. |
|
test
|
|
|
authz
Package authz contains generated types for the test authorization schema.
|
Package authz contains generated types for the test authorization schema. |
|
cmd/dumpinventory
command
Command dumpinventory produces an inventory report of relations that fall back to generic permission checking or list functions, grouped by the reason they cannot generate specialized SQL functions.
|
Command dumpinventory produces an inventory report of relations that fall back to generic permission checking or list functions, grouped by the reason they cannot generate specialized SQL functions. |
|
cmd/dumpsql
command
Command dumpsql dumps the generated SQL for a specific OpenFGA test case.
|
Command dumpsql dumps the generated SQL for a specific OpenFGA test case. |
|
cmd/dumptest
command
Command dumptest dumps OpenFGA test cases in a human-readable format.
|
Command dumptest dumps OpenFGA test cases in a human-readable format. |
|
cmd/explaintest
command
Command explaintest runs EXPLAIN ANALYZE on OpenFGA test cases to show query execution plans, buffer statistics, and performance metrics.
|
Command explaintest runs EXPLAIN ANALYZE on OpenFGA test cases to show query execution plans, buffer statistics, and performance metrics. |
|
openfgatests
Package openfgatests provides an adapter to run the official OpenFGA test suite against the melange authorization implementation.
|
Package openfgatests provides an adapter to run the official OpenFGA test suite against the melange authorization implementation. |
|
testutil
Package testutil provides shared test utilities for Melange integration tests.
|
Package testutil provides shared test utilities for Melange integration tests. |
|
tooling
module
|
Click to show internal directories.
Click to hide internal directories.