GoogleCloudPlatform/kubernetes — pull request #1557 by smarterclayton (2014-10-03 03:32:33+00:00)
Title: Allow RESTClient to define arbitrary (non-default) prefix in config

Derivative clients (like OpenShift) cannot override the default path prefix
(/osapi vs /api) without this change, which prevents them from reusing the
new RESTClient and Config.

Also, copy the incoming Config object to allow callers to use the same config
object on two different calls to client.New