central

package
v0.62.3 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 20 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