Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsFreshInstall ¶
func IsFreshInstall(db gorp.SqlExecutor) (bool, error)
IsFreshInstall return true if it's a fresh installation of CDS and not an upgrade
func MaxVersion ¶
func MaxVersion(db gorp.SqlExecutor) (major, minor, patch uint64, err error)
MaxVersion return max CDS version already started major, minor, patch
func Upsert ¶
func Upsert(db gorp.SqlExecutor) error
Upsert try to insert a new currentCDS version, if it already exist it does nothing
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.