cmd

package
v3.7.2 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2018 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Overview

Package cmd contains the main entry point for the docker and STI builders

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunDockerBuild

func RunDockerBuild(out io.Writer) error

RunDockerBuild creates a docker builder and runs its build

func RunExtractImageContent added in v3.7.0

func RunExtractImageContent(out io.Writer) error

RunExtractImageContent extracts files from existing images into the build working directory.

func RunGitClone added in v3.7.0

func RunGitClone(out io.Writer) error

RunGitClone performs a git clone using the build defined in the environment

func RunManageDockerfile added in v3.7.0

func RunManageDockerfile(out io.Writer) error

RunManageDockerfile manipulates the dockerfile for docker builds. It will write the inline dockerfile to the working directory (possibly overwriting an existing dockerfile) and then update the dockerfile in the working directory (accounting for contextdir+dockerfilepath) with new FROM image information based on the imagestream/imagetrigger and also adds some env and label values to the dockerfile based on the build information.

func RunS2IBuild

func RunS2IBuild(out io.Writer) error

RunS2IBuild creates a S2I builder and runs its build

Types

This section is empty.

Directories

Path Synopsis
Package dockercfg contains a command helper to read .dockercfg files
Package dockercfg contains a command helper to read .dockercfg files
Package scmauth provides SCM authentication methods based on secret files
Package scmauth provides SCM authentication methods based on secret files

Jump to

Keyboard shortcuts

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