github.com/chnsz/golangsdk@v0.0.0-20240506093406-85a3fbfa605b/openstack/dms/v2/products/urls.go (about)

     1  package products
     2  
     3  import (
     4  	"github.com/chnsz/golangsdk"
     5  )
     6  
     7  // endpoint/products
     8  const resourcePath = "products"
     9  
    10  func getURL(client *golangsdk.ServiceClient) string {
    11  	return client.ServiceURL(resourcePath)
    12  }
    13  
    14  func listURL(client *golangsdk.ServiceClient, engineType string) string {
    15  	return client.ServiceURL(engineType, resourcePath)
    16  }