package container
import "github.com/google/cadvisor/utils/container"
Index ¶
Functions ¶
func GetPreferredName ¶
func GetPreferredName(ref info.ContainerReference) string
Returns the alias a container is known by within a certain namespace, if available. Otherwise returns the absolute name of the container.
Source Files ¶
- Version
- v0.45.0-containerd-cri
- Published
- Aug 2, 2022
- Platform
- darwin/amd64
- Imports
- 1 packages
- Last checked
- 28 minutes ago –
Tools for package owners.