kubernetesk8s.io/kubernetes/test/e2e/storage Index | Files | Directories

package storage

import "k8s.io/kubernetes/test/e2e/storage"

Index

Constants

const (
	// default local volume type, aka a directory
	DirectoryLocalVolumeType localVolumeType = "dir"
	// 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"
)
const (
	MinNodes = 2
)

Functions

func DeleteCinderVolume

func DeleteCinderVolume(name string) error

func SkipUnlessLocalSSDExists

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

Source Files

csi_hostpath.go csi_volumes.go empty_dir_wrapper.go ephemeral_volume.go flexvolume.go mounted_volume_resize.go pd.go persistent_volumes-disruptive.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

Directories

PathSynopsis
test/e2e/storage/utils
test/e2e/storage/vsphere
Version
v1.10.7-beta.0
Published
Jul 26, 2018
Platform
js/wasm
Imports
60 packages
Last checked
6 seconds ago

Tools for package owners.