central

package
v0.59.3 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Central

type Central struct {
	// contains filtered or unexported fields
}

func New

func New(c *Config) *Central

func (*Central) CollectedReports added in v0.45.0

func (c *Central) CollectedReports() []*report.Report

func (*Central) Generate

func (c *Central) Generate(ctx context.Context) ([]string, error)

type Config added in v0.49.0

type Config struct {
	Repository             string
	Wd                     string
	Index                  string
	Badges                 []datastore.Datastore
	Reports                []datastore.Datastore
	CoverageColor          func(cover float64) string
	CodeToTestRatioColor   func(ratio float64) string
	TestExecutionTimeColor func(d time.Duration) string
}

Jump to

Keyboard shortcuts

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