pub struct PluginConfig {Show 16 fields
pub args: Box<PluginConfigArgs>,
pub description: String,
pub docker_version: Option<String>,
pub documentation: String,
pub entrypoint: Vec<String>,
pub env: Vec<PluginEnv>,
pub interface: Box<PluginConfigInterface>,
pub ipc_host: bool,
pub linux: Box<PluginConfigLinux>,
pub mounts: Vec<PluginMount>,
pub network: Box<PluginConfigNetwork>,
pub pid_host: bool,
pub propagated_mount: String,
pub user: Option<Box<PluginConfigUser>>,
pub work_dir: String,
pub rootfs: Option<Box<PluginConfigRootfs>>,
}
Fields§
§args: Box<PluginConfigArgs>
§description: String
description
docker_version: Option<String>
Docker Version used to create the plugin
documentation: String
documentation
entrypoint: Vec<String>
entrypoint
env: Vec<PluginEnv>
env
interface: Box<PluginConfigInterface>
§ipc_host: bool
ipc host
linux: Box<PluginConfigLinux>
§mounts: Vec<PluginMount>
mounts
network: Box<PluginConfigNetwork>
§pid_host: bool
pid host
propagated_mount: String
propagated mount
user: Option<Box<PluginConfigUser>>
§work_dir: String
work dir
rootfs: Option<Box<PluginConfigRootfs>>
Implementations§
Source§impl PluginConfig
impl PluginConfig
pub fn new( args: PluginConfigArgs, description: String, documentation: String, entrypoint: Vec<String>, env: Vec<PluginEnv>, interface: PluginConfigInterface, ipc_host: bool, linux: PluginConfigLinux, mounts: Vec<PluginMount>, network: PluginConfigNetwork, pid_host: bool, propagated_mount: String, work_dir: String, ) -> PluginConfig
Trait Implementations§
Source§impl Clone for PluginConfig
impl Clone for PluginConfig
Source§fn clone(&self) -> PluginConfig
fn clone(&self) -> PluginConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PluginConfig
impl Debug for PluginConfig
Source§impl Default for PluginConfig
impl Default for PluginConfig
Source§fn default() -> PluginConfig
fn default() -> PluginConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PluginConfig
impl<'de> Deserialize<'de> for PluginConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PluginConfig
impl PartialEq for PluginConfig
Source§impl Serialize for PluginConfig
impl Serialize for PluginConfig
impl StructuralPartialEq for PluginConfig
Auto Trait Implementations§
impl Freeze for PluginConfig
impl RefUnwindSafe for PluginConfig
impl Send for PluginConfig
impl Sync for PluginConfig
impl Unpin for PluginConfig
impl UnwindSafe for PluginConfig
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