Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCreateFlags ¶
GetCreateFlags registers the "machine create" flags recognized by this driver, including their help text and defaults.
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 ¶
Authenticate creates a Rackspace-specific Gophercloud client.
func (*Client) GetInstanceIpAddresses ¶
GetInstanceIpAddresses can be short-circuited with the server's AccessIPv4Addr on Rackspace.
func (*Client) StartInstance ¶
StartInstance is unfortunately not supported on Rackspace at this time.
type CreateFlags ¶
type CreateFlags struct { Username *string APIKey *string Region *string MachineName *string EndpointType *string ImageID *string FlavorID *string SSHUser *string SSHPort *int CaCertPath string PrivateKeyPath string }
CreateFlags stores the command-line arguments given to "machine create".
type Driver ¶
Driver is a machine driver for Rackspace. It's a specialization of the generic OpenStack one.
func (*Driver) DriverName ¶
DriverName is the user-visible name of this driver.
func (*Driver) GetDockerConfigDir ¶
func (*Driver) SetConfigFromFlags ¶
func (d *Driver) SetConfigFromFlags(flags drivers.DriverOptions) error
SetConfigFromFlags assigns and verifies the command-line arguments presented to the driver.