Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RevertAssumedPodVolumes (0.34 sec)

  1. pkg/scheduler/framework/plugins/volumebinding/binder.go

    	//
    	// This function is called serially.
    	AssumePodVolumes(logger klog.Logger, assumedPod *v1.Pod, nodeName string, podVolumes *PodVolumes) (allFullyBound bool, err error)
    
    	// RevertAssumedPodVolumes will revert assumed PV and PVC cache.
    	RevertAssumedPodVolumes(podVolumes *PodVolumes)
    
    	// BindPodVolumes will:
    	// 1. Initiate the volume binding by making the API call to prebind the PV
    	// to its matching PVC.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    	if allbound || err != nil {
    		t.Errorf("No volumes are assumed")
    	}
    	testEnv.validateAssume(t, pod, expectedBindings, expectedProvisionings)
    
    	testEnv.binder.RevertAssumedPodVolumes(podVolumes)
    	testEnv.validateCacheRestored(t, pod, bindings, provisionedPVCs)
    }
    
    func TestBindAPIUpdate(t *testing.T) {
    	type scenarioType struct {
    		// Inputs
    		bindings  []*BindingInfo
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
Back to top