Documentation
¶
Index ¶
- func Nl2Br(str string) template.HTML
- func ParseDate(d string) string
- func ParseDuration(n int) gotime.Duration
- func ParseTime(d string) string
- func Percentage(a int, b int) string
- func Since(n gotime.Time) gotime.Duration
- func ToTable(out io.Writer, report *reporting.Report)
- type DocumentStore
- type DocumentStoreJob
- type DocumentStorePipeline
- type DocumentStoreStage
- type DocumentStoreStageMetricValue
- type DocumentStoreStageMetrics
- type ReportHTML
- type SaveStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Percentage ¶
Types ¶
type DocumentStore ¶
type DocumentStore struct { Pipeline DocumentStorePipeline Job DocumentStoreJob Stage DocumentStoreStage Metrics DocumentStoreStageMetrics Date string `json:"timestamp"` }
type DocumentStoreJob ¶
type DocumentStoreJob struct {
ID, Name string
Context pipelines.JobContextDefinition
}
type DocumentStorePipeline ¶
type DocumentStorePipeline struct {
Name, Team, File string
}
type DocumentStoreStage ¶
type DocumentStoreStage struct {
URL, Name, Vendor, Version string
}
type DocumentStoreStageMetrics ¶
type DocumentStoreStageMetrics struct {
Status, Reason, Link string
Timeline utils.ExecutionTimeline
Value DocumentStoreStageMetricValue
}
type ReportHTML ¶
func NewReportHTML ¶
func NewReportHTML(templatePath string, report *reporting.Report) *ReportHTML
func (*ReportHTML) ToHTML ¶
func (rHTML *ReportHTML) ToHTML(out io.Writer)
Click to show internal directories.
Click to hide internal directories.