Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Build ¶
type Build struct { Hostname string `validate:"nonblank"` // The hostname that did the build Architecture string `validate:"nonblank"` // 386, AMD64 etc GoVersion string `validate:""` // Version of Go used to build the binary SourceURL string `validate:"nonblank"` // The VCS url, down to the commit level BinaryURL string `validate:"nonblank"` // The location of the binary or JAR Version string `validate:"nonblank"` // Initially a human readable date. Eg. 20130601114431 Language string `validate:"nonblank"` // Programming language Name string `validate:"nonblank"` // The service name Branch string `validate:"nonblank"` // The Git branch TimeStamp int64 // UTC unix timestamp Coverage map[string]float64 `json:"Coverage,omitempty"` // The code coverage as package => percentage Dependencies map[string]string `json:",omitempty"` // The dependencies as importPath => commit MergeBaseDates map[string]time.Time `json:",omitempty"` // The merge base dates of dependency commits }
Build stores metadata relating to a specific build
type CoverageSnapshot ¶
type CoverageSnapshots ¶
type CoverageSnapshots []CoverageSnapshot
func (CoverageSnapshots) Len ¶
func (c CoverageSnapshots) Len() int
func (CoverageSnapshots) Less ¶
func (c CoverageSnapshots) Less(i, j int) bool
func (CoverageSnapshots) Swap ¶
func (c CoverageSnapshots) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.