controller

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2018 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrSkipBuild = errors.New("build skip")

ErrSkipBuild is a error of build skip.

Functions

This section is empty.

Types

type Command added in v0.4.0

type Command []string

Command represents docker command.

type HealthController added in v0.5.0

type HealthController struct {
	Docker docker.Service
}

HealthController is a handler of health check.

func (*HealthController) ServeHTTP added in v0.5.0

func (c *HealthController) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP responses a server status

type LogController added in v0.2.0

type LogController struct {
	LogStore logstore.Service
}

LogController is a handler of stored log.

func (*LogController) ServeHTTP added in v0.2.0

func (c *LogController) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP responses a log of specific uuid.

type WebhooksController added in v0.3.4

type WebhooksController struct {
	Runner runner.Runner
	GitHub github.Service
}

WebhooksController is a handler of webhook.

func (*WebhooksController) ServeHTTP added in v0.3.4

func (c *WebhooksController) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP receive webhook.

Jump to

Keyboard shortcuts

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