Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Exists ¶
func Exists(upgradeType provisioncsv3.UpgradeType, targetVersion, upgradeID string) bool
Exists returns true if the upgrade script exists on disk (i.e. Write() has been called for this upgrade), else false
func GetUpgradeScriptFullPath ¶
GetUpgradeScriptFullPath returns path to the upgrade script
func RemoveCurrent ¶
func RemoveCurrent() error
RemoveCurrent removes the /current file after an upgrade has completed
func Write ¶
func Write(script []byte, upgradeType provisioncsv3.UpgradeType, targetVersion, upgradeID string) error
Write takes the script data to write to /upgrade/upgradeScriptFilename
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.