Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var StatusTypes = []string{
"success",
"failure",
}
Functions ¶
This section is empty.
Types ¶
type BuildInfoSummary ¶ added in v1.47.0
func NewBuildInfoSummary ¶ added in v1.47.0
func NewBuildInfoSummary(success, failed int, sha256 string, err error) *BuildInfoSummary
func (*BuildInfoSummary) AddSha256 ¶ added in v1.47.0
func (bis *BuildInfoSummary) AddSha256(sha256Str string)
func (*BuildInfoSummary) Marshal ¶ added in v1.47.0
func (bis *BuildInfoSummary) Marshal() ([]byte, error)
type StatusType ¶
type StatusType int
const ( Success StatusType = iota Failure )
func (StatusType) MarshalJSON ¶
func (statusType StatusType) MarshalJSON() ([]byte, error)
func (*StatusType) UnmarshalJSON ¶ added in v1.47.0
func (statusType *StatusType) UnmarshalJSON(b []byte) error
type Summary ¶
type Summary struct { Status StatusType `json:"status"` Totals *Totals `json:"totals"` }
func GetSummaryReport ¶ added in v1.47.0
func NewSummary ¶ added in v1.47.0
Click to show internal directories.
Click to hide internal directories.