• Clayton Coleman's avatar
    Refactor the client (again) to better support auth · ff2eca97
    Clayton Coleman authored
    * 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
    ff2eca97
transport.go 2.55 KB