-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ExecutionProgress() method to function interface to report exec p…
…rogress (#2023) * Add phase level progress fields in actionset object Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com> * Change weight based progress calc with func implementation Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com> * Refactor and add unit tests for phase progress Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com> * Update generated deepcopy methods Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com> * Fix import cycle issue in test Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com> * Update pkg/apis/cr/v1alpha1/types.go Co-authored-by: Pavan Navarathna <6504783+pavannd1@users.noreply.github.com> * Update pkg/apis/cr/v1alpha1/types.go Co-authored-by: Pavan Navarathna <6504783+pavannd1@users.noreply.github.com> * Update pkg/apis/cr/v1alpha1/types.go Co-authored-by: Pavan Navarathna <6504783+pavannd1@users.noreply.github.com> * Update pkg/apis/cr/v1alpha1/types.go Co-authored-by: Pavan Navarathna <6504783+pavannd1@users.noreply.github.com> * Use correct action index while updating action phase state Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com> * Implement ExecutionProgress method on Kanister functions (#2117) * Implement ExecutionProgress method on Kanister functions Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com> * Set LastTransitionTime in ExecutionProgress return Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com> * Update pkg/function/backup_data.go Co-authored-by: Pavan Navarathna <6504783+pavannd1@users.noreply.github.com> --------- Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com> Co-authored-by: Pavan Navarathna <6504783+pavannd1@users.noreply.github.com> * Implement ExecProgress on test function Signed-off-by: Prasad Ghangal <prasad.ganghal@veeam.com> * Remove unused mockPhase in test Signed-off-by: Prasad Ghangal <prasad.ganghal@veeam.com> * Remove unnecessary whitespace in updateActionProgress func Signed-off-by: Prasad Ghangal <prasad.ganghal@veeam.com> --------- Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com> Signed-off-by: Prasad Ghangal <prasad.ganghal@veeam.com> Co-authored-by: Pavan Navarathna <6504783+pavannd1@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
- Loading branch information
1 parent
b7b6a78
commit f9d0fdc
Showing
49 changed files
with
1,178 additions
and
642 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.