feat(ops/yandex-cloud-rs): generated gRPC clients for Yandex Cloud
This uses tonic to generate the full set of gRPC clients for Yandex Cloud. Includes some utility functions like an authentication interceptor to make these actually work. Since the upstream protos are exported regularly I've decided that the versioning will simply be date-based. The point of this is journaldriver integration, of course, hence also the log-centric example code. Change-Id: I00a615dcba80030e7f9bcfd476b2cfdb298f130d Reviewed-on: https://cl.tvl.fyi/c/depot/+/8525 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
parent
f1ca5a3096
commit
ea1383682d
7 changed files with 1613 additions and 0 deletions
17
ops/yandex-cloud-rs/Cargo.toml
Normal file
17
ops/yandex-cloud-rs/Cargo.toml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
[package]
|
||||
name = "yandex-cloud"
|
||||
description = "Generated gRPC clients for the Yandex Cloud API"
|
||||
version = "2023.4.24"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
prost = "0.11"
|
||||
prost-types = "0.11"
|
||||
|
||||
[dependencies.tonic]
|
||||
version = "0.9"
|
||||
features = [ "tls", "tls-roots", "gzip" ]
|
||||
|
||||
[build-dependencies]
|
||||
tonic-build = "0.9"
|
||||
walkdir = "2.3.3"
|
||||
Loading…
Add table
Add a link
Reference in a new issue