ecs

package
v1.247359.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SectionKey             = "ecs"
	SectionKeyCadvisor     = "cadvisor"
	SectionKeyECSDecorator = "ecsdecorator"
	SectionKeyEC2Tagger    = "ec2tagger"
)

Variables

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

Functions

func GetCurPath

func GetCurPath() string

func RegisterRule

func RegisterRule(fieldname string, r Rule)

Types

type ECS

type ECS struct{}

func (*ECS) ApplyRule

func (e *ECS) ApplyRule(input interface{}) (returnKey string, returnVal interface{})

func (*ECS) Merge

func (e *ECS) Merge(source map[string]interface{}, result map[string]interface{})

type Rule

type Rule translator.Rule

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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