github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/compute/v2/extensions/defsecrules/urls.go (about)

     1  package defsecrules
     2  
     3  import "github.com/huaweicloud/golangsdk"
     4  
     5  const rulepath = "os-security-group-default-rules"
     6  
     7  func resourceURL(c *golangsdk.ServiceClient, id string) string {
     8  	return c.ServiceURL(rulepath, id)
     9  }
    10  
    11  func rootURL(c *golangsdk.ServiceClient) string {
    12  	return c.ServiceURL(rulepath)
    13  }