Documentation ¶
Overview ¶
Package snapshotter provides the core snapshotter structs.
Index ¶
- type Snapshotter
- func (s *Snapshotter) DeleteTable(qtid dax.QualifiedTableID) error
- func (s *Snapshotter) List(bucket, key string) ([]computer.SnapInfo, error)
- func (s *Snapshotter) Read(bucket string, key string, version int) (io.ReadCloser, error)
- func (s *Snapshotter) SetLogger(l logger.Logger)
- func (s *Snapshotter) Write(bucket string, key string, version int, rc io.ReadCloser) error
- func (s *Snapshotter) WriteTo(bucket string, key string, version int, wrTo io.WriterTo) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Snapshotter ¶
type Snapshotter struct {
// contains filtered or unexported fields
}
func (*Snapshotter) DeleteTable ¶ added in v3.29.0
func (s *Snapshotter) DeleteTable(qtid dax.QualifiedTableID) error
func (*Snapshotter) List ¶ added in v3.27.0
func (s *Snapshotter) List(bucket, key string) ([]computer.SnapInfo, error)
func (*Snapshotter) Read ¶
func (s *Snapshotter) Read(bucket string, key string, version int) (io.ReadCloser, error)
func (*Snapshotter) SetLogger ¶
func (s *Snapshotter) SetLogger(l logger.Logger)
SetLogger sets the logger used for logging messages.
func (*Snapshotter) Write ¶
func (s *Snapshotter) Write(bucket string, key string, version int, rc io.ReadCloser) error
Click to show internal directories.
Click to hide internal directories.