Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for expectedPVCs (0.2 sec)

  1. pkg/controller/volume/ephemeral/controller_test.go

    		pvcs            []*v1.PersistentVolumeClaim
    		pods            []*v1.Pod
    		expectedPVCs    []v1.PersistentVolumeClaim
    		expectedError   bool
    		expectedMetrics expectedMetrics
    	}{
    		{
    			name:            "create",
    			pods:            []*v1.Pod{testPodWithEphemeral},
    			podKey:          podKey(testPodWithEphemeral),
    			expectedPVCs:    []v1.PersistentVolumeClaim{*testPodEphemeralClaim},
    			expectedMetrics: expectedMetrics{1, 0},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    	}
    }
    
    func (env *testEnv) validateProvision(
    	t *testing.T,
    	pod *v1.Pod,
    	expectedPVCs []*v1.PersistentVolumeClaim,
    	expectedAPIPVCs []*v1.PersistentVolumeClaim) {
    
    	// Check pvc cache
    	pvcCache := env.internalBinder.pvcCache
    	for _, pvc := range expectedPVCs {
    		cachedPVC, err := pvcCache.GetPVC(getPVCName(pvc))
    		if err != nil {
    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