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

package util

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

Utility functions.

Index

Functions

func FormatPodName

func FormatPodName(pod *api.Pod) string

FormatPodName returns a string representating a pod in a human readable format. This function currently is the same as GetPodFullName in kubelet/containers, but may differ in the future. As opposed to GetPodFullName, FormatPodName is mainly used for logging.

func FormatPodNames

func FormatPodNames(pods []*api.Pod) string

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

Source Files

doc.go format.go

Version
v1.1.0
Published
Sep 25, 2015
Platform
windows/amd64
Imports
3 packages
Last checked
1 minute ago

Tools for package owners.