exporter

package
v0.8.6 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExportEncoder

type ExportEncoder interface {
	Encode(v interface{}) error
}

type Exporter

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

func NewExporter

func NewExporter(
	ctx context.Context,
	request *tetragon.GetEventsRequest,
	server *server.Server,
	encoder ExportEncoder,
	closer io.Closer,
	rateLimiter *ratelimit.RateLimiter,
) *Exporter

func (*Exporter) Context

func (e *Exporter) Context() context.Context

func (*Exporter) RecvMsg

func (e *Exporter) RecvMsg(_ interface{}) error

func (*Exporter) Send

func (e *Exporter) Send(event *tetragon.GetEventsResponse) error

func (*Exporter) SendHeader

func (e *Exporter) SendHeader(metadata.MD) error

func (*Exporter) SendMsg

func (e *Exporter) SendMsg(_ interface{}) error

func (*Exporter) SetHeader

func (e *Exporter) SetHeader(metadata.MD) error

func (*Exporter) SetTrailer

func (e *Exporter) SetTrailer(metadata.MD)

func (*Exporter) Start

func (e *Exporter) Start()

Jump to

Keyboard shortcuts

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