Directories
¶
Path | Synopsis |
---|---|
cmd
|
|
e2e
module
|
|
internal
|
|
auth
Package auth contains helper methods for authentication.
|
Package auth contains helper methods for authentication. |
caveats
Package caveats contains code to evaluate a caveat with a given context.
|
Package caveats contains code to evaluate a caveat with a given context. |
datasets
Package datasets defines operations with sets of subjects.
|
Package datasets defines operations with sets of subjects. |
datastore
Package datastore contains datastore and revision implementations, proxies (decorators) for datastores, and code common to all datastores.
|
Package datastore contains datastore and revision implementations, proxies (decorators) for datastores, and code common to all datastores. |
datastore/common
Code generated by github.com/ecordell/optgen.
|
Code generated by github.com/ecordell/optgen. |
developmentmembership
Package developmentmembership defines operations with sets.
|
Package developmentmembership defines operations with sets. |
dispatch
Package dispatch contains logic to dispatch requests locally or to other nodes.
|
Package dispatch contains logic to dispatch requests locally or to other nodes. |
dispatch/combined
Package combined implements a dispatcher that combines caching, redispatching and optional cluster dispatching.
|
Package combined implements a dispatcher that combines caching, redispatching and optional cluster dispatching. |
dispatch/graph
Code generated by github.com/ecordell/optgen.
|
Code generated by github.com/ecordell/optgen. |
gateway
Package gateway implements an HTTP server that forwards JSON requests to an upstream SpiceDB gRPC server.
|
Package gateway implements an HTTP server that forwards JSON requests to an upstream SpiceDB gRPC server. |
graph
Package graph contains the code to traverse a relationship graph to solve requests like Checks, Expansions and Lookups.
|
Package graph contains the code to traverse a relationship graph to solve requests like Checks, Expansions and Lookups. |
lsp
Package lsp implements the Language Server Protocol for SpiceDB schema development.
|
Package lsp implements the Language Server Protocol for SpiceDB schema development. |
middleware
Package middleware defines various custom middlewares.
|
Package middleware defines various custom middlewares. |
middleware/datastore
Package datastore defines middleware that injects the datastore into the context.
|
Package datastore defines middleware that injects the datastore into the context. |
middleware/dispatcher
Package dispatcher defines middleware that injects the dispatcher into the context.
|
Package dispatcher defines middleware that injects the dispatcher into the context. |
middleware/handwrittenvalidation
Package handwrittenvalidation defines middleware that runs custom-made validations on incoming requests.
|
Package handwrittenvalidation defines middleware that runs custom-made validations on incoming requests. |
middleware/pertoken
Package pertoken defines middleware for testing purposes that injects a new in-memory datastore per incoming bearer token.
|
Package pertoken defines middleware for testing purposes that injects a new in-memory datastore per incoming bearer token. |
middleware/readonly
Package readonly defines middleware that injects a read-only proxy of the datastore into the context.
|
Package readonly defines middleware that injects a read-only proxy of the datastore into the context. |
middleware/servicespecific
Package servicespecific defines middleware that injects other middlewares.
|
Package servicespecific defines middleware that injects other middlewares. |
middleware/streamtimeout
Package streamtimeout defines middleware that cancels the context after a timeout if no new data has been received.
|
Package streamtimeout defines middleware that cancels the context after a timeout if no new data has been received. |
middleware/usagemetrics
Package usagemetrics defines middleware that adds usage data (e.g.
|
Package usagemetrics defines middleware that adds usage data (e.g. |
namespace
Package namespace provides functions for dealing with and validating types, relations and caveats.
|
Package namespace provides functions for dealing with and validating types, relations and caveats. |
relationships
Package relationships contains helper methods to validate relationships that are going to be written.
|
Package relationships contains helper methods to validate relationships that are going to be written. |
services
Package services contains all the gRPC controllers.
|
Package services contains all the gRPC controllers. |
services/v1/options
Code generated by github.com/ecordell/optgen.
|
Code generated by github.com/ecordell/optgen. |
taskrunner
Package taskrunner contains helper code run concurrent code.
|
Package taskrunner contains helper code run concurrent code. |
telemetry
Package telemetry implements a client for reporting telemetry data used to prioritize development of SpiceDB.
|
Package telemetry implements a client for reporting telemetry data used to prioritize development of SpiceDB. |
testfixtures
Package testfixtures contains code that helps to run tests against datastores.
|
Package testfixtures contains code that helps to run tests against datastores. |
testserver
Package testserver defines a test server.
|
Package testserver defines a test server. |
pkg
|
|
cache
Package cache defines interfaces and implementations of generic in-memory caches.
|
Package cache defines interfaces and implementations of generic in-memory caches. |
caveats
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. |
cmd
Package cmd defines various public and internal commands.
|
Package cmd defines various public and internal commands. |
cmd/datastore
Code generated by github.com/ecordell/optgen.
|
Code generated by github.com/ecordell/optgen. |
cmd/server
Code generated by github.com/ecordell/optgen.
|
Code generated by github.com/ecordell/optgen. |
cmd/testserver
Code generated by github.com/ecordell/optgen.
|
Code generated by github.com/ecordell/optgen. |
cmd/util
Code generated by github.com/ecordell/optgen.
|
Code generated by github.com/ecordell/optgen. |
composableschemadsl/dslshape
Package dslshape defines the types representing the structure of schema DSL.
|
Package dslshape defines the types representing the structure of schema DSL. |
composableschemadsl/parser
parser package defines the parser for the Authzed Schema DSL.
|
parser package defines the parser for the Authzed Schema DSL. |
cursor
Package cursor implements encoding and decoding of cursors used in various APIs.
|
Package cursor implements encoding and decoding of cursors used in various APIs. |
datastore
Package datastore contains interfaces and code common to all datastores.
|
Package datastore contains interfaces and code common to all datastores. |
datastore/options
Code generated by github.com/ecordell/optgen.
|
Code generated by github.com/ecordell/optgen. |
development
Package development contains code that runs in the Playground.
|
Package development contains code that runs in the Playground. |
diff
Package diff contains code for things that can be diffed (e.g.
|
Package diff contains code for things that can be diffed (e.g. |
genutil
Package genutil contains helper functions to deal with generic data (e.g.
|
Package genutil contains helper functions to deal with generic data (e.g. |
graph
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. |
middleware/datastore
Package datastore defines middleware that injects the datastore into the context.
|
Package datastore defines middleware that injects the datastore into the context. |
middleware/dispatcher
Package dispatcher defines middleware that injects the dispatcher into the context.
|
Package dispatcher defines middleware that injects the dispatcher into the context. |
middleware/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. |
middleware/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. |
middleware/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. |
middleware/serverversion
Package serverversion defines middleware to return the version of the server.
|
Package serverversion defines middleware to return the version of the server. |
middleware/usagemetrics
Package usagemetrics defines middleware that adds usage data (e.g.
|
Package usagemetrics defines middleware that adds usage data (e.g. |
migrate
Package migrate provides helper functions to execute datastore migrations.
|
Package migrate provides helper functions to execute datastore migrations. |
namespace
Package namespace contains helper functions to create namespaces in a schema.
|
Package namespace contains helper functions to create namespaces in a schema. |
releases
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. |
schema
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. |
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. |
schemadsl/dslshape
Package dslshape defines the types representing the structure of schema DSL.
|
Package dslshape defines the types representing the structure of schema DSL. |
schemadsl/parser
parser package defines the parser for the Authzed Schema DSL.
|
parser package defines the parser for the Authzed Schema DSL. |
schemautil
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. |
testutil
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. |
tuple
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. |
validationfile
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. |
x509util
Package x509util contains helper functions to deal with certificates.
|
Package x509util contains helper functions to deal with certificates. |
zedtoken
Package zedtoken contains helper functions to handle zedtokens.
|
Package zedtoken contains helper functions to handle zedtokens. |
tools
|
|
analyzers
Module
|
Click to show internal directories.
Click to hide internal directories.