create

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2022 License: Apache-2.0 Imports: 4 Imported by: 8

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