blob: 6db120843fb5ccffa930e91465d6bfa123c8a620 (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
package objectstore
// WriterQuarantine represents one quarantined write that accepts both object-
// wise and pack-wise writes.
type Quarantine interface {
BaseQuarantine
Writer
}
// QuarantineOptions controls the options for one coordinated quarantine creation.
type QuarantineOptions struct {
Object ObjectQuarantineOptions
Pack PackQuarantineOptions
}
// WriterQuarantiner creates coordinated quarantines that support both object-
// wise and pack-wise writes.
type Quarantiner interface {
BeginQuarantine(opts QuarantineOptions) (Quarantine, error)
}
|