Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetUpgradeLogPvcName ¶
func GetUpgradeLogPvcName(upgradeLog *harvesterv1.UpgradeLog) string
Returns the name of the log-archive PVC. If an alternative name is set in the annotation, return it instead. For backward compatibility, the returned name is constructed by concatenating the upgrade log name and "log-archive".
func SetUpgradeLogArchive ¶
func SetUpgradeLogArchive(upgradeLog *harvesterv1.UpgradeLog, archiveName string, archiveSize int64, generatedTime string)
Types ¶
Click to show internal directories.
Click to hide internal directories.