printer

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Printer

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

func NewPrinter

func NewPrinter(config cmd.Config, validityStringer ValidityStringer, operationName string, out cmd.Output, startTime time.Time) *Printer

func (*Printer) Animate

func (p *Printer) Animate() chan struct{}

func (*Printer) Complete

func (p *Printer) Complete(i int, successes int)

func (*Printer) Update

func (p *Printer) Update(i int, successes int)

type ValidityStringer

type ValidityStringer interface {
	PrintValidity() (string, error)
}

Jump to

Keyboard shortcuts

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