version

package
v0.0.0-...-7412f86 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2015 License: Apache-2.0 Imports: 2 Imported by: 4

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
	Message    string
	BuildLabel string
	Timestamp  string
	Number     string
}

func BuildInfo

func BuildInfo() *Build

func (*Build) GetBranch

func (buildInfo *Build) GetBranch() string

func (*Build) GetBuildNumber

func (buildInfo *Build) GetBuildNumber() string

func (*Build) GetBuildTimestamp

func (buildInfo *Build) GetBuildTimestamp() string

func (*Build) GetCommitHash

func (buildInfo *Build) GetCommitHash() string

func (*Build) GetRepoUrl

func (buildInfo *Build) GetRepoUrl() string

func (*Build) GetTag

func (buildInfo *Build) GetTag() string

func (*Build) Notice

func (buildInfo *Build) Notice() string

Jump to

Keyboard shortcuts

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