Skip to main content

Module grpc

Module grpc 

Source
Expand description

§gRPC Transport

Tonic service for protobuf package solti.task.v1. Every RPC delegates to ApiHandler.

GrpcApi installs message limits, optional metrics, and bearer authentication. wire exposes the generated client, server, and message types.

§RPCs

RPCShapeOperation
CreateTaskUnaryCreate
ApplyTaskUnaryApply
GetTaskUnaryGet
ListTasksUnaryList
WatchTasksServer streamingWatch
ListTaskRunsUnaryRun history
DeleteTaskUnaryDelete
StreamTaskLogsServer streamingLive output

Domain failures become tonic::Status. Stream failures terminate the corresponding stream.

Modules§

wire
Generated protobuf types for the current Task API.

Structs§

BearerAuth
Bearer interceptor used by GrpcServer.
GrpcApi
Builder for the tonic task API.
TaskApiService
Generated TaskService implementation over an ApiHandler.

Type Aliases§

GrpcServer
Complete gRPC service returned by GrpcApi::server.