handler

package
v0.0.0-...-6e5da2a Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2016 License: Apache-2.0 Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BitsSession

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

type ByCreatedAt

type ByCreatedAt []builds.Build

func (ByCreatedAt) Len

func (builds ByCreatedAt) Len() int

func (ByCreatedAt) Less

func (builds ByCreatedAt) Less(i, j int) bool

func (ByCreatedAt) Swap

func (builds ByCreatedAt) Swap(i, j int)

type Handler

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

func NewHandler

func NewHandler(logger lager.Logger, peerAddr string, turbineURL string) *Handler

func (*Handler) AbortBuild

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

func (*Handler) CreateBuild

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

func (*Handler) DownloadBits

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

func (*Handler) GetBuilds

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

func (*Handler) GetResult

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

func (*Handler) HijackBuild

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

func (*Handler) LogInput

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

func (*Handler) LogOutput

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

func (*Handler) SetResult

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

func (*Handler) UploadBits

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

Jump to

Keyboard shortcuts

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