1
0
mirror of https://github.com/docker/docs.git synced 2026-11-05 00:14:17 +03:00

fakedriver: remove useless methods

Since the refactor done in #756, some methods have been removed from the
driver interface. Remove those methods from `fakedriver`:

 - `StartDocker()`
 - `StopDocker()`
 - `GetDockerConfigDir()`
 - `GetSSHCommand()`

Signed-off-by: Vincent Bernat <Vincent.Bernat@exoscale.ch>
This commit is contained in:
Vincent Bernat
2015-04-10 16:45:14 +02:00
parent dfa155938a
commit bbe1bf42c8

View File

@@ -1,8 +1,6 @@
package fakedriver
import (
"os/exec"
"github.com/docker/machine/drivers"
"github.com/docker/machine/provider"
"github.com/docker/machine/state"
@@ -97,19 +95,3 @@ func (d *FakeDriver) Kill() error {
func (d *FakeDriver) Upgrade() error {
return nil
}
func (d *FakeDriver) StartDocker() error {
return nil
}
func (d *FakeDriver) StopDocker() error {
return nil
}
func (d *FakeDriver) GetDockerConfigDir() string {
return ""
}
func (d *FakeDriver) GetSSHCommand(args ...string) (*exec.Cmd, error) {
return &exec.Cmd{}, nil
}