#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Command {
#[prost(int32, tag="1")]
pub channel: i32,
#[prost(int32, tag="2")]
pub session: i32,
#[prost(string, tag="1000")]
pub r#ref: std::string::String,
#[prost(oneof="command::Body", tags="3, 4, 5, 6, 9, 10, 11, 12, 16, 17, 20, 21, 22, 23, 24, 26, 27, 28, 30, 31, 41, 32, 33, 34, 36, 39, 35, 37, 38, 40, 42, 43, 44, 70, 71, 90, 91, 92, 100, 120, 121, 122, 123, 130, 150, 151, 152, 153, 200, 201, 202, 205, 206, 220, 221, 222, 223, 224, 225, 226, 251, 230, 231, 232, 233, 235, 240, 256, 257, 260, 261, 262, 270, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 310, 311, 312, 330, 331, 332, 335, 340, 350, 351, 360, 361, 362, 363, 364, 365, 366, 367")]
pub body: ::std::option::Option<command::Body>,
}
pub mod command {
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Body {
#[prost(message, tag="3")]
OpenChan(super::OpenChannel),
#[prost(message, tag="4")]
OpenChanRes(super::OpenChannelRes),
#[prost(message, tag="5")]
CloseChan(super::CloseChannel),
#[prost(message, tag="6")]
CloseChanRes(super::CloseChannelRes),
#[prost(message, tag="9")]
ContainerState(super::ContainerState),
#[prost(message, tag="10")]
PortOpen(super::PortOpen),
#[prost(message, tag="11")]
Toast(super::Toast),
#[prost(message, tag="12")]
Redirect(super::Redirect),
#[prost(message, tag="16")]
RunMain(super::RunMain),
#[prost(message, tag="17")]
Clear(super::Clear),
#[prost(string, tag="20")]
Eval(std::string::String),
#[prost(string, tag="21")]
Result(std::string::String),
#[prost(string, tag="22")]
Input(std::string::String),
#[prost(string, tag="23")]
Output(std::string::String),
#[prost(string, tag="24")]
Error(std::string::String),
#[prost(message, tag="26")]
SaneTerm(super::SaneTerm),
#[prost(message, tag="27")]
ResizeTerm(super::ResizeTerm),
#[prost(enumeration="super::State", tag="28")]
State(i32),
#[prost(message, tag="30")]
Ok(super::Ok),
#[prost(message, tag="31")]
Persist(super::File),
#[prost(message, tag="41")]
PersistMirror(super::File),
#[prost(message, tag="32")]
Write(super::File),
#[prost(message, tag="33")]
Remove(super::File),
#[prost(message, tag="34")]
Move(super::Move),
#[prost(message, tag="36")]
TryRemove(super::File),
#[prost(message, tag="39")]
Mkdir(super::File),
#[prost(message, tag="35")]
Read(super::File),
#[prost(message, tag="37")]
Readdir(super::File),
#[prost(message, tag="38")]
Files(super::Files),
#[prost(message, tag="40")]
File(super::File),
#[prost(message, tag="42")]
CheckChanges(super::CheckChanges),
#[prost(message, tag="43")]
ChangedFiles(super::Files),
#[prost(message, tag="44")]
LintResults(super::LintResults),
#[prost(message, tag="70")]
RunContainedTest(super::ContainedTest),
#[prost(message, tag="71")]
TestResult(super::TestResult),
#[prost(string, tag="90")]
DebuggerStart(std::string::String),
#[prost(message, tag="91")]
DebuggerStep(super::RunMain),
#[prost(message, tag="92")]
DebuggerStatus(super::DebugStatus),
#[prost(message, tag="100")]
EnsurePackages(super::EnsurePackages),
#[prost(message, tag="120")]
Ping(super::Ping),
#[prost(message, tag="121")]
Pong(super::Pong),
#[prost(message, tag="122")]
Hello(super::Hello),
#[prost(message, tag="123")]
Goodbye(super::Goodbye),
#[prost(message, tag="130")]
Hint(super::Hint),
#[prost(message, tag="150")]
Connect(super::Connect),
#[prost(message, tag="151")]
Send(super::Send),
#[prost(message, tag="152")]
Recv(super::Recv),
#[prost(message, tag="153")]
Disconnect(super::Disconnect),
#[prost(message, tag="200")]
FileAuthReq(super::FileAuthReq),
#[prost(message, tag="201")]
FileAuthRes(super::FileAuthRes),
#[prost(message, tag="202")]
MutliFileAuthRes(super::MultiFileAuthRes),
#[prost(message, tag="205")]
ListObjects(super::ListObjects),
#[prost(message, tag="206")]
ListObjectsResp(super::ListObjectsResp),
#[prost(message, tag="220")]
Ot(super::OtPacket),
#[prost(message, tag="221")]
Otstatus(super::OtStatus),
#[prost(message, tag="222")]
OtLinkFile(super::OtLinkFile),
#[prost(message, tag="223")]
OtNewCursor(super::OtCursor),
#[prost(message, tag="224")]
OtDeleteCursor(super::OtCursor),
#[prost(message, tag="225")]
OtFetchRequest(super::OtFetchRequest),
#[prost(message, tag="226")]
OtFetchResponse(super::OtFetchResponse),
#[prost(message, tag="251")]
Flush(super::Flush),
#[prost(message, tag="230")]
Debug(super::Debug),
#[prost(message, tag="231")]
StartVcr(super::StartVcr),
#[prost(message, tag="232")]
ReadVcr(super::ReadVcr),
#[prost(message, tag="233")]
VcrLog(super::VcrLog),
#[prost(message, tag="235")]
Auth(super::Auth),
#[prost(message, tag="240")]
ExecInfo(super::ExecInfo),
#[prost(message, tag="256")]
SubscribeFile(super::SubscribeFile),
#[prost(message, tag="257")]
FileEvent(super::FileEvent),
#[prost(message, tag="260")]
Roster(super::Roster),
#[prost(message, tag="261")]
Join(super::User),
#[prost(message, tag="262")]
Part(super::User),
#[prost(message, tag="270")]
Exec(super::Exec),
#[prost(message, tag="280")]
PackageSearch(super::PackageSearch),
#[prost(message, tag="281")]
PackageSearchResp(super::PackageSearchResp),
#[prost(message, tag="282")]
PackageInfo(super::PackageInfo),
#[prost(message, tag="283")]
PackageInfoResp(super::PackageInfoResp),
#[prost(message, tag="284")]
PackageAdd(super::PackageAdd),
#[prost(message, tag="285")]
PackageRemove(super::PackageRemove),
#[prost(message, tag="286")]
PackageInstall(super::PackageInstall),
#[prost(message, tag="287")]
PackageListSpecfile(super::PackageListSpecfile),
#[prost(message, tag="288")]
PackageListSpecfileResp(super::PackageListSpecfileResp),
#[prost(message, tag="289")]
PackageCacheSave(super::PackageCacheSave),
#[prost(message, tag="310")]
ChatMessage(super::ChatMessage),
#[prost(message, tag="311")]
ChatTyping(super::ChatTyping),
#[prost(message, tag="312")]
ChatScrollback(super::ChatScrollback),
#[prost(message, tag="330")]
FsSnapshot(super::FsSnapshot),
#[prost(message, tag="331")]
FsTakeLock(super::FsLock),
#[prost(message, tag="332")]
FsReleaseLock(super::FsLock),
#[prost(bool, tag="335")]
HasCap(bool),
#[prost(message, tag="340")]
Pid1Config(super::Pid1Config),
#[prost(message, tag="350")]
Metrics(super::Metrics),
#[prost(message, tag="351")]
BootStatus(super::BootStatus),
#[prost(message, tag="360")]
ReadMeta(super::ReadMeta),
#[prost(message, tag="361")]
WriteMeta(super::WriteMeta),
#[prost(message, tag="362")]
AppendMeta(super::AppendMeta),
#[prost(message, tag="363")]
Audio(super::Audio),
#[prost(message, tag="364")]
PprofRequest(super::PprofRequest),
#[prost(message, tag="365")]
PprofResponse(super::PprofResponse),
#[prost(message, tag="366")]
Audio2(super::Audio2),
#[prost(message, tag="367")]
PtyConfig(super::PtyConfig),
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Audio {
#[prost(int32, repeated, tag="1")]
pub data: ::std::vec::Vec<i32>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Audio2 {
#[prost(sint32, repeated, tag="1")]
pub data: ::std::vec::Vec<i32>,
#[prost(int64, tag="2")]
pub samples: i64,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ReadMeta {
#[prost(string, tag="1")]
pub key: std::string::String,
#[prost(bool, tag="2")]
pub exists: bool,
#[prost(bytes, tag="3")]
pub data: std::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct WriteMeta {
#[prost(string, tag="1")]
pub key: std::string::String,
#[prost(bytes, tag="2")]
pub data: std::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AppendMeta {
#[prost(string, tag="1")]
pub key: std::string::String,
#[prost(bytes, tag="2")]
pub data: std::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BootStatus {
#[prost(enumeration="boot_status::Stage", tag="1")]
pub stage: i32,
#[prost(uint32, tag="2")]
pub progress: u32,
#[prost(uint32, tag="3")]
pub total: u32,
}
pub mod boot_status {
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum Stage {
Handshake = 0,
Acquiring = 3,
Complete = 4,
Proxy = 5,
PullFiles = 6,
LoadBlock = 7,
Retry = 8,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Pid1Config {
#[prost(string, tag="1")]
pub cwd: std::string::String,
#[prost(string, tag="2")]
pub language: std::string::String,
#[prost(map="string, string", tag="3")]
pub env: ::std::collections::HashMap<std::string::String, std::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FsLock {
#[prost(string, tag="1")]
pub name: std::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FsSnapshot {
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SubscribeFile {
#[prost(message, repeated, tag="1")]
pub files: ::std::vec::Vec<File>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FileEvent {
#[prost(message, optional, tag="1")]
pub file: ::std::option::Option<File>,
#[prost(message, optional, tag="3")]
pub dest: ::std::option::Option<File>,
#[prost(enumeration="file_event::Op", tag="2")]
pub op: i32,
}
pub mod file_event {
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum Op {
Create = 0,
Move = 1,
Remove = 2,
Modify = 3,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Flush {
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct OtLinkFile {
#[prost(message, optional, tag="1")]
pub file: ::std::option::Option<File>,
#[prost(bool, tag="2")]
pub high_consistency: bool,
#[prost(bool, tag="3")]
pub use_mod_time: bool,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Auth {
#[prost(string, tag="1")]
pub token: std::string::String,
#[prost(string, tag="2")]
pub container_id: std::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct VcrEntry {
#[prost(uint64, tag="1")]
pub timestamp: u64,
#[prost(enumeration="vcr_entry::Direction", tag="2")]
pub direction: i32,
#[prost(message, optional, tag="3")]
pub command: ::std::option::Option<Command>,
#[prost(string, tag="4")]
pub uid: std::string::String,
}
pub mod vcr_entry {
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum Direction {
In = 0,
Out = 1,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StartVcr {
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ReadVcr {
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct VcrLog {
#[prost(message, repeated, tag="1")]
pub log: ::std::vec::Vec<VcrEntry>,
#[prost(message, optional, tag="2")]
pub logfile: ::std::option::Option<File>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExecInfo {
#[prost(string, repeated, tag="1")]
pub command: ::std::vec::Vec<std::string::String>,
#[prost(string, tag="2")]
pub reason: std::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Debug {
#[prost(string, tag="1")]
pub text: std::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FileAuthReq {
#[prost(message, optional, tag="1")]
pub file: ::std::option::Option<File>,
#[prost(enumeration="FileAuthMethod", tag="2")]
pub method: i32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MultiFileAuthRes {
#[prost(message, optional, tag="1")]
pub put: ::std::option::Option<FileAuthRes>,
#[prost(message, optional, tag="2")]
pub del: ::std::option::Option<FileAuthRes>,
#[prost(message, optional, tag="3")]
pub get: ::std::option::Option<FileAuthRes>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FileAuthRes {
#[prost(message, optional, tag="1")]
pub file: ::std::option::Option<File>,
#[prost(string, tag="2")]
pub url: std::string::String,
#[prost(enumeration="FileAuthMethod", tag="3")]
pub method: i32,
#[prost(int64, tag="4")]
pub expire: i64,
#[prost(string, tag="5")]
pub error: std::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListObjects {
#[prost(string, tag="1")]
pub prefix: std::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListObjectsResp {
#[prost(string, repeated, tag="1")]
pub objects: ::std::vec::Vec<std::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Disconnect {
#[prost(string, tag="1")]
pub error: std::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Send {
#[prost(bytes, tag="1")]
pub buff: std::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Recv {
#[prost(bytes, tag="1")]
pub buff: std::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Connect {
#[prost(string, tag="1")]
pub proto: std::string::String,
#[prost(string, tag="2")]
pub addr: std::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Hint {
#[prost(string, tag="1")]
pub text: std::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Ping {
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Pong {
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Hello {
#[prost(uint32, tag="1")]
pub userid: u32,
#[prost(string, tag="2")]
pub username: std::string::String,
#[prost(string, tag="3")]
pub token: std::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Goodbye {
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CheckChanges {
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EnsurePackages {
#[prost(bool, tag="1")]
pub install: bool,
#[prost(message, optional, tag="2")]
pub file: ::std::option::Option<File>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Start {
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DebugStatus {
#[prost(bool, tag="1")]
pub done: bool,
#[prost(message, repeated, tag="2")]
pub stack: ::std::vec::Vec<StackFrame>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StackFrame {
#[prost(string, tag="1")]
pub function: std::string::String,
#[prost(uint32, tag="2")]
pub line: u32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ContainedTest {
#[prost(message, optional, tag="1")]
pub suite: ::std::option::Option<File>,
#[prost(message, repeated, tag="2")]
pub project: ::std::vec::Vec<File>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TestResult {
#[prost(bool, tag="1")]
pub passed: bool,
#[prost(string, tag="2")]
pub stderr: std::string::String,
#[prost(message, repeated, tag="3")]
pub fails: ::std::vec::Vec<TestFailure>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TestFailure {
#[prost(string, tag="1")]
pub name: std::string::String,
#[prost(string, tag="2")]
pub trace: std::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ResizeTerm {
#[prost(uint32, tag="1")]
pub rows: u32,
#[prost(uint32, tag="2")]
pub cols: u32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SaneTerm {
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LintResults {
#[prost(message, repeated, tag="1")]
pub results: ::std::vec::Vec<LintResult>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LintResult {
#[prost(string, tag="1")]
pub text: std::string::String,
#[prost(int32, tag="2")]
pub row: i32,
#[prost(int32, tag="3")]
pub column: i32,
#[prost(string, tag="4")]
pub r#type: std::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Ok {
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Move {
#[prost(string, tag="1")]
pub old_path: std::string::String,
#[prost(string, tag="2")]
pub new_path: std::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Files {
#[prost(message, repeated, tag="1")]
pub files: ::std::vec::Vec<File>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct File {
#[prost(string, tag="1")]
pub path: std::string::String,
#[prost(enumeration="file::Type", tag="2")]
pub r#type: i32,
#[prost(bytes, tag="3")]
pub content: std::vec::Vec<u8>,
}
pub mod file {
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum Type {
Regular = 0,
Directory = 1,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Clear {
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Toast {
#[prost(string, tag="1")]
pub text: std::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Redirect {
#[prost(string, tag="1")]
pub url: std::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RunMain {
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct OpenChannel {
#[prost(string, tag="1")]
pub service: std::string::String,
#[prost(string, tag="2")]
pub name: std::string::String,
#[prost(enumeration="open_channel::Action", tag="3")]
pub action: i32,
#[prost(int32, tag="4")]
pub id: i32,
}
pub mod open_channel {
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum Action {
Create = 0,
Attach = 1,
AttachOrCreate = 2,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct OpenChannelRes {
#[prost(int32, tag="1")]
pub id: i32,
#[prost(enumeration="open_channel_res::State", tag="2")]
pub state: i32,
#[prost(string, tag="3")]
pub error: std::string::String,
}
pub mod open_channel_res {
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum State {
Created = 0,
Attached = 1,
Error = 2,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CloseChannel {
#[prost(int32, tag="1")]
pub id: i32,
#[prost(enumeration="close_channel::Action", tag="2")]
pub action: i32,
}
pub mod close_channel {
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum Action {
Disconnect = 0,
TryClose = 1,
Close = 2,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CloseChannelRes {
#[prost(int32, tag="1")]
pub id: i32,
#[prost(enumeration="close_channel_res::Status", tag="2")]
pub status: i32,
}
pub mod close_channel_res {
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum Status {
Disconnect = 0,
Close = 1,
Nothing = 2,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ContainerState {
#[prost(enumeration="container_state::State", tag="1")]
pub state: i32,
}
pub mod container_state {
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum State {
Sleep = 0,
Ready = 1,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PortOpen {
#[prost(bool, tag="1")]
pub forwarded: bool,
#[prost(uint32, tag="2")]
pub port: u32,
#[prost(string, tag="3")]
pub address: std::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct OtFetchRequest {
#[prost(uint32, tag="1")]
pub version_from: u32,
#[prost(uint32, tag="2")]
pub version_to: u32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct OtFetchResponse {
#[prost(message, repeated, tag="1")]
pub packets: ::std::vec::Vec<OtPacket>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct OtPacket {
#[prost(uint32, tag="1")]
pub spooky_version: u32,
#[prost(uint32, tag="5")]
pub version: u32,
#[prost(message, repeated, tag="2")]
pub ops: ::std::vec::Vec<OtRuneTransformOp>,
#[prost(uint32, tag="3")]
pub crc32: u32,
#[prost(message, optional, tag="4")]
pub committed: ::std::option::Option<::prost_types::Timestamp>,
#[prost(uint32, tag="6")]
pub nonce: u32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct OtRuneTransformOp {
#[prost(oneof="ot_rune_transform_op::Op", tags="1, 2, 3")]
pub op: ::std::option::Option<ot_rune_transform_op::Op>,
}
pub mod ot_rune_transform_op {
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Op {
#[prost(uint32, tag="1")]
Skip(u32),
#[prost(uint32, tag="2")]
Delete(u32),
#[prost(string, tag="3")]
Insert(std::string::String),
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct OtStatus {
#[prost(string, tag="1")]
pub contents: std::string::String,
#[prost(uint32, tag="2")]
pub version: u32,
#[prost(message, optional, tag="3")]
pub linked_file: ::std::option::Option<File>,
#[prost(message, repeated, tag="4")]
pub cursors: ::std::vec::Vec<OtCursor>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct OtCursor {
#[prost(uint32, tag="1")]
pub position: u32,
#[prost(uint32, tag="2")]
pub selection_start: u32,
#[prost(uint32, tag="3")]
pub selection_end: u32,
#[prost(message, optional, tag="4")]
pub user: ::std::option::Option<User>,
#[prost(string, tag="5")]
pub id: std::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ChatMessage {
#[prost(string, tag="1")]
pub username: std::string::String,
#[prost(string, tag="2")]
pub text: std::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ChatTyping {
#[prost(string, tag="1")]
pub username: std::string::String,
#[prost(bool, tag="2")]
pub typing: bool,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct User {
#[prost(uint32, tag="1")]
pub id: u32,
#[prost(string, tag="2")]
pub name: std::string::String,
#[prost(string, repeated, tag="3")]
pub roles: ::std::vec::Vec<std::string::String>,
#[prost(int32, tag="4")]
pub session: i32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Roster {
#[prost(message, repeated, tag="1")]
pub user: ::std::vec::Vec<User>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Exec {
#[prost(string, repeated, tag="1")]
pub args: ::std::vec::Vec<std::string::String>,
#[prost(map="string, string", tag="2")]
pub env: ::std::collections::HashMap<std::string::String, std::string::String>,
#[prost(bool, tag="3")]
pub blocking: bool,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Package {
#[prost(string, tag="1")]
pub name: std::string::String,
#[prost(string, tag="2")]
pub spec: std::string::String,
#[prost(string, tag="10")]
pub description: std::string::String,
#[prost(string, tag="11")]
pub version: std::string::String,
#[prost(string, tag="12")]
pub homepage_url: std::string::String,
#[prost(string, tag="13")]
pub documentation_url: std::string::String,
#[prost(string, tag="14")]
pub source_code_url: std::string::String,
#[prost(string, tag="15")]
pub bug_tracker_url: std::string::String,
#[prost(string, tag="16")]
pub author: std::string::String,
#[prost(string, tag="17")]
pub license: std::string::String,
#[prost(message, repeated, tag="18")]
pub dependencies: ::std::vec::Vec<Package>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PackageSearch {
#[prost(string, tag="1")]
pub query: std::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PackageSearchResp {
#[prost(message, repeated, tag="1")]
pub results: ::std::vec::Vec<Package>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PackageInfo {
#[prost(message, optional, tag="1")]
pub pkg: ::std::option::Option<Package>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PackageInfoResp {
#[prost(message, optional, tag="1")]
pub pkg: ::std::option::Option<Package>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PackageAdd {
#[prost(message, repeated, tag="1")]
pub pkgs: ::std::vec::Vec<Package>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PackageRemove {
#[prost(message, repeated, tag="1")]
pub pkgs: ::std::vec::Vec<Package>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PackageInstall {
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PackageListSpecfile {
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PackageListSpecfileResp {
#[prost(message, repeated, tag="1")]
pub pkgs: ::std::vec::Vec<Package>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PackageCacheSave {
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ChatScrollback {
#[prost(message, repeated, tag="1")]
pub scrollback: ::std::vec::Vec<ChatMessage>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Metrics {
#[prost(bytes, repeated, tag="1")]
pub prometheus_metric_families: ::std::vec::Vec<std::vec::Vec<u8>>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PprofRequest {
#[prost(string, tag="1")]
pub id: std::string::String,
#[prost(oneof="pprof_request::Body", tags="2, 3, 4, 5, 6")]
pub body: ::std::option::Option<pprof_request::Body>,
}
pub mod pprof_request {
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Body {
#[prost(message, tag="2")]
PprofCpuProfileRequest(super::PprofCpuProfileRequest),
#[prost(message, tag="3")]
PprofHeapProfileRequest(super::PprofHeapProfileRequest),
#[prost(message, tag="4")]
PprofAllocsProfileRequest(super::PprofAllocsProfileRequest),
#[prost(message, tag="5")]
PprofBlockProfileRequest(super::PprofBlockProfileRequest),
#[prost(message, tag="6")]
PprofMutexProfileRequest(super::PprofMutexProfileRequest),
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PprofAllocsProfileRequest {
#[prost(bool, tag="1")]
pub debug: bool,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PprofBlockProfileRequest {
#[prost(bool, tag="1")]
pub debug: bool,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PprofCpuProfileRequest {
#[prost(int64, tag="1")]
pub seconds: i64,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PprofHeapProfileRequest {
#[prost(bool, tag="1")]
pub gc: bool,
#[prost(bool, tag="2")]
pub debug: bool,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PprofMutexProfileRequest {
#[prost(bool, tag="1")]
pub debug: bool,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PprofResponse {
#[prost(string, tag="1")]
pub id: std::string::String,
#[prost(bytes, tag="2")]
pub profile: std::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PtyConfig {
#[prost(bool, tag="1")]
pub pipe_mode: bool,
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum FileAuthMethod {
Get = 0,
Head = 1,
Put = 2,
Delete = 3,
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum State {
Stopped = 0,
Running = 1,
}