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:
parent
d6f4cc6054
commit
2e5a83252e
|
|
@ -12,22 +12,6 @@ type Fixtures struct {
|
||||||
APIServer FixtureProcess
|
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.
|
// 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
|
// This interface is potentially going to be expanded to e.g. allow access to the processes StdOut/StdErr
|
||||||
// and other internals.
|
// and other internals.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue