version

package
v0.54.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL