Help us shape the future of Go! Take the 2026 Go Developer Survey

util

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DescribeEvents

func DescribeEvents(el *corev1.EventList, w describe.PrefixWriter, baseLevel int)

DescribeEvents writes a formatted string of the Events in el with PrefixWriter. The intended use is for w to be created with a *tabWriter.Writer underneath, and the caller of DescribeEvents would need to call Flush() on that *tabWriter.Writer to actually print the output.

func NewTabWriter added in v1.0.0

func NewTabWriter(writer io.Writer) *tabwriter.Writer

NewTabWriter returns a *tabwriter.Writer with fixed parameters to be used in the status command

Types

This section is empty.

Jump to

Keyboard shortcuts

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