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 (o *OpenFGATestServer) Start() (openfgav1.OpenFGAServiceClient, error)
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
Click to show internal directories.
Click to hide internal directories.