Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewDriverClient (0.6 sec)

  1. pkg/volume/portworx/portworx.go

    	return utilfeature.DefaultFeatureGate.Enabled(features.CSIMigrationPortworx)
    }
    
    func (plugin *portworxVolumePlugin) Init(host volume.VolumeHost) error {
    	client, err := volumeclient.NewDriverClient(
    		fmt.Sprintf("http://%s", net.JoinHostPort(host.GetHostName(), strconv.Itoa(osdMgmtDefaultPort))),
    		pxdDriverName, osdDriverVersion, pxDriverName)
    	if err != nil {
    		return err
    	}
    
    	plugin.host = host
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. pkg/volume/portworx/portworx_util.go

    		return false, err
    	}
    
    	return true, nil
    }
    
    func createDriverClient(hostname string, port int32) (*osdclient.Client, error) {
    	client, err := volumeclient.NewDriverClient(fmt.Sprintf("http://%s", net.JoinHostPort(hostname, strconv.Itoa(int(port)))),
    		pxdDriverName, osdDriverVersion, pxDriverName)
    	if err != nil {
    		return nil, err
    	}
    
    	isValid, err := isClientValid(client)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 12.2K bytes
    - Viewed (0)
Back to top