DockerCLI/internal/test
Paweł Gronowski 592c146cca
testenv: Add DaemonAPIVersion helper
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 9831fea4db)
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-03-05 09:56:16 +01:00
..
builders golangci-lint: revive: enable import-shadowing 2023-11-20 19:52:41 +01:00
environment testenv: Add DaemonAPIVersion helper 2024-03-05 09:56:16 +01:00
network internal/test/network: FakeClient: embed interface to remove boilerplating 2023-03-30 17:05:31 +02:00
notary internal/test/notary: remove name for unused arg (revive) 2023-03-30 17:22:10 +02:00
output Fix 'wether'->'whether' 2018-09-07 16:26:18 +08:00
cli.go golangci-lint: revive: enable import-shadowing 2023-11-20 19:52:41 +01:00
doc.go format (GoDoc) comments with Go 1.19 to prepare for go updates 2022-07-19 19:10:16 +02:00
store.go Remove docker api dependency from cli/config 2019-01-31 21:25:43 +00:00
strings.go golangci-lint: enable thelper linter 2023-11-20 16:02:17 +01:00