mixin

package
v0.1.0-raplpha....-c86f6ab Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const FileExt = ""
View Source
const (
	OutputsDir = "/cnab/app/porter/outputs"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

type Runner struct {
	*context.Context

	Mixin   string
	Runtime bool
	Command string
	Step    string
	File    string
	// contains filtered or unexported fields
}

func NewRunner

func NewRunner(mixin, mixinDir string, runtime bool) *Runner

func (*Runner) Run

func (r *Runner) Run() error

func (*Runner) Validate

func (r *Runner) Validate() error

type TestRunner

type TestRunner struct {
	*Runner
	TestContext *context.TestContext
}

func NewTestRunner

func NewTestRunner(t *testing.T, mixin string, runtime bool) *TestRunner

NewTestRunner initializes a mixin test runner, with the output buffered, and an in-memory file system.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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