cmd

package
v3.7.0-0.alpha.1.531.0... Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2017 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

func RunExtractImageContent(out io.Writer) error

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

func RunGitClone

func RunGitClone(out io.Writer) error

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

func RunManageDockerfile

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 added in v1.3.0

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