handler

package
v0.0.0-...-5eb98c0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2019 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	Id         string   `json:"id"`
	State      string   `json:"state"`
	Reason     string   `json:"reason"`
	Blame      []string `json:"blame"`
	Number     int      `json:"number"`
	Slave      string   `json:"slave"`
	LastUpdate string   `json:"last_update"`
}

type BuildersHandler

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

func NewBuildersHandler

func NewBuildersHandler(cfg *config.Config, buildbot bb.Buildbot, cache cc.Cache, logger *logging.Logger) *BuildersHandler

func (BuildersHandler) GetBuilder

func (h BuildersHandler) GetBuilder(params martini.Params, r render.Render)

func (BuildersHandler) GetBuilders

func (h BuildersHandler) GetBuilders(req *http.Request, r render.Render)

type DetailedBuilder

type DetailedBuilder struct {
	Blame  []string  `json:"blame"`
	Number int       `json:"number"`
	Reason string    `json:"reason"`
	Slave  string    `json:"slave"`
	Times  []float64 `json:"times"`
	Text   []string  `json:"text"`
	Error  string    `json:"error"`
}

type IndexHandler

type IndexHandler struct{}

func NewIndexHandler

func NewIndexHandler() *IndexHandler

func (IndexHandler) ServeHTTP

func (h IndexHandler) ServeHTTP(r render.Render)

Jump to

Keyboard shortcuts

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