getjoblessbuild

package
v0.0.0-...-0e89551 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2015 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidBuildID = errors.New("invalid build id")

Functions

func NewHandler

func NewHandler(logger lager.Logger, db BuildDB, configDB db.ConfigDB, template *template.Template) http.Handler

Types

type BuildDB

type BuildDB interface {
	GetBuild(int) (db.Build, error)
}

type TemplateData

type TemplateData struct {
	Build db.Build
}

func FetchTemplateData

func FetchTemplateData(buildID string, buildDB BuildDB, configDB db.ConfigDB) (TemplateData, error)

Directories

Path Synopsis
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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