Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ActualStateOfworld (0.22 sec)

  1. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go

    	dsw cache.DesiredStateOfWorld, asw cache.ActualStateOfWorld, newSize resource.Quantity) []v1.UniqueVolumeName {
    	dswp.ReprocessPod(uniquePodName)
    	dswp.findAndAddNewPods()
    	return getResizeRequiredVolumes(dsw, asw, newSize)
    }
    
    func getResizeRequiredVolumes(dsw cache.DesiredStateOfWorld, asw cache.ActualStateOfWorld, newSize resource.Quantity) []v1.UniqueVolumeName {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  2. pkg/kubelet/volumemanager/reconciler/reconciler_test.go

    						}
    					}
    				}
    			})
    		}
    	}
    }
    
    func waitForUncertainGlobalMount(t *testing.T, volumeName v1.UniqueVolumeName, asw cache.ActualStateOfWorld) {
    	// check if volume is globally mounted in uncertain state
    	err := retryWithExponentialBackOff(
    		testOperationBackOffDuration,
    		func() (bool, error) {
    			unmountedVolumes := asw.GetUnmountedVolumes()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  3. pkg/controller/volume/attachdetach/reconciler/reconciler_test.go

    			expectedDetachCallCount)
    	}
    }
    
    func waitForAttachedToNodesCount(
    	t *testing.T,
    	expectedNodeCount int,
    	volumeName v1.UniqueVolumeName,
    	asw cache.ActualStateOfWorld) {
    
    	err := retryWithExponentialBackOff(
    		time.Duration(5*time.Millisecond),
    		func() (bool, error) {
    			count := len(asw.GetNodesForAttachedVolume(volumeName))
    			if count == expectedNodeCount {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:14 UTC 2024
    - 72.8K bytes
    - Viewed (0)
  4. pkg/controller/volume/attachdetach/cache/actual_state_of_world_test.go

    func Test_updateNodeStatusUpdateNeeded(t *testing.T) {
    	// Arrange
    	volumePluginMgr, _ := volumetesting.GetTestVolumePluginMgr(t)
    	asw := &actualStateOfWorld{
    		attachedVolumes:        make(map[v1.UniqueVolumeName]attachedVolume),
    		nodesToUpdateStatusFor: make(map[types.NodeName]nodeToUpdateStatusFor),
    		volumePluginMgr:        volumePluginMgr,
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 07:35:17 UTC 2024
    - 66.1K bytes
    - Viewed (0)
Back to top