Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangePrinter ¶
func ChangePrinter(printer Printer)
func NewProgress ¶
Types ¶
type ConsolePrinter ¶
type ConsolePrinter struct{}
func NewConsolePrinter ¶
func NewConsolePrinter() *ConsolePrinter
func (*ConsolePrinter) Printf ¶
func (c *ConsolePrinter) Printf(format string, args ...interface{})
type MockProgress ¶
MockProgress is an autogenerated mock type for the Progress type
func NewMockProgress ¶ added in v0.39.0
func NewMockProgress(t mockConstructorTestingTNewMockProgress) *MockProgress
NewMockProgress creates a new instance of MockProgress. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MockProgress) Inc ¶
func (_m *MockProgress) Inc()
Inc provides a mock function with given fields:
func (*MockProgress) Start ¶
func (_m *MockProgress) Start()
Start provides a mock function with given fields:
func (*MockProgress) Stop ¶
func (_m *MockProgress) Stop()
Stop provides a mock function with given fields:
func (*MockProgress) Val ¶
func (_m *MockProgress) Val() uint64
Val provides a mock function with given fields:
type ProgressOptions ¶
type VoidPrinter ¶
type VoidPrinter struct{}
func (*VoidPrinter) Printf ¶
func (v *VoidPrinter) Printf(format string, args ...interface{})
Click to show internal directories.
Click to hide internal directories.