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:
parent
a8dfdd21a9
commit
c070dd4c0f
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user