grpc

package
v4.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Package grpc provides a gRPC service to effectively run task instances on multiple workers.

Index

Constants

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

func (*Handler) Name

func (h *Handler) Name() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL