rpc

package
v0.0.0-...-f49f4f7 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2025 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RunnerEndpoint

type RunnerEndpoint struct {
	// contains filtered or unexported fields
}

func (*RunnerEndpoint) JobLogsBatch

func (r *RunnerEndpoint) JobLogsBatch(
	req *intrpc.RunnerLogsBatchReq,
	reply *intrpc.RunnerLogsBatchResp,
) error

JobLogsBatch receives a batch of log lines from a runner and writes them to disk

func (*RunnerEndpoint) JobUpdate

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(req *ServerReq) (*Server, error)

func (*Server) Start

func (s *Server) Start()

func (*Server) Stop

func (s *Server) Stop()

type ServerReq

type ServerReq struct {
	Coordinator *coordinator.Coordinator
	Logger      *zap.Logger
	RPCAddr     string
	State       state.State
}

Jump to

Keyboard shortcuts

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