build

package
v0.17.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2019 License: MIT Imports: 12 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// LOCAL_CNAB is the generated directory where porter stages the /cnab directory.
	LOCAL_CNAB = ".cnab"

	// LOCAL_APP is the generated directory where porter stages the /cnab/app directory.
	LOCAL_APP = filepath.Join(LOCAL_CNAB, "app")

	// LOCAL_BUNDLE is the generated bundle.json file.
	LOCAL_BUNDLE = filepath.Join(LOCAL_CNAB, "bundle.json")

	// LOCAL_RUN is the path to the generated CNAB entrypoint script, located at /cnab/app/run.
	LOCAL_RUN = filepath.Join(LOCAL_APP, "run")

	// BUNDLE_DIR is the directory where the bundle is located in the CNAB execution environment.
	BUNDLE_DIR = "/cnab/app"
)

Functions

This section is empty.

Types

type DockerfileGenerator

type DockerfileGenerator struct {
	*config.Config
	*templates.Templates
	mixin.MixinProvider
}

func NewDockerfileGenerator

func NewDockerfileGenerator(cfg *config.Config, tmpl *templates.Templates, mp mixin.MixinProvider) *DockerfileGenerator

func (*DockerfileGenerator) GenerateDockerFile

func (g *DockerfileGenerator) GenerateDockerFile() error

func (*DockerfileGenerator) PrepareFilesystem

func (g *DockerfileGenerator) PrepareFilesystem() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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