Storage: Add resource version matching in unified storage API (#102417)
Add NotOlderThan support to getHistory Add support for Exact Add tests Refactor tests Add error test Co-authored-by: Marco de Abreu <18629099+marcoabreu@users.noreply.github.com>
This commit is contained in:
co-authored by
Marco de Abreu
parent
e5b6b7b370
commit
ce350df79b
@@ -247,6 +247,8 @@ type sqlGetHistoryRequest struct {
|
||||
Key *resource.ResourceKey
|
||||
Trash bool // only deleted items
|
||||
StartRV int64 // from NextPageToken
|
||||
MinRV int64 // minimum resource version for NotOlderThan
|
||||
ExactRV int64 // exact resource version for Exact
|
||||
}
|
||||
|
||||
func (r sqlGetHistoryRequest) Validate() error {
|
||||
|
||||
Reference in New Issue
Block a user