vsockreceiver

package module
v0.0.0-...-c4b6d24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory() component.ReceiverFactory

NewFactory creates a factory for vsockreceiver.

Types

type Config

type Config struct {
	config.ReceiverSettings `mapstructure:",squash"`
	Addr                    string `mapstructure:"addr"`
}

Config represents the receiver config settings within the collector's config.yaml

func (*Config) Validate

func (cfg *Config) Validate() error

Validate checks if the receiver configuration is valid

Directories

Path Synopsis
internal
sharedcomponent
Package sharedcomponent exposes util functionality for receivers and exporters that need to share state between different signal types instances such as net.Listener or os.File.
Package sharedcomponent exposes util functionality for receivers and exporters that need to share state between different signal types instances such as net.Listener or os.File.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL