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

Function write_user_gateway_metadata

e2e/rust/tests/cli_smoke.rs:77–93  ·  view source on GitHub ↗
(
    config_dir: &Path,
    name: &str,
    endpoint: &str,
    gateway_port: u16,
    is_remote: bool,
    auth_mode: &str,
)

Source from the content-addressed store, hash-verified

75}
76
77fn write_user_gateway_metadata(
78 config_dir: &Path,
79 name: &str,
80 endpoint: &str,
81 gateway_port: u16,
82 is_remote: bool,
83 auth_mode: &str,
84) {
85 write_gateway_metadata(
86 &config_dir.join("openshell"),
87 name,
88 endpoint,
89 gateway_port,
90 is_remote,
91 auth_mode,
92 );
93}
94
95fn write_system_gateway_metadata(
96 system_dir: &Path,

Callers 1

seed_gateway_sourcesFunction · 0.85

Calls 1

write_gateway_metadataFunction · 0.85

Tested by

no test coverage detected