Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ErrClassDeployment represents an error during deployment ErrClassDeployment = "Deployment" // ErrClassValidation represents an error during validation (tests) ErrClassValidation = "Validation" // ErrClassAzcli represents an error with Azure CLI ErrClassAzcli = "AzCLI" // ErrClassNone represents absence of error ErrClassNone = "None" // ErrSuccess represents a success, for some reason ErrSuccess = "Success" // ErrUnknown represents an unknown error ErrUnknown = "UnspecifiedError" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorInfo ¶ added in v0.4.0
type ErrorInfo struct {
TestName string
Step string
ErrName string
ErrClass string
Location string
}
ErrorInfo represents the CI error
func NewErrorInfo ¶ added in v0.4.0
NewErrorInfo TBD needs definition
type Manager ¶ added in v0.5.0
type Manager struct {
JobName string `json:"job"`
BuildNum int `json:"build"`
Deployments int `json:"deployments"`
Errors int `json:"errors"`
StartTime time.Time `json:"startTime"`
Duration string `json:"duration"`
// Failure map: key=error, value=locations
Failures map[string]*ErrorStat `json:"failures"`
LogErrors logErrors `json:"-"`
// contains filtered or unexported fields
}
Manager represents the details about a build and errors in that build
func (*Manager) CreateCombinedReport ¶ added in v0.5.0
CreateCombinedReport TBD needs definition
func (*Manager) CreateTestReport ¶ added in v0.5.0
CreateTestReport TBD needs definition
Click to show internal directories.
Click to hide internal directories.