file

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exporter

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

func New

func New(cfg FileConfig) (*Exporter, error)

func (*Exporter) Export

func (e *Exporter) Export(ctx context.Context, msgc chan *pb.ProtoMessage)

func (*Exporter) ExportK8S

func (e *Exporter) ExportK8S(ctx context.Context, msgc chan *pb.K8SProtoMessage)

func (*Exporter) Stop

func (e *Exporter) Stop() error

type FileConfig

type FileConfig struct {
	Name   string `mapstructure:"EXPORTER_FILE_NAME"`
	Pretty bool   `mapstructure:"EXPORTER_FILE_PRETTY"`
}

Jump to

Keyboard shortcuts

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