platform

package
v0.0.0-...-221c3f5 Latest Latest
Warning

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

Go to latest
Published: May 16, 2026 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

type Collector interface {
	Name() string
	Start(ctx context.Context, queue chan *plugins.Log)
	Stop()
}

Collector is the interface that platform collectors must implement.

func GetCollectors

func GetCollectors() []Collector

type CollectorConfig

type CollectorConfig struct {
	LogsPath    string
	LogFileName string
}

CollectorConfig holds paths for log collection.

type Filebeat

type Filebeat struct{}

func (Filebeat) Install

func (f Filebeat) Install() error

func (Filebeat) Name

func (f Filebeat) Name() string

func (Filebeat) Start

func (f Filebeat) Start(ctx context.Context, queue chan *plugins.Log)

func (Filebeat) Stop

func (f Filebeat) Stop()

func (Filebeat) Uninstall

func (f Filebeat) Uninstall() error

type LinuxSystem

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

func (*LinuxSystem) Name

func (l *LinuxSystem) Name() string

func (*LinuxSystem) Start

func (l *LinuxSystem) Start(ctx context.Context, queue chan *plugins.Log)

func (*LinuxSystem) Stop

func (l *LinuxSystem) Stop()

Jump to

Keyboard shortcuts

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