Skip to content

Commit

Permalink
cdh: update ttrpc generated files for API
Browse files Browse the repository at this point in the history
Signed-off-by: Xynnn007 <xynnn@linux.alibaba.com>
  • Loading branch information
Xynnn007 committed Jan 9, 2024
1 parent 24a7ba4 commit c64ff8c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 15 deletions.
20 changes: 10 additions & 10 deletions confidential-data-hub/hub/src/bin/confidential-data-hub/api.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is generated by rust-protobuf 3.2.0. Do not edit
// This file is generated by rust-protobuf 3.3.0. Do not edit
// .proto file is parsed by pure
// @generated

Expand All @@ -23,10 +23,10 @@
/// Generated files are compatible only with the same version
/// of protobuf runtime.
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_2_0;
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_3_0;

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:api.UnsealSecretInput)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct UnsealSecretInput {
// message fields
// @@protoc_insertion_point(field:api.UnsealSecretInput.secret)
Expand Down Expand Up @@ -147,8 +147,8 @@ impl ::protobuf::reflect::ProtobufValue for UnsealSecretInput {
type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
}

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:api.UnsealSecretOutput)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct UnsealSecretOutput {
// message fields
// @@protoc_insertion_point(field:api.UnsealSecretOutput.plaintext)
Expand Down Expand Up @@ -269,8 +269,8 @@ impl ::protobuf::reflect::ProtobufValue for UnsealSecretOutput {
type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
}

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:api.GetResourceRequest)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct GetResourceRequest {
// message fields
// @@protoc_insertion_point(field:api.GetResourceRequest.ResourcePath)
Expand Down Expand Up @@ -391,8 +391,8 @@ impl ::protobuf::reflect::ProtobufValue for GetResourceRequest {
type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
}

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:api.GetResourceResponse)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct GetResourceResponse {
// message fields
// @@protoc_insertion_point(field:api.GetResourceResponse.Resource)
Expand Down Expand Up @@ -513,8 +513,8 @@ impl ::protobuf::reflect::ProtobufValue for GetResourceResponse {
type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
}

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:api.KeyProviderKeyWrapProtocolInput)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct KeyProviderKeyWrapProtocolInput {
// message fields
// @@protoc_insertion_point(field:api.KeyProviderKeyWrapProtocolInput.KeyProviderKeyWrapProtocolInput)
Expand Down Expand Up @@ -635,8 +635,8 @@ impl ::protobuf::reflect::ProtobufValue for KeyProviderKeyWrapProtocolInput {
type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
}

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:api.KeyProviderKeyWrapProtocolOutput)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct KeyProviderKeyWrapProtocolOutput {
// message fields
// @@protoc_insertion_point(field:api.KeyProviderKeyWrapProtocolOutput.KeyProviderKeyWrapProtocolOutput)
Expand Down Expand Up @@ -757,8 +757,8 @@ impl ::protobuf::reflect::ProtobufValue for KeyProviderKeyWrapProtocolOutput {
type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
}

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:api.SecureMountRequest)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct SecureMountRequest {
// message fields
// @@protoc_insertion_point(field:api.SecureMountRequest.driver)
Expand Down Expand Up @@ -969,8 +969,8 @@ impl ::protobuf::reflect::ProtobufValue for SecureMountRequest {
type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
}

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:api.SecureMountResponse)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct SecureMountResponse {
// message fields
// @@protoc_insertion_point(field:api.SecureMountResponse.mount_path)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
// This file is generated by ttrpc-compiler 0.6.1. Do not edit
// This file is generated by ttrpc-compiler 0.6.2. Do not edit
// @generated

// https://github.com/Manishearth/rust-clippy/issues/702
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unknown_lints)]
#![allow(clipto_camel_casepy)]

#![cfg_attr(rustfmt, rustfmt_skip)]

#![allow(box_pointers)]
#![allow(dead_code)]
#![allow(missing_docs)]
Expand All @@ -17,6 +14,7 @@
#![allow(unsafe_code)]
#![allow(unused_imports)]
#![allow(unused_results)]
#![allow(clippy::all)]
use protobuf::{CodedInputStream, CodedOutputStream, Message};
use std::collections::HashMap;
use std::sync::Arc;
Expand Down

0 comments on commit c64ff8c

Please sign in to comment.