github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/dns/v2/ptrrecords/urls.go (about)

     1  package ptrrecords
     2  
     3  import "github.com/huaweicloud/golangsdk"
     4  
     5  func baseURL(c *golangsdk.ServiceClient, region string, floatingip_id string) string {
     6  	return c.ServiceURL("reverse/floatingips", region+":"+floatingip_id)
     7  }
     8  
     9  func resourceURL(c *golangsdk.ServiceClient, id string) string {
    10  	return c.ServiceURL("reverse/floatingips", id)
    11  }