Commit Graph

7 Commits (6cff082918a852383b75247dfa75bed9375d2fd8)

Author SHA1 Message Date
Mike Danese 8e33cbfa28 rewrite go imports 2015-08-05 17:30:03 -07:00
Philipp Kern fbbc49df30 pkg/client/doc.go: update example to make it compile
The client example does not compile (double pointer to config, missing
import, List() returning two values); fix it.
2015-07-20 23:27:08 +02:00
MarkDv ab40fca77c align example with code implementation 2015-07-07 02:05:15 -07:00
Eric Paris 6b3a6e6b98 Make copyright ownership statement generic
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Eric Tune 00c05053b7 Rename ListPods methods to List.
For greater similarity to pkg/client.
Does not cover registry's ListPods.
Fix an example in a comment.
2015-01-09 23:46:02 -08:00
Clayton Coleman ff2eca97d9 Refactor the client (again) to better support auth
* Allows consumers to provide their own transports for common cases.
* Supports KUBE_API_VERSION on test cases for controlling which
  api version they test against
* Provides a common flag registration method for CLIs that need
  to connect to an API server (to avoid duplicating flags)
* Ensures errors are properly returned by the server
* Add a Context field to client.Config
2014-10-01 15:23:37 -04:00
Brendan Burns 164160adef Address package level comments for readability. 2014-06-12 20:26:12 -07:00