sgbackstagecoverage

package
v0.280.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Post

func Post(ctx context.Context, apiURL, authToken, coverFile, entity string) error

Post posts code coverage in LCOV format to the Backstage API. apiURL is the URL to the API, for example 'https://api.mybackstagedeployment.com'. authToken is the Bearer token for the Backstage API. coverFile is the coverage file in LCOV format (use sggcov2lcov to convert Go test output). entity is the entity ref, for example 'component:default/my-service'.

Types

This section is empty.

Jump to

Keyboard shortcuts

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