Austin Vazquez
e9f28e2a41
client: refactor NetworkConnect, NetworkDisconnect, NetworkRemove
...
Signed-off-by: Austin Vazquez <austin.vazquez@docker.com >
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-10-29 13:02:01 +01: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
Austin Vazquez
1b4fcb8da7
api/types/network: move CreateOptions type to client module
...
Signed-off-by: Austin Vazquez <austin.vazquez@docker.com >
2025-08-27 08:10:20 -05:00
Derek McGowan
c47afd41c8
Create github.com/moby/moby/client module
...
Signed-off-by: Derek McGowan <derek@mcg.dev >
2025-07-21 09:30:26 -07:00
Derek McGowan
afd6487b2e
Create github.com/moby/moby/api module
...
Signed-off-by: Derek McGowan <derek@mcg.dev >
2025-07-21 09:30:05 -07:00
Sebastiaan van Stijn
ad6edc139f
api/types: move NetworkCreate, NetworkCreateRequest to api/types/network
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-06-07 11:11:15 +02:00
Albin Kerouanton
bbcd662532
api: Allow ContainerCreate to take several EndpointsConfig for >= 1.44
...
The API endpoint `/containers/create` accepts several EndpointsConfig
since v1.22 but the daemon would error out in such case. This check is
moved from the daemon to the api and is now applied only for API < 1.44,
effectively allowing the daemon to create containers connected to
several networks.
Signed-off-by: Albin Kerouanton <albinker@gmail.com >
2023-09-15 10:07:29 +02:00
Sebastiaan van Stijn
1cab8eda24
replace golint with revive, as it's deprecated
...
WARN [runner] The linter 'golint' is deprecated (since v1.41.0) due to: The repository of the linter has been archived by the owner. Replaced by revive.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2022-07-04 10:15:54 +02:00
Sebastiaan van Stijn
bb17074119
reformat "nolint" comments
...
Unlike regular comments, nolint comments should not have a leading space.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2021-06-10 13:03:42 +02:00
Sebastiaan van Stijn
9f0b3f5609
bump gotest.tools v3.0.1 for compatibility with Go 1.14
...
full diff: https://github.com/gotestyourself/gotest.tools/compare/v2.3.0...v3.0.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2020-02-11 00:06:42 +01:00
Sebastiaan van Stijn
caec45a37f
integration: change network.CreateNoError signature to fix linting
...
Line 30: warning: context.Context should be the first parameter of a function (golint)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2019-06-07 13:03:24 +02:00
Sebastiaan van Stijn
35f7e7c50a
Fix golint issues
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2018-07-11 22:19:03 +02:00
Vincent Demeester
3845728524
Update tests to use gotest.tools 👼
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm >
2018-06-13 09:04:30 +02:00
Arash Deshmeh
0e3012cfff
Added network package to integration/internal to refactor integration tests calls to client.NetworkCreate
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com >
2018-06-05 06:32:24 -04:00