Sebastiaan van Stijn
f76f1fc013
client: Client.ImageSave: close reader on context cancellation
...
Use a cancelReadCloser to automatically close the reader when the context
is cancelled. Consumers are still recommended to manually close the reader,
but the cancelReadCloser makes the Close idempotent.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-11-06 00:10:59 +01:00
Sebastiaan van Stijn
dc22f2c8bf
client: make ImageSaveResult an interface
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-11-03 18:39:52 +01:00
Paweł Gronowski
2d69edd28a
client/image_(inspect,history,load,save): Wrap return values
...
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com >
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-10-21 14:23:38 +02:00
Austin Vazquez
853aed171b
api/types/image: move image option types to client
...
Signed-off-by: Austin Vazquez <austin.vazquez@docker.com >
2025-08-26 15:38:44 -05: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
Paweł Gronowski
903ba2f487
client: Move opts to separate files
...
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com >
2025-02-14 14:45:08 +01:00