blob: 754fb3ee1a09014db744f250fa79fd6c7a8cf5d4 (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
package objectstore
// BaseQuarantine is one quarantined write. It is intended to be embedded.
type BaseQuarantine interface {
// Reader exposes the objects written into this quarantine.
Reader
// Promote publishes quarantined writes into their final destination.
//
// Promote invalidates the receiver.
Promote() error
// Discard abandons quarantined writes.
//
// Discard invalidates the receiver.
Discard() error
}
|