mirror of https://github.com/containers/podman.git
				
				
				
			
				
					
						
							* 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>
						
					
				
			 | 
			||
|---|---|---|
| .. | ||
| github.com | ||
| go.etcd.io/bbolt | ||
| go.opencensus.io | ||
| go.uber.org/atomic | ||
| golang.org/x | ||
| google.golang.org | ||
| gopkg.in | ||
| k8s.io | ||
| sigs.k8s.io | ||
| modules.txt | ||