Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for AppendSpec (0.63 sec)

  1. pkg/volume/flexvolume/plugin.go

    }
    
    // GetVolumeName is part of the volume.VolumePlugin interface.
    func (plugin *flexVolumePlugin) GetVolumeName(spec *volume.Spec) (string, error) {
    	call := plugin.NewDriverCall(getVolumeNameCmd)
    	call.AppendSpec(spec, plugin.host, nil)
    
    	_, err := call.Run()
    	if isCmdNotSupportedErr(err) {
    		return (*pluginDefaults)(plugin).GetVolumeName(spec)
    	} else if err != nil {
    		return "", err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top