Documentation
¶
Index ¶
Constants ¶
View Source
const DaemonTypeUpd boot.DaemonType = "upd"
Variables ¶
View Source
var (
DefaultUpgradeOutputPath = filepath.Join(os.TempDir(), "upgrade.out")
)
View Source
var (
ErrAlreadyUpgrading = errors.New("already upgrading")
)
Functions ¶
This section is empty.
Types ¶
type Cfg ¶
type VerInfo ¶
type VerInfo struct {
Ver string `json:"ver" yaml:"ver" validate:"required"`
StoreCfg *pipeline.ReaderCfg `json:"storeCfg" yaml:"storeCfg" validate:"required"`
DownloadDstPath string `json:"downloadDstPath" yaml:"downloadDstPath" validate:"required"`
UpgradeCmd []string `json:"upgradeCmd" yaml:"upgradeCmd"`
UpgradeOutputPath string `json:"upgradeOutputPath" yaml:"upgradeOutputPath"`
}
Click to show internal directories.
Click to hide internal directories.