Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Asset ¶ added in v1.30.0
type Asset struct {
SHA1 string `json:"sha1"`
SHA256 string `json:"sha256"`
MD5 string `json:"md5"`
Size int64 `json:"size"`
FileName string `json:"file_name"`
}
Asset contains information about the archive files in a BuildDBBranch
type Branch ¶ added in v1.30.0
type Branch struct {
GoVersion string `json:"go_version"`
BuildDate time.Time `json:"build_date"`
Assets []Asset `json:"assets"`
}
Branch represents a "label" in the BuildDB
type BranchSortEntry ¶
BranchSortEntry is a helper for the frontend to be able to sort the labels / branches by time
type BranchSortEntryByBuildDate ¶
type BranchSortEntryByBuildDate []BranchSortEntry
BranchSortEntryByBuildDate implements a sorter for BranchSortEntries
func (BranchSortEntryByBuildDate) Len ¶
func (b BranchSortEntryByBuildDate) Len() int
func (BranchSortEntryByBuildDate) Less ¶
func (b BranchSortEntryByBuildDate) Less(i, j int) bool
func (BranchSortEntryByBuildDate) Swap ¶
func (b BranchSortEntryByBuildDate) Swap(i, j int)
type ByFilename ¶
type ByFilename []Asset
ByFilename implements a sorter for Assets
func (ByFilename) Len ¶
func (f ByFilename) Len() int
func (ByFilename) Less ¶
func (f ByFilename) Less(i, j int) bool
func (ByFilename) Swap ¶
func (f ByFilename) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.