Documentation ¶
Index ¶
Constants ¶
View Source
const ( StatusInit = "init" StatusReady = "ready" StatusTesting = "testing" StatusFinished = "finished" StatusFail = "fail" )
Testing status constants.
Variables ¶
This section is empty.
Functions ¶
func GetTestletPath ¶
GetTestletPath generates whatever path is needed to reach the given testlet It first determines if the referenced testlet is native or not - if it is native, then only the name needs to be returned (all native testlets must be in the path). If it is a custom testlet, then it will generate the full path to the testlet, ensure it is a valid path, and if so, return that full path back to the caller.
Types ¶
type Testlet ¶
type Testlet interface { // Run is the "workflow" function for a testlet. All testing takes place here // (or in a function called within) Run(target string, args []string, timeLimit int) (metrics map[string]string, err error) }
Testlet defines what a testlet should look like if built in native go and compiled with the agent
Click to show internal directories.
Click to hide internal directories.