Documentation ¶
Index ¶
- func NewPermissionsServer(ds datastore.Datastore, nsm namespace.Manager, dispatch dispatch.Dispatcher, ...) v1.PermissionsServiceServer
- func NewSchemaServer(ds datastore.Datastore) v1.SchemaServiceServer
- func RunForTesting(t *testing.T, ds datastore.Datastore, nsm namespace.Manager, ...) (v1.PermissionsServiceClient, v1.SchemaServiceClient)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPermissionsServer ¶
func NewPermissionsServer(ds datastore.Datastore, nsm namespace.Manager, dispatch dispatch.Dispatcher, defaultDepth uint32, ) v1.PermissionsServiceServer
NewPermissionsServer creates a PermissionsServiceServer instance.
func NewSchemaServer ¶
func NewSchemaServer(ds datastore.Datastore) v1.SchemaServiceServer
NewSchemaServer creates a SchemaServiceServer instance.
func RunForTesting ¶ added in v0.0.3
func RunForTesting(t *testing.T, ds datastore.Datastore, nsm namespace.Manager, dispatch dispatch.Dispatcher, defaultDepth uint32) (v1.PermissionsServiceClient, v1.SchemaServiceClient)
RunForTesting runs a real gRPC instance of the V1 API and returns a client for testing.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.