version

package
v1.32.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: Apache-2.0 Imports: 2 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.32.1"

Version is the version of the Agent

Variables

This section is empty.

Functions

func GitHashString

func GitHashString() string

func PrintVersion

func PrintVersion() int

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

func String

func String() string

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

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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