mocks

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2025 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 Generator

type Generator struct {
	CreateSnapshotFn func(ctx context.Context, snapshot *snapshot.Snapshot) error
	CloseFn          func() error
	// contains filtered or unexported fields
}

func (*Generator) Close

func (m *Generator) Close() error

func (*Generator) CreateSnapshot

func (m *Generator) CreateSnapshot(ctx context.Context, snapshot *snapshot.Snapshot) error

func (*Generator) CreateSnapshotCalls added in v0.6.0

func (m *Generator) CreateSnapshotCalls() uint

type RowsProcessor added in v0.6.5

type RowsProcessor struct {
	ProcessRowFn func(context.Context, *snapshot.Row) error
	CloseFn      func() error
}

func (*RowsProcessor) Close added in v0.6.5

func (m *RowsProcessor) Close() error

func (*RowsProcessor) ProcessRow added in v0.6.5

func (m *RowsProcessor) ProcessRow(ctx context.Context, row *snapshot.Row) error

Jump to

Keyboard shortcuts

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