forked from TrueCloudLab/frostfs-s3-gw
[#477] Provide aggregation of tags and locks in layer.Client
Adopts GetObjectTaggingAndLock method from TreeClient in layer.Client with caching. Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
f8496973b8
commit
7fd27e04fe
2 changed files with 52 additions and 0 deletions
|
@ -248,6 +248,11 @@ type (
|
|||
|
||||
PutBucketNotificationConfiguration(ctx context.Context, p *PutBucketNotificationConfigurationParams) error
|
||||
GetBucketNotificationConfiguration(ctx context.Context, bktInfo *data.BucketInfo) (*data.NotificationConfiguration, error)
|
||||
|
||||
// Compound methods for optimizations
|
||||
|
||||
// GetObjectTaggingAndLock unifies GetObjectTagging and GetLock methods in single tree service invocation.
|
||||
GetObjectTaggingAndLock(ctx context.Context, p *ObjectVersion) (map[string]string, *data.LockInfo, error)
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue