kubernetes/pkg/volume/projected/projected_test.go

func TestCollectDataWithSecret(t *testing.T) {}

func TestCollectDataWithConfigMap(t *testing.T) {}

func TestCollectDataWithDownwardAPI(t *testing.T) {}

func TestCollectDataWithServiceAccountToken(t *testing.T) {}

func TestCollectDataWithClusterTrustBundle(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 TestInvalidPathProjected(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 makeVolumeSpec(volumeName, name string, defaultMode int32) *v1.Volume {}

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

func makeProjection(name string, defaultMode *int32, kind string) *v1.ProjectedVolumeSource {}

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 mustMakeRoot(t *testing.T, cn string) string {}