Documentation
¶
Index ¶
- func SetBuildInfo(b *Build)
- type Build
- func (this *Build) Close() error
- func (this *Build) GetBranch() string
- func (this *Build) GetCommitHash() string
- func (this *Build) GetLabel() string
- func (this *Build) GetNumber() string
- func (this *Build) GetRepoUrl() string
- func (this *Build) GetTag() string
- func (this *Build) GetTimestamp() string
- func (this *Build) HandleFlag()
- func (this *Build) Help(w io.Writer)
- func (this *Build) Notice() string
- func (this *Build) RegisterFlags(fs *flag.FlagSet)
- func (this *Build) Run(args []string, w io.Writer) error
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 (*Build) GetCommitHash ¶
func (*Build) GetRepoUrl ¶
func (*Build) GetTimestamp ¶
func (*Build) HandleFlag ¶
func (this *Build) HandleFlag()
func (*Build) RegisterFlags ¶
Click to show internal directories.
Click to hide internal directories.