wick_config/config/common/exposed_resources.rs
1use super::bindings::BoundIdentifier;
2
3#[derive(Debug, Clone, PartialEq, derive_builder::Builder, property::Property, serde::Serialize)]
4#[property(get(public), set(public), mut(public, suffix = "_mut"))]
5#[builder(setter(into))]
6
7/// Volumes to expose to a component and the internal paths they map to.
8pub struct ExposedVolume {
9 /// The resource ID of the volume.
10 pub(crate) resource: BoundIdentifier,
11 /// The path to map it to in the component.
12 pub(crate) path: String,
13}