collector

package
v0.0.0-...-720764a Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	DockerHost   string              `yaml:"docker_host"`
	APIVersion   string              `yaml:"api_version"`
	FilterRules  []models.FilterRule `yaml:"filter_rules"`
	MaxLogLength int                 `yaml:"max_log_length"`
	BufferSize   int                 `yaml:"buffer_size"`
}

func DefaultConfig

func DefaultConfig() *Config

type DockerCollector

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

func NewDockerCollector

func NewDockerCollector(config *Config) (*DockerCollector, error)

func (*DockerCollector) Start

func (d *DockerCollector) Start() error

func (*DockerCollector) Stop

func (d *DockerCollector) Stop()

Jump to

Keyboard shortcuts

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