Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Setup ¶
func Setup(raw json.RawMessage) (types.FilterPlugin, error)
Types ¶
type AddLabel ¶
type AddLabel struct { Name string Type AddLabelType Value string // contains filtered or unexported fields }
type AddLabelType ¶
type AddLabelType string
const ( AddLabelTypeDNSTAP AddLabelType = "DNSTAP" AddLabelTypeDNS AddLabelType = "DNS" AddLabelTypeSTATIC AddLabelType = "STATIC" )
type Label ¶
type Label struct { plugin.PluginCommon Add []*AddLabel Del []*DelLabel }
func (*Label) Filter ¶
func (f *Label) Filter(t *types.DnstapMessage) *types.DnstapMessage
Click to show internal directories.
Click to hide internal directories.