Commit Graph

73 Commits

Author SHA1 Message Date
Bryant Biggs c0b92c4e96 chore: Update protobuf definitions using latest containerd version v2.1.1 2025-06-11 00:15:32 +00:00
Kyle Kosic 559cc576b9 add experimental flag 2025-02-20 18:20:05 +00:00
Phil Estes 9d9cc05d18 Add example using the transfer service
Pulls an image to the containerd content store

Signed-off-by: Phil Estes <estesp@amazon.com>
2025-02-01 06:55:48 +00:00
jokemanfire e5db241747 Fix complie error
1. update ttrpc version
2. proto3 syntax  "To define 'optional' fields in Proto3, simply remove the 'optional' label, as fields are 'optional' by default"
3. compile fail because "required for the cast from `Arc<std::boxed::Box<<T as asynchronous::Shim>::T>>` to `Arc<(dyn containerd_shim_protos::shim_async::Task + std::marker::Send + Sync + 'static)>`"

Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
2025-01-27 20:08:08 +00:00
Maksym Pavlenko 1f1e38dc06
Bump client to 0.8.0
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2025-01-16 13:46:49 -08:00
Phil Estes 2d47d88f13 Add a to_any helper in the containerd client crate
This provides a solution to Any->type matching that happens on
the containerd Go-based server side where the Any types in prost
use typeurl as defined in the protobuf spec and the server side
is matching on the fullname property of the type.

Signed-off-by: Phil Estes <estesp@amazon.com>
2025-01-16 20:44:01 +00:00
Phil Estes 41d2ded16a Add mod for transfer types
Makes the transfer types available in containerd_client imports

Signed-off-by: Phil Estes <estesp@amazon.com>
2025-01-08 19:50:56 +00:00
Maksym Pavlenko 95964f295e
Bump containerd client to 0.7.0
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2025-01-08 10:43:30 -08:00
Maksym Pavlenko ce05587af2 Update vendor
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2025-01-08 18:31:52 +00:00
adsick 3044a44363 `with_namespace!`: fix formatting and accept `expr` instead of `ident` 2024-12-03 22:40:50 +00:00
jiaxiao zhou a665cfcfc0 client, snapshots/Cargo.toml: Ignore `prost` in cargo-machete metadata
Signed-off-by: jiaxiao zhou <duibao55328@gmail.com>
2024-11-06 18:26:42 +00:00
Maksym Pavlenko 304d67069b Bump client to 0.6.0
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2024-10-07 11:35:55 -07:00
Bryant Biggs da4d1f48bf fix: Replace `tonic` deprecated methods to fix clippy warnings 2024-10-05 14:55:48 +00:00
Bryant Biggs fb4cb85d66 chore: Run `cargo fmt` 2024-10-05 14:55:48 +00:00
Bryant Biggs 2265428508 Update lib.rs
Co-authored-by: James Sturtevant <jsturtevant@gmail.com>
Signed-off-by: Bryant Biggs <bryantbiggs@gmail.com>
2024-10-05 14:55:48 +00:00
Bryant Biggs 81f51386f0 chore: Revert change to windows target 2024-10-05 14:55:48 +00:00
Bryant Biggs ece15e9275 fix: Windows client is not awaitable 2024-10-05 14:55:48 +00:00
Bryant Biggs 2050c857d6 chore: Update `tonic` and `prost` dependencies to latest 2024-10-05 14:55:48 +00:00
Bryant Biggs ab17df086a chore: Fix whitespace 2024-07-30 16:54:34 +00:00
Gabriel Dolberg 666a5ec112 Typos
Signed-off-by: Gabriel Dolberg <gbd199@gmail.com>
2024-06-17 20:20:51 +00:00
Gabriel Dolberg 26e238edf8 Update namespace gRPC header reference path
Signed-off-by: Gabriel Dolberg <gbd199@gmail.com>
2024-06-05 21:30:12 +00:00
fcfangcc e4558356cc add comment 2024-05-07 01:51:59 +00:00
fcfangcc 97321c7d56 fixed client if tonic has tls feature 2024-05-07 01:51:59 +00:00
Toby Lawrence dcc8e395fd Fix Clippy lint. 2024-04-26 18:30:24 +00:00
Toby Lawrence 74da0e6d59 Fix example to handle decoding event payloads with malformed type URLs. 2024-04-26 18:30:24 +00:00
Toby Lawrence 3d73fd3660 fix formatting 2024-04-26 18:30:24 +00:00
Toby Lawrence 33d4d81850 add unit test + example 2024-04-26 18:30:24 +00:00
Toby Lawrence 4a0f9292c6 Enable type names for Protocol Buffer message types to support Any decoding. 2024-04-26 18:30:24 +00:00
James Sturtevant c836f13370 Add support for windows to containerd client
Adds support to containerd client and enables running the examples

Signed-off-by: James Sturtevant <jsturtevant@gmail.com>
2024-04-24 22:31:39 +00:00
James Sturtevant 798ab74d20 Release 0.7.0 of Shim and 0.5.0 of client
Signed-off-by: James Sturtevant <jstur@microsoft.com>
2024-03-13 19:20:17 +00:00
Maksym Pavlenko af09869cee Patch invalid proto comments
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2024-02-22 17:49:39 +00:00
Maksym Pavlenko 1d819cc0c4 Suppress warnings for generated code
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2024-02-22 17:49:39 +00:00
Maksym Pavlenko b769e85b33 Update vendor
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2024-02-22 17:49:39 +00:00
Maksym Pavlenko 202c785059 Add update vendor script
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2024-02-22 17:49:39 +00:00
Maksym Pavlenko 85557745e0 Make examples compilable
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2023-10-03 20:41:38 -07:00
Maksym Pavlenko e9910f30b8 Simplify doc management
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2023-10-03 20:41:38 -07:00
Bryant Biggs 5e1b7760a1 chore: Standardize Cargo.toml files, enable more workspace dependencies 2023-09-21 13:04:22 -04:00
Bryant Biggs 125ad82a43 fix: Remove runtime protos and add streaming and transfer services into build.rs 2023-09-18 21:31:53 +00:00
Bryant Biggs 273b527bd2 fix: Replace tabs with spaces to pass CI 2023-09-18 21:31:53 +00:00
Bryant Biggs 3143c26bd2 feat: Update proto files to latest and remove gogo use 2023-09-18 21:31:53 +00:00
Maksym Pavlenko 13ae16577a
Bump client to 0.4.0
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2023-08-10 12:58:06 -07:00
Maksym Pavlenko a65ec7f6df Improve containerd client ergonomics
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2023-08-09 12:03:36 -07:00
Maksym Pavlenko ddf49a9a52 Fix dependencies
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2023-07-11 10:47:24 -07:00
Maksym Pavlenko 4f66aaffe7 Update tonic dependencies
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2023-05-15 10:19:35 -07:00
Maksym Pavlenko f23659c392 [client] Bump version to 0.3.0 2023-05-05 10:44:55 -07:00
Chris Rice 660d4f886b add submodule for sandbox 2023-05-05 11:05:49 -06:00
Chris Rice c9fe55ef51 add containerd.services.sandbox.v1 2023-05-05 08:40:48 -06:00
Maksym Pavlenko 98754fd771 Update tokio
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2023-03-13 09:43:52 -07:00
utam0k fe1b3b0f73
Fix the warns from clippy lints
Signed-off-by: utam0k <k0ma@utam0k.jp>
2022-12-29 21:21:55 +09:00
Maksym Pavlenko 80e7945674 Use workspace inheritance to describe crates
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2022-11-04 14:34:49 -07:00