types

package
v0.0.0-...-e06cd52 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrAlreadyExists = errors.New("vmstat: provider already registered")
	ErrNotAvailable  = errors.New("vmstat: provider not available")
	ErrCheck         = errors.New("vmstat: check provider availability")
	ErrNotRegistered = errors.New("vmstat: provider not registered")
)

Functions

This section is empty.

Types

type Provider

type Provider interface {
	Run() error
	Shutdown() error

	Name() string
	IsAvailable() error
	GetMeasurements() (common.MeasurementsMap, error)
}

Jump to

Keyboard shortcuts

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