event_value_tag

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ValueTag

type ValueTag struct {
	TagName   string `mapstructure:"tag-name,omitempty" json:"tag-name,omitempty"`
	ValueName string `mapstructure:"value-name,omitempty" json:"value-name,omitempty"`
	Consume   bool   `mapstructure:"consume,omitempty" json:"consume,omitempty"`
	Debug     bool   `mapstructure:"debug,omitempty" json:"debug,omitempty"`
	// contains filtered or unexported fields
}

func (*ValueTag) Apply

func (vt *ValueTag) Apply(evs ...*formatters.EventMsg) []*formatters.EventMsg

func (*ValueTag) Init

func (vt *ValueTag) Init(cfg interface{}, opts ...formatters.Option) error

func (*ValueTag) WithActions

func (vt *ValueTag) WithActions(act map[string]map[string]interface{})

func (*ValueTag) WithLogger

func (vt *ValueTag) WithLogger(l *log.Logger)

func (*ValueTag) WithTargets

func (vt *ValueTag) WithTargets(tcs map[string]*types.TargetConfig)

Jump to

Keyboard shortcuts

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