procstat

package
v1.247349.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const SectionKey = "procstat"

Variables

View Source
var ChildRule = map[string]translator.Rule{}
View Source
var MergeRuleMap = map[string]mergeJsonRule.MergeRule{}

Functions

func GetCurPath

func GetCurPath() string

func RegisterRule

func RegisterRule(fieldname string, r translator.Rule)

Types

type DropTags

type DropTags struct {
}

func (*DropTags) ApplyRule

func (i *DropTags) ApplyRule(input interface{}) (returnKey string, returnVal interface{})

type Exe

type Exe struct{}

func (*Exe) ApplyRule

func (t *Exe) ApplyRule(input interface{}) (returnKey string, returnVal interface{})

type Pattern

type Pattern struct{}

func (*Pattern) ApplyRule

func (p *Pattern) ApplyRule(input interface{}) (returnKey string, returnVal interface{})

type PidFile

type PidFile struct{}

func (*PidFile) ApplyRule

func (p *PidFile) ApplyRule(input interface{}) (returnKey string, returnVal interface{})

type PidFinder

type PidFinder struct{}

func (*PidFinder) ApplyRule

func (t *PidFinder) ApplyRule(input interface{}) (returnKey string, returnVal interface{})

type Procstat

type Procstat struct {
}

func (*Procstat) ApplyRule

func (p *Procstat) ApplyRule(input interface{}) (returnKey string, returnVal interface{})

func (*Procstat) Merge added in v1.247347.0

func (c *Procstat) Merge(source map[string]interface{}, result map[string]interface{})

Jump to

Keyboard shortcuts

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