mirror of
https://github.com/minio/minio.git
synced 2025-11-20 18:06:10 -05:00
Implement HealObjects API to simplify healing (#7351)
This commit is contained in:
committed by
kannappanr
parent
8377d00574
commit
7079abc931
@@ -90,7 +90,7 @@ type ObjectLayer interface {
|
||||
HealBucket(ctx context.Context, bucket string, dryRun, remove bool) (madmin.HealResultItem, error)
|
||||
HealObject(ctx context.Context, bucket, object string, dryRun, remove bool) (madmin.HealResultItem, error)
|
||||
ListBucketsHeal(ctx context.Context) (buckets []BucketInfo, err error)
|
||||
ListObjectsHeal(ctx context.Context, bucket, prefix, marker, delimiter string, maxKeys int) (ListObjectsInfo, error)
|
||||
HealObjects(ctx context.Context, bucket, prefix string, healObjectFn func(string, string) error) error
|
||||
|
||||
// Policy operations
|
||||
SetBucketPolicy(context.Context, string, *policy.Policy) error
|
||||
|
||||
Reference in New Issue
Block a user