pub struct PlayKubeLibpod<'a> {Show 14 fields
pub log_driver: Option<&'a str>,
pub log_options: Option<Vec<&'a str>>,
pub network: Option<Vec<&'a str>>,
pub no_hosts: Option<bool>,
pub no_trunc: Option<bool>,
pub publish_ports: Option<Vec<&'a str>>,
pub replace: Option<bool>,
pub service_container: Option<bool>,
pub start: Option<bool>,
pub static_i_ps: Option<Vec<&'a str>>,
pub static_ma_cs: Option<Vec<&'a str>>,
pub tls_verify: Option<bool>,
pub userns: Option<&'a str>,
pub wait: Option<bool>,
}
Available on crate feature
v4
only.Fields§
§log_driver: Option<&'a str>
Logging driver for the containers in the pod.
log_options: Option<Vec<&'a str>>
logging driver options
network: Option<Vec<&'a str>>
USe the network mode or specify an array of networks.
no_hosts: Option<bool>
do not setup /etc/hosts file in container
no_trunc: Option<bool>
use annotations that are not truncated to the Kubernetes maximum length of 63 characters
publish_ports: Option<Vec<&'a str>>
publish a container’s port, or a range of ports, to the host
replace: Option<bool>
replace existing pods and containers
service_container: Option<bool>
Starts a service container before all pods.
start: Option<bool>
Start the pod after creating it.
static_i_ps: Option<Vec<&'a str>>
Static IPs used for the pods.
static_ma_cs: Option<Vec<&'a str>>
Static MACs used for the pods.
tls_verify: Option<bool>
Require HTTPS and verify signatures when contacting registries.
userns: Option<&'a str>
Set the user namespace mode for the pods.
wait: Option<bool>
Clean up all objects created when a SIGTERM is received or pods exit.
Trait Implementations§
Source§impl<'a> Debug for PlayKubeLibpod<'a>
impl<'a> Debug for PlayKubeLibpod<'a>
Source§impl<'a> Default for PlayKubeLibpod<'a>
impl<'a> Default for PlayKubeLibpod<'a>
Source§fn default() -> PlayKubeLibpod<'a>
fn default() -> PlayKubeLibpod<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for PlayKubeLibpod<'a>
impl<'a> RefUnwindSafe for PlayKubeLibpod<'a>
impl<'a> Send for PlayKubeLibpod<'a>
impl<'a> Sync for PlayKubeLibpod<'a>
impl<'a> Unpin for PlayKubeLibpod<'a>
impl<'a> UnwindSafe for PlayKubeLibpod<'a>
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