list

package
v1.0.0-beta.17 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseListPrinter

type BaseListPrinter struct {
	Formatter list.Formatter
}

BaseListPrinter implements the Printer interface and outputs the resource status information as a list of events as they happen.

func (*BaseListPrinter) Print

func (ep *BaseListPrinter) Print(ch <-chan pollevent.Event, identifiers []object.ObjMetadata,
	cancelFunc collector.ObserverFunc) error

Print takes an event channel and outputs the status events on the channel until the channel is closed. The provided cancelFunc is consulted on every event and is responsible for stopping the poller when appropriate. This function will block.

Jump to

Keyboard shortcuts

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