printer

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *printer

Types

type Operation

type Operation string
const (
	OperationInstall  Operation = "installation"
	OperationRollback Operation = "rollback"
)

type Printer

type Printer interface {
	SetContext(operation Operation, stagesCount int)
	Recipe(r recipe.UnitMetadata)
	Stage(stageIndex int, s recipe.Stage)
	Step(stepIndex, steps int, s recipe.UnitMetadata)
	Command(cmd string)
	ExecOutput(output string)
	ExecError(output string)
}

Directories

Path Synopsis
Code generated by mockery v1.0.0
Code generated by mockery v1.0.0

Jump to

Keyboard shortcuts

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