Documentation ¶
Overview ¶
Package version contains constants to indicate the current version of the agent. It is autogenerated
Index ¶
Constants ¶
View Source
const GitDirty = true
GitDirty indicates the cleanliness of the git repo when this agent was built
View Source
const GitShortHash = "UNKNOWN"
GitShortHash is the short hash of this agent build
View Source
const Version = "1.3.1"
Version is the version of the Agent
Variables ¶
This section is empty.
Functions ¶
func GitHashString ¶
func GitHashString() string
func PrintVersion ¶
func PrintVersion(extra ...Versioner)
PrintVersions prints the version information on stdout as a multi-line string. The output will look similar to the following:
Amazon ECS Agent: Version: 0.0.3 Commit: 4bdc7fc DockerVersion: 1.5.0
Types ¶
Click to show internal directories.
Click to hide internal directories.