spiegel_podman/pkg/api/handlers/compat
Jhon Honce f9c392f50a V2 API Version Support
* Update blang/semver to allow ParseTolerant() support
* Provide helper functions for API handlers to obtain client's 'version'
  path variable focused on API endpoint tree: libpod vs. compat
* Introduce new errors:
  * version not given in path, endpoints may determine if this is a hard
    error (ErrVersionNotGiven)
  * given version not supported (ErrVersionNotSupported), only a soft
    error if the handler is going to hijack the connection
* Added unit tests for version parsing
* bindings check version on connect:
  * client <= Server API version connection is continued
  * client >= Server API version connection fails

Signed-off-by: Jhon Honce <jhonce@redhat.com>
2020-05-20 10:21:30 -07:00
..
changes.go V2 podman diff(changes) support 2020-04-07 09:39:46 -07:00
container_start.go Refactor handler packages 2020-03-10 08:03:41 -07:00
containers.go podman v2 remove bloat v2 2020-04-16 12:04:46 -05:00
containers_attach.go V2 Implement terminal handling in bindings attach 2020-05-18 11:21:06 -07:00
containers_create.go Update podman to use containers.conf 2020-04-20 16:11:36 -04:00
containers_export.go podmanv2 export 2020-04-01 16:02:53 -05:00
containers_pause.go Refactor handler packages 2020-03-10 08:03:41 -07:00
containers_prune.go Adding system prune for podman v2 2020-04-24 15:44:07 -04:00
containers_restart.go podmanv2 add core container commands 2020-03-22 13:24:45 -05:00
containers_start.go v2 podman remote attach, start, and run 2020-05-15 10:09:45 -05:00
containers_stats.go v2 podman stats 2020-05-05 08:46:51 -05:00
containers_top.go Refactor handler packages 2020-03-10 08:03:41 -07:00
containers_unpause.go Refactor handler packages 2020-03-10 08:03:41 -07:00
events.go podman rmi: refactor logic 2020-04-21 08:12:25 +02:00
exec.go Drop APIv2 resize endpoint 2020-05-15 15:02:41 -04:00
images.go Add support for containers.conf 2020-03-27 14:36:03 -04:00
images_build.go Refactor handler packages 2020-03-10 08:03:41 -07:00
images_history.go V2 podman command 2020-03-18 16:41:12 -07:00
images_push.go podmanV2: implement push 2020-04-02 17:01:32 +02:00
images_remove.go V2 podman image rm | podman rmi [IMAGE] 2020-03-25 17:54:14 -07:00
images_save.go Refactor handler packages 2020-03-10 08:03:41 -07:00
images_search.go podmanV2: implement search 2020-04-09 13:05:19 +02:00
images_tag.go Refactor handler packages 2020-03-10 08:03:41 -07:00
info.go Update podman to use containers.conf 2020-04-20 16:11:36 -04:00
ping.go V2 API Version Support 2020-05-20 10:21:30 -07:00
resize.go V2 Implement terminal handling in bindings attach 2020-05-18 11:21:06 -07:00
swagger.go podman v2 remove bloat v2 2020-04-16 12:04:46 -05:00
system.go Refactor handler packages 2020-03-10 08:03:41 -07:00
types.go Refactor handler packages 2020-03-10 08:03:41 -07:00
unsupported.go podman v2 remove bloat v2 2020-04-16 12:04:46 -05:00
version.go V2 API Version Support 2020-05-20 10:21:30 -07:00