Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/OpenShell
/ current_generation
Method
current_generation
crates/openshell-supervisor-network/src/opa.rs:88–90 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
86
}
87
88
pub fn current_generation(&self) -> u64 {
89
self.current_generation.load(Ordering::Acquire)
90
}
91
92
pub fn is_stale(&self) -> bool {
93
self.current_generation() != self.captured_generation
Callers
15
is_stale
Method · 0.80
evaluate_network_action_with_generation
Method · 0.80
generation_guard
Method · 0.80
query_endpoint_configs_with_generation
Method · 0.80
clone_engine_for_tunnel
Method · 0.80
l7_clone_engine_for_tunnel
Function · 0.80
policy_generation_does_not_increment_on_failed_reload
Function · 0.80
tunnel_clone_rejects_stale_generation
Function · 0.80
evaluate_opa_tcp
Function · 0.80
forward_test_guard
Function · 0.80
forward_websocket_policy_parts
Function · 0.80
forward_websocket_upgrade_options_enable_native_policy_context
Function · 0.80
Calls
1
load
Method · 0.45
Tested by
9
l7_clone_engine_for_tunnel
Function · 0.64
policy_generation_does_not_increment_on_failed_reload
Function · 0.64
tunnel_clone_rejects_stale_generation
Function · 0.64
forward_websocket_upgrade_options_enable_native_policy_context
Function · 0.64
test_forward_relay_guard_blocks_stale_generation_before_upstream_write
Function · 0.64
test_forward_relay_rejects_cl_te_smuggling_before_upstream_write
Function · 0.64
jsonrpc_batch_evaluates_each_call
Function · 0.64
jsonrpc_request_params_do_not_affect_method_policy
Function · 0.64
mcp_tool_deny_rule_blocks_tools_call
Function · 0.64