github.com/opentelekomcloud/gophertelekomcloud@v0.9.3/openstack/kms/v1/grants/urls.go (about) 1 package grants 2 3 import golangsdk "github.com/opentelekomcloud/gophertelekomcloud" 4 5 const ( 6 resourcePath = "kms" 7 ) 8 9 func createURL(c *golangsdk.ServiceClient) string { 10 return c.ServiceURL(resourcePath, "create-grant") 11 } 12 13 func deleteURL(c *golangsdk.ServiceClient) string { 14 return c.ServiceURL(resourcePath, "revoke-grant") 15 } 16 17 func listURL(c *golangsdk.ServiceClient) string { 18 return c.ServiceURL(resourcePath, "list-grants") 19 }