aboutsummaryrefslogtreecommitdiff
path: root/object/store/quarantine.go
blob: 7f538f43a20bdada22f39599c41f14845ee2b720 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
package objectstore

// Quarantine is one quarantined write. It is intended to be embedded.
type Quarantine interface {
	// Reader returns the objects written into this quarantine.
	Reader

	// Promote publishes quarantined writes into their final destination.
	Promote() error

	// Discard abandons quarantined writes.
	Discard() error
}