Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddWs ¶
func AddWs(m *martini.ClassicMartini, c *container.ContainerBag)
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 ¶
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 ClientList ¶
type DetailedBuilder ¶
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)
Click to show internal directories.
Click to hide internal directories.