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

Function l7_engine

crates/openshell-supervisor-network/src/opa.rs:2096–2098  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2094"#;
2095
2096 fn l7_engine() -> OpaEngine {
2097 OpaEngine::from_strings(TEST_POLICY, L7_TEST_DATA).expect("Failed to load L7 test data")
2098 }
2099
2100 fn l7_input(host: &str, port: u16, method: &str, path: &str) -> serde_json::Value {
2101 l7_input_with_query(host, port, method, path, serde_json::json!({}))

Calls

no outgoing calls