Documentation ¶
Index ¶
Constants ¶
View Source
const ( SectionKey = "files" SectionMappedKey = "logfile" )
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(ruleName string, r translator.Rule)
Types ¶
type FileStateFolder ¶
type FileStateFolder struct { }
func (*FileStateFolder) ApplyRule ¶
func (f *FileStateFolder) ApplyRule(input interface{}) (returnKey string, returnVal interface{})
FileStateFolder is internal value, not exposing to customer
type FixedTailConfig ¶
type FixedTailConfig struct { }
func (*FixedTailConfig) ApplyRule ¶
func (f *FixedTailConfig) ApplyRule(input interface{}) (returnKey string, returnVal interface{})
Click to show internal directories.
Click to hide internal directories.