drivers/rackspace/rackspace.go
func (d *Driver) GetCreateFlags() []mcnflag.Flag {
	return []mcnflag.Flag{
		mcnflag.StringFlag{
			EnvVar: "OS_USERNAME",
			Name:   "rackspace-username",
			Usage:  "Rackspace account username",
			Value:  "",
		},
		mcnflag.StringFlag{
			EnvVar: "OS_API_KEY",
			Name:   "rackspace-api-key",
			Usage:  "Rackspace API key",
			Value:  "",
		},
		mcnflag.StringFlag{
			EnvVar: "OS_REGION_NAME",
			Name:   "rackspace-region",
			Usage:  "Rackspace region name",
			Value:  defaultRegionName,
		},
		mcnflag.StringFlag{
			EnvVar: "OS_ENDPOINT_TYPE",
			Name:   "rackspace-endpoint-type",
			Usage:  "Rackspace endpoint type (adminURL, internalURL or the default publicURL)",
			Value:  defaultEndpointType,
		},
		mcnflag.StringFlag{
			EnvVar: "OS_IMAGE_ID",
			Name:   "rackspace-image-id",
			Usage:  "Rackspace image ID. Default: Ubuntu 16.04 LTS (Xenial Xerus) (PVHVM)",
		},
		mcnflag.StringFlag{
			EnvVar: "OS_FLAVOR_ID",
			Name:   "rackspace-flavor-id",
			Usage:  "Rackspace flavor ID. Default: General Purpose 1GB",
			Value:  defaultFlavorID,
		},
		mcnflag.StringFlag{
			EnvVar: "OS_SSH_USER",
			Name:   "rackspace-ssh-user",
			Usage:  "SSH user for the newly booted machine. Set to root by default",
			Value:  defaultSSHUser,
		},
		mcnflag.IntFlag{
			EnvVar: "OS_SSH_PORT",
			Name:   "rackspace-ssh-port",
			Usage:  "SSH port for the newly booted machine. Set to 22 by default",
			Value:  defaultSSHPort,
		},
		mcnflag.StringFlag{
			Name:  "rackspace-docker-install",
			Usage: "Set if docker have to be installed on the machine",
			Value: defaultDockerInstall,
		},
		mcnflag.IntFlag{
			EnvVar: "OS_ACTIVE_TIMEOUT",
			Name:   "rackspace-active-timeout",
			Usage:  "Rackspace active timeout",
			Value:  defaultActiveTimeout,
		},
	}
}
func (d *Driver) GetCreateFlags() []mcnflag.Flag {
	return []mcnflag.Flag{
		mcnflag.StringFlag{
			EnvVar: "OS_USERNAME",
			Name:   "rackspace-username",
			Usage:  "Rackspace account username",
			Value:  "",
		},
		mcnflag.StringFlag{
			EnvVar: "OS_API_KEY",
			Name:   "rackspace-api-key",
			Usage:  "Rackspace API key",
			Value:  "",
		},
		mcnflag.StringFlag{
			EnvVar: "OS_REGION_NAME",
			Name:   "rackspace-region",
			Usage:  "Rackspace region name",
			Value:  defaultRegionName,
		},
		mcnflag.StringFlag{
			EnvVar: "OS_ENDPOINT_TYPE",
			Name:   "rackspace-endpoint-type",
			Usage:  "Rackspace endpoint type (adminURL, internalURL or the default publicURL)",
			Value:  defaultEndpointType,
		},
		mcnflag.StringFlag{
			EnvVar: "OS_IMAGE_ID",
			Name:   "rackspace-image-id",
			Usage:  "Rackspace image ID. Default: Ubuntu 16.04 LTS (Xenial Xerus) (PVHVM)",
		},
		mcnflag.StringFlag{
			EnvVar: "OS_FLAVOR_ID",
			Name:   "rackspace-flavor-id",
			Usage:  "Rackspace flavor ID. Default: General Purpose 1GB",
			Value:  defaultFlavorID,
		},
		mcnflag.StringFlag{
			EnvVar: "OS_SSH_USER",
			Name:   "rackspace-ssh-user",
			Usage:  "SSH user for the newly booted machine. Set to root by default",
			Value:  defaultSSHUser,
		},
		mcnflag.IntFlag{
			EnvVar: "OS_SSH_PORT",
			Name:   "rackspace-ssh-port",
			Usage:  "SSH port for the newly booted machine. Set to 22 by default",
			Value:  defaultSSHPort,
		},
		mcnflag.StringFlag{
			Name:  "rackspace-docker-install",
			Usage: "Set if docker have to be installed on the machine",
			Value: defaultDockerInstall,
		},
		mcnflag.IntFlag{
			EnvVar: "OS_ACTIVE_TIMEOUT",
			Name:   "rackspace-active-timeout",
			Usage:  "Rackspace active timeout",
			Value:  defaultActiveTimeout,
		},
	}
}
func ( d * Driver ) GetCreateFlags ( ) [ ] mcnflag . Flag { return [ ] mcnflag . Flag { mcnflag . StringFlag { EnvVar : " " , Name : " " , Usage : " " , Value : " " , } , mcnflag . StringFlag { EnvVar : " " , Name : " " , Usage : " " , Value : " " , } , mcnflag . StringFlag { EnvVar : " " , Name : " " , Usage : " " , Value : defaultRegionName , } , mcnflag . StringFlag { EnvVar : " " , Name : " " , Usage : " " , Value : defaultEndpointType , } , mcnflag . StringFlag { EnvVar : " " , Name : " " , Usage : " " , } , mcnflag . StringFlag { EnvVar : " " , Name : " " , Usage : " " , Value : defaultFlavorID , } , mcnflag . StringFlag { EnvVar : " " , Name : " " , Usage : " " , Value : defaultSSHUser , } , mcnflag . IntFlag { EnvVar : " " , Name : " " , Usage : " " , Value : defaultSSHPort , } , mcnflag . StringFlag { Name : " " , Usage : " " , Value : defaultDockerInstall , } , mcnflag . IntFlag { EnvVar : " " , Name : " " , Usage : " " , Value : defaultActiveTimeout , } , } }
// GetCreateFlags registers the "machine create" flags recognized by this driver, including
// their help text and defaults.
GetCreateFlags registers the machine create flags recognized by this driver including their help text and defaults .