1#[allow(clippy::all)]
4#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
5pub struct CertificatesCreateRequest {}
6#[allow(clippy::all)]
8#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
9pub struct CertificatesCreateResponse {
10 #[prost(string, tag = "1")]
11 pub certificate_pem: ::prost::alloc::string::String,
12}
13#[allow(clippy::all)]
15#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
16pub struct ListenerGetRequest {}
17#[allow(clippy::all)]
19#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
20pub struct ListenerGetResponse {
21 #[prost(message, optional, tag = "1")]
22 pub value: ::core::option::Option<ListenerValue>,
23 #[prost(bytes = "vec", tag = "2")]
25 pub revision: ::prost::alloc::vec::Vec<u8>,
26 #[prost(string, tag = "3")]
28 pub bound_endpoint: ::prost::alloc::string::String,
29}
30#[allow(clippy::all)]
32#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
33pub struct ListenerSetRequest {
34 #[prost(message, optional, tag = "1")]
35 pub value: ::core::option::Option<ListenerValue>,
36 #[prost(bytes = "vec", tag = "2")]
38 pub expected_revision: ::prost::alloc::vec::Vec<u8>,
39}
40#[allow(clippy::all)]
42#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
43pub struct ListenerSetResponse {
44 #[prost(message, optional, tag = "1")]
45 pub value: ::core::option::Option<ListenerValue>,
46 #[prost(bytes = "vec", tag = "2")]
48 pub revision: ::prost::alloc::vec::Vec<u8>,
49 #[prost(string, tag = "3")]
51 pub bound_endpoint: ::prost::alloc::string::String,
52}
53#[allow(clippy::all)]
55#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
56pub struct ListenerValue {
57 #[prost(bool, tag = "1")]
58 pub enabled: bool,
59 #[prost(string, tag = "2")]
61 pub endpoint: ::prost::alloc::string::String,
62 #[prost(string, repeated, tag = "3")]
64 pub certificate_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
65}
66#[allow(clippy::all)]
68#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
69pub struct PairingsCreateRequest {
70 #[prost(string, tag = "1")]
72 pub label: ::prost::alloc::string::String,
73}
74#[allow(clippy::all)]
76#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
77pub struct PairingsCreateResponse {
78 #[prost(message, optional, tag = "1")]
79 pub pairing: ::core::option::Option<Pairing>,
80 #[prost(string, tag = "2")]
81 pub endpoint: ::prost::alloc::string::String,
82 #[prost(string, tag = "3")]
84 pub pinned_certificate_pem: ::prost::alloc::string::String,
85 #[prost(string, tag = "4")]
87 pub credential: ::prost::alloc::string::String,
88}
89#[allow(clippy::all)]
91#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
92pub struct PairingsListRequest {
93 #[prost(message, optional, tag = "2")]
95 pub at: ::core::option::Option<crate::model::Position>,
96}
97#[allow(clippy::all)]
99#[derive(Clone, PartialEq, ::prost::Message)]
100pub struct PairingsListResponse {
101 #[prost(message, repeated, tag = "1")]
102 pub pairings: ::prost::alloc::vec::Vec<Pairing>,
103 #[prost(message, optional, tag = "2")]
105 pub resolved_at: ::core::option::Option<crate::model::Position>,
106}
107#[allow(clippy::all)]
109#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
110pub struct PairingsDeleteRequest {
111 #[prost(string, tag = "1")]
113 pub name: ::prost::alloc::string::String,
114}
115#[allow(clippy::all)]
117#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
118pub struct PairingsDeleteResponse {}
119#[allow(clippy::all)]
121#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
122pub struct Pairing {
123 #[prost(string, tag = "1")]
125 pub id: ::prost::alloc::string::String,
126 #[prost(string, tag = "2")]
127 pub label: ::prost::alloc::string::String,
128}