forked from TrueCloudLab/frostfs-api-go
[#404] *: Regenerate code after language fixes
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
454b5c0ed7
commit
f9a91e5f33
25 changed files with 350 additions and 225 deletions
14
reputation/grpc/service.pb.go
generated
14
reputation/grpc/service.pb.go
generated
|
@ -91,7 +91,7 @@ func (x *AnnounceLocalTrustRequest) GetVerifyHeader() *grpc.RequestVerificationH
|
|||
return nil
|
||||
}
|
||||
|
||||
// Node's local trust information announce response.
|
||||
// Node's local trust information announcement response.
|
||||
type AnnounceLocalTrustResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
|
@ -231,7 +231,7 @@ func (x *AnnounceIntermediateResultRequest) GetVerifyHeader() *grpc.RequestVerif
|
|||
return nil
|
||||
}
|
||||
|
||||
// Intermediate global trust information announce response.
|
||||
// Intermediate global trust information announcement response.
|
||||
type AnnounceIntermediateResultResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
|
@ -311,7 +311,7 @@ type AnnounceLocalTrustRequest_Body struct {
|
|||
Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
|
||||
// List of normalized local trust values to other NeoFS nodes. The value
|
||||
// is calculated according to EigenTrust++ algorithm and must be a
|
||||
// floating point number in the [0;1] range.
|
||||
// floating point number in [0;1] range.
|
||||
Trusts []*Trust `protobuf:"bytes,2,rep,name=trusts,proto3" json:"trusts,omitempty"`
|
||||
}
|
||||
|
||||
|
@ -361,9 +361,9 @@ func (x *AnnounceLocalTrustRequest_Body) GetTrusts() []*Trust {
|
|||
return nil
|
||||
}
|
||||
|
||||
// Response to the node's local trust information announce has an empty body
|
||||
// Response to the node's local trust information announcement has an empty body
|
||||
// because the trust exchange operation is asynchronous. If Trust information
|
||||
// will not pass sanity checks it is silently ignored.
|
||||
// does not pass sanity checks, it is silently ignored.
|
||||
type AnnounceLocalTrustResponse_Body struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
|
@ -469,9 +469,9 @@ func (x *AnnounceIntermediateResultRequest_Body) GetTrust() *PeerToPeerTrust {
|
|||
return nil
|
||||
}
|
||||
|
||||
// Response to the node's intermediate global trust information announce has
|
||||
// Response to the node's intermediate global trust information announcement has
|
||||
// an empty body because the trust exchange operation is asynchronous. If
|
||||
// Trust information will not pass sanity checks it is silently ignored.
|
||||
// Trust information does not pass sanity checks, it is silently ignored.
|
||||
type AnnounceIntermediateResultResponse_Body struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
|
|
8
reputation/grpc/service_grpc.pb.go
generated
8
reputation/grpc/service_grpc.pb.go
generated
|
@ -1,8 +1,4 @@
|
|||
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
||||
// versions:
|
||||
// - protoc-gen-go-grpc v1.2.0
|
||||
// - protoc v3.19.4
|
||||
// source: reputation/grpc/service.proto
|
||||
|
||||
package reputation
|
||||
|
||||
|
@ -29,7 +25,7 @@ type ReputationServiceClient interface {
|
|||
// local trust has been successfully announced;
|
||||
// - Common failures (SECTION_FAILURE_COMMON).
|
||||
AnnounceLocalTrust(ctx context.Context, in *AnnounceLocalTrustRequest, opts ...grpc.CallOption) (*AnnounceLocalTrustResponse, error)
|
||||
// Announces the intermediate result of the iterative algorithm for
|
||||
// Announce the intermediate result of the iterative algorithm for
|
||||
// calculating the global reputation of the node in NeoFS network.
|
||||
//
|
||||
// Statuses:
|
||||
|
@ -76,7 +72,7 @@ type ReputationServiceServer interface {
|
|||
// local trust has been successfully announced;
|
||||
// - Common failures (SECTION_FAILURE_COMMON).
|
||||
AnnounceLocalTrust(context.Context, *AnnounceLocalTrustRequest) (*AnnounceLocalTrustResponse, error)
|
||||
// Announces the intermediate result of the iterative algorithm for
|
||||
// Announce the intermediate result of the iterative algorithm for
|
||||
// calculating the global reputation of the node in NeoFS network.
|
||||
//
|
||||
// Statuses:
|
||||
|
|
8
reputation/grpc/types.pb.go
generated
8
reputation/grpc/types.pb.go
generated
|
@ -21,13 +21,13 @@ const (
|
|||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||
)
|
||||
|
||||
// NeoFS unique peer identifier is 33 byte long compressed public key of the
|
||||
// NeoFS unique peer identifier is a 33 byte long compressed public key of the
|
||||
// node, the same as the one stored in the network map.
|
||||
//
|
||||
// String presentation is
|
||||
// String presentation is a
|
||||
// [base58](https://tools.ietf.org/html/draft-msporny-base58-02) encoded string.
|
||||
//
|
||||
// JSON value will be the data encoded as a string using standard base64
|
||||
// JSON value will be data encoded as a string using standard base64
|
||||
// encoding with paddings. Either
|
||||
// [standard](https://tools.ietf.org/html/rfc4648#section-4) or
|
||||
// [URL-safe](https://tools.ietf.org/html/rfc4648#section-5) base64 encoding
|
||||
|
@ -202,7 +202,7 @@ type GlobalTrust struct {
|
|||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
// Message format version. Effectively the version of API library used to create
|
||||
// Message format version. Effectively, the version of API library used to create
|
||||
// the message.
|
||||
Version *grpc.Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
|
||||
// Message body
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue