printer

package
v0.0.0-...-f5227cc Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TruncateOutput bool

TruncateOutput defines should output be truncated

Functions

This section is empty.

Types

type Printer

type Printer interface {
	//PrintPackage(pkg *pkg.Pkg, leadingNewline bool)
	Printf(format string, args ...interface{})
	//OptPrintf(opt *Options, format string, args ...interface{})
	OutStream() io.Writer
	ErrStream() io.Writer
}

Printer defines capabilities to display content in kpt CLI. The main intention, at the moment, is to abstract away printing output in the CLI so that we can evolve the kpt CLI UX.

Jump to

Keyboard shortcuts

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