Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunTests ¶
func RunTests(t *testing.T, client ClientInterface)
RunTests is public so can be run when OpenFGA is used as a library. An OpenFGA server needs to be running and the client parameter is a client for the server.
Types ¶
type ClientInterface ¶
type ClientInterface interface {
CreateStore(ctx context.Context, in *pb.CreateStoreRequest, opts ...grpc.CallOption) (*pb.CreateStoreResponse, error)
WriteAuthorizationModel(ctx context.Context, in *pb.WriteAuthorizationModelRequest, opts ...grpc.CallOption) (*pb.WriteAuthorizationModelResponse, error)
}
Click to show internal directories.
Click to hide internal directories.