github.com/chnsz/golangsdk@v0.0.0-20240506093406-85a3fbfa605b/openstack/er/v3/routes/urls.go (about)

     1  package routes
     2  
     3  import "github.com/chnsz/golangsdk"
     4  
     5  func rootURL(client *golangsdk.ServiceClient, routeTableId string) string {
     6  	return client.ServiceURL("enterprise-router/route-tables", routeTableId, "static-routes")
     7  }
     8  
     9  func resourceURL(client *golangsdk.ServiceClient, routeTableId, routeId string) string {
    10  	return client.ServiceURL("enterprise-router/route-tables", routeTableId, "static-routes", routeId)
    11  }