mirror of https://github.com/docker/cli.git
592c146cca
Allow tests to check the negotiated API version used by the client.
Can be used to skip tests based on API versions, for example:
```go
skip.If(t, versions.LessThan(environment.DaemonAPIVersion(t), "1.44"))
```
will skip the test if the API version is older than 1.44
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
builders | ||
environment | ||
network | ||
notary | ||
output | ||
cli.go | ||
doc.go | ||
store.go | ||
strings.go |