Documentation ¶
Overview ¶
Package grpc provides a gRPC service to effectively run task instances on multiple workers.
Index ¶
Constants ¶
View Source
const ServiceName = common.ServiceGrpcNamespace_ + common.ServiceTasks
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
jobs.UnimplementedTaskServiceServer
}
Handler implements the TaskService API
func (*Handler) Control ¶
func (h *Handler) Control(ctx context.Context, command *jobs.CtrlCommand) (*jobs.CtrlCommandResponse, error)
Control publishes the passed command
Click to show internal directories.
Click to hide internal directories.