some stubs for build config
This commit is contained in:
parent
3520a295d5
commit
85e17393fa
1 changed files with 8 additions and 0 deletions
|
@ -101,11 +101,19 @@ type Datastore interface {
|
|||
// named repository.
|
||||
BuildLast(string) (*common.Build, error)
|
||||
|
||||
// BuildConf gets the build configuration file (yaml)
|
||||
// for the named repository and build number.
|
||||
// BuildConf(string, int) ([]byte, error)
|
||||
|
||||
// SetBuild inserts or updates a build for the named
|
||||
// repository. The build number is incremented and
|
||||
// assigned to the provided build.
|
||||
SetBuild(string, *common.Build) error
|
||||
|
||||
// SetBuildConf persists the build configuration file (yaml)
|
||||
// for the named repository and build number.
|
||||
// SetBuildConf(string, int) ([]byte, error)
|
||||
|
||||
// Status returns the status for the given repository
|
||||
// and build number.
|
||||
Status(string, int, string) (*common.Status, error)
|
||||
|
|
Loading…
Reference in a new issue