coverage

package
v0.0.0-...-9c90d3e Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleCreate

func HandleCreate(coverageManager core.CoverageManager,
	azureClient core.AzureBlob,
	logger lumber.Logger) gin.HandlerFunc

HandleCreate creates the coverage data for a commit.

func HandleFind

func HandleFind(coverageStore core.TestCoverageStore, logger lumber.Logger) gin.HandlerFunc

HandleFind finds the coverage details for a commit.

func HandleFindCoverageInfo

func HandleFindCoverageInfo(userStore core.GitUserStore,
	coverageStore core.TestCoverageStore,
	logger lumber.Logger) gin.HandlerFunc

HandleFindCoverageInfo finds the coverage data for a particular commit

Types

type CoverageInput

type CoverageInput struct {
	BuildID       string          `json:"build_id"`
	RepoID        string          `json:"repo_id"`
	CommitID      string          `json:"commit_id"`
	BlobLink      string          `json:"blob_link"`
	TotalCoverage json.RawMessage `json:"total_coverage"`
}

CoverageInput is the input for coverage data from coverage pods.

Jump to

Keyboard shortcuts

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