web

package
v0.0.0-...-81d5466 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2015 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	Error string
}

type Handler

type Handler struct {
	*mux.Router
	// contains filtered or unexported fields
}

func New

func New(jobService JobService, templateDir string, preloadTemplates bool) *Handler

type JobService

type JobService interface {
	AllLatestBuilds() ([]jobs.Build, error)
	Save(job *jobs.Job) error
	RunJob(id string) (int, error)
	FindBuild(jobId string, buildNumber int) (jobs.Build, error)
	HighestBuild(jobId string) (int, error)
	Stream(jobId string, buildNumber int, streamOffset int64) (*chunkedio.ChunkedReader, 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