osreporter

package
v0.0.0-...-5621bf6 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

type Collector interface {
	Run(context.Context, string, io.Writer) error
}

type RegisteredCollector

type RegisteredCollector struct {
	// contains filtered or unexported fields
}

func (RegisteredCollector) Run

func (p RegisteredCollector) Run(dstPath string, out io.Writer) error

type Reporter

type Reporter struct {
	// contains filtered or unexported fields
}

func New

func New(reportPath string, stdout io.Writer) Reporter

func (*Reporter) RegisterCollector

func (r *Reporter) RegisterCollector(name string, collector Collector, timeout ...time.Duration)

func (*Reporter) RegisterNoisyCollector

func (r *Reporter) RegisterNoisyCollector(name string, collector Collector, timeout ...time.Duration)

func (Reporter) Run

func (r Reporter) Run() error

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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