hooks

package
v0.0.0-...-c9ffa05 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2018 License: MIT Imports: 4 Imported by: 16

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

func GetAppConfig(c *deis.Client, username, app string) (api.Config, error)

GetAppConfig retrives an app's configuration from the controller.

func UserFromKey

func UserFromKey(c *deis.Client, fingerprint string) (api.UserApps, error)

UserFromKey retrives a user from their SSH key fingerprint.

Types

This section is empty.

Jump to

Keyboard shortcuts

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