listusers

package
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: Apache-2.0 Imports: 24 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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