github.com/opentelekomcloud/gophertelekomcloud@v0.9.3/openstack/vpcep/v1/services/urls.go (about)

     1  package services
     2  
     3  import (
     4  	golangsdk "github.com/opentelekomcloud/gophertelekomcloud"
     5  )
     6  
     7  const basePath = "vpc-endpoint-services"
     8  
     9  func baseURL(client *golangsdk.ServiceClient) string {
    10  	return client.ServiceURL(basePath)
    11  }
    12  
    13  func publicURL(client *golangsdk.ServiceClient) string {
    14  	return client.ServiceURL(basePath, "public")
    15  }
    16  
    17  func resourceURL(client *golangsdk.ServiceClient, id string) string {
    18  	return client.ServiceURL(basePath, id)
    19  }