Documentation
¶
Index ¶
Constants ¶
View Source
const ( DockerAPIVersion = "1.25" DockerDefaultVersion = "1.25" DockerMinimumVersion = "1.19" DockerServerVersion = "1.13.0" )
Variables ¶
View Source
var ( Version string GitCommit string BuildDate string BuildNumber string State string )
These fields are set by the compiler using the linker flags upon build via Makefile.
Functions ¶
Types ¶
type Build ¶
type Build struct {
Version string
GitCommit string
BuildDate string
BuildNumber string
State string
PluginVersion int
}
func (*Build) Equal ¶
Equal determines if v is equal to b based on BuildNumber
func (*Build) IsNewer ¶
IsNewer determines if v is newer than b based on BuildNumber
func (*Build) IsOlder ¶
IsOlder determines if v is older than b based on BuildNumber
Source Files
¶
- version.go
Click to show internal directories.
Click to hide internal directories.