format

package
v1.7.16-azs-1806 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Pod

func Pod(pod *v1.Pod) string

Pod returns a string representing a pod in a consistent human readable format, with pod UID as part of the string.

func PodDesc added in v1.5.0

func PodDesc(podName, podNamespace string, podUID types.UID) string

PodDesc returns a string representing a pod in a consistent human readable format, with pod UID as part of the string.

func PodWithDeletionTimestamp added in v1.3.0

func PodWithDeletionTimestamp(pod *v1.Pod) string

PodWithDeletionTimestamp is the same as Pod. In addition, it prints the deletion timestamp of the pod if it's not nil.

func Pods

func Pods(pods []*v1.Pod) string

Pods returns a string representating a list of pods in a human readable format.

func PodsWithDeletiontimestamps added in v1.3.0

func PodsWithDeletiontimestamps(pods []*v1.Pod) string

PodsWithDeletiontimestamps is the same as Pods. In addition, it prints the deletion timestamps of the pods if they are not nil.

func ResourceList added in v1.3.0

func ResourceList(resources v1.ResourceList) string

ResourceList returns a string representation of a resource list in a human readable format.

Types

This section is empty.

Jump to

Keyboard shortcuts

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