• Clayton Coleman's avatar
    Make RESTClient more generic to API version, simplify version handling · b03fbf90
    Clayton Coleman authored
    RESTClient is an abstraction on top of arbitrary HTTP endpoints that
    follow the Kubernetes API conventions. Refactored RESTClientFor so that
    assumptions that are Kube specific happen outside of that method (so
    others can reuse the RESTClient). Added more validation to client.New
    to ensure clients give good input. Exposed APIVersion on RESTClient
    as a method so that wrapper code (code that adds typed / structured
    methods over rest endpoints like client.Client) can more easily make
    decisions about what APIVersion it is running under.
    b03fbf90
Name
Last commit
Last update
Godeps Loading commit data...
api Loading commit data...
build Loading commit data...
cluster Loading commit data...
cmd Loading commit data...
contrib Loading commit data...
docs Loading commit data...
examples Loading commit data...
hack Loading commit data...
hooks Loading commit data...
icebox Loading commit data...
pkg Loading commit data...
plugin Loading commit data...
test/integration Loading commit data...
third_party Loading commit data...
www Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CHANGELOG.md Loading commit data...
CONTRIB.md Loading commit data...
CONTRIBUTING.md Loading commit data...
DESIGN.md Loading commit data...
LICENSE Loading commit data...
MAINTAINERS.md Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
Vagrantfile Loading commit data...
logo.pdf Loading commit data...
logo.png Loading commit data...
logo.svg Loading commit data...
logo_usage_guidelines.md Loading commit data...