-
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.
Reduce Cyclomatic and Update Documentation (#38)
* Reduce [Crew] Cyclomatic - [+] feat(crew.go): add processTask function to handle individual task processing - [+] feat(crew.go): add handleFailedTask function to handle failed tasks - [+] feat(crew.go): add handleSuccessfulTask function to handle successful tasks * Reduce [Error and Retry] Cyclomatic - [+] fix(worker/error_and_retry.go): improve function and variable names for clarity - [+] feat(worker/error_and_retry.go): add support for handling conflict errors and generic errors during task execution * Feat [Go Docs] Resolve Conflict Documentation - [+] chore(crew.go): add resolveConflict function to handle conflict errors during task execution * Reduce [Setup] [K8S] Cyclomatic - [+] refactor(worker/setup.go): simplify NewKubernetesClient function and extract buildOutOfClusterConfig function - [+] feat(worker/setup.go): add buildOutOfClusterConfig function to build configuration from kubeconfig file * Reduce [Task Check Health Pods] Cyclomatic - [+] refactor(logs_pods.go): improve readability and maintainability by separating concerns of iterating over pod list and logging pod information - [+] feat(logs_pods.go): add function to log individual pod information - [+] feat(logs_pods.go): add function to initiate concurrent health checks for pods - [+] feat(logs_pods.go): add function to log health status messages for pods
- Loading branch information
1 parent
e9f1e89
commit ba99954
Showing
4 changed files
with
229 additions
and
126 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
Oops, something went wrong.