Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 34 of 34 for GetVolumeName (0.14 sec)

  1. pkg/controller/volume/persistentvolume/framework_test.go

    func (plugin *mockVolumePlugin) Init(host volume.VolumeHost) error {
    	return nil
    }
    
    func (plugin *mockVolumePlugin) GetPluginName() string {
    	return mockPluginName
    }
    
    func (plugin *mockVolumePlugin) GetVolumeName(spec *volume.Spec) (string, error) {
    	return spec.Name(), nil
    }
    
    func (plugin *mockVolumePlugin) CanSupport(spec *volume.Spec) bool {
    	return true
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 09:54:00 UTC 2023
    - 38.3K bytes
    - Viewed (0)
  2. pkg/volume/util/operationexecutor/operation_generator.go

    		}
    
    		volumeName, err =
    			attachableVolumePlugin.GetVolumeName(volumeToDetach.VolumeSpec)
    		if err != nil {
    			return volumetypes.GeneratedOperations{}, volumeToDetach.GenerateErrorDetailed("DetachVolume.GetVolumeName failed", err)
    		}
    	} else {
    		// Get attacher plugin and the volumeName by splitting the volume unique name in case
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
  3. pkg/volume/csi/csi_attacher_test.go

    			_, err := csiAttacher.k8s.StorageV1().VolumeAttachments().Create(context.TODO(), attachment, metav1.CreateOptions{})
    			if err != nil {
    				t.Fatalf("failed to attach: %v", err)
    			}
    			volumeName, err := plug.GetVolumeName(spec)
    			if err != nil {
    				t.Errorf("test case %s failed: %v", tc.name, err)
    			}
    
    			err = csiAttacher.Detach(volumeName, types.NodeName(nodeName))
    			if tc.shouldFail && err == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  4. CHANGELOG/CHANGELOG-1.6.md

    * Fix the bug where container cannot run as root when SecurityContext.RunAsNonRoot is false. ([#47009](https://github.com/kubernetes/kubernetes/pull/47009), [@yujuhong](https://github.com/yujuhong))
    * Remove broken getvolumename and pass PV or volume name to attach call ([#46249](https://github.com/kubernetes/kubernetes/pull/46249), [@chakri-nelluri](https://github.com/chakri-nelluri))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 304K bytes
    - Viewed (0)
Back to top