vector

package
v0.0.0-...-385b71e Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ParseInfo

type ParseInfo struct {
	ParseName string
	TableName string
	RouteRule string
	ParseRule string
}

func (*ParseInfo) AddParseRule

func (p *ParseInfo) AddParseRule(config VectorConfig) ([]byte, error)

func (*ParseInfo) DeleteParseRule

func (p *ParseInfo) DeleteParseRule(config VectorConfig) ([]byte, error)

func (*ParseInfo) UpdateParseRule

func (p *ParseInfo) UpdateParseRule(config VectorConfig) ([]byte, error)

type VectorConfig

type VectorConfig struct {
	Sources    map[string]interface{} `yaml:"sources"`
	Transforms map[string]interface{} `yaml:"transforms"`
	Sinks      map[string]interface{} `yaml:"sinks"`
}

Jump to

Keyboard shortcuts

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