Documentation
¶
Index ¶
Constants ¶
View Source
const (
// default local volume type, aka a directory
DirectoryLocalVolumeType localVolumeType = "dir"
// like DirectoryLocalVolumeType but it's a symbolic link to directory
DirectoryLinkLocalVolumeType localVolumeType = "dir-link"
// like DirectoryLocalVolumeType but bind mounted
DirectoryBindMountedLocalVolumeType localVolumeType = "dir-bindmounted"
// 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.
DirectoryLinkBindMountedLocalVolumeType localVolumeType = "dir-link-bindmounted"
// creates a tmpfs and mounts it
TmpfsLocalVolumeType localVolumeType = "tmpfs"
// tests based on local ssd at /mnt/disks/by-uuid/
GCELocalSSDVolumeType localVolumeType = "gce-localssd-scsi-fs"
// Creates a local file, formats it, and maps it as a block device.
BlockLocalVolumeType localVolumeType = "block"
// Creates a local file, formats it, and mounts it to use as local volume.
BlockFsLocalVolumeType localVolumeType = "blockfs"
)
View Source
const (
MinNodes = 2
)
Variables ¶
This section is empty.
Functions ¶
func DeleteCinderVolume ¶
func DeleteCinderVolume(name string) error
func SkipUnlessLocalSSDExists ¶ added in v1.9.0
func SkipUnlessLocalSSDExists(ssdInterface, filesystemType string, node *v1.Node)
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
Types ¶
This section is empty.
Source Files
¶
- csi_objects.go
- csi_volumes.go
- empty_dir_wrapper.go
- ephemeral_volume.go
- flexvolume.go
- generic_persistent_volume-disruptive.go
- mounted_volume_resize.go
- nfs_persistent_volume-disruptive.go
- pd.go
- persistent_volumes-gce.go
- persistent_volumes-local.go
- persistent_volumes.go
- pv_protection.go
- pvc_protection.go
- regional_pd.go
- subpath.go
- volume_expand.go
- volume_io.go
- volume_metrics.go
- volume_provisioning.go
- volumes.go
Click to show internal directories.
Click to hide internal directories.