version

package
v3.4.7 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: Apache-2.0 Imports: 1 Imported by: 9

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("3.1.0"),
	},
	Compat: {
		CurrentAPI: semver.MustParse("1.40.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("3.4.7")

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

type Level added in v3.1.0

type Level int

Level determines which API level, current or something from the past

type Tree added in v3.1.0

type Tree int

Tree determines which API endpoint tree for version

Jump to

Keyboard shortcuts

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