mock

package
v0.0.0-...-2f9a852 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fatal

type Fatal struct {
	Errors []error
	Msg    string
}

type Output

type Output struct {
	DebugMsgs    []string
	Exited       bool
	FatalMsgs    []Fatal
	InfoMsgs     []string
	KeyValueMsgs map[string]string
	SayMsgs      []string
	Tables       []Table
	WarnMsgs     []string
	// contains filtered or unexported fields
}

func (*Output) Debug

func (o *Output) Debug(msg string, a ...interface{})

func (*Output) Fatal

func (o *Output) Fatal(err error, msg string, a ...interface{})

func (*Output) Fatals

func (o *Output) Fatals(errs []error, msg string, a ...interface{})

func (*Output) Info

func (o *Output) Info(msg string, a ...interface{})

func (*Output) KeyValue

func (o *Output) KeyValue(key, value string, indent int, a ...interface{})

func (*Output) LineBreak

func (o *Output) LineBreak()

func (*Output) Say

func (o *Output) Say(msg string, indent int, a ...interface{})

func (*Output) Table

func (o *Output) Table(header string, rows [][]string)

func (*Output) Warn

func (o *Output) Warn(msg string, a ...interface{})

type Table

type Table struct {
	Header string
	Rows   [][]string
}

Jump to

Keyboard shortcuts

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