Some checks failed
Native Verification / Build Docs (pull_request) Successful in 1m12s
Native Verification / Build App-Service Native (pull_request) Successful in 1m27s
Native Verification / Build Daemon Native (pull_request) Successful in 42s
Lint and Test Charts / lint-test (pull_request_target) Failing after 19s
Lint and Test Charts / test-version (pull_request_target) Successful in 0s
Lint and Test Charts / push-image (pull_request_target) Failing after 15s
Lint and Test Charts / upload-cli (pull_request_target) Failing after 1m15s
Lint and Test Charts / upload-daemon (pull_request_target) Failing after 1m12s
Lint and Test Charts / push-deps (pull_request_target) Has been skipped
Lint and Test Charts / push-deps-arm64 (pull_request_target) Has been skipped
Lint and Test Charts / push-image-arm64 (pull_request_target) Has been cancelled
Lint and Test Charts / upload-package (pull_request_target) Has been cancelled
Lint and Test Charts / install-test (pull_request_target) Has been cancelled
26 lines
616 B
Go
26 lines
616 B
Go
package upgrade
|
|
|
|
import (
|
|
"github.com/Masterminds/semver/v3"
|
|
"github.com/beclab/beos/cli/pkg/core/task"
|
|
)
|
|
|
|
type upgrader interface {
|
|
PrepareForUpgrade() []task.Interface
|
|
ClearAppChartValues() []task.Interface
|
|
ClearBFLChartValues() []task.Interface
|
|
UpdateChartsInAppService() []task.Interface
|
|
UpgradeUserComponents() []task.Interface
|
|
UpdateReleaseFile() []task.Interface
|
|
UpgradeSystemComponents() []task.Interface
|
|
UpdateBeOSVersion() []task.Interface
|
|
PostUpgrade() []task.Interface
|
|
AddedBreakingChange() bool
|
|
NeedRestart() bool
|
|
}
|
|
|
|
type breakingUpgrader interface {
|
|
upgrader
|
|
Version() *semver.Version
|
|
}
|