Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Duration ¶
Duration is a time.Duration
func (*Duration) UnmarshalText ¶
UnmarshalTOML parses the duration from the TOML config file
type FileCount ¶
type FileCount struct {
config.PluginConfig
Instances []*Instance `toml:"instances"`
}
func (*FileCount) GetInstances ¶
type Instance ¶
type Instance struct {
config.InstanceConfig
Directories []string `toml:"directories"`
FileName string `toml:"file_name"`
Recursive *bool `toml:"recursive"`
RegularOnly *bool `toml:"regular_only"`
FollowSymlinks bool `toml:"follow_symlinks"`
Size Size `toml:"size"`
MTime Duration `toml:"mtime"`
Fs fileSystem
// contains filtered or unexported fields
}
func (*Instance) Gather ¶
func (ins *Instance) Gather(slist *types.SampleList)
Click to show internal directories.
Click to hide internal directories.