printer

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintList

func PrintList(w io.Writer, l *List) error

func PrintObject

func PrintObject(w io.Writer, o runtime.Object, f *cliopts.PrintFlags) error

Types

type List

type List struct {
	runtime.TypeMeta `json:",inline"`
	NextPageToken    string `json:"nextPageToken,omitempty" yaml:"nextPageToken,omitempty"`
	Items            []struct {
		metav1.TypeMeta   `json:",inline"`
		metav1.ObjectMeta `json:"metadata,omitempty"`
		Status            struct {
			v1.Status      `json:",inline"`
			StartTime      *metav1.Time `json:"startTime,omitempty"`
			CompletionTime *metav1.Time `json:"completionTime,omitempty"`
		} `json:"status,omitempty"`
	} `json:"items"`
}

Jump to

Keyboard shortcuts

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