#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ContainerCreate {
#[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub image: ::prost::alloc::string::String,
#[prost(message, optional, tag = "3")]
pub runtime: ::core::option::Option<container_create::Runtime>,
}
pub mod container_create {
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Runtime {
#[prost(string, tag = "1")]
pub name: ::prost::alloc::string::String,
#[prost(message, optional, tag = "2")]
pub options: ::core::option::Option<::prost_types::Any>,
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ContainerUpdate {
#[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub image: ::prost::alloc::string::String,
#[prost(map = "string, string", tag = "3")]
pub labels: ::std::collections::HashMap<
::prost::alloc::string::String,
::prost::alloc::string::String,
>,
#[prost(string, tag = "4")]
pub snapshot_key: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ContainerDelete {
#[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ContentDelete {
#[prost(string, tag = "1")]
pub digest: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NamespaceCreate {
#[prost(string, tag = "1")]
pub name: ::prost::alloc::string::String,
#[prost(map = "string, string", tag = "2")]
pub labels: ::std::collections::HashMap<
::prost::alloc::string::String,
::prost::alloc::string::String,
>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NamespaceUpdate {
#[prost(string, tag = "1")]
pub name: ::prost::alloc::string::String,
#[prost(map = "string, string", tag = "2")]
pub labels: ::std::collections::HashMap<
::prost::alloc::string::String,
::prost::alloc::string::String,
>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NamespaceDelete {
#[prost(string, tag = "1")]
pub name: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SnapshotPrepare {
#[prost(string, tag = "1")]
pub key: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub parent: ::prost::alloc::string::String,
#[prost(string, tag = "5")]
pub snapshotter: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SnapshotCommit {
#[prost(string, tag = "1")]
pub key: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub name: ::prost::alloc::string::String,
#[prost(string, tag = "5")]
pub snapshotter: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SnapshotRemove {
#[prost(string, tag = "1")]
pub key: ::prost::alloc::string::String,
#[prost(string, tag = "5")]
pub snapshotter: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TaskCreate {
#[prost(string, tag = "1")]
pub container_id: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub bundle: ::prost::alloc::string::String,
#[prost(message, repeated, tag = "3")]
pub rootfs: ::prost::alloc::vec::Vec<super::types::Mount>,
#[prost(message, optional, tag = "4")]
pub io: ::core::option::Option<TaskIo>,
#[prost(string, tag = "5")]
pub checkpoint: ::prost::alloc::string::String,
#[prost(uint32, tag = "6")]
pub pid: u32,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TaskStart {
#[prost(string, tag = "1")]
pub container_id: ::prost::alloc::string::String,
#[prost(uint32, tag = "2")]
pub pid: u32,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TaskDelete {
#[prost(string, tag = "1")]
pub container_id: ::prost::alloc::string::String,
#[prost(uint32, tag = "2")]
pub pid: u32,
#[prost(uint32, tag = "3")]
pub exit_status: u32,
#[prost(message, optional, tag = "4")]
pub exited_at: ::core::option::Option<::prost_types::Timestamp>,
#[prost(string, tag = "5")]
pub id: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TaskIo {
#[prost(string, tag = "1")]
pub stdin: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub stdout: ::prost::alloc::string::String,
#[prost(string, tag = "3")]
pub stderr: ::prost::alloc::string::String,
#[prost(bool, tag = "4")]
pub terminal: bool,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TaskExit {
#[prost(string, tag = "1")]
pub container_id: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub id: ::prost::alloc::string::String,
#[prost(uint32, tag = "3")]
pub pid: u32,
#[prost(uint32, tag = "4")]
pub exit_status: u32,
#[prost(message, optional, tag = "5")]
pub exited_at: ::core::option::Option<::prost_types::Timestamp>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TaskOom {
#[prost(string, tag = "1")]
pub container_id: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TaskExecAdded {
#[prost(string, tag = "1")]
pub container_id: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub exec_id: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TaskExecStarted {
#[prost(string, tag = "1")]
pub container_id: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub exec_id: ::prost::alloc::string::String,
#[prost(uint32, tag = "3")]
pub pid: u32,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TaskPaused {
#[prost(string, tag = "1")]
pub container_id: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TaskResumed {
#[prost(string, tag = "1")]
pub container_id: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TaskCheckpointed {
#[prost(string, tag = "1")]
pub container_id: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub checkpoint: ::prost::alloc::string::String,
}