Extend LocalOverrideStorage interface with target listing methods #43

Closed
opened 2024-01-19 13:42:42 +00:00 by aarifullin · 0 comments
Member

LocalOverrideStorage interface lacks a method that allows to list targets for which local overrides are set.

It is suggested to introduce a method like that:

ListOverrideDefinedTargets(name chain.Name) ([]Target, error)

After this method will be introduced, it is required to implement it in frostfs-node's chain base

[LocalOverrideStorage](https://git.frostfs.info/TrueCloudLab/policy-engine/src/branch/master/pkg/engine/interface.go#L17) interface lacks a method that allows to list targets for which local overrides are set. It is suggested to introduce a method like that: ```go ListOverrideDefinedTargets(name chain.Name) ([]Target, error) ``` After this method will be introduced, it is required to implement it in [frostfs-node's chain base](https://git.frostfs.info/TrueCloudLab/frostfs-node/src/branch/master/pkg/ape/chainbase/boltdb.go)
acid-ant self-assigned this 2024-01-23 08:43:40 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/policy-engine#43
No description provided.