exporter

package
v0.0.0-...-59efaf5 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: MIT Imports: 5 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 {
	Exporter string `mapstructure:"EXPORTER"`

	file.FileConfig        `mapstructure:",squash"`
	elasticsearch.ESConfig `mapstructure:",squash"`
}

type Exporter

type Exporter interface {
	Export(ctx context.Context, msgc chan *pb.ProtoMessage)
	ExportK8S(ctx context.Context, msgc chan *pb.K8SProtoMessage)
	Stop() error
}

func New

func New(cfg Config) (Exporter, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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