Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Libpod supports Libpod endpoints Libpod = Tree(iota) // Compat supports Libpod endpoints Compat // CurrentAPI announces what is the current API level CurrentAPI = Level(iota) // MinimalAPI announces what is the oldest API level supported MinimalAPI )
Variables ¶
View Source
var APIVersion = map[Tree]map[Level]semver.Version{ Libpod: { CurrentAPI: Version, MinimalAPI: semver.MustParse("4.0.0"), }, Compat: { CurrentAPI: semver.MustParse("1.41.0"), MinimalAPI: semver.MustParse("1.24.0"), }, }
APIVersion provides the current and minimal API versions for compat and libpod endpoint trees Note: GET|HEAD /_ping is never versioned and provides the API-Version and Libpod-API-Version headers to allow
clients to shop for the Version they wish to support
View Source
var Version = semver.MustParse(rawversion.RawVersion)
Version is the version of the build. NOTE: remember to bump the version at the top of the top-level README.md file when this is bumped.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.