github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/vpcep/v1/endpoints/urls.go (about)

     1  package endpoints
     2  
     3  import "github.com/huaweicloud/golangsdk"
     4  
     5  const (
     6  	rootPath = "vpc-endpoints"
     7  )
     8  
     9  func rootURL(c *golangsdk.ServiceClient) string {
    10  	return c.ServiceURL(rootPath)
    11  }
    12  
    13  func resourceURL(c *golangsdk.ServiceClient, endpointID string) string {
    14  	return c.ServiceURL(rootPath, endpointID)
    15  }