apimachinery: k8s.io/apimachinery/pkg/api/meta/table Index | Files

package table

import "k8s.io/apimachinery/pkg/api/meta/table"

Index

Package Files

table.go

func ConvertToHumanReadableDateType Uses

func ConvertToHumanReadableDateType(timestamp metav1.Time) string

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

func MetaToTableRow Uses

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.

Package table imports 6 packages (graph) and is imported by 18 packages. Updated 2019-04-18. Refresh now. Tools for package owners.