Struct northstar_runtime::runtime::config::Repository
source · pub struct Repository {
pub type: RepositoryType,
pub key: Option<PathBuf>,
pub mount_on_start: bool,
pub capacity_num: Option<u32>,
pub capacity_size: Option<u64>,
}Expand description
Repository configuration
Fields§
§type: RepositoryTypeRepository type: fs or mem.
key: Option<PathBuf>Optional key for this repository.
mount_on_start: boolMount the containers from this repository on runtime start. Default: false.
capacity_num: Option<u32>Maximum number of containers that can be stored in this repository.
capacity_size: Option<u64>Maximum total size of all containers in this repository.
Trait Implementations§
source§impl Clone for Repository
impl Clone for Repository
source§fn clone(&self) -> Repository
fn clone(&self) -> Repository
Returns a copy 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 Repository
impl Debug for Repository
source§impl<'de> Deserialize<'de> for Repository
impl<'de> Deserialize<'de> for Repository
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