ref: 3ce59c3248dec0eb0f918c42f37f53bc2ac20425
dir: /object/store/quarantine.go/
package objectstore
// Quarantine 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
}
// Quarantiner creates coordinated quarantines that support both object-
// wise and pack-wise writes.
type Quarantiner interface {
BeginQuarantine(opts QuarantineOptions) (Quarantine, error)
}