Versions in this module Expand all Collapse all v0 v0.5.1 May 18, 2015 Changes in this version + func ConvertEnvironment(env []Environment) (result []string) + func ConvertEnvironmentToDocker(env []Environment) (result string) + func NewHTTPReader() schemeReader + type Downloader interface + Download func(url *url.URL, target string) error + func NewDownloader() Downloader + type Environment struct + Name string + Value string + func GetEnvironment(request *api.Request) ([]Environment, error) + type FileURLReader struct + func (*FileURLReader) Read(url *url.URL) (io.ReadCloser, error) + type HttpURLReader struct + Get func(url string) (*http.Response, error) + func (h *HttpURLReader) Read(url *url.URL) (io.ReadCloser, error) + type ImageReader struct + func (*ImageReader) Read(url *url.URL) (io.ReadCloser, error) + type Installer interface + InstallOptional func(scripts []string, dstDir string) []api.InstallResult + InstallRequired func(scripts []string, dstDir string) ([]api.InstallResult, error) + func NewInstaller(image string, scriptsURL string, docker docker.Docker, ...) Installer