Rename ListPods methods to List.

For greater similarity to pkg/client.
Does not cover registry's ListPods.
Fix an example in a comment.
This commit is contained in:
Eric Tune
2015-01-07 21:57:45 -08:00
parent 6cd37637f5
commit 00c05053b7
8 changed files with 16 additions and 15 deletions

View File

@@ -30,7 +30,7 @@ Most consumers should use the Config object to create a Client:
if err != nil {
// handle error
}
client.ListPods()
client.Pods(ns).List()
More advanced consumers may wish to provide their own transport via a http.RoundTripper: