report

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Report

type Report interface {
	ID() string
	Run(config RunConfig) Result
}

Report contains an array of all sections and their reports

type Result

type Result struct {
	Version  string          `json:"version"`
	Sections []ResultSection `json:"sections"`
}

Result contains each sections check result

type ResultSection

type ResultSection struct {
	Title   string         `json:"title"`
	Results []check.Result `json:"results"`
}

ResultSection is the individual check and its result

type RunConfig added in v0.4.1

type RunConfig struct {
	ContainerID string
	Since       time.Duration
}

RunConfig contains the report run parameters

type Section

type Section struct {
	Title  string        `json:"title"`
	Checks []check.Check `json:"checks"`
}

Section is the category of check

Jump to

Keyboard shortcuts

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