Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Pod ¶
func Pod(pod *api.Pod) string
Pod returns a string reprenetating a pod in a human readable format, with pod UID as part of the string.
func PodWithDeletionTimestamp ¶ added in v1.3.0
func PodWithDeletionTimestamp(pod *api.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 []*api.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 []*api.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 api.ResourceList) string
ResourceList returns a string representation of a resource list in a human readable format.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.