Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetVolumesToAttach (0.3 sec)

  1. pkg/controller/volume/attachdetach/metrics/metrics.go

    		}
    	}
    	return nodeVolumeMap
    }
    
    func (collector *attachDetachStateCollector) getTotalVolumesCount() volumeCount {
    	stateVolumeMap := make(volumeCount)
    	for _, v := range collector.dsw.GetVolumesToAttach() {
    		if plugin, err := collector.volumePluginMgr.FindPluginBySpec(v.VolumeSpec); err == nil {
    			pluginName := pluginNameNotAvailable
    			if plugin != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 10 06:30:05 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  2. pkg/controller/volume/attachdetach/populator/desired_state_of_world_populator.go

    		dswp.desiredStateOfWorld.DeletePod(dswPodUID, dswPodToAdd.VolumeName, dswPodToAdd.NodeName)
    	}
    
    	// check if the existing volumes changes its attachability
    	for _, volumeToAttach := range dswp.desiredStateOfWorld.GetVolumesToAttach() {
    		// IsAttachableVolume() will result in a fetch of CSIDriver object if the volume plugin type is CSI.
    		// The result is returned from CSIDriverLister which is from local cache. So this is not an expensive call.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 7.7K bytes
    - Viewed (0)
Back to top