create

package
v1.1.13 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2018 License: Apache-2.0 Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

New 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) AddReadme added in v1.1.5

func (b *Bootstrap) AddReadme()

AddReadme creates a README.md

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