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

# Functions

DiffExpressions diffs two expressions.
DiffNamespaces performs a diff between two namespace definitions.

# Constants

AddedPermission indicates that the permission was added to the namespace.
AddedRelation indicates that the relation was added to the namespace.
ChangedPermissionComment indicates that the comment of the permission has changed in some way.
ChangedPermissionImpl indicates that the implementation of the permission has changed in some way.
ChangedRelationComment indicates that the comment of the relation has changed in some way.
ExpressionChildrenChanged indicates that the children of the expression were changed.
ExpressionOperationChanged indicates that the operation type of the expression was changed.
ExpressionOperationExpanded indicates that the operation type of the expression was expanded from a union of a single child to multiple children under a union, intersection or another operation.
ExpressionUnchanged indicates that the expression was unchanged.
LegacyChangedRelationImpl indicates that the implementation of the relation has changed in some way.
NamespaceAdded indicates that the namespace was newly added/created.
NamespaceCommentsChanged indicates that the comment(s) on the namespace were changed.
NamespaceRemoved indicates that the namespace was removed.
OperationAdded indicates that a set operation was added.
OperationChildExpressionChanged indicates that the child expression of the operation was changed.
OperationComputedUsersetChanged indicates that the computed userset of the operation was changed.
OperationRemoved indicates that a set operation was removed.
OperationTuplesetChanged indicates that the tupleset of the operation was changed.
OperationTypeChanged indicates that the type of set operation was changed.
OperationUnchanged indicates that the set operation was unchanged.
RelationAllowedTypeAdded indicates that an allowed relation type has been added to the relation.
RelationAllowedTypeRemoved indicates that an allowed relation type has been removed from the relation.
RemovedPermission indicates that the permission was removed from the namespace.
RemovedRelation indicates that the relation was removed from the namespace.

# Structs

Delta holds a single change of a namespace.
Diff holds the diff between two namespaces.
ExpressionDiff holds the diff between two expressions.
OperationDiff holds the diff between two set operations.

# Type aliases

DeltaType defines the type of namespace deltas.
ExpressionChangeType defines the type of expression changes.
SetOperationChangeType defines the type of set operation changes.