Directories
¶
| Path | Synopsis |
|---|---|
|
Package cache defines interfaces and implementations of generic in-memory caches.
|
Package cache defines interfaces and implementations of generic in-memory caches. |
|
Package caveats contains code to compile caveats and to evaluate a caveat with a given context.
|
Package caveats contains code to compile caveats and to evaluate a caveat with a given context. |
|
Package cmd defines various public and internal commands.
|
Package cmd defines various public and internal commands. |
|
datastore
Code generated by github.com/ecordell/optgen.
|
Code generated by github.com/ecordell/optgen. |
|
server
Code generated by github.com/ecordell/optgen.
|
Code generated by github.com/ecordell/optgen. |
|
testserver
Code generated by github.com/ecordell/optgen.
|
Code generated by github.com/ecordell/optgen. |
|
util
Code generated by github.com/ecordell/optgen.
|
Code generated by github.com/ecordell/optgen. |
|
consistency
|
|
|
test
Package test provides the system-wide consistency test suite: it reads the validation files in the testconfigs directory and executes the full set of APIs against the data within, ensuring that all results of the various APIs are consistent with one another.
|
Package test provides the system-wide consistency test suite: it reads the validation files in the testconfigs directory and executes the full set of APIs against the data within, ensuring that all results of the various APIs are consistent with one another. |
|
Package cursor implements encoding and decoding of cursors used in various APIs.
|
Package cursor implements encoding and decoding of cursors used in various APIs. |
|
mocks
Package mock_datalayer is a generated GoMock package.
|
Package mock_datalayer is a generated GoMock package. |
|
Package datastore contains interfaces and code common to all datastores.
|
Package datastore contains interfaces and code common to all datastores. |
|
mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
|
options
Code generated by github.com/ecordell/optgen.
|
Code generated by github.com/ecordell/optgen. |
|
Package development contains code that runs in the Playground.
|
Package development contains code that runs in the Playground. |
|
wasm
command
|
|
|
Package diff contains code for things that can be diffed (e.g.
|
Package diff contains code for things that can be diffed (e.g. |
|
Package embedded runs SpiceDB's permission engine in-process, without standing up a gRPC server.
|
Package embedded runs SpiceDB's permission engine in-process, without standing up a gRPC server. |
|
Package genutil contains helper functions to deal with generic data (e.g.
|
Package genutil contains helper functions to deal with generic data (e.g. |
|
Package graph contains helper code to traverse a schema.
|
Package graph contains helper code to traverse a schema. |
|
middleware
|
|
|
consistency
Package consistency defines middleware to set, based on the request's consistency level, the right datastore revision to use.
|
Package consistency defines middleware to set, based on the request's consistency level, the right datastore revision to use. |
|
datalayer
Package datalayer defines middleware that injects the datalayer into the context.
|
Package datalayer defines middleware that injects the datalayer into the context. |
|
dispatcher
Package dispatcher defines middleware that injects the dispatcher into the context.
|
Package dispatcher defines middleware that injects the dispatcher into the context. |
|
logging
Package logging defines middleware to extract fields from requests and set them as fields in the logs.
|
Package logging defines middleware to extract fields from requests and set them as fields in the logs. |
|
nodeid
Package nodeid defines middleware to update the context with the Id of the SpiceDB node running the request.
|
Package nodeid defines middleware to update the context with the Id of the SpiceDB node running the request. |
|
requestid
Package requestid defines middleware to set a request or response header with a request ID.
|
Package requestid defines middleware to set a request or response header with a request ID. |
|
serverversion
Package serverversion defines middleware to return the version of the server.
|
Package serverversion defines middleware to return the version of the server. |
|
usagemetrics
Package usagemetrics defines middleware that adds usage data (e.g.
|
Package usagemetrics defines middleware that adds usage data (e.g. |
|
Package migrate provides helper functions to execute datastore migrations.
|
Package migrate provides helper functions to execute datastore migrations. |
|
Package namespace contains helper functions to create namespaces in a schema.
|
Package namespace contains helper functions to create namespaces in a schema. |
|
proto
|
|
|
dispatch/v1
This files is *not* autogenerated
|
This files is *not* autogenerated |
|
This package provides the structures, interfaces, and functions for a sort of Lego-set to build query trees.
|
This package provides the structures, interfaces, and functions for a sort of Lego-set to build query trees. |
|
Package releases contains helper functions to determine the current and latest version of spiceDB.
|
Package releases contains helper functions to determine the current and latest version of spiceDB. |
|
Package schema contains code that manipulates a schema and knows how to traverse it.
|
Package schema contains code that manipulates a schema and knows how to traverse it. |
|
v2
schema/v2 provides a convenient Go representation of SpiceDB's schema definitions, built on top of the raw protocol buffer types from core.v1.
|
schema/v2 provides a convenient Go representation of SpiceDB's schema definitions, built on top of the raw protocol buffer types from core.v1. |
|
schemadsl
|
|
|
compiler
Package compiler knows how to build the Go representation of a SpiceDB schema text.
|
Package compiler knows how to build the Go representation of a SpiceDB schema text. |
|
dslshape
Package dslshape defines the types representing the structure of schema DSL.
|
Package dslshape defines the types representing the structure of schema DSL. |
|
parser
parser package defines the parser for the Authzed Schema DSL.
|
parser package defines the parser for the Authzed Schema DSL. |
|
Package schemautil contains helper functions to validate and apply changes to a schema.
|
Package schemautil contains helper functions to validate and apply changes to a schema. |
|
services
|
|
|
Package testutil implements various utilities to reduce boilerplate in unit tests a la testify.
|
Package testutil implements various utilities to reduce boilerplate in unit tests a la testify. |
|
sdbtestcontainer
Package sdbtestcontainer provides a testcontainers module for SpiceDB.
|
Package sdbtestcontainer provides a testcontainers module for SpiceDB. |
|
Package tuple provides ways to convert to and from proto structs to Go structs that can extend the core functionality.
|
Package tuple provides ways to convert to and from proto structs to Go structs that can extend the core functionality. |
|
Package validationfile contains code to manipulate files accepted by the `zed validate` CLI.
|
Package validationfile contains code to manipulate files accepted by the `zed validate` CLI. |
|
Package x509util contains helper functions to deal with certificates.
|
Package x509util contains helper functions to deal with certificates. |
|
Package zedtoken contains helper functions to handle zedtokens.
|
Package zedtoken contains helper functions to handle zedtokens. |
Click to show internal directories.
Click to hide internal directories.