-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(main): using new runtime interface #3691
Conversation
🤖 Generated by lychee actionSummary
Full action output |
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## main #3691 +/- ##
=======================================
Coverage 66.46% 66.46%
=======================================
Files 8 8
Lines 656 656
=======================================
Hits 436 436
Misses 173 173
Partials 47 47
☔ View full report in Codecov by Sentry. |
bd2b914
to
4ad07ce
Compare
🤖 says: E2E Apply Test Result: Success 🎉🎉! |
78e73d5
to
308e9f8
Compare
Signed-off-by: cuisongliu <cuisongliu@qq.com>
Signed-off-by: cuisongliu <cuisongliu@qq.com>
Signed-off-by: cuisongliu <cuisongliu@qq.com>
Signed-off-by: cuisongliu <cuisongliu@qq.com>
66ec411
to
6bcf552
Compare
🤖 says: E2E ARM64 Apply Test Result: |
/cherry-pick release-v4.3 |
🤖 says: cherry pick action finished successfully 🎉! |
* refactor(main): using new runtime interface Signed-off-by: cuisongliu <cuisongliu@qq.com> * feature(main): using up and down interface Signed-off-by: cuisongliu <cuisongliu@qq.com> * feature(main): using up and down interface Signed-off-by: cuisongliu <cuisongliu@qq.com> * feature(main): using up and down interface Signed-off-by: cuisongliu <cuisongliu@qq.com> --------- Signed-off-by: cuisongliu <cuisongliu@qq.com>
* refactor(main): using new runtime interface * feature(main): using up and down interface * feature(main): using up and down interface * feature(main): using up and down interface --------- Signed-off-by: cuisongliu <cuisongliu@qq.com> Co-authored-by: cuisongliu <cuisongliu@qq.com>
🤖 Generated by Copilot at bd2b914
Summary
🔧🚀🧪
Refactored the
pkg/apply/processor
andpkg/runtime
packages to simplify and unify the interface and logic of cluster operations. Renamed and replaced some methods to make them more generic and consistent. Updated the test cases to reflect the changes.Walkthrough
GetKubeadmConfig
withGetConfig
inpkg/apply/gen.go
,pkg/apply/processor/install.go
, andpkg/client-go/kubernetes/expansion_test.go
(link, link, link, link)JoinNodes
,DeleteNodes
,JoinMasters
, andDeleteMasters
withScaleNodes
andScaleMasters
inpkg/apply/processor/create.go
,pkg/apply/processor/scale.go
, andpkg/runtime/runtime.go
(link, link, link, link, link)UpgradeCluster
withUpgrade
inpkg/apply/processor/install.go
andpkg/runtime/runtime.go
(link, link)