print

package
v3.3.2 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QueryResultPrinter

type QueryResultPrinter struct {
	ShowLabelsKey   []string
	IgnoreLabelsKey []string
	Quiet           bool
	FixedLabelsLen  int
	Forward         bool
}

func NewQueryResultPrinter

func NewQueryResultPrinter(showLabelsKey []string, ignoreLabelsKey []string, quiet bool, fixedLabelsLen int, forward bool) *QueryResultPrinter

func (*QueryResultPrinter) PrintResult

func (r *QueryResultPrinter) PrintResult(value loghttp.ResultValue, out output.LogOutput, lastEntry []*loghttp.Entry) (int, []*loghttp.Entry)

func (*QueryResultPrinter) PrintStats

func (r *QueryResultPrinter) PrintStats(stats stats.Result)

Jump to

Keyboard shortcuts

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