getbuilds

package
v0.0.0-...-7fe2d08 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2016 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(logger lager.Logger, clientFactory web.ClientFactory, template *template.Template) *Handler

func (*Handler) ServeHTTP

func (handler *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) error

type PresentedBuild

type PresentedBuild struct {
	ID           int
	JobName      string
	PipelineName string
	TeamName     string
	Status       string
	BuildName    string

	StartTime string
	EndTime   string

	CSSClass string
	Path     string
}

func PresentBuilds

func PresentBuilds(builds []atc.Build) []PresentedBuild

type TemplateData

type TemplateData struct {
	Builds []PresentedBuild

	Pagination concourse.Pagination
}

func FetchTemplateData

func FetchTemplateData(client concourse.Client, page concourse.Page) (TemplateData, error)

Jump to

Keyboard shortcuts

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