utils

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func ContainerNameToId

func ContainerNameToId(name string) string

Returns the ID from the full container name.

func DockerMetadataDevice

func DockerMetadataDevice(info dockertypes.Info) (string, error)

func DockerThinPoolName

func DockerThinPoolName(info dockertypes.Info) (string, error)

func DockerZfsFilesystem

func DockerZfsFilesystem(info dockertypes.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 []dockertypes.ImageSummary) ([]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