Documentation ¶
Index ¶
Constants ¶
View Source
const (
TestLogCollection = "test_logs"
)
Variables ¶
View Source
var ( TestLogIdKey = bsonutil.MustHaveTag(TestLog{}, "Id") TestLogNameKey = bsonutil.MustHaveTag(TestLog{}, "Name") TestLogTaskKey = bsonutil.MustHaveTag(TestLog{}, "Task") TestLogTaskExecutionKey = bsonutil.MustHaveTag(TestLog{}, "TaskExecution") TestLogLinesKey = bsonutil.MustHaveTag(TestLog{}, "Lines") )
Functions ¶
Types ¶
type TestLog ¶
type TestLog struct { Id string `bson:"_id" json:"_id"` Name string `json:"name" bson:"name"` Task string `json:"task" bson:"task"` TaskExecution int `json:"execution" bson:"execution"` Lines []string `json:"lines" bson:"lines"` }
func FindOneTestLog ¶
FindOneTestLog returns a TestLog, given the test's name, task id, and execution.
func FindOneTestLogById ¶
Click to show internal directories.
Click to hide internal directories.