openstackSdk

package
v0.0.0-...-dfc6acd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2018 License: Apache-2.0 Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

func NewSdk(region string) (*Sdk, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL