kubernetes/pkg/volume/secret/secret_test.go

func TestMakePayload(t *testing.T) {}

func newTestHost(t *testing.T, clientset clientset.Interface) (string, volume.VolumeHost) {}

func TestCanSupport(t *testing.T) {}

func TestPlugin(t *testing.T) {}

func TestInvalidPathSecret(t *testing.T) {}

// Test the case where the plugin's ready file exists, but the volume dir is not a
// mountpoint, which is the state the system will be in after reboot.  The dir
// should be mounter and the secret data written to it.
func TestPluginReboot(t *testing.T) {}

func TestPluginOptional(t *testing.T) {}

func TestPluginOptionalKeys(t *testing.T) {}

func volumeSpec(volumeName, secretName string, defaultMode int32) *v1.Volume {}

func secret(namespace, name string) v1.Secret {}

func doTestSecretDataInVolume(volumePath string, secret v1.Secret, t *testing.T) {}

func doTestCleanAndTeardown(plugin volume.VolumePlugin, podUID types.UID, testVolumeName, volumePath string, t *testing.T) {}

func hasPathSuffix(s, suffix string) bool {}