handler

package
v0.0.0-...-be71356 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2016 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(ctx *macaron.Context) string

func BuildDockerImageStartByHTTPReq

func BuildDockerImageStartByHTTPReq(worker, imageName string, dockerfileTarReader io.Reader, tag string)

func InitHandlerList

func InitHandlerList()

func Log

func Log(ctx *macaron.Context)

func PushLog

func PushLog(ws *websocket.Conn, id string)

func PushMsg

func PushMsg(ws *websocket.Conn, WSWriter chan []uint8)

Types

type Job

type Job struct {
	Name       string `json:"name"`
	DockerFile string `json:"dockerfile"`
	Tag        string `json:"tag"`
}

type ReqInfo

type ReqInfo struct {
	Id string `json:"Id"`
}

Jump to

Keyboard shortcuts

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