output

package
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: May 6, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Buffer

func Buffer(tmpl *template.Template, stdout io.Writer) processor.OutputFactory

func JSON

func JSON(stdout, stderr io.Writer) processor.OutputFactory

func Passthrough added in v0.0.21

func Passthrough(stdout, stderr io.Writer) processor.OutputFactory

func Prefix

func Prefix(color bool, stdout, stderr io.Writer, ch chan PrefixMessage) processor.OutputFactory

func TerminalWriter added in v0.0.21

func TerminalWriter(ch chan PrefixMessage)

func UI

Types

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

func NewLogWriter

func NewLogWriter(logger logr.Logger) *Logger

func (*Logger) Write

func (l *Logger) Write(payload []byte) (int, error)

type PrefixMessage added in v0.0.21

type PrefixMessage struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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