type expansionStatus … const expansionSuccess … const expansionFailedOnControllerWithInfeasibleError … const expansionFailedOnControllerWithFinalError … const expansionFailedOnNodeWithInfeasibleError … const expansionFailedOnNodeWithFinalError … const expansionFailedMissingStagingPath … const resizePollInterval … var maxControllerSizeLimit … var maxNodeExpansionLimit … type recoveryTest … var _ … func validateRecoveryBehaviour(ctx context.Context, pvc *v1.PersistentVolumeClaim, m *mockDriverSetup, test recoveryTest) { … } func validateExpansionSuccess(ctx context.Context, pvc *v1.PersistentVolumeClaim, m *mockDriverSetup, test recoveryTest, expectedAllocatedSize string) { … } func waitForResizeStatus(ctx context.Context, pvc *v1.PersistentVolumeClaim, c clientset.Interface, expectedState v1.ClaimResourceStatus) error { … } func waitForResizeToFailOnNode(ctx context.Context, pvc *v1.PersistentVolumeClaim, c clientset.Interface) error { … } func waitForAllocatedResource(ctx context.Context, pvc *v1.PersistentVolumeClaim, m *mockDriverSetup, expectedSize string) error { … } func createExpansionHook(expectedExpansionStatus expansionStatus) *drivers.Hooks { … }