writer

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Console

type Console struct {
	// contains filtered or unexported fields
}

func (Console) Conclusion

func (w Console) Conclusion()

func (*Console) Prelude

func (w *Console) Prelude()

func (*Console) Write

func (w *Console) Write(r Result)

type JSON

type JSON struct {
	// contains filtered or unexported fields
}

func (JSON) Conclusion

func (w JSON) Conclusion()

func (*JSON) Prelude

func (w *JSON) Prelude()

func (*JSON) Write

func (w *JSON) Write(r Result)

type Result

type Result struct {
	Name  string
	Steps []step.Result
}

type Writer

type Writer interface {
	Prelude()
	Write(Result)
	Conclusion()
}

func NewConsole

func NewConsole(dest io.Writer, silent bool) Writer

func NewJSON

func NewJSON(dest io.Writer) Writer

Jump to

Keyboard shortcuts

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