github.com/gophercloud/gophercloud@v1.11.0/openstack/dns/v2/transfer/accept/urls.go (about)

     1  package accept
     2  
     3  import "github.com/gophercloud/gophercloud"
     4  
     5  const (
     6  	rootPath     = "zones"
     7  	tasksPath    = "tasks"
     8  	resourcePath = "transfer_accepts"
     9  )
    10  
    11  func baseURL(c *gophercloud.ServiceClient) string {
    12  	return c.ServiceURL(rootPath, tasksPath, resourcePath)
    13  }
    14  
    15  func resourceURL(c *gophercloud.ServiceClient, transferAcceptID string) string {
    16  	return c.ServiceURL(rootPath, tasksPath, resourcePath, transferAcceptID)
    17  }