version

package
Version: v0.0.0-...-1730ba2 Latest Latest
Warning

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

Go to latest
Published: May 18, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package version holds the command that exposes the version number. Based on the similar feature present on Jaeger.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewVersionCommand

func NewVersionCommand() *cobra.Command

NewVersionCommand creates the command that exposes the version

Types

type Info

type Info struct {
	GitCommit string `json:"commit"`
	BuildDate string `json:"date"`
}

Info holds build information

func Get

func Get() Info

Get creates and initialized Info object

Source Files

Jump to

Keyboard shortcuts

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