configuration

package
v1.7.4 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TAIL_MODE   = "tail"
	CAT_MODE    = "cat"
	SERVER_MODE = "server" // No difference with tail, just a bit more verbose
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DataSourceCommonCfg

type DataSourceCommonCfg struct {
	Mode           string            `yaml:"mode,omitempty"`
	Labels         map[string]string `yaml:"labels,omitempty"`
	LogLevel       log.Level         `yaml:"log_level,omitempty"`
	Source         string            `yaml:"source,omitempty"`
	Name           string            `yaml:"name,omitempty"`
	UseTimeMachine bool              `yaml:"use_time_machine,omitempty"`
	UniqueId       string            `yaml:"unique_id,omitempty"`
	TransformExpr  string            `yaml:"transform,omitempty"`
}

Jump to

Keyboard shortcuts

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