Documentation ¶
Overview ¶
This is an autogenerated file and should not be edited. Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License is located at
http://aws.amazon.com/apache2.0/
or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Package version contains constants to indicate the current version of the agent. It is autogenerated
Index ¶
Constants ¶
const GitDirty = true
GitDirty indicates the cleanliness of the git repo when this agent was built
const GitShortHash = "UNKNOWN"
GitShortHash is the short hash of this agent build
const Version = "0.1.0"
Please DO NOT commit any changes to this file (specifically the hash) except for those created by running ./scripts/update-version at the root of the repository. Only the 'Version' const should change in checked-in source code 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:
Blox Daemon Scheduler: Version: 0.0.1 Commit: 55347bc