Documentation ¶
Index ¶
- Variables
- func Load() (string, job.ReporterFactory)
- func New() job.Reporter
- type Noop
- func (n *Noop) FinalReport(ctx xcontext.Context, parameters interface{}, runStatuses []job.RunStatus, ...) (bool, interface{}, error)
- func (n *Noop) Name() string
- func (n *Noop) RunReport(ctx xcontext.Context, parameters interface{}, runStatus *job.RunStatus, ...) (bool, interface{}, error)
- func (n *Noop) ValidateFinalParameters(params []byte) (interface{}, error)
- func (n *Noop) ValidateRunParameters(params []byte) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Name = "noop"
Name defines the name of the reporter used within the plugin registry
Functions ¶
func Load ¶
func Load() (string, job.ReporterFactory)
Load returns the name and factory which are needed to register the Reporter
Types ¶
type Noop ¶
type Noop struct{}
Noop is a reporter that does nothing. Probably only useful for testing.
func (*Noop) FinalReport ¶
func (n *Noop) FinalReport(ctx xcontext.Context, parameters interface{}, runStatuses []job.RunStatus, ev testevent.Fetcher) (bool, interface{}, error)
FinalReport calculates the final report to be associated to a job.
func (*Noop) RunReport ¶
func (n *Noop) RunReport(ctx xcontext.Context, parameters interface{}, runStatus *job.RunStatus, ev testevent.Fetcher) (bool, interface{}, error)
RunReport calculates the report to be associated with a job run.
func (*Noop) ValidateFinalParameters ¶
ValidateFinalParameters validates the parameters for the final reporter
func (*Noop) ValidateRunParameters ¶
ValidateRunParameters validates the parameters for the run reporter
Click to show internal directories.
Click to hide internal directories.