package utils

import "github.com/google/cadvisor/container/docker/utils"

Index

Constants

const (
	DriverStatusPoolName      = "Pool Name"
	DriverStatusMetadataFile  = "Metadata file"
	DriverStatusParentDataset = "Parent Dataset"
)

Functions

func ContainerNameToId

func ContainerNameToId(name string) string

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 DriverStatusValue(status [][2]string, target string) string

func IsContainerName

func IsContainerName(name string) bool

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

docker.go

Version
v0.52.1 (latest)
Published
Mar 5, 2025
Platform
linux/amd64
Imports
8 packages
Last checked
3 days ago

Tools for package owners.