Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EvaluateTupleCondition ¶
func EvaluateTupleCondition( ctx context.Context, tupleKey *openfgav1.TupleKey, evaluableCondition *condition.EvaluableCondition, context *structpb.Struct, ) (bool, error)
EvaluateTupleCondition looks at the given tuple's condition and returns an evaluation result for the given context. If the tuple doesn't have a condition, it exits early and doesn't create a span. If the tuple's condition isn't found in the model it returns an EvaluationError.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.