Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func NewFactory() component.ReceiverFactory
NewFactory creates a factory for udp receiver
Types ¶
type ReceiverType ¶
type ReceiverType struct{}
ReceiverType implements adapter.LogReceiverType to create a udp receiver
func (ReceiverType) BaseConfig ¶
func (f ReceiverType) BaseConfig(cfg config.Receiver) adapter.BaseConfig
BaseConfig gets the base config from config, for now
func (ReceiverType) CreateDefaultConfig ¶
func (f ReceiverType) CreateDefaultConfig() config.Receiver
CreateDefaultConfig creates a config with type and version
func (ReceiverType) DecodeInputConfig ¶
DecodeInputConfig unmarshals the input operator
type UDPLogConfig ¶
type UDPLogConfig struct { adapter.BaseConfig `mapstructure:",squash"` Input adapter.InputConfig `mapstructure:",remain"` }
UDPLogConfig defines configuration for the udp receiver
Click to show internal directories.
Click to hide internal directories.