state

package
v1.25.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 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 StoreSnapshotsMap added in v1.23.0

type StoreSnapshotsMap struct {
	sync.Mutex
	Snapshots map[string]*storeSnapshots
}

func FetchState

func FetchState(ctx context.Context, storeConfigMap store.ConfigMap, from, to uint64) (*StoreSnapshotsMap, error)

func NewStoreSnapshotsMap added in v1.23.0

func NewStoreSnapshotsMap() *StoreSnapshotsMap

func (*StoreSnapshotsMap) Merge added in v1.23.0

func (s *StoreSnapshotsMap) Merge(other *StoreSnapshotsMap)

Merge adds every file of `other` into `s`, keeping files sorted.

func (*StoreSnapshotsMap) String added in v1.23.0

func (s *StoreSnapshotsMap) String() string

func (*StoreSnapshotsMap) Summary added in v1.23.0

func (s *StoreSnapshotsMap) Summary() string

Summary reports the number of files seen per store, for logging.

Jump to

Keyboard shortcuts

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