Documentation
¶
Index ¶
- func CombineValidators[T any](validators []func(T) (bool, error)) func(T) (bool, error)
- func MakeFallible[T, U any](fn func(T) U) func(T) (U, error)
- func NewValidator(ctx context.Context, ts *typesystem.TypeSystem, obj *structpb.Struct) func(*openfgav1.TupleKey) (bool, error)
- type Option
- type Reader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CombineValidators ¶
func MakeFallible ¶
func NewValidator ¶
func NewValidator( ctx context.Context, ts *typesystem.TypeSystem, obj *structpb.Struct, ) func(*openfgav1.TupleKey) (bool, error)
Types ¶
type Option ¶
type Option func(o *Reader)
func WithConsistency ¶
func WithConsistency(pref openfgav1.ConsistencyPreference) Option
Click to show internal directories.
Click to hide internal directories.