mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
It was deprecated in 7b9bd987bf, but
won't be carried in the API module.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
17 lines
546 B
Go
17 lines
546 B
Go
package api
|
|
|
|
// Common constants for daemon and client.
|
|
const (
|
|
// DefaultVersion of the current REST API.
|
|
DefaultVersion = "1.52"
|
|
|
|
// MinSupportedAPIVersion is the minimum API version that can be supported
|
|
// by the API server, specified as "major.minor". Note that the daemon
|
|
// may be configured with a different minimum API version, as returned
|
|
// in [github.com/moby/moby/api/types.Version.MinAPIVersion].
|
|
//
|
|
// API requests for API versions lower than the configured version produce
|
|
// an error.
|
|
MinSupportedAPIVersion = "1.24"
|
|
)
|