files

package
v1.3000030.2 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: MIT Imports: 5 Imported by: 0

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 Files

type Files struct {
}

func (*Files) ApplyRule

func (f *Files) ApplyRule(input interface{}) (returnKey string, returnVal interface{})

func (*Files) Merge

func (f *Files) Merge(source map[string]interface{}, result map[string]interface{})

type FixedTailConfig

type FixedTailConfig struct {
}

func (*FixedTailConfig) ApplyRule

func (f *FixedTailConfig) ApplyRule(input interface{}) (returnKey string, returnVal interface{})

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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