Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyHTMLReport ¶
func CopyHTMLReport() error
Types ¶
type CoverageReportClient ¶
type CoverageReportClient struct {
// contains filtered or unexported fields
}
func NewCoverageReportClient ¶
func NewCoverageReportClient(conf config.Config, state CoverageReportState) CoverageReportClient
func (CoverageReportClient) SaveHTMLReport ¶
func (c CoverageReportClient) SaveHTMLReport() error
func (CoverageReportClient) SaveJSONReport ¶
func (c CoverageReportClient) SaveJSONReport() error
type CoverageReportState ¶
type CoverageReportState struct { Config config.Config `json:"config"` CreatedAt time.Time `json:"createdAt"` ServiceCoverages map[config.ServiceHost]coverageoutput.ServiceCoverage `json:"serviceCoverages"` LogicalServiceCoverages map[config.ServiceHost][]coverageoutput.LogicalServiceCoverage `json:"logicalServiceCoverages"` }
func NewCoverageReportState ¶
func NewCoverageReportState(conf config.Config) CoverageReportState
func ReadCoverageReportState ¶
func ReadCoverageReportState() (*CoverageReportState, error)
func (CoverageReportState) GetMapServiceNameToTotalCoverage ¶
func (s CoverageReportState) GetMapServiceNameToTotalCoverage() map[string]float64
Click to show internal directories.
Click to hide internal directories.