mirror of https://github.com/docker/docs.git
Remove dead code
Signed-off-by: Guillaume Giamarchi <guillaume.giamarchi@gmail.com>
This commit is contained in:
parent
e80d086a6d
commit
fb1362ea05
|
@ -68,17 +68,6 @@ type Driver struct {
|
||||||
keyPath string
|
keyPath string
|
||||||
}
|
}
|
||||||
|
|
||||||
type CreateFlags struct {
|
|
||||||
AccessKey *string
|
|
||||||
SecretKey *string
|
|
||||||
Region *string
|
|
||||||
AMI *string
|
|
||||||
InstanceType *string
|
|
||||||
SubnetId *string
|
|
||||||
RootSize *int64
|
|
||||||
IamInstanceProfile *string
|
|
||||||
}
|
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
drivers.Register(driverName, &drivers.RegisteredDriver{
|
drivers.Register(driverName, &drivers.RegisteredDriver{
|
||||||
New: NewDriver,
|
New: NewDriver,
|
||||||
|
|
|
@ -35,15 +35,6 @@ type Driver struct {
|
||||||
SwarmDiscovery string
|
SwarmDiscovery string
|
||||||
}
|
}
|
||||||
|
|
||||||
// CreateFlags are the command line flags used to create a driver.
|
|
||||||
type CreateFlags struct {
|
|
||||||
Zone *string
|
|
||||||
MachineType *string
|
|
||||||
Project *string
|
|
||||||
Scopes *string
|
|
||||||
DiskSize *int
|
|
||||||
}
|
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
drivers.Register("google", &drivers.RegisteredDriver{
|
drivers.Register("google", &drivers.RegisteredDriver{
|
||||||
New: NewDriver,
|
New: NewDriver,
|
||||||
|
|
|
@ -53,27 +53,6 @@ type Driver struct {
|
||||||
client Client
|
client Client
|
||||||
}
|
}
|
||||||
|
|
||||||
type CreateFlags struct {
|
|
||||||
AuthUrl *string
|
|
||||||
Insecure *bool
|
|
||||||
Username *string
|
|
||||||
Password *string
|
|
||||||
TenantName *string
|
|
||||||
TenantId *string
|
|
||||||
Region *string
|
|
||||||
EndpointType *string
|
|
||||||
FlavorName *string
|
|
||||||
FlavorId *string
|
|
||||||
ImageName *string
|
|
||||||
ImageId *string
|
|
||||||
NetworkName *string
|
|
||||||
NetworkId *string
|
|
||||||
SecurityGroups *string
|
|
||||||
FloatingIpPool *string
|
|
||||||
SSHUser *string
|
|
||||||
SSHPort *int
|
|
||||||
}
|
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
drivers.Register("openstack", &drivers.RegisteredDriver{
|
drivers.Register("openstack", &drivers.RegisteredDriver{
|
||||||
New: NewDriver,
|
New: NewDriver,
|
||||||
|
|
|
@ -20,24 +20,6 @@ type Driver struct {
|
||||||
APIKey string
|
APIKey string
|
||||||
}
|
}
|
||||||
|
|
||||||
// CreateFlags stores the command-line arguments given to "machine create".
|
|
||||||
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
|
|
||||||
SwarmMaster bool
|
|
||||||
SwarmHost string
|
|
||||||
SwarmDiscovery string
|
|
||||||
}
|
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
drivers.Register("rackspace", &drivers.RegisteredDriver{
|
drivers.Register("rackspace", &drivers.RegisteredDriver{
|
||||||
New: NewDriver,
|
New: NewDriver,
|
||||||
|
|
|
@ -46,13 +46,6 @@ type Driver struct {
|
||||||
storePath string
|
storePath string
|
||||||
}
|
}
|
||||||
|
|
||||||
type CreateFlags struct {
|
|
||||||
CPU *int
|
|
||||||
Memory *int
|
|
||||||
DiskSize *int
|
|
||||||
Boot2DockerURL *string
|
|
||||||
}
|
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
drivers.Register("virtualbox", &drivers.RegisteredDriver{
|
drivers.Register("virtualbox", &drivers.RegisteredDriver{
|
||||||
New: NewDriver,
|
New: NewDriver,
|
||||||
|
|
|
@ -56,12 +56,6 @@ type Driver struct {
|
||||||
storePath string
|
storePath string
|
||||||
}
|
}
|
||||||
|
|
||||||
type CreateFlags struct {
|
|
||||||
Boot2DockerURL *string
|
|
||||||
Memory *int
|
|
||||||
DiskSize *int
|
|
||||||
}
|
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
drivers.Register("vmwarefusion", &drivers.RegisteredDriver{
|
drivers.Register("vmwarefusion", &drivers.RegisteredDriver{
|
||||||
New: NewDriver,
|
New: NewDriver,
|
||||||
|
|
|
@ -51,25 +51,6 @@ type Driver struct {
|
||||||
storePath string
|
storePath string
|
||||||
}
|
}
|
||||||
|
|
||||||
type CreateFlags struct {
|
|
||||||
UserName *string
|
|
||||||
UserPassword *string
|
|
||||||
ComputeID *string
|
|
||||||
VDCID *string
|
|
||||||
OrgVDCNet *string
|
|
||||||
EdgeGateway *string
|
|
||||||
PublicIP *string
|
|
||||||
Catalog *string
|
|
||||||
CatalogItem *string
|
|
||||||
Name *string
|
|
||||||
SSHUser string
|
|
||||||
SSHPort *int
|
|
||||||
DockerPort *int
|
|
||||||
Provision *bool
|
|
||||||
CPUCount *int
|
|
||||||
MemorySize *int
|
|
||||||
}
|
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
drivers.Register("vmwarevcloudair", &drivers.RegisteredDriver{
|
drivers.Register("vmwarevcloudair", &drivers.RegisteredDriver{
|
||||||
New: NewDriver,
|
New: NewDriver,
|
||||||
|
|
|
@ -64,21 +64,6 @@ type Driver struct {
|
||||||
storePath string
|
storePath string
|
||||||
}
|
}
|
||||||
|
|
||||||
type CreateFlags struct {
|
|
||||||
CPU *int
|
|
||||||
Memory *int
|
|
||||||
DiskSize *int
|
|
||||||
Boot2DockerURL *string
|
|
||||||
IP *string
|
|
||||||
Username *string
|
|
||||||
Password *string
|
|
||||||
Network *string
|
|
||||||
Datastore *string
|
|
||||||
Datacenter *string
|
|
||||||
Pool *string
|
|
||||||
HostIP *string
|
|
||||||
}
|
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
drivers.Register("vmwarevsphere", &drivers.RegisteredDriver{
|
drivers.Register("vmwarevsphere", &drivers.RegisteredDriver{
|
||||||
New: NewDriver,
|
New: NewDriver,
|
||||||
|
|
Loading…
Reference in New Issue