github.com/chnsz/golangsdk@v0.0.0-20240506093406-85a3fbfa605b/openstack/cci/v1/namespaces/urls.go (about)

     1  package namespaces
     2  
     3  import "github.com/chnsz/golangsdk"
     4  
     5  const rootPath = "namespaces"
     6  
     7  func rootURL(client *golangsdk.ServiceClient) string {
     8  	return client.ServiceURL(rootPath)
     9  }
    10  
    11  func resourceURL(client *golangsdk.ServiceClient, name string) string {
    12  	return client.ServiceURL(rootPath, name)
    13  }