report

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reporter

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

func NewReporter

func NewReporter(ctx context.Context, cancel context.CancelFunc, client client.Client, task *runnerv1.Task) *Reporter

func (*Reporter) Close

func (r *Reporter) Close(lastWords string) error

func (*Reporter) Fire

func (r *Reporter) Fire(entry *log.Entry) error

func (*Reporter) Levels

func (r *Reporter) Levels() []log.Level

func (*Reporter) Logf

func (r *Reporter) Logf(format string, a ...interface{})

func (*Reporter) ReportLog

func (r *Reporter) ReportLog(noMore bool) error

func (*Reporter) ReportState

func (r *Reporter) ReportState() error

func (*Reporter) ResetSteps

func (r *Reporter) ResetSteps(l int)

func (*Reporter) RunDaemon

func (r *Reporter) RunDaemon()

func (*Reporter) SetOutputs added in v0.1.3

func (r *Reporter) SetOutputs(outputs map[string]string)

Jump to

Keyboard shortcuts

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