processor

package
v0.0.0-...-e24f972 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const FilebeatConfPath = "/usr/share/filebeat/prospectors.d"

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigProvider

type ConfigProvider interface {
	GetConfPath(pod *v1.Pod) string
}

type DevNullConfigProvider

type DevNullConfigProvider struct {
}

func (*DevNullConfigProvider) GetConfPath

func (*DevNullConfigProvider) GetConfPath(pod *v1.Pod) string

type FileBeatConfigProvider

type FileBeatConfigProvider struct {
}

func (*FileBeatConfigProvider) GetConfPath

func (*FileBeatConfigProvider) GetConfPath(pod *v1.Pod) string

type KConfig

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

func NewKConfig

func NewKConfig(logHost string, tplFile string, provider ConfigProvider) *KConfig

func (*KConfig) Process

func (c *KConfig) Process(ctx context.Context, items *entity.ConfigItems, pod *v1.Pod) (err error)

func (*KConfig) Setup

func (c *KConfig) Setup() error

Jump to

Keyboard shortcuts

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