central

package
v0.43.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2022 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 *CentralConfig) *Central

func (*Central) Generate

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

type CentralConfig added in v0.13.0

type CentralConfig 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