Documentation
¶
Index ¶
- Variables
- func Backup(ctx context.Context, source, destination string) error
- func ExistingPath(stateDir string) (string, error)
- func Inspect(path string) (sqliteutil.Inspection, error)
- func PreparePath(ctx context.Context, stateDir string) (string, error)
- type FlowerSnapshot
- type Record
- type Store
- func (s *Store) AdvanceFlower(ctx context.Context, endpointID string, userPublicID string, threadID string, ...) (Record, error)
- func (s *Store) Close() error
- func (s *Store) EnsureFlower(ctx context.Context, endpointID string, userPublicID string, ...) (map[string]Record, error)
- func (s *Store) RetireFlowerThreadReadState(ctx context.Context, endpointID string, threadID string) error
- type Surface
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrThreadRetired = errors.New("thread read state retired")
Functions ¶
func ExistingPath ¶ added in v0.13.0
ExistingPath selects the existing authoritative store without changing paths.
func Inspect ¶ added in v0.13.0
func Inspect(path string) (sqliteutil.Inspection, error)
Inspect validates the read-state store before a coordinated Flower upgrade.
Types ¶
type FlowerSnapshot ¶
type FlowerSnapshot struct {
ActivityRevision int64
}
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) AdvanceFlower ¶
func (*Store) EnsureFlower ¶
Click to show internal directories.
Click to hide internal directories.