report

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

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

type StateKey

type StateKey string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL