layered

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2016 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Layered

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

func New

func New(config *api.Config, scripts build.ScriptsHandler, overrides build.Overrides) (*Layered, error)

func (*Layered) Build

func (b *Layered) Build(config *api.Config) (*api.Result, error)

Build handles the `docker build` equivalent execution, returning the success/failure details

func (*Layered) CreateDockerfile

func (b *Layered) CreateDockerfile(config *api.Config) error

CreateDockerfile takes the various inputs and creates the Dockerfile used by the docker cmd to create the image produces by s2i

func (*Layered) SourceTar

func (b *Layered) SourceTar(config *api.Config) (io.ReadCloser, error)

TODO: this should stop generating a file, and instead stream the tar. SourceTar returns a stream to the source tar file

Jump to

Keyboard shortcuts

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