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
21
session/grpc/types.pb.go
generated
21
session/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: session/grpc/types.proto
|
||||
|
||||
package session
|
||||
|
@ -350,15 +350,15 @@ func (x *SessionToken) GetSignature() *grpc.Signature {
|
|||
// There are some "well-known" headers starting with `__NEOFS__` prefix that
|
||||
// affect system behaviour:
|
||||
//
|
||||
// * __NEOFS__NETMAP_EPOCH \
|
||||
// Netmap epoch to use for object placement calculation. The `value` is string
|
||||
// encoded `uint64` in decimal presentation. If set to '0' or not set, the
|
||||
// current epoch only will be used.
|
||||
// * __NEOFS__NETMAP_LOOKUP_DEPTH \
|
||||
// If object can't be found using current epoch's netmap, this header limits
|
||||
// how many past epochs the node can look up through. The `value` is string
|
||||
// encoded `uint64` in decimal presentation. If set to '0' or not set, only the
|
||||
// current epoch will be used.
|
||||
// - __NEOFS__NETMAP_EPOCH \
|
||||
// Netmap epoch to use for object placement calculation. The `value` is string
|
||||
// encoded `uint64` in decimal presentation. If set to '0' or not set, the
|
||||
// current epoch only will be used.
|
||||
// - __NEOFS__NETMAP_LOOKUP_DEPTH \
|
||||
// If object can't be found using current epoch's netmap, this header limits
|
||||
// how many past epochs the node can look up through. The `value` is string
|
||||
// encoded `uint64` in decimal presentation. If set to '0' or not set, only the
|
||||
// current epoch will be used.
|
||||
type XHeader struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
|
@ -793,6 +793,7 @@ type SessionToken_Body struct {
|
|||
// Session Context information
|
||||
//
|
||||
// Types that are assignable to Context:
|
||||
//
|
||||
// *SessionToken_Body_Object
|
||||
// *SessionToken_Body_Container
|
||||
Context isSessionToken_Body_Context `protobuf_oneof:"context"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue