mock

package
Version: v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMockCollector

func NewMockCollector(factory *collector.ValueRingFactory) collector.Collector

Types

type Collector

type Collector struct {
	collector.AbstractCollector
	// contains filtered or unexported fields
}

func (*Collector) Depends

func (col *Collector) Depends() []collector.Collector

func (*Collector) Init

func (col *Collector) Init() ([]collector.Collector, error)

func (*Collector) Metrics

func (col *Collector) Metrics() collector.MetricReaderMap

func (*Collector) Update

func (col *Collector) Update() error

type RootCollector

type RootCollector struct {
	collector.AbstractCollector
	// contains filtered or unexported fields
}

func (*RootCollector) Depends

func (root *RootCollector) Depends() []collector.Collector

func (*RootCollector) Init

func (root *RootCollector) Init() ([]collector.Collector, error)

func (*RootCollector) Metrics

func (root *RootCollector) Metrics() collector.MetricReaderMap

func (*RootCollector) Update

func (root *RootCollector) Update() error

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL