collector

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2023 License: MIT Imports: 15 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 {
	CollectPodMetadata(ctx context.Context, pod *corev1.Pod) error
	CollectEvent(ctx context.Context, event *corev1.Event) error
	CollectLogs(ctx context.Context, log logrus.FieldLogger, pod *corev1.Pod, containerName string, stream io.Reader) error
}

func NewDiskCollector

func NewDiskCollector(directory string, flatFiles bool, eventsAsText bool, rawEvents bool) (Collector, error)

func NewMultiplexCollector added in v0.5.0

func NewMultiplexCollector(a, b Collector) (Collector, error)

func NewStreamCollector added in v0.5.0

func NewStreamCollector(prefixFormat string) (Collector, error)

Jump to

Keyboard shortcuts

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