Revert "Add a kubectl stop command"

This commit is contained in:
Filipe Brandenburger
2015-01-22 09:00:50 -08:00
parent 4881404db2
commit b1727b0330
7 changed files with 10 additions and 393 deletions

View File

@@ -26,18 +26,18 @@ import (
"github.com/GoogleCloudPlatform/kubernetes/pkg/client"
)
type updaterFake struct {
type customFake struct {
*client.Fake
ctrl client.ReplicationControllerInterface
}
func (c *updaterFake) ReplicationControllers(namespace string) client.ReplicationControllerInterface {
func (c *customFake) ReplicationControllers(namespace string) client.ReplicationControllerInterface {
return c.ctrl
}
func fakeClientFor(namespace string, responses []fakeResponse) client.Interface {
fake := client.Fake{}
return &updaterFake{
return &customFake{
&fake,
&fakeRc{
&client.FakeReplicationControllers{