-
Notifications
You must be signed in to change notification settings - Fork 244
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor & cleanup kclient generators code before migrating to devfil…
…e/parser (#4134) * Cleanup & Refactor kclient gen code 1 Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com> * Clean up podTemplateSpec usage Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com> * Move GetContainers to kclient Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com> * Move certificate signature to secrets Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com> * Clean up sync folder code Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com> * add GetService() Signed-off-by: Stephanie <yangcao@redhat.com> * add get route Signed-off-by: Stephanie <yangcao@redhat.com> * get adapter to use generator getService Signed-off-by: Stephanie <yangcao@redhat.com> * Move endpoint validations to validate pkg Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com> * Update generators & validators test 1 Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com> * Update unit tests 2 Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com> * add new unit tests Signed-off-by: Stephanie <yangcao@redhat.com> * add unit test for getPortExposure() Signed-off-by: Stephanie <yangcao@redhat.com> * modify unit test due to change to createOrUpdateComponent Signed-off-by: Stephanie <yangcao@redhat.com> * add unit tests for convert functions Signed-off-by: Stephanie <yangcao@redhat.com> * Update unit tests 3 - volume Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com> * Add unit tests 4 - sync folder Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com> * Update adapter unit test Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com> * Rebase and update PR Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com> * Move util func to generators pkg Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com> * Remove illogical devfile 1.0 test case Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com> * Unexport some generator funcs Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com> * Clean up prestart code Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com> * Move project vol mount out of the generators - updated Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com> * PR Review Feedback Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com> * Rename generate to get, add build config func Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com> * PR feedback - func rename and loc Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com> Co-authored-by: Stephanie <yangcao@redhat.com>
- Loading branch information
1 parent
30d9478
commit fce3c77
Showing
44 changed files
with
2,691 additions
and
2,022 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
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.