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

Method build

crates/openshell-prover/src/model.rs:88–96  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

86 }
87
88 fn build(&mut self) {
89 self.index_endpoints();
90 self.index_binaries();
91 self.encode_policy_allows();
92 self.encode_l7_enforcement();
93 self.encode_binary_capabilities();
94 self.encode_credentials();
95 self.encode_filesystem();
96 }
97
98 fn index_endpoints(&mut self) {
99 for (policy_name, rule) in &self.policy.network_policies {

Callers 1

newMethod · 0.45

Calls 7

index_endpointsMethod · 0.80
index_binariesMethod · 0.80
encode_policy_allowsMethod · 0.80
encode_l7_enforcementMethod · 0.80
encode_credentialsMethod · 0.80
encode_filesystemMethod · 0.80

Tested by

no test coverage detected