pub struct PlayKubeLibpod<'a> {Show 16 fields
pub annotations: Option<&'a str>,
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 publish_all_ports: Option<bool>,
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>,
}
v5
only.Fields§
§annotations: Option<&'a str>
JSON encoded value of annotations (a map[string]string).
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
publish_all_ports: Option<bool>
Whether to publish all ports defined in the K8S YAML file (containerPort, hostPort), if false only hostPort will be published
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.