package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
SkipUnlessLocalSSDExists takes in an ssdInterface (scsi/nvme) and a filesystemType (fs/block) and skips if a disk of that type does not exist on the node.
# Constants
BlockFsWithFormatLocalVolumeType creates a local file serving as the backing for block device, formats it, and mounts it to use as FS mode local volume.
BlockFsWithoutFormatLocalVolumeType creates a local file serving as the backing for block device, does not format it manually, and mounts it to use as FS mode local volume.
BlockLocalVolumeType creates a local file, formats it, and maps it as a block device.
DirectoryBindMountedLocalVolumeType is like DirectoryLocalVolumeType but bind mounted.
DirectoryLinkBindMountedLocalVolumeType is like DirectoryLocalVolumeType, but it's a symbolic link to self bind mounted directory Note that bind mounting at symbolic link actually mounts at directory it links to.
DirectoryLinkLocalVolumeType is like DirectoryLocalVolumeType, but it's a symbolic link to directory.
DirectoryLocalVolumeType is the default local volume type, aka a directory.
GCELocalSSDVolumeType tests based on local ssd at /mnt/disks/by-uuid/.
TmpfsLocalVolumeType creates a tmpfs and mounts it.