kubernetesk8s.io/kubernetes/pkg/kubelet/util/format Index | Files

package format

import "k8s.io/kubernetes/pkg/kubelet/util/format"

Index

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.

Source Files

pod.go

Version
v1.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
3 hours ago

Tools for package owners.