Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartServer ¶
Types ¶
type TestClientBootstrapper ¶ added in v0.4.0
type TestClientBootstrapper interface {
CreateStore(ctx context.Context, in *openfgapb.CreateStoreRequest, opts ...grpc.CallOption) (*openfgapb.CreateStoreResponse, error)
WriteAuthorizationModel(ctx context.Context, in *openfgapb.WriteAuthorizationModelRequest, opts ...grpc.CallOption) (*openfgapb.WriteAuthorizationModelResponse, error)
Write(ctx context.Context, in *openfgapb.WriteRequest, opts ...grpc.CallOption) (*openfgapb.WriteResponse, error)
}
TestClientBootstrapper defines a client interface definition that can be used by tests to bootstrap OpenFGA resources (stores, models, relationship tuples, etc..) needed to execute tests.
Click to show internal directories.
Click to hide internal directories.