kubernetes/pkg/kubelet/kubelet_volumes_test.go

func TestListVolumesForPod(t *testing.T) {}

func TestPodVolumesExist(t *testing.T) {}

func TestPodVolumeDeadlineAttachAndMount(t *testing.T) {}

func TestPodVolumeDeadlineUnmount(t *testing.T) {}

func TestVolumeAttachAndMountControllerDisabled(t *testing.T) {}

func TestVolumeUnmountAndDetachControllerDisabled(t *testing.T) {}

func TestVolumeAttachAndMountControllerEnabled(t *testing.T) {}

func TestVolumeUnmountAndDetachControllerEnabled(t *testing.T) {}

type stubVolume

func (f *stubVolume) GetPath() string {}

func (f *stubVolume) GetAttributes() volume.Attributes {}

func (f *stubVolume) SetUp(mounterArgs volume.MounterArgs) error {}

func (f *stubVolume) SetUpAt(dir string, mounterArgs volume.MounterArgs) error {}

type stubBlockVolume

func (f *stubBlockVolume) GetGlobalMapPath(spec *volume.Spec) (string, error) {}

func (f *stubBlockVolume) GetPodDeviceMapPath() (string, string) {}

func (f *stubBlockVolume) SetUpDevice() (string, error) {}

func (f stubBlockVolume) MapPodDevice() error {}

func (f *stubBlockVolume) TearDownDevice(mapPath string, devicePath string) error {}

func (f *stubBlockVolume) UnmapPodDevice() error {}

func (f *stubBlockVolume) SupportsMetrics() bool {}

func (f *stubBlockVolume) GetMetrics() (*volume.Metrics, error) {}