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