version

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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 IsValidToSync(ctx context.Context, plugin version2.CliVersionHandler, syncerMinimalVersion *semver.Version) (bool, error)

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

Jump to

Keyboard shortcuts

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