package
1.40.0
Repository: https://github.com/authzed/spicedb.git
Documentation: pkg.go.dev

# Functions

BuildAccessibilitySet builds and returns an accessibility set for the given consistency cluster and data.
BuildDataAndCreateClusterForTesting loads the data found in a consistency test file, builds a cluster for it, and returns both the data and cluster.
CreateDispatcherForTesting creates a dispatcher for consistency testing, with or without caching enabled.
ListTestConfigs returns a list of all test configuration files defined in the testconfigs directory.
LoadDataAndCreateClusterForTesting loads the data found in a consistency test file, builds a cluster for it, and returns both the data and cluster.
No description provided by the author

# Constants

AccessibleBecauseTheSame indicates that the resource+permission and subject are exactly the same.
AccessibleDirectly indicates that the subject is directly accessible for the resource+permission, rather than via a wildcard.
AccessibleViaWildcardOnly indicates that the subject is only granted permission by virtue of a wildcard being present, i.e.
NotAccessible indicates that the subject is not accessible for the resource+permission.
NotAccessibleDueToPrespecifiedCaveat indicates that the subject is not accessible for the resource+permission due to a caveat whose context is fully prespecified on the relationship.

# Structs

AccessibilitySet is a helper for tracking the accessibility, permissions, resources and subjects found for consistency testing.
ConsistencyClusterAndData holds a connection to a SpiceDB "cluster" (size 1) running the V1 API for the given data.
ObjectAndPermission contains an object ID and whether it is a caveated result.

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author