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

Method with_compute_driver_endpoint

crates/openshell-core/src/config.rs:639–647  ·  view source on GitHub ↗
(
        mut self,
        name: impl Into<String>,
        socket: impl Into<PathBuf>,
    )

Source from the content-addressed store, hash-verified

637 /// Register a Unix domain socket endpoint for a named remote driver.
638 #[must_use]
639 pub fn with_compute_driver_endpoint(
640 mut self,
641 name: impl Into<String>,
642 socket: impl Into<PathBuf>,
643 ) -> Self {
644 self.compute_driver_endpoints
645 .insert(name.into(), socket.into());
646 self
647 }
648
649 /// Create a new configuration with the SSH session TTL.
650 #[must_use]

Calls

no outgoing calls