Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Console console // = true
Console write debug output
Functions ¶
This section is empty.
Types ¶
type ACTION ¶
type ACTION int
ACTION Represents what action is being performed during the test step
What the test step is doing
type Report ¶
type Report struct {
Packages []Package
}
Report is a collection of package tests.
type ResourceTime ¶
type ResourceTime struct { ResourceName string `json:"resourcename"` Duration float64 `json:"duration"` Action []ACTION `json:"action"` }
ResourceTime Contains the result if individual actions per resource
func (*ResourceTime) MarshalJSON ¶
func (u *ResourceTime) MarshalJSON() ([]byte, error)
MarshalJSON custom marshal function to format json output
type Test ¶
type Test struct { Name string `json:"name"` ResourceGroup string `json:"rg"` Time float64 `json:"time"` TestOverhead float64 `json:"overhead"` CreateTime float64 `json:"createtime"` CreateDestroyTime float64 `json:"createdestroytime"` Result Result `json:"result"` Output []string `json:"-"` CreateText []string `json:"-"` DestroyText []string `json:"-"` Steps []ResourceTime `json:"steps"` CleanUp []ResourceTime `json:"cleanup"` }
Test contains the results of a single test.
func (*Test) MarshalJSON ¶
MarshalJSON custom marshal function to format json output
Click to show internal directories.
Click to hide internal directories.