storagebridge

package
v7.60.3 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package storagebridge opens public opaque storage values inside Floret.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(ctx context.Context, source Source) (spi.Backend, error)

func OpenReadOnly added in v7.6.0

func OpenReadOnly(ctx context.Context, source Source) (spi.Backend, error)

OpenReadOnly never falls back to Source.Open, which could initialize a store.

func PhysicalMigrationRequired added in v7.27.0

func PhysicalMigrationRequired(tx spi.ReadTx) (bool, error)

func PrepareStartup added in v7.27.0

func PrepareStartup(tx spi.WriteTx, onMigration func()) (bool, error)

Types

type Source

type Source struct {
	// contains filtered or unexported fields
}

Source intentionally exposes no methods. The public storage.Source is a distinct type with this representation.

func New

func New(source spi.Source) Source

type StartupAccess added in v7.27.0

type StartupAccess struct{ OnMigration func() }

StartupAccess keeps physical migration hooks inside Floret's startup owner.

Jump to

Keyboard shortcuts

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