db

package
v0.0.0-...-e7f739d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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) AddBuild

func (db *DB) AddBuild(project_id int64, build string, created time.Time) (int64, error)

func (*DB) AddProject

func (db *DB) AddProject(project string) (int64, error)

func (*DB) AddResults

func (db *DB) AddResults(project string, results *[]formats.TestResult) error

func (*DB) AddTest

func (db *DB) AddTest(testname string) (int64, error)

func (*DB) Close

func (db *DB) Close()

func (*DB) GetBuildIdByName

func (db *DB) GetBuildIdByName(build string) (int64, error)

func (*DB) GetPath

func (db *DB) GetPath() string

func (*DB) GetProjectIdByName

func (db *DB) GetProjectIdByName(project string) (int64, error)

func (*DB) GetTestIdByName

func (db *DB) GetTestIdByName(testname string) (int64, error)

func (*DB) GetTimeOfLatestBuild

func (db *DB) GetTimeOfLatestBuild(project string) (time.Time, error)

func (*DB) Init

func (db *DB) Init() error

func (*DB) Open

func (db *DB) Open() error

func (*DB) SetPath

func (db *DB) SetPath(p string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL