Commit a85cec7
authored
Unified Workload Discovery for vmcp (#2487)
* unify workload management across CLI and Kubernetes
* removed unnecessary files
* unified workload with separate workloads for cli and k8s
* refactor the constructor and fix tests
* adds more tests
* fixed thv listing
* checks the kubernetes client runtime instead of the environment
* fix e2e tests
* improves test coverage
* refactor the k8s manager into separate package
* removed logs fns
* use pkg/k8s package for client and namespace
* moved discoverer creation to factory inside pkg
* refactor the workload manager
* removed changes regarding the workload manager refactor
* use default workload manager as the cli implmentation for workload discoverer1 parent ad29660 commit a85cec7
File tree
12 files changed
+1042
-573
lines changed- cmd/vmcp/app
- pkg
- vmcp
- aggregator
- workloads
- mocks
- workloads
12 files changed
+1042
-573
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
227 | 226 | | |
228 | 227 | | |
229 | 228 | | |
230 | | - | |
231 | | - | |
| 229 | + | |
| 230 | + | |
232 | 231 | | |
233 | | - | |
234 | | - | |
235 | | - | |
| 232 | + | |
236 | 233 | | |
237 | 234 | | |
238 | | - | |
| 235 | + | |
| 236 | + | |
239 | 237 | | |
240 | | - | |
241 | | - | |
242 | | - | |
| 238 | + | |
243 | 239 | | |
244 | 240 | | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | 241 | | |
249 | 242 | | |
250 | 243 | | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
| 244 | + | |
256 | 245 | | |
257 | 246 | | |
258 | 247 | | |
| |||
This file was deleted.
0 commit comments