Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for testSyncVolume (0.15 sec)

  1. pkg/controller/volume/persistentvolume/delete_test.go

    			errors:          noerrors,
    			// Inject deleter into the controller and call syncVolume. The
    			// deleter simulates one delete() call that succeeds.
    			test: wrapTestWithReclaimCalls(operationDelete, []error{nil}, testSyncVolume),
    		},
    		{
    			// delete volume bound by user
    			name:            "8-2 - successful delete with prebound volume",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. pkg/controller/volume/persistentvolume/recycle_test.go

    			errors:          noerrors,
    			// Inject recycler into the controller and call syncVolume. The
    			// recycler simulates one recycle() call that succeeds.
    			test: wrapTestWithReclaimCalls(operationRecycle, []error{nil}, testSyncVolume),
    		},
    		{
    			// recycle volume bound by user
    			name:            "6-2 - successful recycle with prebound volume",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  3. pkg/controller/volume/persistentvolume/binder_test.go

    			initialClaims:   noclaims,
    			expectedClaims:  noclaims,
    			expectedEvents:  noevents,
    			errors:          noerrors,
    			test:            testSyncVolume,
    		},
    		{
    			// syncVolume with prebound pending volume. Check it's marked as
    			// Available.
    			name:            "4-2 - pending prebound volume",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 65.8K bytes
    - Viewed (0)
  4. pkg/controller/volume/persistentvolume/framework_test.go

    //   - testSyncClaim - calls syncClaim on the first claim in initialClaims.
    //   - testSyncClaimError - calls syncClaim on the first claim in initialClaims
    //     and expects an error to be returned.
    //   - testSyncVolume - calls syncVolume on the first volume in initialVolumes.
    //   - any custom function for specialized tests.
    //
    // The test then contains list of volumes/claims that are expected at the end
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 09:54:00 UTC 2023
    - 38.3K bytes
    - Viewed (0)
Back to top