forked from TrueCloudLab/frostfs-s3-gw
[#429] Add tree service for cors
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
This commit is contained in:
parent
7520952792
commit
8eff857e41
4 changed files with 86 additions and 4 deletions
|
@ -22,6 +22,10 @@ type TreeService interface {
|
|||
GetNotificationConfigurationNodes(ctx context.Context, cnrID *cid.ID, latestOnly bool) ([]*oid.ID, []uint64, error)
|
||||
PutNotificationConfigurationNode(ctx context.Context, cnrID *cid.ID, objID *oid.ID) error
|
||||
DeleteNotificationConfigurationNode(ctx context.Context, cnrID *cid.ID, nodeID uint64) error
|
||||
|
||||
GetBucketCORS(ctx context.Context, cnrID *cid.ID, latestOnly bool) ([]*oid.ID, []uint64, error)
|
||||
PutBucketCORS(ctx context.Context, cnrID *cid.ID, objID *oid.ID) error
|
||||
DeleteBucketCORS(ctx context.Context, cnrID *cid.ID, nodeID uint64) error
|
||||
}
|
||||
|
||||
// ErrNodeNotFound is returned from Tree service in case of not found error.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue