Documentation ¶
Index ¶
- type Delete
- func (d *Delete) Apply(es ...*formatters.EventMsg) []*formatters.EventMsg
- func (d *Delete) Init(cfg interface{}, opts ...formatters.Option) error
- func (d *Delete) WithActions(act map[string]map[string]interface{})
- func (d *Delete) WithLogger(l *log.Logger)
- func (d *Delete) WithTargets(tcs map[string]*types.TargetConfig)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Delete ¶
type Delete struct { Tags []string `mapstructure:"tags,omitempty" json:"tags,omitempty"` Values []string `mapstructure:"values,omitempty" json:"values,omitempty"` TagNames []string `mapstructure:"tag-names,omitempty" json:"tag-names,omitempty"` ValueNames []string `mapstructure:"value-names,omitempty" json:"value-names,omitempty"` Debug bool `mapstructure:"debug,omitempty" json:"debug,omitempty"` // contains filtered or unexported fields }
Delete, deletes ALL the tags or values matching one of the regexes
func (*Delete) Apply ¶
func (d *Delete) Apply(es ...*formatters.EventMsg) []*formatters.EventMsg
func (*Delete) WithActions ¶ added in v0.21.0
func (*Delete) WithLogger ¶ added in v0.9.1
func (*Delete) WithTargets ¶ added in v0.12.2
func (d *Delete) WithTargets(tcs map[string]*types.TargetConfig)
Click to show internal directories.
Click to hide internal directories.