configconverter

package
v0.63.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigServer added in v0.59.0

type ConfigServer struct {
	// contains filtered or unexported fields
}

func NewConfigServer added in v0.59.0

func NewConfigServer() *ConfigServer

func (*ConfigServer) Convert added in v0.59.0

func (cs *ConfigServer) Convert(_ context.Context, conf *confmap.Conf) error

Convert is intended to be called as the final service confmap.Converter, which registers the service config before being finally resolved and unmarshalled.

func (*ConfigServer) Register added in v0.59.0

func (cs *ConfigServer) Register()

func (*ConfigServer) SetForScheme added in v0.59.0

func (cs *ConfigServer) SetForScheme(scheme string, config map[string]any)

func (*ConfigServer) Unregister added in v0.59.0

func (cs *ConfigServer) Unregister()

type ConfigType added in v0.59.0

type ConfigType int

type DryRun added in v0.63.0

type DryRun struct {
	// contains filtered or unexported fields
}

func NewDryRun added in v0.63.0

func NewDryRun(enabled bool) DryRun

func (DryRun) Convert added in v0.63.0

func (dr DryRun) Convert(_ context.Context, conf *confmap.Conf) error

Convert is intended to be called as the final service confmap.Converter so that it has access to the final config before exiting, if enabled.

type MoveHecTLS added in v0.37.0

type MoveHecTLS struct{}

func (MoveHecTLS) Convert added in v0.52.0

func (MoveHecTLS) Convert(_ context.Context, in *confmap.Conf) error

type MoveOTLPInsecureKey

type MoveOTLPInsecureKey struct{}

func (MoveOTLPInsecureKey) Convert added in v0.52.0

type RemoveBallastKey

type RemoveBallastKey struct{}

RemoveBallastKey is a MapConverter that removes a ballast_size_mib on a memory_limiter processor config if it exists. This config key will go away at some point (or already has) at which point its presence in a config will prevent the Collector from starting.

func (RemoveBallastKey) Convert added in v0.52.0

func (RemoveBallastKey) Convert(_ context.Context, cfgMap *confmap.Conf) error

type RenameK8sTagger added in v0.37.0

type RenameK8sTagger struct{}

RenameK8sTagger will replace k8s_tagger processor items with k8sattributes ones.

func (RenameK8sTagger) Convert added in v0.52.0

func (RenameK8sTagger) Convert(_ context.Context, in *confmap.Conf) error

Jump to

Keyboard shortcuts

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