Struct containerd_shim::StartOpts
source · pub struct StartOpts {
pub id: String,
pub publish_binary: String,
pub address: String,
pub ttrpc_address: String,
pub namespace: String,
pub debug: bool,
}
Expand description
Startup options received from containerd to start new shim instance.
These will be passed via Shim::start_shim
to shim.
Fields§
§id: String
ID of the container.
publish_binary: String
Binary path to publish events back to containerd.
address: String
Address of the containerd’s main socket.
ttrpc_address: String
TTRPC socket address.
namespace: String
Namespace for the container.
debug: bool
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for StartOpts
impl Send for StartOpts
impl Sync for StartOpts
impl Unpin for StartOpts
impl UnwindSafe for StartOpts
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