Documentation
¶
Overview ¶
Package storagebridge opens public opaque storage values inside Floret.
Index ¶
- func Open(ctx context.Context, source Source) (spi.Backend, error)
- func OpenReadOnly(ctx context.Context, source Source) (spi.Backend, error)
- func PhysicalMigrationRequired(tx spi.ReadTx) (bool, error)
- func PrepareStartup(tx spi.WriteTx, onMigration func()) (bool, error)
- type Source
- type StartupAccess
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OpenReadOnly ¶ added in v7.6.0
OpenReadOnly never falls back to Source.Open, which could initialize a store.
func PhysicalMigrationRequired ¶ added in v7.27.0
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.
type StartupAccess ¶ added in v7.27.0
type StartupAccess struct{ OnMigration func() }
StartupAccess keeps physical migration hooks inside Floret's startup owner.
Click to show internal directories.
Click to hide internal directories.