utils

package
v0.51.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func ContainerNameToId added in v0.48.0

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 added in v0.48.0

func IsContainerName(name string) bool

IsContainerName returns true if the cgroup with associated name corresponds to a container.

func SummariesToImages added in v0.48.0

func SummariesToImages(summaries []dockerimage.Summary) ([]v1.DockerImage, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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