blob: b4c6589afd59cc627b33430b20ea95b7dbc30d69 [file] [log] [blame]
Ash Wilson8ba82242014-08-28 15:38:55 -04001package openstack
2
3import (
4 "github.com/rackspace/gophercloud"
5 identity3 "github.com/rackspace/gophercloud/openstack/identity/v3"
6)
7
8// Client provides access to service clients for this OpenStack cloud.
9type Client gophercloud.ServiceClient
10
11// NewClient authenticates to an OpenStack cloud with the provided credentials.
12// It first queries the root identity endpoint to determine which versions of the identity service are supported, then chooses
13// the most recent identity service available to proceed.
14func NewClient(authOptions gophercloud.AuthOptions) (*Client, error) {
15 return nil, nil
16}
17
18// IdentityV3 explicitly accesses the v3 identity service.
19func (client *Client) IdentityV3() (*identity3.Client, error) {
20 return nil, nil
21}