create

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2015 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bootstrap

type Bootstrap struct {
	DestinationDir string
	ImageName      string
}

Bootstrap defines parameters for the template processing

func New

func New(name, dst string) *Bootstrap

NewCreate returns a new bootstrap for given image name and destination directory

func (*Bootstrap) AddDockerfile

func (b *Bootstrap) AddDockerfile()

AddDockerfile creates an example Dockerfile

func (*Bootstrap) AddSTIScripts

func (b *Bootstrap) AddSTIScripts()

AddSTIScripts creates the STI scripts directory structure and process templates for STI scripts

func (*Bootstrap) AddTests

func (b *Bootstrap) AddTests()

AddTests creates an example test for the STI image and the Makefile

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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