config

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CfgToMap

func CfgToMap(cfg vector.VectorConfig) (cfgMap map[string]interface{}, err error)

Types

type Config

type Config struct {
	Name string

	Ctx context.Context

	VectorConfig *vector.VectorConfig
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, vaCtrl *vectoragent.Controller) (*Config, error)

func (*Config) FillForVectorAgent

func (cfg *Config) FillForVectorAgent() error

func (*Config) FillForVectorPipeline

func (cfg *Config) FillForVectorPipeline(pCtrl *pipeline.Controller) error

func (*Config) GenerateVectorConfig

func (cfg *Config) GenerateVectorConfig() error

func (*Config) GetByteConfig

func (cfg *Config) GetByteConfig() ([]byte, error)

func (*Config) Validate

func (cfg *Config) Validate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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