test

package
v0.69.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpenFGATestServer

type OpenFGATestServer struct {
	// contains filtered or unexported fields
}

func NewOpenFGATestServer

func NewOpenFGATestServer(ctx context.Context, opts ...TestServerOption) (*OpenFGATestServer, error)

func (*OpenFGATestServer) Start

func (*OpenFGATestServer) Stop

func (o *OpenFGATestServer) Stop()

type TestServerOption

type TestServerOption func(*config)

func WithAuthorizationModel

func WithAuthorizationModel(authorizationModel string) TestServerOption

func WithStoreName

func WithStoreName(storeName string) TestServerOption

func WithTuples

func WithTuples(tuples []*openfgav1.TupleKey) TestServerOption

Jump to

Keyboard shortcuts

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