cli: move upgradeApply logic into separate functions

* introduce handleImageUpgrade & handleServiceUpgrade
* rename cloudUpgrader.Upgrade to UpgradeImage
* remove helm flag
* remove hint about development status
This commit is contained in:
Otto Bittner 2023-02-01 11:23:57 +01:00
parent 91e27ac186
commit 7db584a88e
3 changed files with 37 additions and 40 deletions

View file

@ -72,7 +72,7 @@ type stubUpgrader struct {
helmErr error
}
func (u stubUpgrader) Upgrade(context.Context, string, string, measurements.M) error {
func (u stubUpgrader) UpgradeImage(context.Context, string, string, measurements.M) error {
return u.err
}