Documentation ¶
Index ¶
- type DB
- func (db *DB) AddBuild(project_id int64, build string, created time.Time) (int64, error)
- func (db *DB) AddProject(project string) (int64, error)
- func (db *DB) AddResults(project string, results *[]formats.TestResult) error
- func (db *DB) AddTest(testname string) (int64, error)
- func (db *DB) Close()
- func (db *DB) GetBuildIdByName(build string) (int64, error)
- func (db *DB) GetPath() string
- func (db *DB) GetProjectIdByName(project string) (int64, error)
- func (db *DB) GetTestIdByName(testname string) (int64, error)
- func (db *DB) GetTimeOfLatestBuild(project string) (time.Time, error)
- func (db *DB) Init() error
- func (db *DB) Open() error
- func (db *DB) SetPath(p string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) AddResults ¶
func (db *DB) AddResults(project string, results *[]formats.TestResult) error
func (*DB) GetTimeOfLatestBuild ¶
Click to show internal directories.
Click to hide internal directories.