version

package
v1.14.11 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const Version = "1.14.11"

Version is the version of the build.

Variables

This section is empty.

Functions

func ShouldCrioWipe added in v1.14.11

func ShouldCrioWipe(versionFileName string) (bool, error)

ShouldCrioWipe opens the version file, and parses it and the version string If there is a parsing error, then crio should wipe, and the error is returned. if parsing is successful, it compares the major and minor versions and returns whether the major and minor versions are the same. If they differ, then crio should wipe.

func WriteVersionFile added in v1.14.3

func WriteVersionFile(file, gitCommit string) error

WriteVersionFile writes the version information to a given file file is the location of the old version file gitCommit is the current git commit version. It will be added to the file to aid in debugging, but will not be used to compare versions

Types

This section is empty.

Jump to

Keyboard shortcuts

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