diff --git a/go.mod b/go.mod index 49151e1..6ea4d69 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,6 @@ module github.com/nspcc-dev/neofs-api-go go 1.14 require ( - github.com/alecthomas/participle v0.6.0 github.com/golang/protobuf v1.4.3 github.com/google/uuid v1.1.1 github.com/mr-tron/base58 v1.1.2 diff --git a/go.sum b/go.sum index 612803a..163f26c 100644 --- a/go.sum +++ b/go.sum @@ -11,9 +11,6 @@ github.com/Workiva/go-datastructures v1.0.50/go.mod h1:Z+F2Rca0qCsVYDS8z7bAGm8f3 github.com/abiosoft/ishell v2.0.0+incompatible/go.mod h1:HQR9AqF2R3P4XXpMpI0NAzgHf/aS6+zVXRj14cVk9qg= github.com/abiosoft/readline v0.0.0-20180607040430-155bce2042db/go.mod h1:rB3B4rKii8V21ydCbIzH5hZiCQE7f5E9SzUb/ZZx530= github.com/aead/siphash v1.0.1/go.mod h1:Nywa3cDsYNNK3gaciGTWPwHt0wlpNV15vwmswBAUSII= -github.com/alecthomas/participle v0.6.0 h1:Pvo8XUCQKgIywVjz/+Ci3IsjGg+g/TdKkMcfgghKCEw= -github.com/alecthomas/participle v0.6.0/go.mod h1:HfdmEuwvr12HXQN44HPWXR0lHmVolVYe4dyL6lQ3duY= -github.com/alecthomas/repr v0.0.0-20181024024818-d37bc2a10ba1/go.mod h1:xTS7Pm1pD1mvyM075QCDSRqH6qRLXylzS24ZTpRiSzQ= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= diff --git a/util/proto/test/test.pb.go b/util/proto/test/test.pb.go index 91c3f8b..f581442 100644 --- a/util/proto/test/test.pb.go +++ b/util/proto/test/test.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.23.0 -// protoc v3.11.4 +// protoc v3.13.0 // source: util/proto/test/test.proto package test diff --git a/v2/accounting/grpc/service.pb.go b/v2/accounting/grpc/service.pb.go index 2ef4b19..2f29d12 100644 --- a/v2/accounting/grpc/service.pb.go +++ b/v2/accounting/grpc/service.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.23.0 -// protoc v3.11.4 +// protoc v3.13.0 // source: v2/accounting/grpc/service.proto package accounting diff --git a/v2/accounting/grpc/types.pb.go b/v2/accounting/grpc/types.pb.go index 13c3bf9..dd62f96 100644 --- a/v2/accounting/grpc/types.pb.go +++ b/v2/accounting/grpc/types.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.23.0 -// protoc v3.11.4 +// protoc v3.13.0 // source: v2/accounting/grpc/types.proto package accounting diff --git a/v2/acl/grpc/types.pb.go b/v2/acl/grpc/types.pb.go index 2e9656b..e1805a3 100644 --- a/v2/acl/grpc/types.pb.go +++ b/v2/acl/grpc/types.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.23.0 -// protoc v3.11.4 +// protoc v3.13.0 // source: v2/acl/grpc/types.proto package acl @@ -539,6 +539,8 @@ func (x *BearerToken) GetSignature() *grpc.Signature { // // * $Object:version \ // version +// * $Object:objectID \ +// object_id // * $Object:containerID \ // container_id // * $Object:ownerID \ diff --git a/v2/container/grpc/service.pb.go b/v2/container/grpc/service.pb.go index 6edd4ce..68d8392 100644 --- a/v2/container/grpc/service.pb.go +++ b/v2/container/grpc/service.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.23.0 -// protoc v3.11.4 +// protoc v3.13.0 // source: v2/container/grpc/service.proto package container diff --git a/v2/container/grpc/types.pb.go b/v2/container/grpc/types.pb.go index 5103e7d..f5232e5 100644 --- a/v2/container/grpc/types.pb.go +++ b/v2/container/grpc/types.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.23.0 -// protoc v3.11.4 +// protoc v3.13.0 // source: v2/container/grpc/types.proto package container diff --git a/v2/netmap/grpc/service.pb.go b/v2/netmap/grpc/service.pb.go index b30be26..721f282 100644 --- a/v2/netmap/grpc/service.pb.go +++ b/v2/netmap/grpc/service.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.23.0 -// protoc v3.11.4 +// protoc v3.13.0 // source: v2/netmap/grpc/service.proto package netmap diff --git a/v2/netmap/grpc/types.pb.go b/v2/netmap/grpc/types.pb.go index 9bc0e1d..b7347eb 100644 --- a/v2/netmap/grpc/types.pb.go +++ b/v2/netmap/grpc/types.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.23.0 -// protoc v3.11.4 +// protoc v3.13.0 // source: v2/netmap/grpc/types.proto package netmap diff --git a/v2/object/grpc/service.pb.go b/v2/object/grpc/service.pb.go index 3a49b0d..e35c1d0 100644 --- a/v2/object/grpc/service.pb.go +++ b/v2/object/grpc/service.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.23.0 -// protoc v3.11.4 +// protoc v3.13.0 // source: v2/object/grpc/service.proto package object @@ -1875,6 +1875,8 @@ func (x *SearchRequest_Body) GetFilters() []*SearchRequest_Body_Filter { // // * $Object:version \ // version +// * $Object:objectID \ +// object_id // * $Object:containerID \ // container_id // * $Object:ownerID \ @@ -1896,11 +1898,17 @@ func (x *SearchRequest_Body) GetFilters() []*SearchRequest_Body_Filter { // properties: // // * $Object:ROOT \ -// With the `value` set to `true` checks if an object is a top object in a -// split hierarchy. With other values returns non-root objects. -// * $Object:LEAF \ -// With the `value` set to `true` checks if an object is a leaf in a split -// hierarchy. With other values returns non-leaf objects. +// Returns only `REGULAR` type objects that are not split or are the top +// level root objects in a split hierarchy. This includes objects not +// present physically, like large objects split into smaller objects +// without separate top-level root object. Other type objects like +// StorageGroups and Tombstones will not be shown. This filter may be +// useful for listing objects like `ls` command of some virtual file +// system. This filter is activated if the `key` exists, disregarding the +// value and matcher type. +// * $Object:PHY \ +// Returns only objects physically stored in the system. This filter is +// activated if the `key` exists, disregarding the value and matcher type. // * $Object:CHILDFREE \ // With the `value` set to `true` checks if an object has empty // children list in `Split` header. With other values returns diff --git a/v2/object/grpc/types.pb.go b/v2/object/grpc/types.pb.go index fd62c34..0498da0 100644 --- a/v2/object/grpc/types.pb.go +++ b/v2/object/grpc/types.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.23.0 -// protoc v3.11.4 +// protoc v3.13.0 // source: v2/object/grpc/types.proto package object @@ -27,7 +27,9 @@ const ( // of the legacy proto package is being used. const _ = proto.ProtoPackageIsVersion4 -// Type of the object payload content. +// Type of the object payload content. Only `REGULAR` type objects can be split, +// hence `TOMBSTONE` and `STORAGEGROUP` payload is limited by maximal object +// size. type ObjectType int32 const ( diff --git a/v2/refs/grpc/types.pb.go b/v2/refs/grpc/types.pb.go index 2d4be15..c9994bd 100644 --- a/v2/refs/grpc/types.pb.go +++ b/v2/refs/grpc/types.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.23.0 -// protoc v3.11.4 +// protoc v3.13.0 // source: v2/refs/grpc/types.proto package refs diff --git a/v2/session/grpc/service.pb.go b/v2/session/grpc/service.pb.go index 19f9e62..712500e 100644 --- a/v2/session/grpc/service.pb.go +++ b/v2/session/grpc/service.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.23.0 -// protoc v3.11.4 +// protoc v3.13.0 // source: v2/session/grpc/service.proto package session diff --git a/v2/session/grpc/types.pb.go b/v2/session/grpc/types.pb.go index ac38c54..7140ceb 100644 --- a/v2/session/grpc/types.pb.go +++ b/v2/session/grpc/types.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.23.0 -// protoc v3.11.4 +// protoc v3.13.0 // source: v2/session/grpc/types.proto package session diff --git a/v2/storagegroup/grpc/types.pb.go b/v2/storagegroup/grpc/types.pb.go index 5b00a18..96e9d87 100644 --- a/v2/storagegroup/grpc/types.pb.go +++ b/v2/storagegroup/grpc/types.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.23.0 -// protoc v3.11.4 +// protoc v3.13.0 // source: v2/storagegroup/grpc/types.proto package storagegroup