Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DirectoryCreator ¶ added in v0.2.0
type ObjectStore ¶ added in v0.2.0
type ObjectStore interface { GetObject(name string) (io.ReadCloser, error) DeleteObject(name string) error PutObject(name string, data io.ReadSeeker, size int64) error }
func NewFileObjectStore ¶ added in v0.2.0
func NewFileObjectStore(basePath string) ObjectStore
func NewS3ObjectStore ¶ added in v0.2.0
func NewS3ObjectStore(s3 *s3.S3, bucket string) ObjectStore
type RiggedService ¶ added in v0.2.0
type RiggedService struct {
// contains filtered or unexported fields
}
func NewRiggedService ¶ added in v0.2.0
func NewRiggedService(service Service, objectStore ObjectStore, prefix string) (*RiggedService, error)
func (*RiggedService) Apply ¶ added in v0.2.0
func (rs *RiggedService) Apply(op Operation, waitUntilDurable bool) error
Apply applies an operation.
func (*RiggedService) Flush ¶ added in v0.2.0
func (rs *RiggedService) Flush() (int, error)
func (*RiggedService) Recover ¶ added in v0.2.0
func (rs *RiggedService) Recover() error
func (*RiggedService) Snapshot ¶ added in v0.2.0
func (rs *RiggedService) Snapshot() error
func (*RiggedService) SnapshotVersion ¶ added in v0.2.0
func (rs *RiggedService) SnapshotVersion() uint64
Click to show internal directories.
Click to hide internal directories.