run

package
v0.0.0-...-c27e215 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Cmd exports the run command

Functions

This section is empty.

Types

type Run

type Run struct {
	sync.Mutex
	// contains filtered or unexported fields
}

Run is a runtime environment for SSM

func New

func New() *Run

New creates a new command line interface.

func (*Run) Env

func (e *Run) Env() ([]string, error)

Env returns an environment

func (*Run) Exec

func (e *Run) Exec() error

Exec is setting up the environment with the configured store

type Runner

type Runner interface {
	// Setup should setup the runtime environment
	Exec() error
}

Runner is the interface to a runtime environment

Jump to

Keyboard shortcuts

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