Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ServiceClients ¶
func ServiceClients(debug bool) (identityV3, limesV1 *gophercloud.ServiceClient)
ServiceClients authenticates against OpenStack and returns respective ServiceClients for Keystone and Limes.
Types ¶
type Token ¶
type Token struct { Domain struct { ID string `json:"id"` Name string `json:"name"` } `json:"domain"` Project struct { ID string `json:"id"` Name string `json:"name"` Domain struct { ID string `json:"id"` Name string `json:"name"` } `json:"domain"` } `json:"project"` }
Token contains domain and project information about an authorisation token.
func CurrentToken ¶
func CurrentToken(identityClient *gophercloud.ServiceClient) (*Token, error)
CurrentToken returns the current auth token that was used to authenticate against an OpenStack cloud.
Click to show internal directories.
Click to hide internal directories.