spiegel_podman/pkg/api/handlers
Zachary Hanham feb46513f0 scp: add option types
Prior to this commit, many scp functions existed without option structs, which would make extending functionality (adding new options) impossible without breaking changes, or without adding redundant wrapper functions.

This commit adds in new option types for various scp related functions, and changes those functions' signatures to use the new options.

This commit also modifies the `ImageEngine.Scp()` function's interface to use the new opts.

The commit also renames the existing `ImageScpOptions` entity type to `ScpTransferImageOptions`. This is because the previous `ImageScpOptions` was inaccurate, as it is not the actual options for `ImageEngine.Scp()`. `ImageEngine.Scp()` should instead receive `ImageScpOptions`.

This commit should not change any behavior, however it will break the existing functions' signatures.

Signed-off-by: Zachary Hanham <z.hanham00@gmail.com>
2024-10-14 21:46:55 -04:00
..
compat Merge pull request #24135 from Luap99/vendor 2024-10-04 13:14:43 +00:00
libpod scp: add option types 2024-10-14 21:46:55 -04:00
swagger set !remote build tags where needed 2024-08-19 11:41:28 +02:00
types Bump Go module to v5 2024-02-08 09:35:39 -05:00
utils libpod API: make wait endpoint better against rm races 2024-10-08 18:03:15 +02:00
decoder.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
types.go Fix reference to deprecated types.Info 2024-03-27 08:17:10 -05:00