rename client.ClientInterface to client.Interface

This commit is contained in:
Andrew Gerrand
2014-07-11 09:51:34 +10:00
parent e6ee45d38e
commit a9fdf1f6b5
3 changed files with 12 additions and 11 deletions

View File

@@ -29,8 +29,9 @@ import (
"github.com/golang/glog"
)
// ClientInterface holds the methods for clients of Kubenetes, an interface to allow mock testing
type ClientInterface interface {
// Interface holds the methods for clients of Kubenetes,
// an interface to allow mock testing.
type Interface interface {
ListPods(selector labels.Selector) (api.PodList, error)
GetPod(name string) (api.Pod, error)
DeletePod(name string) error