errorreport

package
v48.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2023 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReportWorkerError

func ReportWorkerError(state *run.State, factory tc.WorkerManagerClientFactory, payload *tcworkermanager.WorkerErrorReport) error

ReportWorkerError will send a worker error report to worker-manager

Types

type ErrorReporter

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

func New

func New(state *run.State) *ErrorReporter

Make a new ErrorReporter object

func (*ErrorReporter) HandleMessage

func (er *ErrorReporter) HandleMessage(msg workerproto.Message)

func (*ErrorReporter) SetProtocol

func (er *ErrorReporter) SetProtocol(proto *workerproto.Protocol)

Jump to

Keyboard shortcuts

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