blob: f6214c01018e0cebd12210eb08ccd6a79f0d78de [file] [log] [blame]
Samuel A. Falvo II2e2b8772013-07-04 15:40:15 -07001package gophercloud
2
3// genericCloudProvider structures provide the implementation for generic OpenStack-compatible
4// ComputeProvider interfaces.
5type genericCloudProvider struct {
6 // endpoint refers to the provider's API endpoint base URL. This will be used to construct
7 // and issue queries.
8 endpoint string
9
10 // Test context (if any) in which to issue requests.
11 context *Context
12}
13
14// See the ComputeProvider interface for details.
15func (gcp *genericCloudProvider) ListServers() ([]Server, error) {
16 return nil, nil
17}
18
19// Server structures provide data about a server running in your provider's cloud.
20type Server struct {
21 Id string
22}