filestreamfixture

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package filestreamfixture provides retained input for small hermetic connector tests. Its in-memory storage must not be used as capacity evidence.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	Opens atomic.Int32
	// contains filtered or unexported fields
}

func New

func New() *Store

func (*Store) Open

func (s *Store) Open(_ context.Context, ref filepayload.Reference, maxBytes int64) (io.ReadCloser, error)

func (*Store) Retain

func (s *Store) Retain(_ context.Context, maxBytes int64, produce filestream.Producer) (*filepayload.Reference, *filestream.Metadata, error)

Jump to

Keyboard shortcuts

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