listusers

package
v1.5.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HasRelationship userRelationshipStatus = iota
	NoRelationship
)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL