mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-30 20:27:49 +00:00
* 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>
|
||
|---|---|---|
| .. | ||
| changes.go | ||
| container_start.go | ||
| containers.go | ||
| containers_attach.go | ||
| containers_create.go | ||
| containers_export.go | ||
| containers_pause.go | ||
| containers_prune.go | ||
| containers_restart.go | ||
| containers_start.go | ||
| containers_stats.go | ||
| containers_top.go | ||
| containers_unpause.go | ||
| events.go | ||
| exec.go | ||
| images.go | ||
| images_build.go | ||
| images_history.go | ||
| images_push.go | ||
| images_remove.go | ||
| images_save.go | ||
| images_search.go | ||
| images_tag.go | ||
| info.go | ||
| ping.go | ||
| resize.go | ||
| swagger.go | ||
| system.go | ||
| types.go | ||
| unsupported.go | ||
| version.go | ||