Austin Vazquez
f40e1a7582
api: move types/versions to client/pkg and daemon/internal
...
This change moves the api/types/versions package out into client and daemon versions.
Co-authored-by: Claude <noreply@anthropic.com >
Signed-off-by: Austin Vazquez <austin.vazquez@docker.com >
2025-10-23 19:22:31 -05:00
Austin Vazquez
e62b820f36
Merge pull request #51282 from austinvazquez/vendor-aws-dependencies
...
vendor: github.com/aws/smithy-go@v1.23 .1; github.com/aws/aws-sdk-go-v2@v1.39 .4; github.com/aws/aws-sdk-go-v2/*
2025-10-23 17:11:39 -05:00
Austin Vazquez
d2fb85bef6
Merge pull request #51281 from austinvazquez/vendor-golang.org-x
...
vendor: golang.org/x/* dependencies
2025-10-23 17:11:07 -05:00
Austin Vazquez
c9b3c65f37
vendor: github.com/aws/aws-sdk-go-v2/config@v1.31.15
...
Signed-off-by: Austin Vazquez <austin.vazquez@docker.com >
2025-10-23 15:41:34 -05:00
Austin Vazquez
b3129817a7
vendor: github.com/aws/aws-sdk-go-v2/credentials v1.18.19
...
Signed-off-by: Austin Vazquez <austin.vazquez@docker.com >
2025-10-23 15:41:34 -05:00
Austin Vazquez
1b2015a26f
vendor: github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs v1.58.5
...
Signed-off-by: Austin Vazquez <austin.vazquez@docker.com >
2025-10-23 15:41:33 -05:00
Austin Vazquez
7f7588be22
vendor: github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.11
...
Signed-off-by: Austin Vazquez <austin.vazquez@docker.com >
2025-10-23 15:41:33 -05:00
Austin Vazquez
f82fa7a4b2
vendor: github.com/aws/aws-sdk-go-v2 v1.39.4
...
Signed-off-by: Austin Vazquez <austin.vazquez@docker.com >
2025-10-23 15:41:33 -05:00
Austin Vazquez
529076c7b4
vendor: github.com/aws/smith-go v1.23.1
...
Signed-off-by: Austin Vazquez <austin.vazquez@docker.com >
2025-10-23 15:41:33 -05:00
Austin Vazquez
031f30340b
vendor: golang.org/x/net v0.46.0
...
Signed-off-by: Austin Vazquez <austin.vazquez@docker.com >
2025-10-23 15:27:37 -05:00
Austin Vazquez
8afa422f0c
vendor: golang.org/x/time v0.14.0
...
Signed-off-by: Austin Vazquez <austin.vazquez@docker.com >
2025-10-23 15:26:45 -05:00
Austin Vazquez
8c88244d7f
vendor: golang.org/x/text v0.30.0
...
Signed-off-by: Austin Vazquez <austin.vazquez@docker.com >
2025-10-23 15:26:01 -05:00
Austin Vazquez
8d3ae564e0
vendor: golang.org/x/mod v0.29.0
...
Signed-off-by: Austin Vazquez <austin.vazquez@docker.com >
2025-10-23 15:25:03 -05:00
Austin Vazquez
7563a498f0
vendor: golang.org/x/sys v0.37.0
...
Signed-off-by: Austin Vazquez <austin.vazquez@docker.com >
2025-10-23 15:24:17 -05:00
Sebastiaan van Stijn
b398d92e82
Merge pull request #51277 from thaJeztah/tidy_client_utils_step2
...
client: simplify test with mock-responses
2025-10-23 20:45:06 +02:00
Sebastiaan van Stijn
47fd987af2
client: simplify test with mock-responses
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-10-23 17:43:10 +02:00
Sebastiaan van Stijn
1d8c8e192f
Merge pull request #51279 from thaJeztah/refactor_service_update
...
client: refactor ServiceCreate, ServiceUpdate, SwarmUpdate
2025-10-23 17:40:33 +02:00
Sebastiaan van Stijn
3a43b5b559
client: refactor ServiceCreate, ServiceUpdate, SwarmUpdate
...
Put the version and spec in the options-struct, as we did for other
swarm-related methods.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-10-23 15:40:18 +02:00
Sebastiaan van Stijn
dcd668d579
Merge pull request #51276 from thaJeztah/tidy_client_utils
...
client: tidy-up test/mock-utilities
2025-10-23 15:40:03 +02:00
Sebastiaan van Stijn
11809618f6
Merge pull request #51270 from robmry/inspect-api-bc
...
Inspect: API v1.51 compatibility
2025-10-23 14:59:11 +02:00
Sebastiaan van Stijn
0fe6be8c38
client: remove roundTripFunc, bytesBufferClose
...
- Use the `mockResponse` instead
- `bytesBufferClose` was our own implementation of `io.NopCloser`
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-10-23 13:01:54 +02:00
Sebastiaan van Stijn
b9dd7c0d59
client: tidy-up mock-utilities
...
- Add a `mockResponse` utility, and slightly enhance it to also include
the request Headers and Status message, to be more closely to actual
responses.
- Add a `mockJSONResponse` utility, implemented using `mockResponse`
- Remove `plainTextErrorMock` in favor of `mockResponse`
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-10-23 13:01:41 +02:00
Sebastiaan van Stijn
a315437e1c
client: rename transportFunc -> testRoundTripper
...
Rename it so that it's clearer that it's intended for test-purposes,
and adding a `skipConfigureTransport()` method to the signature to
prevent IDEs considering is a redundant convert, and to be more explicit
on intent.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-10-23 13:01:33 +02:00
Rob Murray
0971a3bcb8
Inspect: API v1.51 compatibility
...
For API < v1.52:
- In container inspect:
- Restore GraphDriver when a snapshotter is used.
- Remove field Storage
- Related to commit efa077848f
- In image inspect:
- Restore GraphDriver when a snapshotter is used.
- Related to commit c441b2ef19
Co-authored-by: Sebastiaan van Stijn <github@gone.nl >
Signed-off-by: Rob Murray <rob.murray@docker.com >
2025-10-23 09:24:08 +01:00
Albin Kerouanton
37ac6cec6c
Merge pull request #50114 from danegsta/50107-defaultpoolsize
...
Proposal: Allow specifying the subnet size for networks allocated from default pools
2025-10-23 08:53:38 +02:00
Sebastiaan van Stijn
d9c950f824
Merge pull request #51275 from thaJeztah/client_deadcode
...
client: remove unused hasEndpointSpecificMacAddress utility
2025-10-23 08:25:02 +02:00
Sebastiaan van Stijn
0049df8315
Merge pull request #51273 from austinvazquez/refactor-client-service-list
...
client: rename `ServiceListResult.Services` to `ServiceListResult.Items`
2025-10-23 00:19:30 +02:00
Sebastiaan van Stijn
f733b411a1
client: remove unused hasEndpointSpecificMacAddress utility
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-10-22 23:16:37 +02:00
Sebastiaan van Stijn
f2412e7ab4
Merge pull request #51262 from vvoland/client-containerexec-opts
...
client/container_exec: Wrap options and result
2025-10-22 23:08:50 +02:00
Austin Vazquez
5a5d39205c
client: rename ServiceListResult.Services to ServiceListResult.Items
...
Signed-off-by: Austin Vazquez <austin.vazquez@docker.com >
2025-10-22 15:55:03 -05:00
Paweł Gronowski
94ab385eb5
client/container_exec: Wrap options and result, rename to Exec
...
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com >
2025-10-22 22:48:59 +02:00
David Negstad
ea0d934ff2
Allow requesting networks with a custom prefix size from the default pools
...
Signed-off-by: David Negstad <David.Negstad@microsoft.com >
2025-10-22 12:45:55 -07:00
Akihiro Suda
00abc3a9d5
Merge pull request #51266 from thaJeztah/please_linters
...
client: please the linters
2025-10-23 01:42:46 +09:00
Rob Murray
f8ceccd969
Merge pull request #51267 from robmry/delve-1.25.2
...
Dockerfile: upgrade Delve to v1.25.2
2025-10-22 15:03:30 +01:00
Rob Murray
5c67034952
Dockerfile: upgrade Delve to v1.25.2
...
Update to the latest version:
- https://github.com/go-delve/delve/releases/tag/v1.25.2
- https://github.com/go-delve/delve/blob/v1.25.2/CHANGELOG.md#1252-2025-08-26
Signed-off-by: Rob Murray <rob.murray@docker.com >
2025-10-22 14:38:44 +01:00
Sebastiaan van Stijn
4ae709eaa4
Merge pull request #51264 from vvoland/client-distrib-opts
...
client/distribution_inspect: Wrap options and result
2025-10-22 15:12:22 +02:00
Sebastiaan van Stijn
c1ab6eb5f9
Merge pull request #51256 from austinvazquez/refactor-client-plugin
...
client: refactor plugin api client functions to define options/result…
2025-10-22 15:11:39 +02:00
Sebastiaan van Stijn
5b46429122
client: please the linters
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-10-22 14:25:09 +02:00
Sebastiaan van Stijn
01c36ec0cd
Merge pull request #51265 from thaJeztah/client_gofumpt
...
client: gofumpt
2025-10-22 14:11:02 +02:00
Sebastiaan van Stijn
c7fe7136d2
client: gofumpt
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-10-22 14:01:01 +02:00
Austin Vazquez
909e32b27d
client: refactor plugin api client functions to define options/results structs
...
Co-authored-by: Claude <noreply@anthropic.com >
Signed-off-by: Austin Vazquez <austin.vazquez@docker.com >
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-10-22 13:45:03 +02:00
Paweł Gronowski
ee49bbabb3
Merge pull request #51261 from thaJeztah/fix_api_godoc
...
api/types: fix godoc
2025-10-22 13:35:09 +02:00
Paweł Gronowski
eddf1a1ad6
Merge pull request #51260 from vvoland/client-node-opts
...
client/node: Wrap options and output
2025-10-22 13:09:21 +02:00
Paweł Gronowski
362e9d088f
client/distribution_inspect: Wrap options and result
...
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com >
2025-10-22 13:00:44 +02:00
Sebastiaan van Stijn
78d228b84e
Merge pull request #51258 from thaJeztah/client_ping
...
api/types: move Ping and swarm.Status to client
2025-10-22 12:47:42 +02:00
Sebastiaan van Stijn
f09ca78b45
api/types: fix godoc
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-10-22 12:09:04 +02:00
Paweł Gronowski
7ceea4148a
client/node: Wrap options and output
...
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com >
2025-10-22 12:02:05 +02:00
Sebastiaan van Stijn
25c509b026
Merge pull request #51251 from thaJeztah/secret_refactor
...
client/secrets: Wrap results and options
2025-10-22 11:50:01 +02:00
Sebastiaan van Stijn
8dc5d1e64d
api/types: move Ping and swarm.Status to client
...
The API does not produce these as a response; the fields in the Ping
struct, including the Swarm status are propagated from headers returned
by the /_ping endpoint.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-10-22 11:05:08 +02:00
Akihiro Suda
695a465211
Merge pull request #47335 from thaJeztah/containerd_binary_2.0.0-beta.2
...
Dockerfile: test containerd v2.1.4
2025-10-22 17:16:30 +09:00