kubernetes/test/e2e/upgrades/storage/persistent_volumes.go

type PersistentVolumeUpgradeTest

// Name returns the tracking name of the test.
func (PersistentVolumeUpgradeTest) Name() string {}

const pvTestFile

const pvTestData

const pvWriteCmd

const pvReadCmd

// Setup creates a pv and then verifies that a pod can consume it.  The pod writes data to the volume.
func (t *PersistentVolumeUpgradeTest) Setup(ctx context.Context, f *framework.Framework) {}

// Test waits for the upgrade to complete, and then verifies that a pod can still consume the pv
// and that the volume data persists.
func (t *PersistentVolumeUpgradeTest) Test(ctx context.Context, f *framework.Framework, done <-chan struct{}

// Teardown cleans up any remaining resources.
func (t *PersistentVolumeUpgradeTest) Teardown(ctx context.Context, f *framework.Framework) {}

// testPod creates a pod that consumes a pv and prints it out. The output is then verified.
func (t *PersistentVolumeUpgradeTest) testPod(ctx context.Context, f *framework.Framework, cmd string) {}