Documentation ¶
Index ¶
- type PersistentVolumeUpgradeTest
- func (PersistentVolumeUpgradeTest) Name() string
- func (t *PersistentVolumeUpgradeTest) Setup(f *framework.Framework)
- func (t *PersistentVolumeUpgradeTest) Teardown(f *framework.Framework)
- func (t *PersistentVolumeUpgradeTest) Test(f *framework.Framework, done <-chan struct{}, upgrade upgrades.UpgradeType)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PersistentVolumeUpgradeTest ¶
type PersistentVolumeUpgradeTest struct {
// contains filtered or unexported fields
}
PersistentVolumeUpgradeTest test that a pv is available before and after a cluster upgrade.
func (PersistentVolumeUpgradeTest) Name ¶
func (PersistentVolumeUpgradeTest) Name() string
func (*PersistentVolumeUpgradeTest) Setup ¶
func (t *PersistentVolumeUpgradeTest) Setup(f *framework.Framework)
Setup creates a pv and then verifies that a pod can consume it. The pod writes data to the volume.
func (*PersistentVolumeUpgradeTest) Teardown ¶
func (t *PersistentVolumeUpgradeTest) Teardown(f *framework.Framework)
Teardown cleans up any remaining resources.
func (*PersistentVolumeUpgradeTest) Test ¶
func (t *PersistentVolumeUpgradeTest) Test(f *framework.Framework, done <-chan struct{}, upgrade upgrades.UpgradeType)
Test waits for the upgrade to complete, and then verifies that a pod can still consume the pv and that the volume data persists.
Click to show internal directories.
Click to hide internal directories.