blob: a7bff83a7e321e780a5bb8400f3f3dd6e5841c2d [file] [log] [blame]
Ash Wilsonbdfc3302014-09-04 10:16:28 -04001package endpoints
2
3import "github.com/rackspace/gophercloud"
4
5// Endpoint describes the entry point for another service's API.
6type Endpoint struct {
7 ID string `json:"id"`
8 Interface Interface `json:"interface"`
9 Name string `json:"name"`
10 Region string `json:"region"`
11 ServiceID string `json:"service_id"`
12 URL string `json:"url"`
13}
14
15// EndpointList contains a page of Endpoint results.
16type EndpointList struct {
Ash Wilson74b12ce2014-09-05 13:46:53 -040017 service *gophercloud.ServiceClient
Ash Wilsonbdfc3302014-09-04 10:16:28 -040018 Endpoints []Endpoint
19}