rackspace

package
v0.7.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2016 License: Apache-2.0 Imports: 8 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

func NewDriver

func NewDriver(machineName, storePath string) drivers.Driver

NewDriver instantiates a Rackspace driver.

Types

type Client

type Client struct {
	openstack.GenericClient
	// contains filtered or unexported fields
}

Client is a Rackspace specialization of the generic OpenStack driver.

func (*Client) Authenticate

func (c *Client) Authenticate(d *openstack.Driver) error

Authenticate creates a Rackspace-specific Gophercloud client.

func (*Client) GetInstanceIPAddresses added in v0.5.1

func (c *Client) GetInstanceIPAddresses(d *openstack.Driver) ([]openstack.IPAddress, error)

GetInstanceIPAddresses can be short-circuited with the server's AccessIPv4Addr on Rackspace.

func (*Client) StartInstance

func (c *Client) StartInstance(d *openstack.Driver) error

StartInstance is unfortunately not supported on Rackspace at this time.

func (*Client) StopInstance

func (c *Client) StopInstance(d *openstack.Driver) error

StopInstance is unfortunately not support on Rackspace at this time.

type Driver

type Driver struct {
	*openstack.Driver

	APIKey string
}

Driver is a machine driver for Rackspace. It's a specialization of the generic OpenStack one.

func (*Driver) DriverName

func (d *Driver) DriverName() string

DriverName returns the name of the driver

func (*Driver) GetCreateFlags added in v0.5.0

func (d *Driver) GetCreateFlags() []mcnflag.Flag

GetCreateFlags registers the "machine create" flags recognized by this driver, including their help text and defaults.

func (*Driver) SetConfigFromFlags

func (d *Driver) SetConfigFromFlags(flags drivers.DriverOptions) error

SetConfigFromFlags assigns and verifies the command-line arguments presented to the driver.

Jump to

Keyboard shortcuts

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