Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for waitForVolumeAttachment (0.35 sec)

  1. pkg/volume/csi/csi_attacher.go

    	}
    
    	attachID := getAttachmentName(source.VolumeHandle, source.Driver, string(c.plugin.host.GetNodeName()))
    
    	return c.waitForVolumeAttachment(source.VolumeHandle, attachID, timeout)
    }
    
    func (c *csiAttacher) waitForVolumeAttachment(volumeHandle, attachID string, timeout time.Duration) (string, error) {
    	klog.V(4).Info(log("probing for updates from CSI driver for [attachment.ID=%v]", attachID))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 03 07:38:14 UTC 2023
    - 25.9K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_attacher_test.go

    	// In order to detect if the volume plugin would skip WaitForAttach for non-attachable drivers,
    	// we do not instantiate any VolumeAttachment. So if the plugin does not skip attach,  WaitForVolumeAttachment
    	// will return an error that volume attachment was not found.
    	tests := []struct {
    		name         string
    		driver       string
    		expectError  bool
    		watchTimeout time.Duration
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
Back to top