github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/identity/v3/services/urls.go (about) 1 package services 2 3 import "github.com/huaweicloud/golangsdk" 4 5 func listURL(client *golangsdk.ServiceClient) string { 6 return client.ServiceURL("services") 7 } 8 9 func createURL(client *golangsdk.ServiceClient) string { 10 return client.ServiceURL("services") 11 } 12 13 func serviceURL(client *golangsdk.ServiceClient, serviceID string) string { 14 return client.ServiceURL("services", serviceID) 15 } 16 17 func updateURL(client *golangsdk.ServiceClient, serviceID string) string { 18 return client.ServiceURL("services", serviceID) 19 }