report

package
v0.0.0-...-df0bd0c Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event interface {
	WithDescription(string, ...interface{}) Event
	WithError(error) Event
}

type Recorder

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

func (*Recorder) AppendEvent

func (r *Recorder) AppendEvent(evt *deploypb.ReportEvent)

func (*Recorder) Error

func (r *Recorder) Error(format string, v ...interface{}) Event

func (*Recorder) Info

func (r *Recorder) Info(format string, v ...interface{}) Event

func (*Recorder) Marshal

func (r *Recorder) Marshal() ([]byte, error)

func (*Recorder) SetCommitInfo

func (r *Recorder) SetCommitInfo(commitSha string, commitMessage string)

func (*Recorder) SetDeployID

func (r *Recorder) SetDeployID(deployID int64)

func (*Recorder) Warning

func (r *Recorder) Warning(format string, v ...interface{}) Event

Jump to

Keyboard shortcuts

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