add a debug capability to list all metadata keys

This commit is contained in:
chrislu
2022-01-11 23:25:04 -08:00
parent 1a7d5b5b5e
commit 10ecf80ca1
4 changed files with 35 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ import (
"context"
"errors"
"github.com/chrislusf/seaweedfs/weed/util"
"io"
)
var (
@@ -45,3 +46,7 @@ type BucketAware interface {
OnBucketDeletion(bucket string)
CanDropWholeBucket() bool
}
type Debuggable interface {
Debug(writer io.Writer)
}