frostfs-s3-gw/pkg/policy-engine/common/resolver.go
Denis Kirillov 0ba6989197 [#680] Move policy engine converter to s3-gw
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2025-04-14 12:11:54 +00:00

15 lines
300 B
Go

package common
type NativeResolver interface {
GetUserKey(account, name string) (string, error)
GetBucketInfo(bucket string) (*BucketInfo, error)
}
type BucketInfo struct {
Namespace string
Container string
}
type S3Resolver interface {
GetUserAddress(account, user string) (string, error)
}