handler

package
v0.0.0-...-a6b578a Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2015 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBuilders

func GetBuilders(c *container.ContainerBag) (map[string]Builder, error)

Types

type Builder

type Builder struct {
	Id           string   `json:"id"`
	CachedBuilds []int    `json:"cachedBuilds"`
	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"`
}

func GetBuilder

func GetBuilder(c *container.ContainerBag, id string, builder Builder) (Builder, error)

type BuildersHandler

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

func NewBuildersHandler

func NewBuildersHandler(c *container.ContainerBag) *BuildersHandler

func (BuildersHandler) ServeHTTP

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

type Client

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

type ClientList

type ClientList struct {
	sync.Mutex
	// contains filtered or unexported fields
}

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"`
}

type IndexHandler

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

func NewIndexHandler

func NewIndexHandler(c *container.ContainerBag) *IndexHandler

func (IndexHandler) ServeHTTP

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

type Message

type Message struct {
	Text string `json:"text"`
}

Jump to

Keyboard shortcuts

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