diff options
| author | Павел Жуков <33721692+LeaveMyYard@users.noreply.github.com> | 2023-05-29 10:01:18 +0300 |
|---|---|---|
| committer | Павел Жуков <33721692+LeaveMyYard@users.noreply.github.com> | 2023-05-29 10:01:18 +0300 |
| commit | 037cc5e0c4b57fc8a9f27e7933253f964d912e5c (patch) | |
| tree | 6e2d3c1f607f52abf58ea895a3cfe68036c86dd5 /robusta_krr/api | |
| parent | 6f118c1973cf64c747c5842e49fcdeb6b59f7e9f (diff) | |
Refactor severity calculators using functional approach
Diffstat (limited to 'robusta_krr/api')
| -rw-r--r-- | robusta_krr/api/models.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/robusta_krr/api/models.py b/robusta_krr/api/models.py index be2a3ad..c6b3c99 100644 --- a/robusta_krr/api/models.py +++ b/robusta_krr/api/models.py @@ -1,7 +1,8 @@ from robusta_krr.core.abstract.strategies import HistoryData, ResourceRecommendation, RunResult from robusta_krr.core.models.allocations import RecommendationValue, ResourceAllocations, ResourceType from robusta_krr.core.models.objects import K8sObjectData -from robusta_krr.core.models.result import ResourceScan, Result, Severity +from robusta_krr.core.models.result import ResourceScan, Result +from robusta_krr.core.models.severity import Severity __all__ = [ "ResourceType", @@ -10,6 +11,7 @@ __all__ = [ "K8sObjectData", "Result", "Severity", + "bind_calculator", "ResourceScan", "ResourceRecommendation", "HistoryData", |
