buildpackrunner

package
v0.0.0-...-1320f8c Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2016 License: Apache-2.0, Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const DOWNLOAD_TIMEOUT = 10 * time.Minute

Variables

This section is empty.

Functions

func GitClone

func GitClone(repo url.URL, destination string) error

func IsZipFile

func IsZipFile(filename string) bool

Types

type DeaStagingInfo

type DeaStagingInfo struct {
	DetectedBuildpack string `yaml:"detected_buildpack"`
	StartCommand      string `yaml:"start_command"`
}

Used to generate YAML file read by the DEA

type Release

type Release struct {
	DefaultProcessTypes struct {
		Web string `yaml:"web"`
	} `yaml:"default_process_types"`
}

type Runner

type Runner struct {
	// contains filtered or unexported fields
}

func (*Runner) Run

func (runner *Runner) Run() error

type ZipDownloader

type ZipDownloader struct {
	// contains filtered or unexported fields
}

func NewZipDownloader

func NewZipDownloader(skipSSLVerification bool) *ZipDownloader

func (*ZipDownloader) DownloadAndExtract

func (z *ZipDownloader) DownloadAndExtract(u *url.URL, destination string) (uint64, error)

Jump to

Keyboard shortcuts

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