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

     1  package persistentvolumeclaims
     2  
     3  import "github.com/huaweicloud/golangsdk"
     4  
     5  const rootPath = "namespaces"
     6  
     7  func rootURL(client *golangsdk.ServiceClient, ns string) string {
     8  	return client.ServiceURL(rootPath, ns, "extended-persistentvolumeclaims")
     9  }
    10  
    11  func resourceURL(client *golangsdk.ServiceClient, ns, name string) string {
    12  	return client.ServiceURL(rootPath, ns, "persistentvolumeclaims", name)
    13  }