aboutsummaryrefslogtreecommitdiff
path: root/object/store/quarantine.go
diff options
context:
space:
mode:
Diffstat (limited to 'object/store/quarantine.go')
-rw-r--r--object/store/quarantine.go28
1 files changed, 0 insertions, 28 deletions
diff --git a/object/store/quarantine.go b/object/store/quarantine.go
index b827d843..1908ab9b 100644
--- a/object/store/quarantine.go
+++ b/object/store/quarantine.go
@@ -11,31 +11,3 @@ type Quarantine interface {
// Discard abandons quarantined writes.
Discard() error
}
-
-// ObjectQuarantine represents one quarantined object-wise write.
-type ObjectQuarantine interface {
- Quarantine
- ObjectWriter
-}
-
-// PackQuarantine represents one quarantined pack-wise write.
-type PackQuarantine interface {
- Quarantine
- PackWriter
-}
-
-// ObjectQuarantineOptions controls the options for one object quarantine creation.
-type ObjectQuarantineOptions struct{}
-
-// PackQuarantineOptions controls the options for one pack quarantine creation.
-type PackQuarantineOptions struct{}
-
-// ObjectQuarantiner creates quarantines for object-wise writes.
-type ObjectQuarantiner interface {
- BeginObjectQuarantine(opts ObjectQuarantineOptions) (ObjectQuarantine, error)
-}
-
-// PackQuarantiner creates quarantines for pack-wise writes.
-type PackQuarantiner interface {
- BeginPackQuarantine(opts PackQuarantineOptions) (PackQuarantine, error)
-}