MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / container

Method container

crates/openshell-ocsf/src/builders/mod.rs:213–221  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

211 /// Build the OCSF `Container` object.
212 #[must_use]
213 pub fn container(&self) -> Container {
214 Container {
215 name: self.sandbox_name.clone(),
216 uid: Some(self.sandbox_id.clone()),
217 image: Some(Image {
218 name: self.container_image.clone(),
219 }),
220 }
221 }
222
223 /// Build the OCSF `Device` object.
224 #[must_use]

Callers 2

apply_common_fieldsMethod · 0.80

Calls

no outgoing calls

Tested by 1