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

Function inspected_volume

crates/openshell-driver-docker/src/tests.rs:157–170  ·  view source on GitHub ↗
(driver: &str, options: HashMap<String, String>)

Source from the content-addressed store, hash-verified

155}
156
157fn inspected_volume(driver: &str, options: HashMap<String, String>) -> bollard::models::Volume {
158 bollard::models::Volume {
159 name: "openshell-test-volume".to_string(),
160 driver: driver.to_string(),
161 mountpoint: "/var/lib/docker/volumes/openshell-test-volume/_data".to_string(),
162 created_at: None,
163 status: None,
164 labels: HashMap::new(),
165 scope: None,
166 cluster_volume: None,
167 options,
168 usage_data: None,
169 }
170}
171
172struct DisconnectedSupervisorReadiness;
173

Calls

no outgoing calls

Tested by

no test coverage detected