k3s/pkg/config
Clayton Coleman b03fbf90f8 Make RESTClient more generic to API version, simplify version handling
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.
2015-01-07 18:03:34 -05:00
..
config.go Update references from Path() to the appropriate segment use 2014-12-29 15:38:52 -05:00
config_test.go Make RESTClient more generic to API version, simplify version handling 2015-01-07 18:03:34 -05:00
config_test.json Add support for creating a bulk of resources via kubectl apply 2014-11-04 14:52:29 +01:00