github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/networking/v1/flowlogs/urls.go (about) 1 package flowlogs 2 3 import "github.com/huaweicloud/golangsdk" 4 5 func CreateURL(c *golangsdk.ServiceClient) string { 6 return c.ServiceURL(c.ProjectID, "fl/flow_logs") 7 } 8 9 func listURL(c *golangsdk.ServiceClient) string { 10 return c.ServiceURL(c.ProjectID, "fl/flow_logs") 11 } 12 13 func GetURL(c *golangsdk.ServiceClient, id string) string { 14 return c.ServiceURL(c.ProjectID, "fl/flow_logs", id) 15 } 16 17 func UpdateURL(c *golangsdk.ServiceClient, id string) string { 18 return c.ServiceURL(c.ProjectID, "fl/flow_logs", id) 19 } 20 21 func DeleteURL(c *golangsdk.ServiceClient, id string) string { 22 return c.ServiceURL(c.ProjectID, "fl/flow_logs", id) 23 }