kubernetes/pkg/volume/plugins_test.go

const testPluginName

func TestSpecSourceConverters(t *testing.T) {}

type testPlugins

func (plugin *testPlugins) Init(host VolumeHost) error {}

func (plugin *testPlugins) GetPluginName() string {}

func (plugin *testPlugins) GetVolumeName(spec *Spec) (string, error) {}

func (plugin *testPlugins) CanSupport(spec *Spec) bool {}

func (plugin *testPlugins) RequiresRemount(spec *Spec) bool {}

func (plugin *testPlugins) SupportsMountOption() bool {}

func (plugin *testPlugins) SupportsSELinuxContextMount(spec *Spec) (bool, error) {}

func (plugin *testPlugins) NewMounter(spec *Spec, podRef *v1.Pod) (Mounter, error) {}

func (plugin *testPlugins) NewUnmounter(name string, podUID types.UID) (Unmounter, error) {}

func (plugin *testPlugins) ConstructVolumeSpec(volumeName, mountPath string) (ReconstructedVolume, error) {}

func newTestPlugin() []VolumePlugin {}

func TestVolumePluginMgrFunc(t *testing.T) {}

func Test_ValidatePodTemplate(t *testing.T) {}