openstack

package
v0.0.0-...-6aabd98 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2014 License: Apache-2.0 Imports: 11 Imported by: 0

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