- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Parts (0.21 sec)
-
istioctl/pkg/authz/listener.go
} func extractName(name string) (string, string) { // parts[1] is the namespace, parts[2] is the policy name, parts[3] is the rule index. parts := re.FindStringSubmatch(name) if len(parts) != 4 { log.Errorf("failed to parse policy name: %s", name) return "", "" } return fmt.Sprintf("%s.%s", parts[2], parts[1]), parts[3] } // Print prints the AuthorizationPolicy in the listener.
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Sep 11 15:29:30 GMT 2023 - 6K bytes - Viewed (0)