coverage

package
v0.0.0-...-d4937a6 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Overview

Package coverage provides a coverage viewer for Spyglass

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lens

type Lens struct{}

Lens is the implementation of a coverage-rendering Spyglass lens.

func (Lens) Body

func (lens Lens) Body(artifacts []api.Artifact, resourceDir string, data string, config json.RawMessage, spyglassConfig config.Spyglass) string

Body renders the <body>

func (Lens) Callback

func (lens Lens) Callback(artifacts []api.Artifact, resourceDir string, data string, config json.RawMessage, spyglassConfig config.Spyglass) string

Callback does nothing.

func (Lens) Config

func (lens Lens) Config() lenses.LensConfig

Config returns the lens's configuration.

func (Lens) Header

func (lens Lens) Header(artifacts []api.Artifact, resourceDir string, config json.RawMessage, spyglassConfig config.Spyglass) string

Header renders the content of <head> from template.html.

Jump to

Keyboard shortcuts

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