From 2e5a83252eac4f01a0818b1945ebc1a0c9494de6 Mon Sep 17 00:00:00 2001 From: Gareth Smith Date: Mon, 27 Nov 2017 14:04:45 +0000 Subject: [PATCH] Remove {Etcd,APIServer}StartStopper interfaces ... as they have been unified into the FixtureProcess interface and thus they are not needed anymore. --- pkg/framework/test/fixtures.go | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/pkg/framework/test/fixtures.go b/pkg/framework/test/fixtures.go index cb7376f49..2220ad946 100644 --- a/pkg/framework/test/fixtures.go +++ b/pkg/framework/test/fixtures.go @@ -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.