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

Method from

crates/openshell-cli/src/main.rs:39–44  ·  view source on GitHub ↗
(gpu: GpuCliRequest)

Source from the content-addressed store, hash-verified

37
38impl From<GpuCliRequest> for GpuResourceRequirements {
39 fn from(gpu: GpuCliRequest) -> Self {
40 match gpu {
41 GpuCliRequest::Count(count) => Self { count: Some(count) },
42 GpuCliRequest::DriverDefault => Self { count: None },
43 }
44 }
45}
46
47/// Resolve the gateway name to a [`GatewayContext`] with the gateway endpoint.

Callers 7

filterGitIgnoredFunction · 0.45
b64urlDecodeFunction · 0.45
b64urlEncodeFunction · 0.45
b64urlDecodeFunction · 0.45
b64urlEncodeFunction · 0.45
verifyAccessTokenFunction · 0.45
postJsonFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected