[#415] *: Add maintenance status and node state

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2022-09-15 08:21:44 +03:00 committed by LeL
parent 1853349f22
commit ea7a3811bf
29 changed files with 264 additions and 255 deletions

View file

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.1
// protoc v3.19.4
// protoc v3.21.5
// source: object/grpc/service.proto
package object
@ -1193,6 +1193,7 @@ type GetResponse_Body struct {
// Single message in the response stream.
//
// Types that are assignable to ObjectPart:
//
// *GetResponse_Body_Init_
// *GetResponse_Body_Chunk
// *GetResponse_Body_SplitInfo
@ -1361,6 +1362,7 @@ type PutRequest_Body struct {
// Single message in the request stream.
//
// Types that are assignable to ObjectPart:
//
// *PutRequest_Body_Init_
// *PutRequest_Body_Chunk
ObjectPart isPutRequest_Body_ObjectPart `protobuf_oneof:"object_part"`
@ -1740,6 +1742,7 @@ type HeadResponse_Body struct {
// object.
//
// Types that are assignable to Head:
//
// *HeadResponse_Body_Header
// *HeadResponse_Body_ShortHeader
// *HeadResponse_Body_SplitInfo
@ -1910,44 +1913,44 @@ func (x *SearchRequest_Body) GetFilters() []*SearchRequest_Body_Filter {
// Some Object's header fields can also be accessed by adding `$Object:`
// prefix to the name. Here is the list of fields available via this prefix:
//
// * $Object:version \
// version
// * $Object:objectID \
// object_id
// * $Object:containerID \
// container_id
// * $Object:ownerID \
// owner_id
// * $Object:creationEpoch \
// creation_epoch
// * $Object:payloadLength \
// payload_length
// * $Object:payloadHash \
// payload_hash
// * $Object:objectType \
// object_type
// * $Object:homomorphicHash \
// homomorphic_hash
// * $Object:split.parent \
// object_id of parent
// * $Object:split.splitID \
// 16 byte UUIDv4 used to identify the split object hierarchy parts
// - $Object:version \
// version
// - $Object:objectID \
// object_id
// - $Object:containerID \
// container_id
// - $Object:ownerID \
// owner_id
// - $Object:creationEpoch \
// creation_epoch
// - $Object:payloadLength \
// payload_length
// - $Object:payloadHash \
// payload_hash
// - $Object:objectType \
// object_type
// - $Object:homomorphicHash \
// homomorphic_hash
// - $Object:split.parent \
// object_id of parent
// - $Object:split.splitID \
// 16 byte UUIDv4 used to identify the split object hierarchy parts
//
// There are some well-known filter aliases to match objects by certain
// properties:
//
// * $Object:ROOT \
// Returns only `REGULAR` type objects that are not split or that are the top
// level root objects in a split hierarchy. This includes objects not
// present physically, like large objects split into smaller objects
// without a separate top-level root object. Objects of other types 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:ROOT \
// Returns only `REGULAR` type objects that are not split or that are the top
// level root objects in a split hierarchy. This includes objects not
// present physically, like large objects split into smaller objects
// without a separate top-level root object. Objects of other types 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.
//
// Note: using filters with a key with prefix `$Object:` and match type
// `NOT_PRESENT `is not recommended since this is not a cross-version approach.
@ -2147,6 +2150,7 @@ type GetRangeResponse_Body struct {
// Requested object range or meta information about split object.
//
// Types that are assignable to RangePart:
//
// *GetRangeResponse_Body_Chunk
// *GetRangeResponse_Body_SplitInfo
RangePart isGetRangeResponse_Body_RangePart `protobuf_oneof:"range_part"`