forked from istio/istio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow istioctl analyze to suppress messages via cmd line (istio#19673)
* Allow istioctl analyze to suppress messages via cmd line * Break early if suppression match is found * Use backticks instead of double quotes * Support wildcards in suppression Basic globbing is supported (similar to filepath globbing). Also embedded message filtering logic into for-loop. * Use S as shorhand, better docs * Add basic wildcard test * Document wildcard syntax * Extract out filter method to aid in readability * Describe wildcards on AnalysisSuppression.ResourceName * Use go-glob instead of filepath matcher * Example shows multiple suppression rules at once * Update code to work after merge conflict * Fix lint errors * Warn if analyzer code is unknown * Clear messaging * goimports * Added further explanation in message output * Fixes after merge
- Loading branch information
1 parent
6a57add
commit f7509b4
Showing
5 changed files
with
218 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters