util

package
v2.1.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 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

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