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

Function edge_registration

crates/openshell-cli/src/run.rs:7946–7954  ·  view source on GitHub ↗
(name: &str, endpoint: &str)

Source from the content-addressed store, hash-verified

7944 }
7945
7946 fn edge_registration(name: &str, endpoint: &str) -> GatewayMetadata {
7947 GatewayMetadata {
7948 name: name.to_string(),
7949 gateway_endpoint: endpoint.to_string(),
7950 is_remote: true,
7951 auth_mode: Some("cloudflare_jwt".to_string()),
7952 ..Default::default()
7953 }
7954 }
7955
7956 #[test]
7957 fn parse_credential_pairs_accepts_key_value_form() {

Calls

no outgoing calls