Add the container API to our dependencies.

Update google-api-go-client
This commit is contained in:
Brendan Burns
2014-11-13 12:34:44 -08:00
parent aabf1c3573
commit d3e48c9525
19 changed files with 4442 additions and 78 deletions

View File

@@ -32,6 +32,8 @@ type FakeCloud struct {
IP net.IP
Machines []string
NodeResources *api.NodeResources
ClusterList []string
MasterName string
cloudprovider.Zone
}
@@ -45,6 +47,14 @@ func (f *FakeCloud) ClearCalls() {
f.Calls = []string{}
}
func (f *FakeCloud) ListClusters() ([]string, error) {
return f.ClusterList, f.Err
}
func (f *FakeCloud) Master(name string) (string, error) {
return f.MasterName, f.Err
}
func (f *FakeCloud) Clusters() (cloudprovider.Clusters, bool) {
return f, true
}