pkg/

directory
v1.43.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2025 License: Apache-2.0

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.
cmd
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.
composableschemadsl
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 cursor implements encoding and decoding of cursors used in various APIs.
Package cursor implements encoding and decoding of cursors used in various APIs.
Package datastore contains interfaces and code common to all datastores.
Package datastore contains interfaces and code common to all datastores.
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 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.
datastore
Package datastore defines middleware that injects the datastore into the context.
Package datastore defines middleware that injects the datastore 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
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.
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
v1
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.
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL