Directories
¶
| Path | Synopsis |
|---|---|
|
Package assets contains database migration scripts and test files
|
Package assets contains database migration scripts and test files |
|
Package cmd contains all the commands included in the binary file.
|
Package cmd contains all the commands included in the binary file. |
|
migrate
Package migrate contains the command to perform database migrations.
|
Package migrate contains the command to perform database migrations. |
|
openfga
command
Package main contains the root of all commands.
|
Package main contains the root of all commands. |
|
run
Package run contains the command to run an OpenFGA server.
|
Package run contains the command to run an OpenFGA server. |
|
util
Package util provides common utilities for spf13/cobra CLI utilities that can be used for various commands within this project.
|
Package util provides common utilities for spf13/cobra CLI utilities that can be used for various commands within this project. |
|
validatemodels
Package validatemodels contains the command to run validations on authorization models.
|
Package validatemodels contains the command to run validations on authorization models. |
|
internal
|
|
|
build
Package build provides build information that is linked into the application.
|
Package build provides build information that is linked into the application. |
|
graph
Package graph is a generated GoMock package.
|
Package graph is a generated GoMock package. |
|
mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
|
pkg
|
|
|
encoder
Package encoder contains data encoding and continuation token encoding implementations.
|
Package encoder contains data encoding and continuation token encoding implementations. |
|
encrypter
Package encrypter contains data encryption implementations.
|
Package encrypter contains data encryption implementations. |
|
middleware/http
Package http contains utility functions to modify HTTP requests and responses
|
Package http contains utility functions to modify HTTP requests and responses |
|
middleware/logging
Package logging contains logging middleware
|
Package logging contains logging middleware |
|
middleware/requestid
Package requestid contains middleware to log the request ID.
|
Package requestid contains middleware to log the request ID. |
|
middleware/storeid
Package storeid contains middleware to log the store ID.
|
Package storeid contains middleware to log the store ID. |
|
middleware/validator
Package validator contains middleware that validates API input parameters.
|
Package validator contains middleware that validates API input parameters. |
|
server
Package server contains the endpoint handlers.
|
Package server contains the endpoint handlers. |
|
server/commands
Package commands contains the code that handles each endpoint.
|
Package commands contains the code that handles each endpoint. |
|
server/commands/reverseexpand
Package reverseexpand contains the code that handles the ReverseExpand API
|
Package reverseexpand contains the code that handles the ReverseExpand API |
|
server/errors
Package errors contains custom error codes that are sent to clients.
|
Package errors contains custom error codes that are sent to clients. |
|
server/health
Package health contains the service that check the health of an OpenFGA server.
|
Package health contains the service that check the health of an OpenFGA server. |
|
storage
Package storage contains storage interfaces and implementations
|
Package storage contains storage interfaces and implementations |
|
storage/memory
Package memory contains an implementation of the storage interface that lives in memory.
|
Package memory contains an implementation of the storage interface that lives in memory. |
|
storage/mysql
Package mysql contains an implementation of the storage interface that works with MySQL.
|
Package mysql contains an implementation of the storage interface that works with MySQL. |
|
storage/postgres
Package postgres contains an implementation of the storage interface that works with Postgres.
|
Package postgres contains an implementation of the storage interface that works with Postgres. |
|
storage/sqlcommon
Package sqlcommon contains utility functions shared among all SQL data stores.
|
Package sqlcommon contains utility functions shared among all SQL data stores. |
|
storage/storagewrappers
Package storagewrappers contains decorators for storage data
|
Package storagewrappers contains decorators for storage data |
|
telemetry
Package telemetry contains code that emits telemetry (logging, metrics, tracing).
|
Package telemetry contains code that emits telemetry (logging, metrics, tracing). |
|
testfixtures/storage
Package storage contains containers that can be used to test all available data stores.
|
Package storage contains containers that can be used to test all available data stores. |
|
testutils
Package testutils contains code that is useful in tests.
|
Package testutils contains code that is useful in tests. |
|
tuple
Package tuple contains code to manipulate tuples and errors related to tuples.
|
Package tuple contains code to manipulate tuples and errors related to tuples. |
|
typesystem
Package typesystem contains code to manipulate authorization models
|
Package typesystem contains code to manipulate authorization models |
|
check
Package check contains integration tests for the Check API.
|
Package check contains integration tests for the Check API. |
|
listobjects
Package listobjects contains integration tests for the ListObjects and StreamedListObjects APIs.
|
Package listobjects contains integration tests for the ListObjects and StreamedListObjects APIs. |
|
writemodel
Package writemodel contains integration tests for the WriteAuthorizationModel API.
|
Package writemodel contains integration tests for the WriteAuthorizationModel API. |
Click to show internal directories.
Click to hide internal directories.