build

package
v0.0.0-...-b4339e2 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BUFFER_SIZE = 512
)

Variables

View Source
var Routes = []http.Route{

	{Path: "/image/{owner}/{name}/build", Method: http.MethodPost, Middleware: []http.Middleware{middleware.Authenticate}, Handler: BuildCreateH},
	{Path: "/image/{owner}/{name}/build", Method: http.MethodGet, Middleware: []http.Middleware{middleware.Authenticate}, Handler: BuildListH},
	{Path: "/image/{owner}/{name}/build/{build}", Method: http.MethodGet, Middleware: []http.Middleware{middleware.Authenticate}, Handler: BuildInfoH},
	{Path: "/image/{owner}/{name}/build/{build}/logs", Method: http.MethodGet, Middleware: []http.Middleware{middleware.Authenticate}, Handler: BuildLogsH},
	{Path: "/image/{owner}/{name}/build/{build}/cancel", Method: http.MethodPut, Middleware: []http.Middleware{middleware.Authenticate}, Handler: BuildCancelH},
	{Path: "/image/{owner}/{name}/build/{build}/status", Method: http.MethodPut, Middleware: []http.Middleware{middleware.Authenticate}, Handler: BuildStatusUpdateH},
}

Functions

func BuildCancelH

func BuildCancelH(w http.ResponseWriter, r *http.Request)

func BuildCreateH

func BuildCreateH(w http.ResponseWriter, r *http.Request)

func BuildInfoH

func BuildInfoH(w http.ResponseWriter, r *http.Request)

func BuildListH

func BuildListH(w http.ResponseWriter, r *http.Request)

func BuildLogsH

func BuildLogsH(w http.ResponseWriter, r *http.Request)

func BuildStatusUpdateH

func BuildStatusUpdateH(w http.ResponseWriter, r *http.Request)

Types

This section is empty.

Jump to

Keyboard shortcuts

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