table

package
v1.11.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2018 License: Apache-2.0, Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToHumanReadableDateType added in v1.11.0

func ConvertToHumanReadableDateType(timestamp metav1.Time) string

ConvertToHumanReadableDateType returns the elapsed time since timestamp in human-readable approximation.

func MetaToTableRow

func MetaToTableRow(obj runtime.Object, rowFn func(obj runtime.Object, m metav1.Object, name, age string) ([]interface{}, error)) ([]metav1beta1.TableRow, error)

MetaToTableRow converts a list or object into one or more table rows. The provided rowFn is invoked for each accessed item, with name and age being passed to each.

Types

This section is empty.

Jump to

Keyboard shortcuts

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