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

package storage

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

This test is volumes test for configmap.

Index

Constants

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 serving as the backing for block device., formats it,
	// and mounts it to use as FS mode local volume.
	BlockFsWithFormatLocalVolumeType localVolumeType = "blockfswithformat"
	// Creates a local file serving as the backing for block device. do not format it manually,
	// and mounts it to use as FS mode local volume.
	BlockFsWithoutFormatLocalVolumeType localVolumeType = "blockfswithoutformat"
)
const (
	MinNodes = 2
)

Variables

var (
	BusyBoxImage = imageutils.GetE2EImage(imageutils.BusyBox)
)

Functions

func SkipUnlessLocalSSDExists

func SkipUnlessLocalSSDExists(config *localTestConfig, 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_volumes.go detach_mounted.go empty_dir_wrapper.go ephemeral_volume.go flexvolume.go flexvolume_mounted_volume_resize.go flexvolume_online_resize.go generic_persistent_volume-disruptive.go in_tree_volumes.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_limits.go volume_metrics.go volume_provisioning.go volumes.go

Directories

PathSynopsis
test/e2e/storage/drivers
test/e2e/storage/testpatterns
test/e2e/storage/testsuites
test/e2e/storage/utils
test/e2e/storage/vsphere
Version
v1.13.5
Published
Mar 22, 2019
Platform
js/wasm
Imports
67 packages
Last checked
47 seconds ago

Tools for package owners.