Documentation ¶
Index ¶
- func BuildImage(dockerFileReader io.Reader, imagename string) error
- func CreateDockerfile(buildpackURI, baseImage, port, codepath, cmd string, envmap map[string]string, ...) (io.Reader, func(), error)
- func HelmInstall(name, image, tag, port string, helmValues map[string]interface{}) error
- func HelmInstallDockerfile(kubeConfigPath, valuesYamlPath, repo, tag, name, port string) io.Reader
- func PushImage(imageName string) error
- func RunDockerfileInTmpImage(dockerFileReader io.Reader) error
- func URIDownloader(downloadURI string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDockerfile ¶
func CreateDockerfile( buildpackURI, baseImage, port, codepath, cmd string, envmap map[string]string, downloader func(string) (string, error), ) (io.Reader, func(), error)
CreateDockerfile returns a reader which contains a dockerfiles contents as well as a function which can be used to cleanup any tmp dir created to store buildpacks when they are dloaded & unzipped it will also return an error if anything goes wrong
func HelmInstall ¶ added in v0.3.2
func HelmInstallDockerfile ¶ added in v0.3.2
func PushImage ¶
PushImage - takes the image name as an argument in the format of / <org>/<name>:<tag>
func RunDockerfileInTmpImage ¶ added in v0.3.2
RunDockerfileInTmpImage - use a dockerfile as a script to run in a tmp container
func URIDownloader ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.