github.com/chnsz/golangsdk@v0.0.0-20240506093406-85a3fbfa605b/openstack/waf/v1/webtamperprotection_rules/urls.go (about)

     1  package webtamperprotection_rules
     2  
     3  import "github.com/chnsz/golangsdk"
     4  
     5  func rootURL(c *golangsdk.ServiceClient, policyID string) string {
     6  	return c.ServiceURL("policy", policyID, "antitamper")
     7  }
     8  
     9  func resourceURL(c *golangsdk.ServiceClient, policyID, id string) string {
    10  	return c.ServiceURL("policy", policyID, "antitamper", id)
    11  }