Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { *httpclient.Client // contains filtered or unexported fields }
func (*Client) ListTestTaskStats ¶
func (c *Client) ListTestTaskStats(log *zap.SugaredLogger) ([]*TestTaskStat, error)
func (*Client) ListTestings ¶
func (c *Client) ListTestings(log *zap.SugaredLogger) ([]*Testing, error)
type TestTaskStat ¶
type TestTaskStat struct { Name string `bson:"name" json:"name"` TotalSuccess int `bson:"total_success" json:"totalSuccess"` TotalFailure int `bson:"total_failure" json:"totalFailure"` TotalDuration int64 `bson:"total_duration" json:"totalDuration"` TestCaseNum int `bson:"test_case_num" json:"testCaseNum"` CreateTime int64 `bson:"create_time" json:"createTime"` UpdateTime int64 `bson:"update_time" json:"updateTime"` }
Click to show internal directories.
Click to hide internal directories.