nullnet_libwallguard/proto/
wallguard_commands.rs

1// This file is @generated by prost-build.
2#[derive(Clone, PartialEq, ::prost::Message)]
3pub struct SshSessionData {
4    #[prost(string, tag = "1")]
5    pub tunnel_token: ::prost::alloc::string::String,
6    #[prost(string, tag = "2")]
7    pub public_key: ::prost::alloc::string::String,
8}
9#[derive(Clone, PartialEq, ::prost::Message)]
10pub struct UiSessionData {
11    #[prost(string, tag = "1")]
12    pub tunnel_token: ::prost::alloc::string::String,
13    #[prost(string, tag = "2")]
14    pub protocol: ::prost::alloc::string::String,
15}
16#[derive(Clone, PartialEq, ::prost::Message)]
17pub struct WallGuardCommand {
18    #[prost(oneof = "wall_guard_command::Command", tags = "1, 2, 3, 4, 5, 6, 7, 8")]
19    pub command: ::core::option::Option<wall_guard_command::Command>,
20}
21/// Nested message and enum types in `WallGuardCommand`.
22pub mod wall_guard_command {
23    #[derive(Clone, PartialEq, ::prost::Oneof)]
24    pub enum Command {
25        #[prost(string, tag = "1")]
26        UpdateTokenCommand(::prost::alloc::string::String),
27        #[prost(bool, tag = "2")]
28        EnableNetworkMonitoringCommand(bool),
29        #[prost(bool, tag = "3")]
30        EnableConfigurationMonitoringCommand(bool),
31        #[prost(bool, tag = "4")]
32        EnableTelemetryMonitoringCommand(bool),
33        #[prost(message, tag = "5")]
34        OpenSshSessionCommand(super::SshSessionData),
35        #[prost(string, tag = "6")]
36        OpenTtySessionCommand(::prost::alloc::string::String),
37        #[prost(message, tag = "7")]
38        OpenUiSessionCommand(super::UiSessionData),
39        #[prost(message, tag = "8")]
40        HeartbeatCommand(()),
41    }
42}