mocks

package
v1.31.21 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2025 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SnapshotSink

type SnapshotSink struct {
	Buffer     *bytes.Buffer
	WriteError error
}

Snapshot sink implementation for testing

func (*SnapshotSink) Cancel

func (t *SnapshotSink) Cancel() error

func (*SnapshotSink) Close

func (t *SnapshotSink) Close() error

func (*SnapshotSink) ID

func (t *SnapshotSink) ID() string

func (*SnapshotSink) Write

func (t *SnapshotSink) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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