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 component.ReceiverConfig) adapter.BaseConfig
BaseConfig gets the base config from config, for now
func (ReceiverType) CreateDefaultConfig ¶
func (f ReceiverType) CreateDefaultConfig() component.ReceiverConfig
CreateDefaultConfig creates a config with type and version
func (ReceiverType) InputConfig ¶ added in v0.60.0
func (f ReceiverType) InputConfig(cfg component.ReceiverConfig) operator.Config
InputConfig unmarshals the input operator
type UDPLogConfig ¶
type UDPLogConfig struct { InputConfig udp.Config `mapstructure:",squash"` adapter.BaseConfig `mapstructure:",squash"` }
UDPLogConfig defines configuration for the udp receiver
Click to show internal directories.
Click to hide internal directories.