openstack

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2014 License: Apache-2.0 Imports: 11 Imported by: 0 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

View Source
var ErrFlavorNotFound = errors.New("Flavor not found")
View Source
var ErrMultipleServersFound = errors.New("Multiple servers matched query")
View Source
var ErrServerNotFound = errors.New("Server not found")

Functions

This section is empty.

Types

type Config

type Config struct {
	Global struct {
		AuthUrl              string
		Username, Password   string
		ApiKey               string
		TenantId, TenantName string
		Region               string
	}
}

type Instances

type Instances struct {
	// contains filtered or unexported fields
}

func (*Instances) GetNodeResources

func (i *Instances) GetNodeResources(name string) (*api.NodeResources, error)

func (*Instances) IPAddress

func (i *Instances) IPAddress(name string) (net.IP, error)

func (*Instances) List

func (i *Instances) List(name_filter string) ([]string, error)

type OpenStack

type OpenStack struct {
	// contains filtered or unexported fields
}

OpenStack is an implementation of cloud provider Interface for OpenStack.

func (*OpenStack) Clusters

func (aws *OpenStack) Clusters() (cloudprovider.Clusters, bool)

func (*OpenStack) Instances

func (os *OpenStack) Instances() (cloudprovider.Instances, bool)

Instances returns an implementation of Instances for OpenStack.

func (*OpenStack) TCPLoadBalancer

func (os *OpenStack) TCPLoadBalancer() (cloudprovider.TCPLoadBalancer, bool)

func (*OpenStack) Zones

func (os *OpenStack) Zones() (cloudprovider.Zones, bool)

Jump to

Keyboard shortcuts

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