Documentation ¶
Overview ¶
Package hooks implements the controller's builder hooks api.
This is primarily intended to be consumed by the builder to communicate with the controller.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBuild ¶
func CreateBuild(c *deis.Client, username, app, image, gitSha string, procfile api.ProcessType, usingDockerifle bool) (int, error)
CreateBuild creates a new release of an application. It returns the version of the new release. gitSha should be the first 8 characters of the git commit sha. Image is either the docker image location for the dockerfile app the absolute url to the tar file for a buldpack app.
func GetAppConfig ¶
GetAppConfig retrives an app's configuration from the controller.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.