//
pkg.gl
Category
github.com/linuxboot/contest
plugins
teststeps
example
package
1.0.1
Repository:
https://github.com/linuxboot/contest.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
9
Dependents
1
Files
82 SLOC
#
Functions
Load
Load returns the name, factory and events which are needed to register the step.
New
New initializes and returns a new ExampleTestStep.
#
Constants
FailedEvent
events that we may emit during the plugin's lifecycle.
FailPctParam
Fail this percentage of targets at random.
FinishedEvent
events that we may emit during the plugin's lifecycle.
StartedEvent
events that we may emit during the plugin's lifecycle.
#
Variables
Events
Events defines the events that a TestStep is allow to emit.
Name
Name is the name used to look this plugin up.
#
Structs
Step
Step is an example implementation of a TestStep which simply consumes Targets in input and pipes them to the output or error channel with intermediate buffering.