version

package
v0.0.0-...-21d6f6e Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetBuildInfo

func SetBuildInfo(b *Build)

Types

type Build

type Build struct {
	RepoUrl   string
	Branch    string
	Tag       string
	Commit    string
	Label     string
	Timestamp string
	Number    string
}

func BuildInfo

func BuildInfo() *Build

func (*Build) Close

func (this *Build) Close() error

func (*Build) GetBranch

func (this *Build) GetBranch() string

func (*Build) GetCommitHash

func (this *Build) GetCommitHash() string

func (*Build) GetLabel

func (this *Build) GetLabel() string

func (*Build) GetNumber

func (this *Build) GetNumber() string

func (*Build) GetRepoUrl

func (this *Build) GetRepoUrl() string

func (*Build) GetTag

func (this *Build) GetTag() string

func (*Build) GetTimestamp

func (this *Build) GetTimestamp() string

func (*Build) HandleFlag

func (this *Build) HandleFlag()

func (*Build) Help

func (this *Build) Help(w io.Writer)

func (*Build) Notice

func (this *Build) Notice() string

func (*Build) RegisterFlags

func (this *Build) RegisterFlags(fs *flag.FlagSet)

func (*Build) Run

func (this *Build) Run(args []string, w io.Writer) error

Jump to

Keyboard shortcuts

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