diff --git a/drivers/amazonec2/amazonec2.go b/drivers/amazonec2/amazonec2.go index 26353957ae..1860caa77e 100644 --- a/drivers/amazonec2/amazonec2.go +++ b/drivers/amazonec2/amazonec2.go @@ -68,17 +68,6 @@ type Driver struct { keyPath string } -type CreateFlags struct { - AccessKey *string - SecretKey *string - Region *string - AMI *string - InstanceType *string - SubnetId *string - RootSize *int64 - IamInstanceProfile *string -} - func init() { drivers.Register(driverName, &drivers.RegisteredDriver{ New: NewDriver, diff --git a/drivers/google/google.go b/drivers/google/google.go index 832276d14f..4bb0e2cc37 100644 --- a/drivers/google/google.go +++ b/drivers/google/google.go @@ -35,15 +35,6 @@ type Driver struct { 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() { drivers.Register("google", &drivers.RegisteredDriver{ New: NewDriver, diff --git a/drivers/openstack/openstack.go b/drivers/openstack/openstack.go index f433a6a8cd..a8e88d33f6 100644 --- a/drivers/openstack/openstack.go +++ b/drivers/openstack/openstack.go @@ -53,27 +53,6 @@ type Driver struct { 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() { drivers.Register("openstack", &drivers.RegisteredDriver{ New: NewDriver, diff --git a/drivers/rackspace/rackspace.go b/drivers/rackspace/rackspace.go index 3d7e87f70f..d1431e0aa0 100644 --- a/drivers/rackspace/rackspace.go +++ b/drivers/rackspace/rackspace.go @@ -20,24 +20,6 @@ type Driver struct { 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() { drivers.Register("rackspace", &drivers.RegisteredDriver{ New: NewDriver, diff --git a/drivers/virtualbox/virtualbox.go b/drivers/virtualbox/virtualbox.go index d2bbb75a5f..501de03490 100644 --- a/drivers/virtualbox/virtualbox.go +++ b/drivers/virtualbox/virtualbox.go @@ -46,13 +46,6 @@ type Driver struct { storePath string } -type CreateFlags struct { - CPU *int - Memory *int - DiskSize *int - Boot2DockerURL *string -} - func init() { drivers.Register("virtualbox", &drivers.RegisteredDriver{ New: NewDriver, diff --git a/drivers/vmwarefusion/fusion_darwin.go b/drivers/vmwarefusion/fusion_darwin.go index 92aaa7b82b..64b2c15265 100644 --- a/drivers/vmwarefusion/fusion_darwin.go +++ b/drivers/vmwarefusion/fusion_darwin.go @@ -56,12 +56,6 @@ type Driver struct { storePath string } -type CreateFlags struct { - Boot2DockerURL *string - Memory *int - DiskSize *int -} - func init() { drivers.Register("vmwarefusion", &drivers.RegisteredDriver{ New: NewDriver, diff --git a/drivers/vmwarevcloudair/vcloudair.go b/drivers/vmwarevcloudair/vcloudair.go index 2560cc0510..89ec387745 100644 --- a/drivers/vmwarevcloudair/vcloudair.go +++ b/drivers/vmwarevcloudair/vcloudair.go @@ -51,25 +51,6 @@ type Driver struct { 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() { drivers.Register("vmwarevcloudair", &drivers.RegisteredDriver{ New: NewDriver, diff --git a/drivers/vmwarevsphere/vsphere.go b/drivers/vmwarevsphere/vsphere.go index 9e1fda05ed..cbfc437f87 100644 --- a/drivers/vmwarevsphere/vsphere.go +++ b/drivers/vmwarevsphere/vsphere.go @@ -64,21 +64,6 @@ type Driver struct { 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() { drivers.Register("vmwarevsphere", &drivers.RegisteredDriver{ New: NewDriver,