1
0
mirror of https://github.com/containers/youki synced 2024-09-29 15:31:20 +02:00

add some comments about YoukiConfig.

This commit is contained in:
utam0k 2021-11-14 20:47:48 +09:00
parent a8dfdd21a9
commit c070dd4c0f
No known key found for this signature in database
GPG Key ID: CE4B1272D0462168

@ -10,8 +10,9 @@ use oci_spec::runtime::{Hooks, Spec};
use crate::utils;
// TODO: comments and examples
#[derive(Clone, Debug, Deserialize, Serialize)]
/// A configuration for passing information obtained during container creation to other commands.
/// Keeping the information to a minimum improves performance.
#[derive(Clone, Debug, Deserialize, Serialize, PartialEq)]
pub struct YoukiConfig {
pub hooks: Option<Hooks>,
pub cgroup_path: PathBuf,