util

package
v1.1.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Utility functions.

Index

Constants

This section is empty.

Variables

This section is empty.

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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