version

package
v1.11.1 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2016 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 3 more Imports: 1 Imported by: 0

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.11.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

func String

func String() string

String produces a human-readable string showing the agent version.

Types

type Versioner

type Versioner interface {
	Version() (string, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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