Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type List ¶
type List struct {
TestRuns []*TestRun
}
List is a list of TestRuns, used for index action
type NfrResult ¶ added in v0.21.0
type NfrResult struct { ID string `jsonapi:"primary,nfr_results"` Success bool `jsonapi:"attr,success"` Subject string `jsonapi:"attr,subject"` SubjectAvailable bool `jsonapi:"attr,subject_available"` SubjectUnit string `jsonapi:"attr,subject_unit"` Expectation string `jsonapi:"attr,expectation"` Type string `jsonapi:"attr,nfr_type"` Disabled bool `jsonapi:"attr,disabled"` Filter string `jsonapi:"attr,filter"` Metric string `jsonapi:"attr,metric"` }
NfrResult describes a NFR check result
func (*NfrResult) ExpectationWithUnit ¶ added in v0.21.0
ExpectationWithUnit formats the expectation inclusing the subject's unit
func (*NfrResult) SubjectWithUnit ¶ added in v0.21.0
SubjectWithUnit formats the expectation inclusing the subject's unit
type NfrResultList ¶ added in v0.21.0
type NfrResultList struct {
NfrResults []*NfrResult
}
NfrResultList is a list of NFR results
func UnmarshalNfrResults ¶ added in v0.21.0
func UnmarshalNfrResults(input io.Reader) (NfrResultList, error)
UnmarshalNfrResults unmarshals a list of NFR result records
type TestConfiguration ¶ added in v0.28.0
type TestConfiguration struct { ID string `jsonapi:"primary,test_configurations"` DisableGzip bool `jsonapi:"attr,disable_gzip"` SkipWait bool `jsonapi:"attr,skip_wait"` DumpTrafficFull bool `jsonapi:"attr,dump_traffic_full"` SessionValidationMode bool `jsonapi:"attr,session_validation_mode"` ClusterSizing string `jsonapi:"attr,cluster_sizing"` ClusterRegion string `jsonapi:"attr,cluster_region"` }
TestConfiguration contains configuration options for the test case
type TestRun ¶
type TestRun struct { ID string `jsonapi:"primary,test_runs"` Scope string `jsonapi:"attr,scope"` Title string `jsonapi:"attr,title,omitempty"` Notes string `jsonapi:"attr,notes,omitempty"` State string `jsonapi:"attr,state,omitempty"` StartedBy string `jsonapi:"attr,started_by,omitempty"` StartedAt string `jsonapi:"attr,started_at,omitempty"` EndedAt string `jsonapi:"attr,ended_at,omitempty"` TestConfiguration *TestConfiguration `jsonapi:"relation,test_configuration,omitempty"` // attributes for in progress EstimatedEnd string `jsonapi:"attr,estimated_end,omitempty"` Progress int `jsonapi:"attr,progress,omitempty"` }
TestRun represents a single TestRun
type TestRunShareUrlResponse ¶ added in v0.51.0
type TestRunShareUrlResponse struct {}
Click to show internal directories.
Click to hide internal directories.