blobstoredbstatesnapshotio

package
v0.0.0-...-7570391 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBStateSnapshotIO

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

func (*DBStateSnapshotIO) DeleteOldSnapshots

func (sio *DBStateSnapshotIO) DeleteOldSnapshots(ctx context.Context, dryRun bool) error

func (*DBStateSnapshotIO) FindUnneededTxIDThreshold

func (sio *DBStateSnapshotIO) FindUnneededTxIDThreshold() (inodedb.TxID, error)

func (*DBStateSnapshotIO) RestoreSnapshot

func (sio *DBStateSnapshotIO) RestoreSnapshot() (*inodedb.DBState, error)

func (*DBStateSnapshotIO) SaveSnapshot

func (sio *DBStateSnapshotIO) SaveSnapshot(s *inodedb.DBState) <-chan error

func (*DBStateSnapshotIO) String

func (sio *DBStateSnapshotIO) String() string

type SSLocator

type SSLocator interface {
	Locate(history int) (string, int64, error)
	GenerateBlobpath() string
	Put(blobpath string, txid int64) error
	DeleteOld(ctx context.Context, threshold int, dryRun bool) ([]string, error)
}

type SimpleSSLocator

type SimpleSSLocator struct{}

func (SimpleSSLocator) DeleteOld

func (SimpleSSLocator) DeleteOld(ctx context.Context, threshold int, dryRun bool) ([]string, error)

func (SimpleSSLocator) GenerateBlobpath

func (SimpleSSLocator) GenerateBlobpath() string

func (SimpleSSLocator) Locate

func (SimpleSSLocator) Locate(history int) (string, int64, error)

func (SimpleSSLocator) Put

func (SimpleSSLocator) Put(blobpath string, txid int64) error

Jump to

Keyboard shortcuts

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