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
|
// @generated
// This file is @generated by prost-build.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RedisProxyExternalAuthRequest {
/// Username, if applicable. Otherwise, empty.
#[prost(string, tag="1")]
pub username: ::prost::alloc::string::String,
/// Password sent with the AUTH command.
#[prost(string, tag="2")]
pub password: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RedisProxyExternalAuthResponse {
/// Status of the authentication check.
#[prost(message, optional, tag="1")]
pub status: ::core::option::Option<super::super::super::super::google::rpc::Status>,
/// Optional expiration time for the authentication.
/// If set, the authentication will be valid until this time.
/// If not set, the authentication will be valid indefinitely.
#[prost(message, optional, tag="2")]
pub expiration: ::core::option::Option<super::super::super::super::google::protobuf::Timestamp>,
/// Optional message to be sent back to the client.
#[prost(string, tag="3")]
pub message: ::prost::alloc::string::String,
}
include!("envoy.service.redis_auth.v3.tonic.rs");
// @@protoc_insertion_point(module)
|