Documentation
¶
Index ¶
- Variables
- func CreateSyncerCliBuildInformation(minimalCliVersion *semver.Version) *version2.CliBuildInformation
- func GetCliVersion() *semver.Version
- func GetVersionString() string
- func IsValidToSync(ctx context.Context, plugin version2.CliVersionHandler, ...) (bool, error)
- func SetVersion(setVersion, setDate string)
- type IncompatibleVersionError
Constants ¶
This section is empty.
Variables ¶
View Source
var DevVersion = semver.New(0, 0, 0, "error", "noVersionDefined")
Functions ¶
func CreateSyncerCliBuildInformation ¶ added in v0.33.0
func CreateSyncerCliBuildInformation(minimalCliVersion *semver.Version) *version2.CliBuildInformation
func GetCliVersion ¶ added in v0.33.0
func GetCliVersion() *semver.Version
func GetVersionString ¶ added in v0.33.0
func GetVersionString() string
func IsValidToSync ¶ added in v0.33.0
func SetVersion ¶
func SetVersion(setVersion, setDate string)
Types ¶
type IncompatibleVersionError ¶ added in v0.33.0
type IncompatibleVersionError struct {
// contains filtered or unexported fields
}
func (IncompatibleVersionError) Error ¶ added in v0.33.0
func (e IncompatibleVersionError) Error() string
Click to show internal directories.
Click to hide internal directories.