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

Function make_context

crates/openshell-sandbox/src/google_cloud_metadata.rs:327–331  ·  view source on GitHub ↗
(env: HashMap<String, String>)

Source from the content-addressed store, hash-verified

325 use std::collections::HashMap;
326
327 fn make_context(env: HashMap<String, String>) -> MetadataContext {
328 let state =
329 ProviderCredentialState::from_environment(0, env, HashMap::new(), HashMap::new());
330 MetadataContext::new(state)
331 }
332
333 fn make_context_with_expiry(
334 env: HashMap<String, String>,

Calls

no outgoing calls