otelcoltest

package
v0.68.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NopFactories = componenttest.NopFactories // nolint:staticcheck

NopFactories returns a otelcol.Factories with all nop factories.

Functions

func LoadConfig

func LoadConfig(fileName string, factories otelcol.Factories) (*otelcol.Config, error)

LoadConfig loads a config.Config from file, and does NOT validate the configuration.

func LoadConfigAndValidate

func LoadConfigAndValidate(fileName string, factories otelcol.Factories) (*otelcol.Config, error)

LoadConfigAndValidate loads a config from the file, and validates the configuration.

Types

This section is empty.

Jump to

Keyboard shortcuts

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