fs

package
v0.0.0-...-2aa8b88 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileSystemWatcher

type FileSystemWatcher struct {
	AllowedTypes      map[string]struct{}
	ExcludePath       map[string]struct{}
	ExcludedPathCache map[string]bool
	// contains filtered or unexported fields
}

func NewWatcher

func NewWatcher(config FileSystemWatcherConfig) *FileSystemWatcher

func (*FileSystemWatcher) Results

func (fw *FileSystemWatcher) Results() (common.MeasurementsMap, error)

type FileSystemWatcherConfig

type FileSystemWatcherConfig struct {
	TypeInclude                 []string
	PathExclude                 []string
	PathExcludeRecurse          bool
	Metrics                     []string
	IdentifyMountpointsByDevice bool
}

Jump to

Keyboard shortcuts

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