You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 23, 2019. It is now read-only.
This is more of a question - I've been thinking about how to use the backward compatibility structs defined in https://github.com/docker/engine-api/tree/master/types/versions/. The older structs are implemented there, but the method signatures in the interface only refer to the latest ones.
What's the recommended way to implement functions that make use of legacy structs?
Also, is there any reason why p1v18 isn't part of the backward compatibility versions?
Thanks!
The text was updated successfully, but these errors were encountered:
I think the only reasonable way we've found to do this is by checking the version in the http request. I'm super open to suggestions, but I don't think there is any easy way to handle those. See what we do for docker inspect:
Hi,
This is more of a question - I've been thinking about how to use the backward compatibility structs defined in
https://github.com/docker/engine-api/tree/master/types/versions/
. The older structs are implemented there, but the method signatures in the interface only refer to the latest ones.What's the recommended way to implement functions that make use of legacy structs?
Also, is there any reason why
p1v18
isn't part of the backward compatibility versions?Thanks!
The text was updated successfully, but these errors were encountered: