Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SetNodeStatusUpdateNeeded (0.19 sec)

  1. pkg/controller/volume/attachdetach/cache/actual_state_of_world.go

    	// SetNodeStatusUpdateNeeded sets statusUpdateNeeded for the specified
    	// node to true indicating the AttachedVolume field in the Node's Status
    	// object needs to be updated by the node updater again.
    	// If the specified node does not exist in the nodesToUpdateStatusFor list,
    	// log the error and return
    	SetNodeStatusUpdateNeeded(logger klog.Logger, nodeName types.NodeName)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 07:35:17 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  2. pkg/controller/volume/attachdetach/cache/actual_state_of_world_test.go

    }
    
    // Test_SetNodeStatusUpdateNeededError expects the map nodesToUpdateStatusFor
    // to be empty if the SetNodeStatusUpdateNeeded is called on a node that
    // does not exist in the actual state of the world
    func Test_SetNodeStatusUpdateNeededError(t *testing.T) {
    	// Arrange
    	volumePluginMgr, _ := volumetesting.GetTestVolumePluginMgr(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 07:35:17 UTC 2024
    - 66.1K bytes
    - Viewed (0)
  3. pkg/controller/volume/attachdetach/attach_detach_controller.go

    	// This is to workaround the case when a node add causes to wipe out
    	// the attached volumes field. This function ensures that we sync with
    	// the actual status.
    	adc.actualStateOfWorld.SetNodeStatusUpdateNeeded(logger, nodeName)
    }
    
    func (adc *attachDetachController) nodeUpdate(logger klog.Logger, oldObj, newObj interface{}) {
    	node, ok := newObj.(*v1.Node)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.6K bytes
    - Viewed (0)
Back to top