Remove {Etcd,APIServer}StartStopper interfaces

... as they have been unified into the FixtureProcess interface and thus
they are not needed anymore.
This commit is contained in:
Gareth Smith 2017-11-27 14:04:45 +00:00
parent d6f4cc6054
commit 2e5a83252e
1 changed files with 0 additions and 16 deletions

View File

@ -12,22 +12,6 @@ type Fixtures struct {
APIServer FixtureProcess
}
// EtcdStartStopper knows how to start an Etcd. One good implementation is Etcd.
type EtcdStartStopper interface {
Start() error
Stop()
}
//go:generate counterfeiter . EtcdStartStopper
// APIServerStartStopper knows how to start an APIServer. One good implementation is APIServer.
type APIServerStartStopper interface {
Start() error
Stop()
}
//go:generate counterfeiter . APIServerStartStopper
// FixtureProcess knows how to start and stop a Fixture processes.
// This interface is potentially going to be expanded to e.g. allow access to the processes StdOut/StdErr
// and other internals.