github.com/gophercloud/gophercloud@v1.11.0/openstack/workflow/v2/workflows/urls.go (about) 1 package workflows 2 3 import ( 4 "github.com/gophercloud/gophercloud" 5 ) 6 7 func createURL(client *gophercloud.ServiceClient) string { 8 return client.ServiceURL("workflows") 9 } 10 11 func deleteURL(client *gophercloud.ServiceClient, id string) string { 12 return client.ServiceURL("workflows", id) 13 } 14 15 func getURL(client *gophercloud.ServiceClient, id string) string { 16 return client.ServiceURL("workflows", id) 17 } 18 19 func listURL(client *gophercloud.ServiceClient) string { 20 return client.ServiceURL("workflows") 21 }