nullnet_libwallguard/proto/
wallguard_commands.rs1#[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 WallGuardCommand {
11 #[prost(oneof = "wall_guard_command::Command", tags = "1, 2, 3, 4, 5, 6, 7, 8")]
12 pub command: ::core::option::Option<wall_guard_command::Command>,
13}
14pub mod wall_guard_command {
16 #[derive(Clone, PartialEq, ::prost::Oneof)]
17 pub enum Command {
18 #[prost(string, tag = "1")]
19 UpdateTokenCommand(::prost::alloc::string::String),
20 #[prost(bool, tag = "2")]
21 EnableNetworkMonitoringCommand(bool),
22 #[prost(bool, tag = "3")]
23 EnableConfigurationMonitoringCommand(bool),
24 #[prost(bool, tag = "4")]
25 EnableTelemetryMonitoringCommand(bool),
26 #[prost(message, tag = "5")]
27 OpenSshSessionCommand(super::SshSessionData),
28 #[prost(string, tag = "6")]
29 OpenTtySessionCommand(::prost::alloc::string::String),
30 #[prost(string, tag = "7")]
31 OpenUiSessionCommand(::prost::alloc::string::String),
32 #[prost(message, tag = "8")]
33 HeartbeatCommand(()),
34 }
35}