forked from TrueCloudLab/frostfs-api-go
[#415] *: Add maintenance status and node state
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
1853349f22
commit
ea7a3811bf
29 changed files with 264 additions and 255 deletions
74
object/grpc/service.pb.go
generated
74
object/grpc/service.pb.go
generated
|
@ -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"`
|
||||
|
|
2
object/grpc/service_grpc.pb.go
generated
2
object/grpc/service_grpc.pb.go
generated
|
@ -1,7 +1,7 @@
|
|||
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
||||
// versions:
|
||||
// - protoc-gen-go-grpc v1.2.0
|
||||
// - protoc v3.19.4
|
||||
// - protoc v3.21.5
|
||||
// source: object/grpc/service.proto
|
||||
|
||||
package object
|
||||
|
|
40
object/grpc/types.pb.go
generated
40
object/grpc/types.pb.go
generated
|
@ -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/types.proto
|
||||
|
||||
package object
|
||||
|
@ -559,28 +559,28 @@ func (x *SplitInfo) GetLink() *grpc.ObjectID {
|
|||
// There are some "well-known" attributes starting with `__NEOFS__` prefix
|
||||
// that affect system behaviour:
|
||||
//
|
||||
// * __NEOFS__UPLOAD_ID \
|
||||
// Marks smaller parts of a split bigger object
|
||||
// * __NEOFS__EXPIRATION_EPOCH \
|
||||
// Tells GC to delete object after that epoch
|
||||
// * __NEOFS__TICK_EPOCH \
|
||||
// Decimal number that defines what epoch must produce
|
||||
// object notification with UTF-8 object address in a
|
||||
// body (`0` value produces notification right after
|
||||
// object put)
|
||||
// * __NEOFS__TICK_TOPIC \
|
||||
// UTF-8 string topic ID that is used for object notification
|
||||
// - __NEOFS__UPLOAD_ID \
|
||||
// Marks smaller parts of a split bigger object
|
||||
// - __NEOFS__EXPIRATION_EPOCH \
|
||||
// Tells GC to delete object after that epoch
|
||||
// - __NEOFS__TICK_EPOCH \
|
||||
// Decimal number that defines what epoch must produce
|
||||
// object notification with UTF-8 object address in a
|
||||
// body (`0` value produces notification right after
|
||||
// object put)
|
||||
// - __NEOFS__TICK_TOPIC \
|
||||
// UTF-8 string topic ID that is used for object notification
|
||||
//
|
||||
// And some well-known attributes used by applications only:
|
||||
//
|
||||
// * Name \
|
||||
// Human-friendly name
|
||||
// * FileName \
|
||||
// File name to be associated with the object on saving
|
||||
// * Timestamp \
|
||||
// User-defined local time of object creation in Unix Timestamp format
|
||||
// * Content-Type \
|
||||
// MIME Content Type of object's payload
|
||||
// - Name \
|
||||
// Human-friendly name
|
||||
// - FileName \
|
||||
// File name to be associated with the object on saving
|
||||
// - Timestamp \
|
||||
// User-defined local time of object creation in Unix Timestamp format
|
||||
// - Content-Type \
|
||||
// MIME Content Type of object's payload
|
||||
//
|
||||
// For detailed description of each well-known attribute please see the
|
||||
// corresponding section in NeoFS Technical Specification.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue