format

package
v0.0.0-...-3388463 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: Apache-2.0 Imports: 4 Imported by: 11

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

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

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 representing pods in a consistent human readable format, with pod UID as part of the string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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