1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
//! Auto-generated API module for docker export.
//!
//! Generated by `cargo run --bin ewe_platform gen_api`.
//! DO NOT EDIT MANUALLY.
//!
//! Feature flag: `docker_export `
use JsonHash;
use HttpClient;
use ;
use ;
use ApiResponse;
// =============================================================================
// TYPE DECLARATIONS
// =============================================================================
// =============================================================================
// ARGS TYPES (per-endpoint)
// =============================================================================
/// Arguments for [`ContainerExport_request`].
///
/// Same shape as `super::shared::IdArgs`.
pub type ContainerExportArgs = IdArgs;
// =============================================================================
// CLIENT FUNCTIONS (per-endpoint)
// =============================================================================
// -----------------------------------------------------------------------------
// GET /containers/{id}/export
// -----------------------------------------------------------------------------
/// GET /containers/{id}/export.
///
/// Takes a client and args, builds the request, optionally applies
/// modifications, then sends it via `send_async().await`.
///
/// # Arguments
///
/// * `client` - HTTP client for making the request: a `DynNetClient`, or an `ApiClient` carrying the `BodyLimits` the response is read under
/// * `args` - Request arguments (path params, query params, body)
/// * `builder_mod` - Optional closure to modify the request builder (e.g., add headers)
///
/// # Response body
///
/// Returned unread, as a stream of byte chunks: read it with `.next().await`.
/// The status is checked before the body is touched.
///
/// # Example
///
/// ```ignore
/// let response = container_export_request(client.clone(), &args, Some(|b: &mut PreparedRequestBuilder| {
/// b.header("X-Custom-Header", "value");
/// })).await?;
/// ```
pub async