[−][src]Struct gary_plugin_docker::ContainerdRuntimePlugin
Methods
impl ContainerdRuntimePlugin
[src]
Trait Implementations
impl Debug for ContainerdRuntimePlugin
[src]
impl RuntimePlugin for ContainerdRuntimePlugin
[src]
fn name(&self) -> String
[src]
The name of the plugin used to identify it.
fn on_plugin_load(&self)
[src]
A callback fired immediately after the plugin is loaded. Usually used for initialization.
fn on_plugin_unload(&self)
[src]
A callback fired immediately before the plugin is unloaded. Use this if you need to do any cleanup.
fn get_features(&self) -> Vec<RuntimeFeatures>
[src]
fn get_version(&self) -> i32
[src]
fn create_workload(
&self,
id: String,
config: &RuntimeConfig,
options: &Option<SandboxConfig>
) -> Result<String, RuntimeError>
[src]
&self,
id: String,
config: &RuntimeConfig,
options: &Option<SandboxConfig>
) -> Result<String, RuntimeError>
fn start_workload(&mut self, id: String) -> Option<RuntimeError>
[src]
fn stop_workload(&self, id: String, timeout: i32) -> Option<RuntimeError>
[src]
fn remove_workload(&self, id: String) -> Option<RuntimeError>
[src]
fn status_workload(&self, id: String) -> Result<WorkloadStatus, RuntimeError>
[src]
fn update_workload_resources(
&self,
id: String,
rez: WorkloadResources
) -> Option<RuntimeError>
[src]
&self,
id: String,
rez: WorkloadResources
) -> Option<RuntimeError>
fn exec_sync(
&self,
id: String,
cmd: &[String],
timeout: i32
) -> (&[u8], &[u8], Option<RuntimeError>)
[src]
&self,
id: String,
cmd: &[String],
timeout: i32
) -> (&[u8], &[u8], Option<RuntimeError>)
Auto Trait Implementations
impl Sync for ContainerdRuntimePlugin
impl Send for ContainerdRuntimePlugin
impl !Unpin for ContainerdRuntimePlugin
impl !RefUnwindSafe for ContainerdRuntimePlugin
impl !UnwindSafe for ContainerdRuntimePlugin
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,