controllers

package
v0.0.0-...-d5b1bed Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPing

func GetPing(c *gin.Context)

GetPing is the handler for the GET /info/ping route. This will respond by a pong JSON message if the server is alive

func GetStatus

func GetStatus(c *gin.Context)

GetStatus is an handler for the GET /info/status route. This will respond by the status of the server and of the docker host in a JSON message.

func GetVersion

func GetVersion(c *gin.Context)

GetVersion is an handler for the GET /info/version route. This will respond a JSON message with the version of Docker running in the Docker host.

func PostBitbucket

func PostBitbucket(c *gin.Context)

PostBitbucket is and handler for the POST /events/bitbucket/push route. Based on the event received from Bitbucket, this will schedule a BuildAndPushFromRepository background job.

func PostGithub

func PostGithub(c *gin.Context)

PostGithub is an handler for the POST /events/github/push route. Based on the event received from Github, this will schedule a BuildAndPushFromRepository background job.

Types

This section is empty.

Jump to

Keyboard shortcuts

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