-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename internal/util/ssa
util functions for better naming consistency
#8396
Comments
@ykakarap: GuidelinesPlease ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/triage accepted |
@fabriziopandini: GuidelinesPlease ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
hey @ykakarap 👋 I'd like to pick this one up |
/assign @cahillsf Thanks! |
Detailed Description:
Rename the following functions in the
ssa
package to have consistent naming scheme:All the above functions are in
internal/util/ssa
package.The comments on these functions should also be corrected. Example:
For
IsAllowedPath
the comment should be changed to// IsAllowedPath returns a functions that returns true when the Path is one of the AllowedPaths.
(similarly for the other functions).Additional Information:
We need to have an explicit
IsPathNotAllowed
and cannot simple use the negation ofIsPathAllowed
and ask used to use!IsPathAllowed()
as both the functions return a filter function and there is no simple way to get to negation of the returned function./kind cleanup
/help
The text was updated successfully, but these errors were encountered: