Documentation ¶
Index ¶
Constants ¶
View Source
const (
Cgo = "cgoreceiver"
)
Variables ¶
This section is empty.
Functions ¶
func NewCgoReceiver ¶
func NewCgoReceiver(config interface{}, telemetry *component.TelemetryTools, analyzerManager *analyzerpackage.Manager) receiver.Receiver
Types ¶
type CEventParamsForSubscribe ¶
type CEventParamsForSubscribe C.struct_event_params_for_subscribe
type CKindlingEventForGo ¶
type CKindlingEventForGo C.struct_kindling_event_t_for_go
type CgoReceiver ¶
type CgoReceiver struct {
// contains filtered or unexported fields
}
func (*CgoReceiver) ProfileModule ¶
func (r *CgoReceiver) ProfileModule() (submodule string, start func() error, stop func() error)
func (*CgoReceiver) Shutdown ¶
func (r *CgoReceiver) Shutdown() error
func (*CgoReceiver) Start ¶
func (r *CgoReceiver) Start() error
func (*CgoReceiver) StartProfile ¶
func (r *CgoReceiver) StartProfile() error
func (*CgoReceiver) StopProfile ¶
func (r *CgoReceiver) StopProfile() error
type Config ¶
type Config struct { SubscribeInfo []SubEvent `mapstructure:"subscribe"` ProcessFilterInfo ProcessFilter `mapstructure:"process_filter"` }
func NewDefaultConfig ¶
func NewDefaultConfig() *Config
type ProcessFilter ¶
type ProcessFilter struct {
Comms []string `mapstructure:"comms"`
}
Click to show internal directories.
Click to hide internal directories.