Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for VolumeIsAttached (0.23 sec)

  1. pkg/kubelet/volumemanager/volume_manager_fake.go

    	}
    	return inuse
    }
    
    // ReconcilerStatesHasBeenSynced is not implemented
    func (f *FakeVolumeManager) ReconcilerStatesHasBeenSynced() bool {
    	return true
    }
    
    // VolumeIsAttached is not implemented
    func (f *FakeVolumeManager) VolumeIsAttached(volumeName v1.UniqueVolumeName) bool {
    	return false
    }
    
    // MarkVolumesAsReportedInUse adds the given volumes to the reportedInUse map
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 17 16:53:28 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. pkg/kubelet/volumemanager/volume_manager.go

    	// volume list retrieved from actual state.
    	ReconcilerStatesHasBeenSynced() bool
    
    	// VolumeIsAttached returns true if the given volume is attached to this
    	// node.
    	VolumeIsAttached(volumeName v1.UniqueVolumeName) bool
    
    	// Marks the specified volume as having successfully been reported as "in
    	// use" in the nodes's volume status.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_test.go

    	attachedVolumes := []v1.UniqueVolumeName{}
    	err := retryWithExponentialBackOff(
    		time.Duration(50*time.Millisecond),
    		func() (bool, error) {
    			// Verify volumes detached
    			volumeAttached := volumeManager.VolumeIsAttached(volumeName)
    			return !volumeAttached, nil
    		},
    	)
    
    	if err != nil {
    		return fmt.Errorf(
    			"Expected volumes to be detached. But some volumes are still attached: %#v", attachedVolumes)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
Back to top