- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for GetRules (0.06 sec)
-
istioctl/pkg/authz/listener.go
for _, fc := range parsed.filterChains { for _, rbacHTTP := range fc.rbacHTTP { action := rbacHTTP.GetRules().GetAction() for name := range rbacHTTP.GetRules().GetPolicies() { nameOfPolicy, indexOfRule := extractName(name) addPolicy(action, nameOfPolicy, indexOfRule) } if len(rbacHTTP.GetRules().GetPolicies()) == 0 { addPolicy(action, anonymousName, "0") } }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Sep 11 15:29:30 UTC 2023 - 6K bytes - Viewed (0) -
cni/pkg/plugin/plugin_dryrun_test.go
} generatedRules := getRules(generated) refreshGoldens(t, tt.golden, generatedRules) // Compare generated iptables rule with golden files. golden, err := os.ReadFile(tt.golden) if err != nil { log.Fatalf("Cannot read golden rule file: %v", err) } goldenRules := getRules(golden) if len(generatedRules) == 0 {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Aug 27 16:44:45 UTC 2024 - 8.5K bytes - Viewed (0)