Skip to main content

Module grpc

Module grpc 

Source
Expand description

gRPC binding of the worker protocol (orbit.worker.v1.WorkerService).

It shares the engine, the credentials, per-worker identities and the authorization rules with the HTTP API, so the two bindings behave the same. Errors carry the ORBIT error code in the orbit-error-code metadata entry and as a CODE: message prefix.

Modules§

pb
Generated protocol types and the client/server stubs.

Structs§

GrpcWorkers

Functions§

from_json
JSON -> google.protobuf.Value.
to_json
google.protobuf.Value -> JSON. Whole numbers within ±2^53 become integers, since protobuf carries every number as a double.