Files
containerd/client
Sebastiaan van Stijn a6dc9905cb client: add WithExtraDialOpts option
the client package provides a WithDialOpts option, however, dial-options
passed to override all defaults that are set in containerd. This makes it
difficult to expand the defaults with custom options, as this requires
copying the defaults, and trying to keep those in sync (e.g. see [moby#48617]).

This patch introduces a new `WithExtraDialOpts` option which, unlike
`WithDialOpts` are appended to, instead of overriding, previous options.
This allows setting custom options, while maintaining containerd's defaults.

Also unlike `WithDialOpts`, this option can be used multiple times to allow
additional options to be set.

[moby#48617]: https://github.com/moby/moby/pull/48617

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-01-21 16:18:59 +01:00
..
2025-01-21 16:18:59 +01:00
2024-10-18 16:04:54 -07:00
2024-12-23 23:14:49 -07:00
2024-05-02 11:03:00 -07:00
2024-10-18 16:04:54 -07:00
2024-01-17 09:51:26 -08:00
2024-01-17 09:55:39 -08:00
2024-12-23 23:14:49 -07:00
2024-01-25 22:18:45 -08:00
2024-01-25 22:18:45 -08:00
2023-11-01 10:37:00 -07:00
2024-03-01 23:07:42 -08:00
2024-01-17 09:51:45 -08:00
2024-10-18 16:04:54 -07:00
2024-10-18 16:04:54 -07:00
2024-02-10 18:02:05 -08:00
2024-05-02 11:03:00 -07:00
2024-10-18 16:04:54 -07:00