github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/iec/v1/cloudvolumes/urls.go (about)

     1  package cloudvolumes
     2  
     3  import (
     4  	"github.com/huaweicloud/golangsdk"
     5  )
     6  
     7  func rootURL(c *golangsdk.ServiceClient) string {
     8  	return c.ServiceURL("cloudvolumes")
     9  }
    10  
    11  func GetURL(c *golangsdk.ServiceClient, CloudVolumeID string) string {
    12  	return c.ServiceURL("cloudvolumes", CloudVolumeID)
    13  }
    14  
    15  func ListVolumeTypeURL(c *golangsdk.ServiceClient) string {
    16  	return c.ServiceURL("cloudvolumes", "volume-types")
    17  }