Documentation ¶
Index ¶
- func BatchRenameOp(args []string) error
- func CopyOp(args []string) error
- func ExecOp(args []string) (err error)
- func ExtractZip(zipfile, dest string) error
- func MoveOp(args []string) error
- func ReadCurrentVersion(versionFile string) string
- func RemoveOp(args []string) error
- func RunUpgradeOps(upgradeInfo *UpgradeInfo) error
- func SetProfileChannel(channel string) int
- func SetProfileID(id string) int
- func SetRandomProfileID() int
- func ValidateCheckSum(upgradeInfo *UpgradeInfo, zipfile string) error
- type Operation
- type Profile
- type UpgradeInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BatchRenameOp ¶
func ExtractZip ¶
ExtractZip extracts a zip from zipfile to destination specified dby dest
func ReadCurrentVersion ¶
ReadCurrentVersion returns current version as read from versionFile.
func RunUpgradeOps ¶
func RunUpgradeOps(upgradeInfo *UpgradeInfo) error
func SetProfileChannel ¶
func SetProfileID ¶
func SetRandomProfileID ¶
func SetRandomProfileID() int
func ValidateCheckSum ¶
func ValidateCheckSum(upgradeInfo *UpgradeInfo, zipfile string) error
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.