github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/identity/v3.0/acl/urls.go (about) 1 package acl 2 3 import "github.com/huaweicloud/golangsdk" 4 5 const rootPath = "OS-SECURITYPOLICY" 6 7 func consoleACLPolicyURL(client *golangsdk.ServiceClient, domainID string) string { 8 return client.ServiceURL(rootPath, "domains", domainID, "console-acl-policy") 9 } 10 11 func apiACLPolicyURL(client *golangsdk.ServiceClient, domainID string) string { 12 return client.ServiceURL(rootPath, "domains", domainID, "api-acl-policy") 13 }