-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Supporting regex in config path (#636)
* started supporting regex in config path Signed-off-by: sethiyash <yashsethiya97@gmail.com> * copying with calling apply recursively Signed-off-by: sethiyash <yashsethiya97@gmail.com> * refactoring Signed-off-by: sethiyash <yashsethiya97@gmail.com> * fixing linting issues Signed-off-by: sethiyash <yashsethiya97@gmail.com> * stop overwriting object in copy mod and made changes in remove mod Signed-off-by: sethiyash <yashsethiya97@gmail.com> * tweaked the logic to resolve issues Signed-off-by: sethiyash <yashsethiya97@gmail.com> * added e2e testcase with regex in config Signed-off-by: sethiyash <yashsethiya97@gmail.com> * made suggested changes on e2e testcases Signed-off-by: sethiyash <yashsethiya97@gmail.com> * regex as seprate path part Signed-off-by: sethiyash <yashsethiya97@gmail.com> * renamed regexObj to regex Signed-off-by: sethiyash <yashsethiya97@gmail.com> * fixing testcase Signed-off-by: sethiyash <yashsethiya97@gmail.com> * added nil check Signed-off-by: Yash Sethiya <ysethiya@vmware.com> Signed-off-by: sethiyash <yashsethiya97@gmail.com> * refactored logic to support regex with indexes Signed-off-by: sethiyash <yashsethiya97@gmail.com> * adopted some nits Signed-off-by: sethiyash <yashsethiya97@gmail.com> * Added comment in e2e testcases Signed-off-by: sethiyash <yashsethiya97@gmail.com> --------- Signed-off-by: sethiyash <yashsethiya97@gmail.com>
- Loading branch information
Showing
6 changed files
with
407 additions
and
16 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
Oops, something went wrong.