Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultSpecDirs = []string{"/etc/cdi", "/var/run/cdi"}
DefaultSpecDirs are the host paths containerd scans when CDI is enabled.
Functions ¶
func ExtraSpecDirsFromConfigD ¶
ExtraSpecDirsFromConfigD reads extra cdi_spec_dirs from generated containerd config.d files.
func ListAvailable ¶
ListAvailable returns fully-qualified CDI device names for the edgelet engine. Docker, podman, and other engines return an empty list.
func ListFromDirs ¶
ListFromDirs returns unique sorted fully-qualified CDI device names from spec dirs. Missing directories and unreadable files are skipped.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.