Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sdk ¶
type Sdk struct {
Compute *gophercloud.ServiceClient
Network *gophercloud.ServiceClient
ObjectStorage *gophercloud.ServiceClient
}
Sdk represents an Openstack SDK.
func NewSdk ¶
NewSdk constructs a new Openstack SDK for the specified region.
The following environment variable list is looked up in the user environment in order to authenticate to the cloud operator: OS_AUTH_URL, OS_USERNAME, OS_USERID, OS_PASSWORD, OS_TENANT_ID, OS_TENANT_NAME, OS_DOMAIN_ID, OS_DOMAIN_NAME.
Note that only a susbset of these has to be set since most variables derive from one another to allow using either names or ids.