Simplify state reconciliation and support changing Softnet settings (#364)

* Simplify state reconciliation and support changing Softnet settings

* Remove unused "updateFunc" parameter from syncOnDiskVMs()

* Don't take an address of a loop variable

* ensure → ensures

* updateVMState(): don't forget to update VMState

* Introduce TestSpecUpdateSoftnet integration test

* Update OpenAPI specification to include generation/observedGeneration
This commit is contained in:
Nikolay Edigaryev
2025-11-06 20:56:31 +04:00
committed by GitHub
parent 00d27d1fa0
commit bafcf6fac2
16 changed files with 690 additions and 166 deletions
+2
View File
@@ -15,6 +15,7 @@ require (
github.com/go-openapi/runtime v0.29.0
github.com/gofrs/flock v0.13.0
github.com/golang/protobuf v1.5.4
github.com/google/go-cmp v0.7.0
github.com/google/uuid v1.6.0
github.com/gosuri/uitable v0.0.4
github.com/hashicorp/go-multierror v1.1.1
@@ -26,6 +27,7 @@ require (
github.com/prometheus/client_golang v1.23.2
github.com/pterm/pterm v0.12.82
github.com/samber/lo v1.52.0
github.com/samber/mo v1.16.0
github.com/sethvargo/go-password v0.3.1
github.com/shirou/gopsutil/v4 v4.25.9
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966