Documentation ¶
Index ¶
Constants ¶
View Source
const SectionKey = "metrics_collected"
Variables ¶
View Source
var ChildRule = map[string]Rule{}
View Source
var MergeRuleMap = map[string]mergeJsonRule.MergeRule{}
Functions ¶
func GetCurPath ¶
func GetCurPath() string
func RegisterDarwinRule ¶ added in v1.247347.1
func RegisterLinuxRule ¶
func RegisterWindowsRule ¶
Types ¶
type CollectMetrics ¶
type CollectMetrics struct { }
func (*CollectMetrics) ApplyRule ¶
func (c *CollectMetrics) ApplyRule(input interface{}) (returnKey string, returnVal interface{})
func (*CollectMetrics) Merge ¶
func (c *CollectMetrics) Merge(source map[string]interface{}, result map[string]interface{})
type Rule ¶
type Rule translator.Rule
Click to show internal directories.
Click to hide internal directories.