var emptyVolumeName …
func Test_MarkVolumeAsAttached_Positive_NewVolume(t *testing.T) { … }
func Test_MarkVolumeAsAttached_SuppliedVolumeName_Positive_NewVolume(t *testing.T) { … }
func Test_MarkVolumeAsAttached_Positive_ExistingVolume(t *testing.T) { … }
func Test_AddPodToVolume_Positive_ExistingVolumeNewNode(t *testing.T) { … }
func Test_AddPodToVolume_Positive_ExistingVolumeExistingNode(t *testing.T) { … }
func Test_AddTwoPodsToVolume_Positive(t *testing.T) { … }
func TestActualStateOfWorld_FoundDuringReconstruction(t *testing.T) { … }
func Test_MarkVolumeAsDetached_Negative_PodInVolume(t *testing.T) { … }
func getTestPod(podName, podUID, outerVolumeName, pdName string) *v1.Pod { … }
func Test_AddPodToVolume_Negative_VolumeDoesntExist(t *testing.T) { … }
func Test_MarkDeviceAsMounted_Positive_NewVolume(t *testing.T) { … }
func Test_AddPodToVolume_Positive_SELinux(t *testing.T) { … }
func Test_MarkDeviceAsMounted_Positive_SELinux(t *testing.T) { … }
func TestUncertainVolumeMounts(t *testing.T) { … }
func verifyVolumeExistsInGloballyMountedVolumes(
t *testing.T, expectedVolumeName v1.UniqueVolumeName, asw ActualStateOfWorld) { … }
func verifyVolumeExistsInGloballyMountedVolumesWithSELinux(
t *testing.T, expectedVolumeName v1.UniqueVolumeName, expectedSELinuxContext string, asw ActualStateOfWorld) { … }
func verifyVolumeDoesntExistInGloballyMountedVolumes(
t *testing.T, volumeToCheck v1.UniqueVolumeName, asw ActualStateOfWorld) { … }
func verifyVolumeExistsAsw(
t *testing.T,
expectedVolumeName v1.UniqueVolumeName,
shouldExist bool,
asw ActualStateOfWorld) { … }
func verifyVolumeExistsAswWithSELinux(
t *testing.T,
expectedVolumeName v1.UniqueVolumeName,
expectedSELinuxContext string,
asw ActualStateOfWorld) { … }
func verifyVolumeExistsInUnmountedVolumes(
t *testing.T, expectedVolumeName v1.UniqueVolumeName, asw ActualStateOfWorld) { … }
func verifyVolumeDoesntExistInUnmountedVolumes(
t *testing.T, volumeToCheck v1.UniqueVolumeName, asw ActualStateOfWorld) { … }
func verifyPodExistsInVolumeAsw(
t *testing.T,
expectedPodName volumetypes.UniquePodName,
expectedVolumeName v1.UniqueVolumeName,
expectedDevicePath string,
asw ActualStateOfWorld) { … }
func verifyPodExistsInVolumeAswWithSELinux(
t *testing.T,
expectedPodName volumetypes.UniquePodName,
expectedVolumeName v1.UniqueVolumeName,
expectedDevicePath string,
expectedSELinuxLabel string,
asw ActualStateOfWorld) { … }
func verifyVolumeMountedElsewhere(
t *testing.T,
expectedPodName volumetypes.UniquePodName,
expectedVolumeName v1.UniqueVolumeName,
expectedMountedElsewhere bool,
asw ActualStateOfWorld) { … }
func verifyPodDoesntExistInVolumeAsw(
t *testing.T,
podToCheck volumetypes.UniquePodName,
volumeToCheck v1.UniqueVolumeName,
expectVolumeToExist bool,
asw ActualStateOfWorld) { … }
func verifyPodExistsInVolumeSELinuxMismatch(
t *testing.T,
podToCheck volumetypes.UniquePodName,
volumeToCheck v1.UniqueVolumeName,
unexpectedSELinuxLabel string,
asw ActualStateOfWorld) { … }
func verifyVolumeExistsWithSpecNameInVolumeAsw(
t *testing.T,
expectedPodName volumetypes.UniquePodName,
expectedVolumeName string,
asw ActualStateOfWorld) { … }
func verifyVolumeDoesntExistWithSpecNameInVolumeAsw(
t *testing.T,
podToCheck volumetypes.UniquePodName,
volumeToCheck string,
asw ActualStateOfWorld) { … }
func verifyVolumeSpecNameInVolumeAsw(
t *testing.T,
podToCheck volumetypes.UniquePodName,
volumeSpecs []*volume.Spec,
asw ActualStateOfWorld) { … }
func verifyVolumeFoundInReconstruction(t *testing.T, podToCheck volumetypes.UniquePodName, volumeToCheck v1.UniqueVolumeName, asw ActualStateOfWorld) { … }
func verifyVolumeAttachability(t *testing.T, volumeToCheck v1.UniqueVolumeName, asw ActualStateOfWorld, expected volumeAttachability) { … }