Struct containerd_shim::Flags
source · pub struct Flags {
pub debug: bool,
pub namespace: String,
pub id: String,
pub socket: String,
pub bundle: String,
pub address: String,
pub publish_binary: String,
pub action: String,
pub version: bool,
}
Expand description
Flags to be passed from containerd daemon to a shim binary. Reflects https://github.com/containerd/containerd/blob/master/runtime/v2/shim/shim.go#L100
Fields§
§debug: bool
Enable debug output in logs.
namespace: String
Namespace that owns the shim.
id: String
Id of the task.
socket: String
Abstract socket path to serve.
bundle: String
Path to the bundle if not workdir.
address: String
GRPC address back to main containerd.
publish_binary: String
Path to publish binary (used for publishing events).
action: String
Shim action (start / delete). See https://github.com/containerd/containerd/blob/master/runtime/v2/shim/shim.go#L191
version: bool
Version of the shim.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Flags
impl Send for Flags
impl Sync for Flags
impl Unpin for Flags
impl UnwindSafe for Flags
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more