mock

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 2 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 {
	Configs       []sample.ConfigOTLPLog
	StructDigests []sample.StructDigestOTLPLog
	ValueDigests  []sample.ValueDigestOTLPLog
}

Exporter is a mock of Exporter interface.

func NewExporter

func NewExporter() *Exporter

NewExporter creates a new mock instance.

func (*Exporter) Close

func (m *Exporter) Close(_ context.Context) error

Close mocks base method.

func (*Exporter) Export

func (m *Exporter) Export(_ context.Context, logs sample.OTLPLogs) error

Export mocks base method.

Jump to

Keyboard shortcuts

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