package utils
import "github.com/google/cadvisor/container/docker/utils"
Index ¶
- Constants
- func ContainerNameToId(name string) string
- func DockerMetadataDevice(info dockersystem.Info) (string, error)
- func DockerThinPoolName(info dockersystem.Info) (string, error)
- func DockerZfsFilesystem(info dockersystem.Info) (string, error)
- func DriverStatusValue(status [][2]string, target string) string
- func IsContainerName(name string) bool
- func SummariesToImages(summaries []dockerimage.Summary) ([]v1.DockerImage, error)
Constants ¶
const ( DriverStatusPoolName = "Pool Name" DriverStatusMetadataFile = "Metadata file" DriverStatusParentDataset = "Parent Dataset" )
Functions ¶
func ContainerNameToId ¶
Returns the ID from the full container name.
func DockerMetadataDevice ¶
func DockerMetadataDevice(info dockersystem.Info) (string, error)
func DockerThinPoolName ¶
func DockerThinPoolName(info dockersystem.Info) (string, error)
func DockerZfsFilesystem ¶
func DockerZfsFilesystem(info dockersystem.Info) (string, error)
func DriverStatusValue ¶
func IsContainerName ¶
IsContainerName returns true if the cgroup with associated name corresponds to a container.
func SummariesToImages ¶
func SummariesToImages(summaries []dockerimage.Summary) ([]v1.DockerImage, error)
Source Files ¶
- Version
- v0.52.1 (latest)
- Published
- Mar 5, 2025
- Platform
- linux/amd64
- Imports
- 8 packages
- Last checked
- 3 days ago –
Tools for package owners.