Documentation
¶
Index ¶
- func NewListUsersQuery(ds storage.RelationshipTupleReader, opts ...ListUsersQueryOption) *listUsersQuery
- func ValidateListUsersRequest(ctx context.Context, req *openfgav1.ListUsersRequest, ...) error
- type ListUsersQueryOption
- func WithListUsersDeadline(t time.Duration) ListUsersQueryOption
- func WithListUsersMaxConcurrentReads(limit uint32) ListUsersQueryOption
- func WithListUsersMaxResults(max uint32) ListUsersQueryOption
- func WithListUsersQueryLogger(l logger.Logger) ListUsersQueryOption
- func WithResolveNodeBreadthLimit(limit uint32) ListUsersQueryOption
- func WithResolveNodeLimit(limit uint32) ListUsersQueryOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewListUsersQuery ¶
func NewListUsersQuery(ds storage.RelationshipTupleReader, opts ...ListUsersQueryOption) *listUsersQuery
NewListUsersQuery is not meant to be shared.
func ValidateListUsersRequest ¶
func ValidateListUsersRequest(ctx context.Context, req *openfgav1.ListUsersRequest, typesys *typesystem.TypeSystem) error
Types ¶
type ListUsersQueryOption ¶
type ListUsersQueryOption func(l *listUsersQuery)
func WithListUsersDeadline ¶
func WithListUsersDeadline(t time.Duration) ListUsersQueryOption
WithListUsersDeadline see server.WithListUsersDeadline.
func WithListUsersMaxConcurrentReads ¶
func WithListUsersMaxConcurrentReads(limit uint32) ListUsersQueryOption
WithListUsersMaxConcurrentReads see server.WithMaxConcurrentReadsForListUsers.
func WithListUsersMaxResults ¶
func WithListUsersMaxResults(max uint32) ListUsersQueryOption
WithListUsersMaxResults see server.WithListUsersMaxResults.
func WithListUsersQueryLogger ¶
func WithListUsersQueryLogger(l logger.Logger) ListUsersQueryOption
func WithResolveNodeBreadthLimit ¶
func WithResolveNodeBreadthLimit(limit uint32) ListUsersQueryOption
WithResolveNodeBreadthLimit see server.WithResolveNodeBreadthLimit.
func WithResolveNodeLimit ¶
func WithResolveNodeLimit(limit uint32) ListUsersQueryOption
WithResolveNodeLimit see server.WithResolveNodeLimit.
Click to show internal directories.
Click to hide internal directories.