Skip to content

Commit fb1362e

Browse files
committed
Remove dead code
Signed-off-by: Guillaume Giamarchi <guillaume.giamarchi@gmail.com>
1 parent e80d086 commit fb1362e

File tree

8 files changed

+0
-106
lines changed

8 files changed

+0
-106
lines changed

drivers/amazonec2/amazonec2.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -68,17 +68,6 @@ type Driver struct {
6868
keyPath string
6969
}
7070

71-
type CreateFlags struct {
72-
AccessKey *string
73-
SecretKey *string
74-
Region *string
75-
AMI *string
76-
InstanceType *string
77-
SubnetId *string
78-
RootSize *int64
79-
IamInstanceProfile *string
80-
}
81-
8271
func init() {
8372
drivers.Register(driverName, &drivers.RegisteredDriver{
8473
New: NewDriver,

drivers/google/google.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,6 @@ type Driver struct {
3535
SwarmDiscovery string
3636
}
3737

38-
// CreateFlags are the command line flags used to create a driver.
39-
type CreateFlags struct {
40-
Zone *string
41-
MachineType *string
42-
Project *string
43-
Scopes *string
44-
DiskSize *int
45-
}
46-
4738
func init() {
4839
drivers.Register("google", &drivers.RegisteredDriver{
4940
New: NewDriver,

drivers/openstack/openstack.go

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -53,27 +53,6 @@ type Driver struct {
5353
client Client
5454
}
5555

56-
type CreateFlags struct {
57-
AuthUrl *string
58-
Insecure *bool
59-
Username *string
60-
Password *string
61-
TenantName *string
62-
TenantId *string
63-
Region *string
64-
EndpointType *string
65-
FlavorName *string
66-
FlavorId *string
67-
ImageName *string
68-
ImageId *string
69-
NetworkName *string
70-
NetworkId *string
71-
SecurityGroups *string
72-
FloatingIpPool *string
73-
SSHUser *string
74-
SSHPort *int
75-
}
76-
7756
func init() {
7857
drivers.Register("openstack", &drivers.RegisteredDriver{
7958
New: NewDriver,

drivers/rackspace/rackspace.go

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,6 @@ type Driver struct {
2020
APIKey string
2121
}
2222

23-
// CreateFlags stores the command-line arguments given to "machine create".
24-
type CreateFlags struct {
25-
Username *string
26-
APIKey *string
27-
Region *string
28-
MachineName *string
29-
EndpointType *string
30-
ImageID *string
31-
FlavorID *string
32-
SSHUser *string
33-
SSHPort *int
34-
CaCertPath string
35-
PrivateKeyPath string
36-
SwarmMaster bool
37-
SwarmHost string
38-
SwarmDiscovery string
39-
}
40-
4123
func init() {
4224
drivers.Register("rackspace", &drivers.RegisteredDriver{
4325
New: NewDriver,

drivers/virtualbox/virtualbox.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,6 @@ type Driver struct {
4646
storePath string
4747
}
4848

49-
type CreateFlags struct {
50-
CPU *int
51-
Memory *int
52-
DiskSize *int
53-
Boot2DockerURL *string
54-
}
55-
5649
func init() {
5750
drivers.Register("virtualbox", &drivers.RegisteredDriver{
5851
New: NewDriver,

drivers/vmwarefusion/fusion_darwin.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,6 @@ type Driver struct {
5656
storePath string
5757
}
5858

59-
type CreateFlags struct {
60-
Boot2DockerURL *string
61-
Memory *int
62-
DiskSize *int
63-
}
64-
6559
func init() {
6660
drivers.Register("vmwarefusion", &drivers.RegisteredDriver{
6761
New: NewDriver,

drivers/vmwarevcloudair/vcloudair.go

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -51,25 +51,6 @@ type Driver struct {
5151
storePath string
5252
}
5353

54-
type CreateFlags struct {
55-
UserName *string
56-
UserPassword *string
57-
ComputeID *string
58-
VDCID *string
59-
OrgVDCNet *string
60-
EdgeGateway *string
61-
PublicIP *string
62-
Catalog *string
63-
CatalogItem *string
64-
Name *string
65-
SSHUser string
66-
SSHPort *int
67-
DockerPort *int
68-
Provision *bool
69-
CPUCount *int
70-
MemorySize *int
71-
}
72-
7354
func init() {
7455
drivers.Register("vmwarevcloudair", &drivers.RegisteredDriver{
7556
New: NewDriver,

drivers/vmwarevsphere/vsphere.go

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -64,21 +64,6 @@ type Driver struct {
6464
storePath string
6565
}
6666

67-
type CreateFlags struct {
68-
CPU *int
69-
Memory *int
70-
DiskSize *int
71-
Boot2DockerURL *string
72-
IP *string
73-
Username *string
74-
Password *string
75-
Network *string
76-
Datastore *string
77-
Datacenter *string
78-
Pool *string
79-
HostIP *string
80-
}
81-
8267
func init() {
8368
drivers.Register("vmwarevsphere", &drivers.RegisteredDriver{
8469
New: NewDriver,

0 commit comments

Comments
 (0)