Update proto files from latest jindo

support/v2.15
Alex Vanin 2020-08-14 09:49:05 +03:00 committed by Stanislav Bogatyrev
parent ca917e42d0
commit 8aca8c5787
13 changed files with 1471 additions and 1537 deletions

View File

@ -50,17 +50,12 @@ docgen: deps
protoc:
@echo "${B}${G}⇒ Cleanup old files ${R}"
@find . -type f -name '*.pb.go' -not -path './vendor/*' -exec rm {} \;
@echo "${B}${G}⇒ Install specific version for gogo-proto ${R}"
@go list -f '{{.Path}}/...@{{.Version}}' -m github.com/gogo/protobuf | xargs go get -v
@echo "${B}${G}⇒ Install specific version for protobuf lib ${R}"
@go list -f '{{.Path}}/...@{{.Version}}' -m github.com/golang/protobuf | xargs go get -v
@echo "${B}${G}⇒ Protoc generate ${R}"
@for f in `find . -type f -name '*.proto' -not -path './vendor/*'`; do \
echo "${B}${G}⇒ Processing $$f ${R}"; \
protoc \
--proto_path=.:./vendor:/usr/local/include \
--gofast_out=plugins=grpc,paths=source_relative:. $$f; \
--gofast_out=plugins=grpc,paths=source_relative:. $$f; \
done
update: docgen protoc

View File

@ -104,6 +104,7 @@ func (m *BalanceRequest) GetVerifyHeader() *service.RequestVerificationHeader {
return nil
}
//Request body
type BalanceRequest_Body struct {
// Carries user identifier in NeoFS system for which the balance
// is requested.
@ -283,6 +284,7 @@ func (m *BalanceResponse) GetVerifyHeader() *service.ResponseVerificationHeader
return nil
}
//Request body
type BalanceResponse_Body struct {
// Carries the amount of funds on the account.
Balance *Decimal `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"`
@ -342,36 +344,37 @@ func init() {
func init() { proto.RegisterFile("v2/accounting/service.proto", fileDescriptor_484f6b0e24e3172f) }
var fileDescriptor_484f6b0e24e3172f = []byte{
// 464 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xdf, 0x6a, 0x13, 0x41,
0x18, 0xc5, 0xdd, 0xb4, 0x1a, 0xfd, 0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a, 0xfe, 0xcc, 0x5a, 0xc1, 0xdf, 0x59, 0x2b, 0xf8, 0xfe,
0xaf, 0x75, 0xe5, 0x0b, 0x1b, 0xca, 0xec, 0x6c, 0xd2, 0xa7, 0x42, 0x8f, 0x99, 0x32, 0x89, 0x10,
0x9d, 0x18, 0x73, 0xa6, 0x50, 0x0f, 0x4c, 0x87, 0x27, 0xb2, 0x33, 0xd4, 0x6c, 0xe5, 0xa5, 0xfe,
0xac, 0x35, 0xde, 0xa1, 0x3e, 0xfe, 0x44, 0x0f, 0x3f, 0xf4, 0xe8, 0x72, 0xe2, 0xfe, 0x35, 0xfb,
0xbc, 0x9e, 0xfd, 0x0f, 0x00, 0x00, 0xff, 0xff, 0x4f, 0x91, 0xf3, 0x3d, 0xd8, 0x03, 0x00, 0x00,
// 472 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xdf, 0x6e, 0xd3, 0x30,
0x18, 0xc5, 0x49, 0x37, 0x28, 0x78, 0x0c, 0x84, 0x19, 0xea, 0x54, 0xa0, 0x42, 0xd5, 0x26, 0x01,
0xa2, 0x8e, 0x14, 0x2e, 0x90, 0x86, 0x06, 0x5a, 0x35, 0x26, 0x7a, 0xc1, 0xbf, 0x4c, 0xda, 0x05,
0x37, 0x93, 0xeb, 0x7c, 0xe9, 0x2c, 0x5a, 0x3b, 0xc4, 0xae, 0x51, 0xdf, 0x84, 0x17, 0xe0, 0x86,
0x0b, 0x9e, 0x83, 0x4b, 0x1e, 0x01, 0x95, 0x17, 0x41, 0xb1, 0xdd, 0x36, 0x95, 0xb2, 0xad, 0x77,
0xb1, 0x7d, 0xce, 0xf9, 0x7c, 0x7e, 0x8a, 0xd1, 0x7d, 0x13, 0x85, 0x94, 0x31, 0x39, 0x16, 0x9a,
0x8b, 0x41, 0xa8, 0x20, 0x37, 0x9c, 0x01, 0xc9, 0x72, 0xa9, 0x25, 0xde, 0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e, 0x81, 0x1f, 0xa0, 0x1b, 0x59, 0x0e, 0x8c, 0x2b, 0x2e, 0x85,
0x2d, 0xbd, 0x19, 0x2f, 0x36, 0xda, 0xbf, 0x6a, 0xe8, 0xf6, 0x1c, 0x99, 0xca, 0xa4, 0x50, 0x80,
0x5f, 0x2d, 0x71, 0x7e, 0x7a, 0x09, 0x67, 0x67, 0x2a, 0x83, 0x3e, 0xaa, 0x02, 0xbd, 0x5b, 0xc9,
0xc7, 0x99, 0xcf, 0x21, 0x1d, 0x57, 0x93, 0xee, 0x5c, 0x90, 0x74, 0x29, 0xea, 0xd7, 0x1e, 0xf5,
0x0b, 0x54, 0xef, 0xbb, 0x06, 0xbe, 0xe6, 0xc3, 0xea, 0x9a, 0x9e, 0x6d, 0x3c, 0x53, 0x47, 0x5f,
0xd0, 0x9d, 0x83, 0xf9, 0xf1, 0xb1, 0x1b, 0x8f, 0x4f, 0x50, 0xdd, 0xf3, 0xc0, 0x3b, 0xab, 0xfc,
0x96, 0xcd, 0xdd, 0x95, 0xa0, 0x76, 0xd3, 0xdf, 0xd3, 0x56, 0xf0, 0x67, 0xda, 0x0a, 0xfe, 0x4e,
0x5b, 0xc1, 0xf7, 0x7f, 0xad, 0x2b, 0x9f, 0xf7, 0x06, 0x5c, 0x9f, 0x8d, 0xfb, 0x84, 0xc9, 0x51,
0x28, 0x54, 0xc6, 0x58, 0x27, 0x01, 0x13, 0x0a, 0x90, 0xa9, 0xea, 0xd0, 0x8c, 0x77, 0x06, 0x32,
0x5c, 0x7a, 0xb0, 0x2f, 0x17, 0x9f, 0x3f, 0x6b, 0x8d, 0xf7, 0x20, 0x8f, 0x8e, 0xc9, 0xc1, 0xc7,
0x5e, 0x31, 0x77, 0x51, 0xa3, 0x7f, 0xcd, 0xbe, 0xb9, 0xe7, 0xff, 0x03, 0x00, 0x00, 0xff, 0xff,
0x1e, 0x24, 0x48, 0xec, 0xed, 0x03, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
@ -382,74 +385,74 @@ var _ grpc.ClientConn
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4
// AccountingClient is the client API for Accounting service.
// AccountingServiceClient is the client API for AccountingService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type AccountingClient interface {
type AccountingServiceClient interface {
// Returns the amount of funds for the requested NeoFS account.
Balance(ctx context.Context, in *BalanceRequest, opts ...grpc.CallOption) (*BalanceResponse, error)
}
type accountingClient struct {
type accountingServiceClient struct {
cc *grpc.ClientConn
}
func NewAccountingClient(cc *grpc.ClientConn) AccountingClient {
return &accountingClient{cc}
func NewAccountingServiceClient(cc *grpc.ClientConn) AccountingServiceClient {
return &accountingServiceClient{cc}
}
func (c *accountingClient) Balance(ctx context.Context, in *BalanceRequest, opts ...grpc.CallOption) (*BalanceResponse, error) {
func (c *accountingServiceClient) Balance(ctx context.Context, in *BalanceRequest, opts ...grpc.CallOption) (*BalanceResponse, error) {
out := new(BalanceResponse)
err := c.cc.Invoke(ctx, "/neo.fs.v2.accounting.Accounting/Balance", in, out, opts...)
err := c.cc.Invoke(ctx, "/neo.fs.v2.accounting.AccountingService/Balance", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// AccountingServer is the server API for Accounting service.
type AccountingServer interface {
// AccountingServiceServer is the server API for AccountingService service.
type AccountingServiceServer interface {
// Returns the amount of funds for the requested NeoFS account.
Balance(context.Context, *BalanceRequest) (*BalanceResponse, error)
}
// UnimplementedAccountingServer can be embedded to have forward compatible implementations.
type UnimplementedAccountingServer struct {
// UnimplementedAccountingServiceServer can be embedded to have forward compatible implementations.
type UnimplementedAccountingServiceServer struct {
}
func (*UnimplementedAccountingServer) Balance(ctx context.Context, req *BalanceRequest) (*BalanceResponse, error) {
func (*UnimplementedAccountingServiceServer) Balance(ctx context.Context, req *BalanceRequest) (*BalanceResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Balance not implemented")
}
func RegisterAccountingServer(s *grpc.Server, srv AccountingServer) {
s.RegisterService(&_Accounting_serviceDesc, srv)
func RegisterAccountingServiceServer(s *grpc.Server, srv AccountingServiceServer) {
s.RegisterService(&_AccountingService_serviceDesc, srv)
}
func _Accounting_Balance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
func _AccountingService_Balance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(BalanceRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(AccountingServer).Balance(ctx, in)
return srv.(AccountingServiceServer).Balance(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/neo.fs.v2.accounting.Accounting/Balance",
FullMethod: "/neo.fs.v2.accounting.AccountingService/Balance",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(AccountingServer).Balance(ctx, req.(*BalanceRequest))
return srv.(AccountingServiceServer).Balance(ctx, req.(*BalanceRequest))
}
return interceptor(ctx, in, info, handler)
}
var _Accounting_serviceDesc = grpc.ServiceDesc{
ServiceName: "neo.fs.v2.accounting.Accounting",
HandlerType: (*AccountingServer)(nil),
var _AccountingService_serviceDesc = grpc.ServiceDesc{
ServiceName: "neo.fs.v2.accounting.AccountingService",
HandlerType: (*AccountingServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "Balance",
Handler: _Accounting_Balance_Handler,
Handler: _AccountingService_Balance_Handler,
},
},
Streams: []grpc.StreamDesc{},

View File

@ -27,8 +27,8 @@ const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type Target int32
const (
// Unknown target, default value.
Target_UNKNOWN Target = 0
// Unspecified target, default value.
Target_TARGET_UNSPECIFIED Target = 0
// User target rule is applied if sender is the owner of the container.
Target_USER Target = 1
// System target rule is applied if sender is the storage node within the
@ -39,17 +39,17 @@ const (
)
var Target_name = map[int32]string{
0: "UNKNOWN",
0: "TARGET_UNSPECIFIED",
1: "USER",
2: "SYSTEM",
3: "OTHERS",
}
var Target_value = map[string]int32{
"UNKNOWN": 0,
"USER": 1,
"SYSTEM": 2,
"OTHERS": 3,
"TARGET_UNSPECIFIED": 0,
"USER": 1,
"SYSTEM": 2,
"OTHERS": 3,
}
func (x Target) String() string {
@ -64,18 +64,26 @@ func (Target) EnumDescriptor() ([]byte, []int) {
type EACLRecord_Operation int32
const (
EACLRecord_OPERATION_UNKNOWN EACLRecord_Operation = 0
EACLRecord_GET EACLRecord_Operation = 1
EACLRecord_HEAD EACLRecord_Operation = 2
EACLRecord_PUT EACLRecord_Operation = 3
EACLRecord_DELETE EACLRecord_Operation = 4
EACLRecord_SEARCH EACLRecord_Operation = 5
EACLRecord_GETRANGE EACLRecord_Operation = 6
EACLRecord_GETRANGEHASH EACLRecord_Operation = 7
// Unspecified operation, default value.
EACLRecord_OPERATION_UNSPECIFIED EACLRecord_Operation = 0
// Get
EACLRecord_GET EACLRecord_Operation = 1
// Head
EACLRecord_HEAD EACLRecord_Operation = 2
// Put
EACLRecord_PUT EACLRecord_Operation = 3
// Delete
EACLRecord_DELETE EACLRecord_Operation = 4
// Search
EACLRecord_SEARCH EACLRecord_Operation = 5
// GetRange
EACLRecord_GETRANGE EACLRecord_Operation = 6
// GetRangeHash
EACLRecord_GETRANGEHASH EACLRecord_Operation = 7
)
var EACLRecord_Operation_name = map[int32]string{
0: "OPERATION_UNKNOWN",
0: "OPERATION_UNSPECIFIED",
1: "GET",
2: "HEAD",
3: "PUT",
@ -86,14 +94,14 @@ var EACLRecord_Operation_name = map[int32]string{
}
var EACLRecord_Operation_value = map[string]int32{
"OPERATION_UNKNOWN": 0,
"GET": 1,
"HEAD": 2,
"PUT": 3,
"DELETE": 4,
"SEARCH": 5,
"GETRANGE": 6,
"GETRANGEHASH": 7,
"OPERATION_UNSPECIFIED": 0,
"GET": 1,
"HEAD": 2,
"PUT": 3,
"DELETE": 4,
"SEARCH": 5,
"GETRANGE": 6,
"GETRANGEHASH": 7,
}
func (x EACLRecord_Operation) String() string {
@ -108,21 +116,24 @@ func (EACLRecord_Operation) EnumDescriptor() ([]byte, []int) {
type EACLRecord_Action int32
const (
EACLRecord_ACTION_UNKNOWN EACLRecord_Action = 0
EACLRecord_ALLOW EACLRecord_Action = 1
EACLRecord_DENY EACLRecord_Action = 2
// Unspecified action, default value.
EACLRecord_ACTION_UNSPECIFIED EACLRecord_Action = 0
// Allow action
EACLRecord_ALLOW EACLRecord_Action = 1
// Deny action
EACLRecord_DENY EACLRecord_Action = 2
)
var EACLRecord_Action_name = map[int32]string{
0: "ACTION_UNKNOWN",
0: "ACTION_UNSPECIFIED",
1: "ALLOW",
2: "DENY",
}
var EACLRecord_Action_value = map[string]int32{
"ACTION_UNKNOWN": 0,
"ALLOW": 1,
"DENY": 2,
"ACTION_UNSPECIFIED": 0,
"ALLOW": 1,
"DENY": 2,
}
func (x EACLRecord_Action) String() string {
@ -137,21 +148,24 @@ func (EACLRecord_Action) EnumDescriptor() ([]byte, []int) {
type EACLRecord_FilterInfo_Header int32
const (
EACLRecord_FilterInfo_HEADER_UNKNOWN EACLRecord_FilterInfo_Header = 0
EACLRecord_FilterInfo_REQUEST EACLRecord_FilterInfo_Header = 1
EACLRecord_FilterInfo_OBJECT EACLRecord_FilterInfo_Header = 2
// Unspecified header, default value.
EACLRecord_FilterInfo_HEADER_UNSPECIFIED EACLRecord_FilterInfo_Header = 0
// Filter request headers
EACLRecord_FilterInfo_REQUEST EACLRecord_FilterInfo_Header = 1
// Filter object headers
EACLRecord_FilterInfo_OBJECT EACLRecord_FilterInfo_Header = 2
)
var EACLRecord_FilterInfo_Header_name = map[int32]string{
0: "HEADER_UNKNOWN",
0: "HEADER_UNSPECIFIED",
1: "REQUEST",
2: "OBJECT",
}
var EACLRecord_FilterInfo_Header_value = map[string]int32{
"HEADER_UNKNOWN": 0,
"REQUEST": 1,
"OBJECT": 2,
"HEADER_UNSPECIFIED": 0,
"REQUEST": 1,
"OBJECT": 2,
}
func (x EACLRecord_FilterInfo_Header) String() string {
@ -166,21 +180,24 @@ func (EACLRecord_FilterInfo_Header) EnumDescriptor() ([]byte, []int) {
type EACLRecord_FilterInfo_MatchType int32
const (
EACLRecord_FilterInfo_MATCH_UNKNOWN EACLRecord_FilterInfo_MatchType = 0
EACLRecord_FilterInfo_STRING_EQUAL EACLRecord_FilterInfo_MatchType = 1
// Unspecified match type, default value.
EACLRecord_FilterInfo_MATCH_TYPE_UNSPECIFIED EACLRecord_FilterInfo_MatchType = 0
// Return true if strings are equal
EACLRecord_FilterInfo_STRING_EQUAL EACLRecord_FilterInfo_MatchType = 1
// Return true if strings are different
EACLRecord_FilterInfo_STRING_NOT_EQUAL EACLRecord_FilterInfo_MatchType = 2
)
var EACLRecord_FilterInfo_MatchType_name = map[int32]string{
0: "MATCH_UNKNOWN",
0: "MATCH_TYPE_UNSPECIFIED",
1: "STRING_EQUAL",
2: "STRING_NOT_EQUAL",
}
var EACLRecord_FilterInfo_MatchType_value = map[string]int32{
"MATCH_UNKNOWN": 0,
"STRING_EQUAL": 1,
"STRING_NOT_EQUAL": 2,
"MATCH_TYPE_UNSPECIFIED": 0,
"STRING_EQUAL": 1,
"STRING_NOT_EQUAL": 2,
}
func (x EACLRecord_FilterInfo_MatchType) String() string {
@ -243,14 +260,14 @@ func (m *EACLRecord) GetOperation() EACLRecord_Operation {
if m != nil {
return m.Operation
}
return EACLRecord_OPERATION_UNKNOWN
return EACLRecord_OPERATION_UNSPECIFIED
}
func (m *EACLRecord) GetAction() EACLRecord_Action {
if m != nil {
return m.Action
}
return EACLRecord_ACTION_UNKNOWN
return EACLRecord_ACTION_UNSPECIFIED
}
func (m *EACLRecord) GetFilters() []*EACLRecord_FilterInfo {
@ -319,14 +336,14 @@ func (m *EACLRecord_FilterInfo) GetHeader() EACLRecord_FilterInfo_Header {
if m != nil {
return m.Header
}
return EACLRecord_FilterInfo_HEADER_UNKNOWN
return EACLRecord_FilterInfo_HEADER_UNSPECIFIED
}
func (m *EACLRecord_FilterInfo) GetMatchType() EACLRecord_FilterInfo_MatchType {
if m != nil {
return m.MatchType
}
return EACLRecord_FilterInfo_MATCH_UNKNOWN
return EACLRecord_FilterInfo_MATCH_TYPE_UNSPECIFIED
}
func (m *EACLRecord_FilterInfo) GetHeaderName() string {
@ -391,7 +408,7 @@ func (m *EACLRecord_TargetInfo) GetTarget() Target {
if m != nil {
return m.Target
}
return Target_UNKNOWN
return Target_TARGET_UNSPECIFIED
}
func (m *EACLRecord_TargetInfo) GetKeyList() [][]byte {
@ -475,50 +492,51 @@ func init() {
func init() { proto.RegisterFile("v2/acl/types.proto", fileDescriptor_d237ab7979f0d6cf) }
var fileDescriptor_d237ab7979f0d6cf = []byte{
// 683 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xcd, 0x6e, 0xda, 0x40,
0x10, 0x8e, 0x8d, 0x63, 0x60, 0x20, 0xd1, 0x66, 0xdb, 0x54, 0x24, 0x95, 0x10, 0xa2, 0x3d, 0xa0,
0x46, 0x31, 0x2a, 0x51, 0xd5, 0x9e, 0x22, 0x39, 0xb0, 0x01, 0x12, 0x30, 0xc9, 0xda, 0x34, 0x4a,
0x2f, 0xc8, 0x31, 0x4b, 0x82, 0x6a, 0x6c, 0x64, 0x3b, 0x48, 0xdc, 0xfa, 0x18, 0x7d, 0x86, 0x3e,
0x49, 0x8f, 0xbd, 0xf6, 0x56, 0x25, 0x2f, 0x52, 0xad, 0x17, 0x82, 0x1b, 0x29, 0x6a, 0x4e, 0x3b,
0xde, 0xf9, 0xbe, 0xf9, 0xf9, 0x66, 0xbc, 0x80, 0x67, 0xb5, 0xaa, 0xed, 0xb8, 0xd5, 0x68, 0x3e,
0x65, 0xa1, 0x36, 0x0d, 0xfc, 0xc8, 0xc7, 0x1b, 0x1e, 0xf3, 0xb5, 0x51, 0xa8, 0xcd, 0x6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0xd4, 0xf8, 0xd1, 0x39, 0xf8, 0x1b, 0x00,
0x00, 0xff, 0xff, 0x60, 0xb0, 0x68, 0x1a, 0xae, 0x04, 0x00, 0x00,
// 703 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xd1, 0x6e, 0xda, 0x3c,
0x18, 0x6d, 0x42, 0x1a, 0xe0, 0x83, 0xff, 0x97, 0xe5, 0xad, 0x88, 0x32, 0x09, 0x21, 0xb6, 0x0b,
0xb4, 0xae, 0x41, 0xa2, 0x9a, 0xb4, 0x69, 0x52, 0xa5, 0x14, 0x5c, 0x60, 0x83, 0x00, 0x8e, 0xd9,
0xd4, 0xdd, 0xa0, 0x34, 0x98, 0x16, 0x2d, 0x24, 0x28, 0x49, 0x91, 0xd8, 0xd5, 0x1e, 0x63, 0xcf,
0xb0, 0x27, 0xd9, 0xe5, 0x1e, 0x61, 0xea, 0xa4, 0x3d, 0xc3, 0x2e, 0x27, 0x27, 0xd0, 0x32, 0xb4,
0x6a, 0xbd, 0xf2, 0x17, 0xfb, 0x9c, 0xcf, 0xc7, 0xc7, 0x27, 0x06, 0xbc, 0xa8, 0x55, 0x2d, 0xdb,
0xa9, 0x86, 0xcb, 0x39, 0x0f, 0xb4, 0xb9, 0xef, 0x85, 0x1e, 0xfe, 0xcf, 0xe5, 0x9e, 0x36, 0x09,
0xb4, 0x45, 0x4d, 0xb3, 0x6c, 0xa7, 0xf0, 0x60, 0x51, 0xab, 0xfa, 0x7c, 0x12, 0x6c, 0x62, 0xca,
0xbf, 0x54, 0x00, 0xa2, 0xd7, 0x3b, 0x94, 0xdb, 0x9e, 0x3f, 0xc6, 0x3a, 0xa4, 0xbd, 0x39, 0xf7,
0xad, 0x70, 0xea, 0xb9, 0x79, 0xa9, 0x24, 0x55, 0xfe, 0xaf, 0x3d, 0xd6, 0xfe, 0x68, 0xa3, 0xdd,
0xa2, 0xb5, 0x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0xc3, 0xf1, 0x31, 0x64, 0x6d, 0xcf, 0x0d, 0xad, 0xa9, 0xcb, 0xfd,
0xd1, 0x74, 0x1c, 0x79, 0x91, 0xa9, 0x3d, 0xda, 0xf0, 0x42, 0xfc, 0xbb, 0x5a, 0x7d, 0x8d, 0x69,
0x37, 0x68, 0x66, 0xe3, 0x03, 0x1f, 0x41, 0xd2, 0x8f, 0xf2, 0x13, 0x44, 0xbe, 0x64, 0x6a, 0xfb,
0x77, 0x26, 0x8c, 0x26, 0xe3, 0x31, 0x78, 0x7a, 0x02, 0x6a, 0xec, 0xae, 0x50, 0xce, 0x74, 0xda,
0x24, 0x6c, 0x4b, 0x79, 0x0a, 0x94, 0xa1, 0x49, 0x68, 0x9c, 0x08, 0xf3, 0xcc, 0x64, 0xa4, 0x8b,
0xe4, 0x28, 0x1d, 0xac, 0x45, 0xa8, 0x89, 0x12, 0x27, 0x83, 0xaf, 0xd7, 0x45, 0xe9, 0xdb, 0x75,
0x51, 0xfa, 0x7e, 0x5d, 0x94, 0x3e, 0xff, 0x28, 0xee, 0xbc, 0x7f, 0x76, 0x31, 0x0d, 0x2f, 0xaf,
0xce, 0x35, 0xdb, 0x9b, 0x55, 0xdd, 0x60, 0x6e, 0xdb, 0x87, 0x63, 0xbe, 0xa8, 0xba, 0xdc, 0x9b,
0x04, 0x87, 0xd6, 0x7c, 0x7a, 0x78, 0xe1, 0x55, 0xe3, 0xd7, 0xea, 0x95, 0x65, 0x3b, 0x5f, 0x64,
0x64, 0x70, 0xef, 0xd4, 0xd4, 0xf4, 0x7e, 0x5b, 0x48, 0xd5, 0x6d, 0xe7, 0x5c, 0x8d, 0xde, 0xa6,
0xa3, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xaa, 0x0d, 0x90, 0x3a, 0xd5, 0x04, 0x00, 0x00,
}
func (m *EACLRecord) Marshal() (dAtA []byte, err error) {

View File

@ -29,6 +29,7 @@ var _ = math.Inf
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// New NeoFS Container creation request
type PutRequest struct {
// Body of container put request message.
Body *PutRequest_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
@ -98,6 +99,7 @@ func (m *PutRequest) GetVerifyHeader() *service.RequestVerificationHeader {
return nil
}
// Request body
type PutRequest_Body struct {
// Container to create in NeoFS.
Container *Container `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"`
@ -165,6 +167,7 @@ func (m *PutRequest_Body) GetSignature() []byte {
return nil
}
// New NeoFS Container creation response
type PutResponse struct {
// Body of container put response message.
Body *PutResponse_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
@ -234,6 +237,7 @@ func (m *PutResponse) GetVerifyHeader() *service.ResponseVerificationHeader {
return nil
}
// Response body
type PutResponse_Body struct {
// container_id carries identifier of the new container.
ContainerId *refs.ContainerID `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
@ -282,6 +286,7 @@ func (m *PutResponse_Body) GetContainerId() *refs.ContainerID {
return nil
}
// Container removal request
type DeleteRequest struct {
// Body of container delete request message.
Body *DeleteRequest_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
@ -351,6 +356,7 @@ func (m *DeleteRequest) GetVerifyHeader() *service.RequestVerificationHeader {
return nil
}
// Request body
type DeleteRequest_Body struct {
// container_id carries identifier of the container to delete
// from NeoFS.
@ -480,6 +486,7 @@ func (m *DeleteResponse) GetVerifyHeader() *service.ResponseVerificationHeader {
return nil
}
// Response body
type DeleteResponse_Body struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
@ -519,6 +526,7 @@ func (m *DeleteResponse_Body) XXX_DiscardUnknown() {
var xxx_messageInfo_DeleteResponse_Body proto.InternalMessageInfo
// Get container structure
type GetRequest struct {
// Body of container get request message.
Body *GetRequest_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
@ -588,6 +596,7 @@ func (m *GetRequest) GetVerifyHeader() *service.RequestVerificationHeader {
return nil
}
// Request body
type GetRequest_Body struct {
// container_id carries identifier of the container to get.
ContainerId *refs.ContainerID `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
@ -636,6 +645,7 @@ func (m *GetRequest_Body) GetContainerId() *refs.ContainerID {
return nil
}
// Get container structure
type GetResponse struct {
// Body of container get response message.
Body *GetResponse_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
@ -705,6 +715,7 @@ func (m *GetResponse) GetVerifyHeader() *service.ResponseVerificationHeader {
return nil
}
// Response body
type GetResponse_Body struct {
// Container that has been requested.
Container *Container `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"`
@ -753,6 +764,7 @@ func (m *GetResponse_Body) GetContainer() *Container {
return nil
}
// List containers
type ListRequest struct {
// Body of list containers request message.
Body *ListRequest_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
@ -822,6 +834,7 @@ func (m *ListRequest) GetVerifyHeader() *service.RequestVerificationHeader {
return nil
}
// Request body
type ListRequest_Body struct {
// owner_id carries identifier of the container owner.
OwnerId *refs.OwnerID `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
@ -870,6 +883,7 @@ func (m *ListRequest_Body) GetOwnerId() *refs.OwnerID {
return nil
}
// List containers
type ListResponse struct {
// Body of list containers response message.
Body *ListResponse_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
@ -939,6 +953,7 @@ func (m *ListResponse) GetVerifyHeader() *service.ResponseVerificationHeader {
return nil
}
// Response body
type ListResponse_Body struct {
// ContainerIDs carries list of identifiers of the containers that belong to the owner.
ContainerIds []*refs.ContainerID `protobuf:"bytes,1,rep,name=container_ids,json=containerIds,proto3" json:"container_ids,omitempty"`
@ -987,6 +1002,7 @@ func (m *ListResponse_Body) GetContainerIds() []*refs.ContainerID {
return nil
}
// Set Extended ACL
type SetExtendedACLRequest struct {
// Body of set extended acl request message.
Body *SetExtendedACLRequest_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
@ -1056,6 +1072,7 @@ func (m *SetExtendedACLRequest) GetVerifyHeader() *service.RequestVerificationHe
return nil
}
// Request body
type SetExtendedACLRequest_Body struct {
// Extended ACL to set for the container.
Eacl *acl.EACLTable `protobuf:"bytes,1,opt,name=eacl,proto3" json:"eacl,omitempty"`
@ -1113,6 +1130,7 @@ func (m *SetExtendedACLRequest_Body) GetSignature() []byte {
return nil
}
// Set Extended ACL
type SetExtendedACLResponse struct {
// Body of set extended acl response message.
Body *SetExtendedACLResponse_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
@ -1182,6 +1200,7 @@ func (m *SetExtendedACLResponse) GetVerifyHeader() *service.ResponseVerification
return nil
}
// Response body
type SetExtendedACLResponse_Body struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
@ -1221,6 +1240,7 @@ func (m *SetExtendedACLResponse_Body) XXX_DiscardUnknown() {
var xxx_messageInfo_SetExtendedACLResponse_Body proto.InternalMessageInfo
// Get Extended ACL
type GetExtendedACLRequest struct {
// Body of get extended acl request message.
Body *GetExtendedACLRequest_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
@ -1290,6 +1310,7 @@ func (m *GetExtendedACLRequest) GetVerifyHeader() *service.RequestVerificationHe
return nil
}
// Request body
type GetExtendedACLRequest_Body struct {
// container_id carries identifier of the container that has Extended ACL.
ContainerId *refs.ContainerID `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
@ -1338,6 +1359,7 @@ func (m *GetExtendedACLRequest_Body) GetContainerId() *refs.ContainerID {
return nil
}
// Get Extended ACL
type GetExtendedACLResponse struct {
// Body of get extended acl response message.
Body *GetExtendedACLResponse_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
@ -1407,6 +1429,7 @@ func (m *GetExtendedACLResponse) GetVerifyHeader() *service.ResponseVerification
return nil
}
// Response body
type GetExtendedACLResponse_Body struct {
// Extended ACL that has been requested if it was set up.
Eacl *acl.EACLTable `protobuf:"bytes,1,opt,name=eacl,proto3" json:"eacl,omitempty"`
@ -1494,59 +1517,60 @@ func init() {
func init() { proto.RegisterFile("v2/container/service.proto", fileDescriptor_6e23291a5a71033a) }
var fileDescriptor_6e23291a5a71033a = []byte{
// 823 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x98, 0xc1, 0x52, 0xd3, 0x5c,
0x14, 0xc7, 0xbf, 0x84, 0x0e, 0x7c, 0x9c, 0x16, 0x16, 0x97, 0x01, 0x3a, 0x51, 0x6b, 0x8d, 0xa2,
0x8c, 0xd2, 0xc4, 0x89, 0x1b, 0x45, 0xc6, 0x11, 0x5a, 0x08, 0x1d, 0x50, 0x21, 0x38, 0x2c, 0xdc,
0x30, 0x69, 0x72, 0x0a, 0x19, 0x4b, 0x52, 0x9b, 0x34, 0xd8, 0xa5, 0xbe, 0x82, 0x1b, 0x57, 0xae,
0x1d, 0xc6, 0x85, 0x4f, 0xe0, 0xda, 0x71, 0x1c, 0xc7, 0x47, 0x70, 0xd0, 0x27, 0xf0, 0x09, 0x9c,
0x26, 0x69, 0x93, 0x60, 0x4a, 0x5a, 0xa6, 0x2e, 0xb2, 0x6b, 0x6f, 0xce, 0x39, 0xf7, 0x9c, 0xdf,
0xfc, 0xcf, 0x3d, 0x37, 0x01, 0xc6, 0x16, 0x78, 0xc5, 0xd0, 0x2d, 0x59, 0xd3, 0xb1, 0xc1, 0x9b,
0xd8, 0xb0, 0x35, 0x05, 0xb9, 0x7a, 0xc3, 0xb0, 0x0c, 0x32, 0xa5, 0xa3, 0xc1, 0x55, 0x4d, 0xce,
0x16, 0xb8, 0xae, 0x09, 0x43, 0x6c, 0x81, 0x97, 0x95, 0x1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, 0xff, 0x8a, 0xd8, 0x23, 0xb9, 0xe0, 0x3d, 0x6a, 0x03, 0x52, 0xed,
0xb9, 0x46, 0xf2, 0x71, 0x97, 0x02, 0xe6, 0x4a, 0xec, 0x50, 0x24, 0x1a, 0x4c, 0x86, 0x8f, 0x26,
0x72, 0xb3, 0xff, 0x69, 0xc0, 0xdc, 0x1a, 0xe0, 0xac, 0x6b, 0x6f, 0x25, 0xf6, 0xb3, 0x95, 0x38,
0xc0, 0x56, 0xd1, 0x0d, 0xb1, 0xb2, 0xfb, 0xf9, 0x24, 0x47, 0x7d, 0x3f, 0xc9, 0x51, 0x3f, 0x4e,
0x72, 0xd4, 0xdb, 0x9f, 0xb9, 0xff, 0x9e, 0x71, 0xfb, 0x9a, 0x75, 0xd0, 0xac, 0x70, 0x8a, 0x71,
0xc8, 0xeb, 0x66, 0x5d, 0x51, 0x0a, 0x2a, 0xda, 0xbc, 0x8e, 0x46, 0xd5, 0x2c, 0xc8, 0x75, 0xad,
0xb0, 0x6f, 0xf0, 0xc1, 0x4f, 0x22, 0xc7, 0xf4, 0xd4, 0x63, 0x34, 0xd6, 0x76, 0xb8, 0xe5, 0xad,
0xb2, 0xdf, 0xcd, 0x95, 0x51, 0xe7, 0xf3, 0xc6, 0x9d, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xbb,
0x23, 0x10, 0x87, 0x84, 0x11, 0x00, 0x00,
// 833 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x98, 0xcd, 0x6e, 0xd3, 0x58,
0x14, 0xc7, 0xc7, 0x6e, 0xd4, 0x99, 0x9e, 0xa4, 0xd5, 0xe8, 0x56, 0x6d, 0x23, 0xcf, 0x4c, 0x26,
0xe3, 0x99, 0x0e, 0x15, 0x34, 0x36, 0x32, 0x9b, 0xd2, 0x56, 0x88, 0x36, 0x69, 0xdd, 0xa8, 0x05,
0x5a, 0x17, 0x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2b, 0x1d, 0x1a, 0x7c, 0xf8, 0xdb, 0xc8, 0x4a, 0xf0, 0x74, 0x4a,
0xcf, 0xde, 0x45, 0x63, 0x73, 0x9f, 0x5b, 0xdb, 0xad, 0x3a, 0x7b, 0x07, 0xaa, 0xab, 0x8d, 0xbb,
0x1f, 0x3d, 0x6e, 0x7c, 0x0f, 0x00, 0x00, 0xff, 0xff, 0x12, 0xb4, 0xb7, 0x71, 0x9a, 0x11, 0x00,
0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
@ -1557,10 +1581,10 @@ var _ grpc.ClientConn
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4
// ServiceClient is the client API for Service service.
// ContainerServiceClient is the client API for ContainerService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type ServiceClient interface {
type ContainerServiceClient interface {
// Put invokes 'Put' method in container smart-contract and returns
// response immediately. After new block in morph chain, request is verified
// by inner ring nodes. After one more block in morph chain, container
@ -1585,70 +1609,70 @@ type ServiceClient interface {
GetExtendedACL(ctx context.Context, in *GetExtendedACLRequest, opts ...grpc.CallOption) (*GetExtendedACLResponse, error)
}
type serviceClient struct {
type containerServiceClient struct {
cc *grpc.ClientConn
}
func NewServiceClient(cc *grpc.ClientConn) ServiceClient {
return &serviceClient{cc}
func NewContainerServiceClient(cc *grpc.ClientConn) ContainerServiceClient {
return &containerServiceClient{cc}
}
func (c *serviceClient) Put(ctx context.Context, in *PutRequest, opts ...grpc.CallOption) (*PutResponse, error) {
func (c *containerServiceClient) Put(ctx context.Context, in *PutRequest, opts ...grpc.CallOption) (*PutResponse, error) {
out := new(PutResponse)
err := c.cc.Invoke(ctx, "/neo.fs.v2.container.Service/Put", in, out, opts...)
err := c.cc.Invoke(ctx, "/neo.fs.v2.container.ContainerService/Put", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *serviceClient) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) {
func (c *containerServiceClient) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) {
out := new(DeleteResponse)
err := c.cc.Invoke(ctx, "/neo.fs.v2.container.Service/Delete", in, out, opts...)
err := c.cc.Invoke(ctx, "/neo.fs.v2.container.ContainerService/Delete", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *serviceClient) Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) {
func (c *containerServiceClient) Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) {
out := new(GetResponse)
err := c.cc.Invoke(ctx, "/neo.fs.v2.container.Service/Get", in, out, opts...)
err := c.cc.Invoke(ctx, "/neo.fs.v2.container.ContainerService/Get", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *serviceClient) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) {
func (c *containerServiceClient) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) {
out := new(ListResponse)
err := c.cc.Invoke(ctx, "/neo.fs.v2.container.Service/List", in, out, opts...)
err := c.cc.Invoke(ctx, "/neo.fs.v2.container.ContainerService/List", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *serviceClient) SetExtendedACL(ctx context.Context, in *SetExtendedACLRequest, opts ...grpc.CallOption) (*SetExtendedACLResponse, error) {
func (c *containerServiceClient) SetExtendedACL(ctx context.Context, in *SetExtendedACLRequest, opts ...grpc.CallOption) (*SetExtendedACLResponse, error) {
out := new(SetExtendedACLResponse)
err := c.cc.Invoke(ctx, "/neo.fs.v2.container.Service/SetExtendedACL", in, out, opts...)
err := c.cc.Invoke(ctx, "/neo.fs.v2.container.ContainerService/SetExtendedACL", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *serviceClient) GetExtendedACL(ctx context.Context, in *GetExtendedACLRequest, opts ...grpc.CallOption) (*GetExtendedACLResponse, error) {
func (c *containerServiceClient) GetExtendedACL(ctx context.Context, in *GetExtendedACLRequest, opts ...grpc.CallOption) (*GetExtendedACLResponse, error) {
out := new(GetExtendedACLResponse)
err := c.cc.Invoke(ctx, "/neo.fs.v2.container.Service/GetExtendedACL", in, out, opts...)
err := c.cc.Invoke(ctx, "/neo.fs.v2.container.ContainerService/GetExtendedACL", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// ServiceServer is the server API for Service service.
type ServiceServer interface {
// ContainerServiceServer is the server API for ContainerService service.
type ContainerServiceServer interface {
// Put invokes 'Put' method in container smart-contract and returns
// response immediately. After new block in morph chain, request is verified
// by inner ring nodes. After one more block in morph chain, container
@ -1673,168 +1697,168 @@ type ServiceServer interface {
GetExtendedACL(context.Context, *GetExtendedACLRequest) (*GetExtendedACLResponse, error)
}
// UnimplementedServiceServer can be embedded to have forward compatible implementations.
type UnimplementedServiceServer struct {
// UnimplementedContainerServiceServer can be embedded to have forward compatible implementations.
type UnimplementedContainerServiceServer struct {
}
func (*UnimplementedServiceServer) Put(ctx context.Context, req *PutRequest) (*PutResponse, error) {
func (*UnimplementedContainerServiceServer) Put(ctx context.Context, req *PutRequest) (*PutResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Put not implemented")
}
func (*UnimplementedServiceServer) Delete(ctx context.Context, req *DeleteRequest) (*DeleteResponse, error) {
func (*UnimplementedContainerServiceServer) Delete(ctx context.Context, req *DeleteRequest) (*DeleteResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented")
}
func (*UnimplementedServiceServer) Get(ctx context.Context, req *GetRequest) (*GetResponse, error) {
func (*UnimplementedContainerServiceServer) Get(ctx context.Context, req *GetRequest) (*GetResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Get not implemented")
}
func (*UnimplementedServiceServer) List(ctx context.Context, req *ListRequest) (*ListResponse, error) {
func (*UnimplementedContainerServiceServer) List(ctx context.Context, req *ListRequest) (*ListResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method List not implemented")
}
func (*UnimplementedServiceServer) SetExtendedACL(ctx context.Context, req *SetExtendedACLRequest) (*SetExtendedACLResponse, error) {
func (*UnimplementedContainerServiceServer) SetExtendedACL(ctx context.Context, req *SetExtendedACLRequest) (*SetExtendedACLResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SetExtendedACL not implemented")
}
func (*UnimplementedServiceServer) GetExtendedACL(ctx context.Context, req *GetExtendedACLRequest) (*GetExtendedACLResponse, error) {
func (*UnimplementedContainerServiceServer) GetExtendedACL(ctx context.Context, req *GetExtendedACLRequest) (*GetExtendedACLResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetExtendedACL not implemented")
}
func RegisterServiceServer(s *grpc.Server, srv ServiceServer) {
s.RegisterService(&_Service_serviceDesc, srv)
func RegisterContainerServiceServer(s *grpc.Server, srv ContainerServiceServer) {
s.RegisterService(&_ContainerService_serviceDesc, srv)
}
func _Service_Put_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
func _ContainerService_Put_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(PutRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ServiceServer).Put(ctx, in)
return srv.(ContainerServiceServer).Put(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/neo.fs.v2.container.Service/Put",
FullMethod: "/neo.fs.v2.container.ContainerService/Put",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServiceServer).Put(ctx, req.(*PutRequest))
return srv.(ContainerServiceServer).Put(ctx, req.(*PutRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Service_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
func _ContainerService_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(DeleteRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ServiceServer).Delete(ctx, in)
return srv.(ContainerServiceServer).Delete(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/neo.fs.v2.container.Service/Delete",
FullMethod: "/neo.fs.v2.container.ContainerService/Delete",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServiceServer).Delete(ctx, req.(*DeleteRequest))
return srv.(ContainerServiceServer).Delete(ctx, req.(*DeleteRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Service_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
func _ContainerService_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ServiceServer).Get(ctx, in)
return srv.(ContainerServiceServer).Get(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/neo.fs.v2.container.Service/Get",
FullMethod: "/neo.fs.v2.container.ContainerService/Get",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServiceServer).Get(ctx, req.(*GetRequest))
return srv.(ContainerServiceServer).Get(ctx, req.(*GetRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Service_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
func _ContainerService_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ServiceServer).List(ctx, in)
return srv.(ContainerServiceServer).List(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/neo.fs.v2.container.Service/List",
FullMethod: "/neo.fs.v2.container.ContainerService/List",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServiceServer).List(ctx, req.(*ListRequest))
return srv.(ContainerServiceServer).List(ctx, req.(*ListRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Service_SetExtendedACL_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
func _ContainerService_SetExtendedACL_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SetExtendedACLRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ServiceServer).SetExtendedACL(ctx, in)
return srv.(ContainerServiceServer).SetExtendedACL(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/neo.fs.v2.container.Service/SetExtendedACL",
FullMethod: "/neo.fs.v2.container.ContainerService/SetExtendedACL",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServiceServer).SetExtendedACL(ctx, req.(*SetExtendedACLRequest))
return srv.(ContainerServiceServer).SetExtendedACL(ctx, req.(*SetExtendedACLRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Service_GetExtendedACL_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
func _ContainerService_GetExtendedACL_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetExtendedACLRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ServiceServer).GetExtendedACL(ctx, in)
return srv.(ContainerServiceServer).GetExtendedACL(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/neo.fs.v2.container.Service/GetExtendedACL",
FullMethod: "/neo.fs.v2.container.ContainerService/GetExtendedACL",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServiceServer).GetExtendedACL(ctx, req.(*GetExtendedACLRequest))
return srv.(ContainerServiceServer).GetExtendedACL(ctx, req.(*GetExtendedACLRequest))
}
return interceptor(ctx, in, info, handler)
}
var _Service_serviceDesc = grpc.ServiceDesc{
ServiceName: "neo.fs.v2.container.Service",
HandlerType: (*ServiceServer)(nil),
var _ContainerService_serviceDesc = grpc.ServiceDesc{
ServiceName: "neo.fs.v2.container.ContainerService",
HandlerType: (*ContainerServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "Put",
Handler: _Service_Put_Handler,
Handler: _ContainerService_Put_Handler,
},
{
MethodName: "Delete",
Handler: _Service_Delete_Handler,
Handler: _ContainerService_Delete_Handler,
},
{
MethodName: "Get",
Handler: _Service_Get_Handler,
Handler: _ContainerService_Get_Handler,
},
{
MethodName: "List",
Handler: _Service_List_Handler,
Handler: _ContainerService_List_Handler,
},
{
MethodName: "SetExtendedACL",
Handler: _Service_SetExtendedACL_Handler,
Handler: _ContainerService_SetExtendedACL_Handler,
},
{
MethodName: "GetExtendedACL",
Handler: _Service_GetExtendedACL_Handler,
Handler: _ContainerService_GetExtendedACL_Handler,
},
},
Streams: []grpc.StreamDesc{},

View File

@ -38,11 +38,11 @@ type Container struct {
BasicAcl uint32 `protobuf:"varint,3,opt,name=basic_acl,json=basicAcl,proto3" json:"basic_acl,omitempty"`
// Attributes define any immutable characteristics of container.
Attributes []*Container_Attribute `protobuf:"bytes,4,rep,name=attributes,proto3" json:"attributes,omitempty"`
// Rules define storage policy for the object inside the container.
Rules *netmap.PlacementRule `protobuf:"bytes,5,opt,name=rules,proto3" json:"rules,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
// Placement policy for the object inside the container.
PlacementPolicy *netmap.PlacementPolicy `protobuf:"bytes,5,opt,name=placement_policy,json=placementPolicy,proto3" json:"placement_policy,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Container) Reset() { *m = Container{} }
@ -106,9 +106,9 @@ func (m *Container) GetAttributes() []*Container_Attribute {
return nil
}
func (m *Container) GetRules() *netmap.PlacementRule {
func (m *Container) GetPlacementPolicy() *netmap.PlacementPolicy {
if m != nil {
return m.Rules
return m.PlacementPolicy
}
return nil
}
@ -179,29 +179,30 @@ func init() {
func init() { proto.RegisterFile("v2/container/types.proto", fileDescriptor_ece71f25e6ae314e) }
var fileDescriptor_ece71f25e6ae314e = []byte{
// 345 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x91, 0xd1, 0x4a, 0xc3, 0x30,
0x14, 0x86, 0xed, 0xe6, 0x74, 0xcd, 0x14, 0xa4, 0x53, 0x2c, 0x13, 0x6a, 0xf1, 0xaa, 0x37, 0x4b,
0x20, 0xc3, 0x07, 0x98, 0x8a, 0xb8, 0x1b, 0x1d, 0x11, 0xbc, 0xf0, 0x66, 0xa4, 0xd9, 0xd9, 0x2c,
0x76, 0x49, 0x69, 0xd2, 0xca, 0xde, 0xc4, 0x47, 0x10, 0x9f, 0xc4, 0x4b, 0x1f, 0x41, 0xe6, 0x8b,
0x48, 0x5b, 0xb6, 0xf5, 0xc2, 0xbb, 0x9c, 0x93, 0xff, 0x3f, 0x39, 0x5f, 0x7e, 0xe4, 0xe6, 0x94,
0x08, 0x25, 0x0d, 0x8f, 0x24, 0xa4, 0xc4, 0x2c, 0x13, 0xd0, 0x38, 0x49, 0x95, 0x51, 0x4e, 0x57,
0x82, 0xc2, 0x33, 0x8d, 0x73, 0x8a, 0x37, 0x82, 0xde, 0x49, 0x4e, 0x89, 0x04, 0xb3, 0xe0, 0x49,
0x5d, 0xdb, 0xeb, 0xe6, 0x94, 0xa4, 0x30, 0xd3, 0xf5, 0xe6, 0xc5, 0x47, 0x03, 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0x73, 0x45, 0xea, 0xc9, 0x7d, 0x36, 0xba, 0xf7, 0xa0, 0x6e,
0x1f, 0xf1, 0x70, 0x3c, 0xda, 0x92, 0x85, 0x7b, 0x65, 0x12, 0x83, 0xbf, 0x00, 0x00, 0x00, 0xff,
0xff, 0xde, 0x82, 0x60, 0x33, 0xe6, 0x01, 0x00, 0x00,
// 357 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x51, 0xcd, 0x4a, 0xc3, 0x40,
0x10, 0x36, 0xad, 0xd5, 0x66, 0xab, 0x58, 0x52, 0x7f, 0x42, 0x85, 0x10, 0x3d, 0xe5, 0xd2, 0x0d,
0xa4, 0x17, 0xc1, 0x53, 0x55, 0xc4, 0x82, 0x68, 0x89, 0x37, 0x2f, 0x65, 0xb3, 0x9d, 0xd6, 0xc5,
0x74, 0x77, 0xc9, 0x6e, 0x23, 0x7d, 0x13, 0x9f, 0xc1, 0x97, 0xf0, 0xea, 0xd1, 0x47, 0x90, 0xfa,
0x22, 0x92, 0x84, 0xc6, 0x08, 0xde, 0x66, 0xbe, 0xfd, 0xbe, 0x9d, 0xef, 0x9b, 0x41, 0x76, 0x1a,
0xf8, 0x54, 0x70, 0x4d, 0x18, 0x87, 0xc4, 0xd7, 0x4b, 0x09, 0x0a, 0xcb, 0x44, 0x68, 0x61, 0x75,
0x38, 0x08, 0x3c, 0x55, 0x38, 0x0d, 0x70, 0x49, 0xe8, 0x1e, 0xa4, 0x81, 0xcf, 0x41, 0xcf, 0x89,
0xac, 0x72, 0xbb, 0x9d, 0x34, 0xf0, 0x13, 0x98, 0xaa, 0x2a, 0x78, 0xfa, 0x5e, 0x43, 0xe6, 0xe5,
0x5a, 0x69, 0x05, 0xa8, 0x29, 0x5e, 0x38, 0x24, 0x63, 0x36, 0xb1, 0x0d, 0xd7, 0xf0, 0x5a, 0xc1,
0x11, 0xfe, 0x9d, 0x90, 0x89, 0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0x30, 0xf3,
0x5d, 0xa6, 0x8f, 0xb6, 0xf2, 0x6b, 0xf5, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x38, 0xf7, 0x99,
0x45, 0x0a, 0x02, 0x00, 0x00,
}
func (m *Container) Marshal() (dAtA []byte, err error) {
@ -228,9 +229,9 @@ func (m *Container) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i -= len(m.XXX_unrecognized)
copy(dAtA[i:], m.XXX_unrecognized)
}
if m.Rules != nil {
if m.PlacementPolicy != nil {
{
size, err := m.Rules.MarshalToSizedBuffer(dAtA[:i])
size, err := m.PlacementPolicy.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
@ -356,8 +357,8 @@ func (m *Container) Size() (n int) {
n += 1 + l + sovTypes(uint64(l))
}
}
if m.Rules != nil {
l = m.Rules.Size()
if m.PlacementPolicy != nil {
l = m.PlacementPolicy.Size()
n += 1 + l + sovTypes(uint64(l))
}
if m.XXX_unrecognized != nil {
@ -546,7 +547,7 @@ func (m *Container) Unmarshal(dAtA []byte) error {
iNdEx = postIndex
case 5:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Rules", wireType)
return fmt.Errorf("proto: wrong wireType = %d for field PlacementPolicy", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@ -573,10 +574,10 @@ func (m *Container) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Rules == nil {
m.Rules = &netmap.PlacementRule{}
if m.PlacementPolicy == nil {
m.PlacementPolicy = &netmap.PlacementPolicy{}
}
if err := m.Rules.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
if err := m.PlacementPolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -56,6 +56,7 @@ func (ObjectType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_fcb9e8df342f43c6, []int{0}
}
// Object Headers
type Header struct {
// Object's container
ContainerId *refs.ContainerID `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
@ -70,14 +71,16 @@ type Header struct {
// 0xFFFFFFFFFFFFFFFF means `payload_length` is unknown
PayloadLength uint64 `protobuf:"varint,5,opt,name=payload_length,json=payloadLength,proto3" json:"payload_length,omitempty"`
// Hash of payload bytes
PayloadHash []byte `protobuf:"bytes,6,opt,name=payload_hash,json=payloadHash,proto3" json:"payload_hash,omitempty"`
ObjectType ObjectType `protobuf:"varint,7,opt,name=object_type,json=objectType,proto3,enum=neo.fs.v2.object.ObjectType" json:"object_type,omitempty"`
PayloadHash []byte `protobuf:"bytes,6,opt,name=payload_hash,json=payloadHash,proto3" json:"payload_hash,omitempty"`
// Special object type
ObjectType ObjectType `protobuf:"varint,7,opt,name=object_type,json=objectType,proto3,enum=neo.fs.v2.object.ObjectType" json:"object_type,omitempty"`
// Homomorphic hash of the object payload.
HomomorphicHash []byte `protobuf:"bytes,8,opt,name=homomorphic_hash,json=homomorphicHash,proto3" json:"homomorphic_hash,omitempty"`
// Session token, if it was used during Object creation.
// Need it to verify integrity and authenticity out of Request scope.
SessionToken *service.SessionToken `protobuf:"bytes,9,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"`
Attributes []*Header_Attribute `protobuf:"bytes,10,rep,name=attributes,proto3" json:"attributes,omitempty"`
// User-defined object attributes
Attributes []*Header_Attribute `protobuf:"bytes,10,rep,name=attributes,proto3" json:"attributes,omitempty"`
// Position of the object in the split hierarchy.
Split *Header_Split `protobuf:"bytes,11,opt,name=split,proto3" json:"split,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
@ -430,52 +433,52 @@ func init() {
func init() { proto.RegisterFile("v2/object/types.proto", fileDescriptor_fcb9e8df342f43c6) }
var fileDescriptor_fcb9e8df342f43c6 = []byte{
// 718 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xdf, 0x6e, 0xda, 0x48,
0x14, 0xc6, 0x63, 0x08, 0xff, 0x8e, 0x21, 0xf1, 0xce, 0xee, 0x2a, 0x16, 0xbb, 0x62, 0xd9, 0x48,
0x2b, 0xb1, 0xbb, 0x8a, 0x59, 0x11, 0xf6, 0xa6, 0x55, 0x2a, 0x91, 0x86, 0x12, 0xa4, 0x34, 0x44,
0x03, 0xe9, 0x45, 0x6f, 0x90, 0xb1, 0x07, 0xec, 0x06, 0x3c, 0x96, 0xc7, 0x38, 0xe2, 0x4d, 0xfa,
0x0c, 0x95, 0x7a, 0xd3, 0x97, 0x68, 0x2f, 0xfb, 0x08, 0x55, 0xfa, 0x22, 0x95, 0x67, 0xc6, 0x86,
0x26, 0x4d, 0xda, 0x2b, 0x7b, 0x3e, 0xff, 0xbe, 0x73, 0xe6, 0x9c, 0x39, 0x63, 0xf8, 0x35, 0x6a,
0x35, 0xe9, 0xe4, 0x15, 0xb1, 0xc2, 0x66, 0xb8, 0xf2, 0x09, 0x33, 0xfc, 0x80, 0x86, 0x14, 0x69,
0x1e, 0xa1, 0xc6, 0x94, 0x19, 0x51, 0xcb, 0x10, 0x5f, 0xab, 0x3f, 0x47, 0xad, 0x66, 0x40, 0xa6,
0x6c, 0x13, 0xab, 0xc6, 0x6e, 0x46, 0x82, 0xc8, 0xb5, 0x48, 0x73, 0x41, 0x42, 0x53, 0xca, 0x7b,
0x1b, 0x72, 0x44, 0x02, 0x77, 0xba, 0x12, 0x1f, 0xf6, 0xdf, 0x15, 0x20, 0x7f, 0x4a, 0x4c, 0x9b,
0x04, 0xe8, 0x09, 0x94, 0x2d, 0xea, 0x85, 0xa6, 0xeb, 0x91, 0x60, 0xec, 0xda, 0xba, 0x52, 0x57,
0x1a, 0x6a, 0xeb, 0x37, 0x63, 0x9d, 0x38, 0xce, 0x66, 0x3c, 0x4d, 0x98, 0xfe, 0x09, 0x56, 0x53,
0x43, 0xd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8d, 0x1e, 0x41, 0x69, 0x5d, 0x78, 0xe6, 0x07, 0x0a, 0x5f, 0xe3, 0xf1, 0x19, 0xc9,
0x5a, 0xb3, 0xdf, 0xa9, 0x55, 0x72, 0x48, 0x87, 0x82, 0xbc, 0x4d, 0xbc, 0x3d, 0x65, 0x9c, 0x2c,
0xff, 0x79, 0x0c, 0xb0, 0xbe, 0x33, 0x48, 0x85, 0x02, 0xee, 0xf6, 0x2e, 0xcf, 0x3a, 0x58, 0xdb,
0x42, 0x15, 0x28, 0x8d, 0x06, 0xcf, 0x8f, 0x87, 0xa3, 0xc1, 0x79, 0x57, 0x53, 0xd0, 0x4f, 0x50,
0x19, 0x8e, 0x06, 0xb8, 0xd3, 0xeb, 0x8e, 0x7b, 0x78, 0x70, 0x79, 0xa1, 0x65, 0x8e, 0x2f, 0x3e,
0xdc, 0xd4, 0x94, 0x8f, 0x37, 0x35, 0xe5, 0xd3, 0x4d, 0x4d, 0x79, 0xfd, 0xb9, 0xb6, 0xf5, 0xf2,
0xdf, 0x99, 0x1b, 0x3a, 0xcb, 0x89, 0x61, 0xd1, 0x45, 0xd3, 0x63, 0xbe, 0x65, 0x1d, 0xd8, 0x24,
0x6a, 0x7a, 0x84, 0x4e, 0xd9, 0x81, 0xe9, 0xbb, 0x07, 0x33, 0xda, 0x4c, 0xff, 0xae, 0x6f, 0x32,
0xda, 0x39, 0xa1, 0xcf, 0x86, 0x46, 0xe7, 0xa2, 0x2f, 0x5b, 0x34, 0xc9, 0xf3, 0x9f, 0xe2, 0xe1,
0x97, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0xd0, 0xe4, 0x6c, 0x84, 0x05, 0x00, 0x00,
// 720 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xcf, 0x6e, 0xd3, 0x4e,
0x10, 0xc7, 0xeb, 0xa4, 0xf9, 0x37, 0x4e, 0xda, 0xfc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0x0e, 0x29, 0x90, 0x8b, 0x6e, 0x13, 0x6f, 0x4f, 0x11, 0xc7, 0xcb, 0xe7, 0xfb,
0x00, 0xcb, 0x3b, 0x83, 0x64, 0xc8, 0xe1, 0x76, 0xe7, 0xfc, 0xa4, 0x85, 0xcb, 0x6b, 0xa8, 0x04,
0x85, 0x41, 0xef, 0xdd, 0x61, 0x7f, 0xd0, 0x3b, 0x6d, 0x97, 0x25, 0xf4, 0x1f, 0x94, 0xfa, 0x83,
0x1e, 0x6e, 0x75, 0xda, 0xc3, 0x0e, 0xee, 0x9d, 0x9f, 0x95, 0x53, 0x87, 0x17, 0xdf, 0xae, 0xab,
0xd2, 0xf7, 0xeb, 0xaa, 0xf4, 0xe3, 0xba, 0x2a, 0x7d, 0xfc, 0x59, 0x5d, 0xbb, 0xd0, 0x26, 0xb6,
0x6f, 0xcd, 0x47, 0xaa, 0x41, 0x67, 0x0d, 0x87, 0xb9, 0x86, 0xb1, 0x6b, 0x92, 0xa0, 0xe1, 0x10,
0x3a, 0x66, 0xbb, 0xba, 0x6b, 0xef, 0x4e, 0x68, 0x23, 0xf9, 0xbb, 0xee, 0x8b, 0xc7, 0xa7, 0xd4,
0xd6, 0x29, 0xa1, 0x6f, 0xfb, 0x6a, 0xeb, 0xac, 0x1b, 0x56, 0x20, 0xb6, 0x33, 0xca, 0xf2, 0xdf,
0xe3, 0xde, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd6, 0x66, 0x06, 0xbc, 0x8e, 0x05, 0x00, 0x00,
}
func (m *Header) Marshal() (dAtA []byte, err error) {

View File

@ -237,7 +237,7 @@ func init() {
func init() { proto.RegisterFile("v2/refs/types.proto", fileDescriptor_8ea16029b13f1cfa) }
var fileDescriptor_8ea16029b13f1cfa = []byte{
// 256 bytes of a gzipped FileDescriptorProto
// 259 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x2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, 0xc4, 0xe7, 0x97,
0x9a, 0xef, 0x16, 0xac, 0xe7, 0x18, 0xe0, 0xa9, 0x17, 0x94, 0x9a, 0x56, 0x9c, 0xc4, 0x06, 0x0e,
0x4f, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x4f, 0x72, 0xf0, 0x66, 0x01, 0x00, 0x00,
0xc5, 0xba, 0x89, 0x05, 0x99, 0xba, 0xe9, 0xf9, 0xfa, 0xd0, 0x30, 0xb4, 0x06, 0x11, 0xab, 0x98,
0x04, 0xfd, 0x52, 0xf3, 0xdd, 0x82, 0xf5, 0x1c, 0x03, 0x3c, 0x41, 0x1e, 0x0a, 0x4a, 0x4d, 0x2b,
0x4e, 0x62, 0x03, 0x87, 0xab, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xd0, 0xa5, 0x8b, 0x04, 0x6e,
0x01, 0x00, 0x00,
}
func (m *Address) Marshal() (dAtA []byte, err error) {

View File

@ -28,40 +28,44 @@ const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type SessionToken_Body_Verb int32
const (
// Unknown verb
SessionToken_Body_VERB_UNSPECIFIED SessionToken_Body_Verb = 0
// Refers to object.Put RPC call
SessionToken_Body_OBJECT_PUT SessionToken_Body_Verb = 0
SessionToken_Body_OBJECT_PUT SessionToken_Body_Verb = 1
// Refers to object.Get RPC call
SessionToken_Body_OBJECT_GET SessionToken_Body_Verb = 1
SessionToken_Body_OBJECT_GET SessionToken_Body_Verb = 2
// Refers to object.Head RPC call
SessionToken_Body_OBJECT_HEAD SessionToken_Body_Verb = 2
SessionToken_Body_OBJECT_HEAD SessionToken_Body_Verb = 3
// Refers to object.Search RPC call
SessionToken_Body_OBJECT_SEARCH SessionToken_Body_Verb = 3
SessionToken_Body_OBJECT_SEARCH SessionToken_Body_Verb = 4
// Refers to object.Delete RPC call
SessionToken_Body_OBJECT_DELETE SessionToken_Body_Verb = 4
SessionToken_Body_OBJECT_DELETE SessionToken_Body_Verb = 5
// Refers to object.GetRange RPC call
SessionToken_Body_OBJECT_RANGE SessionToken_Body_Verb = 5
SessionToken_Body_OBJECT_RANGE SessionToken_Body_Verb = 6
// Refers to object.GetRangeHash RPC call
SessionToken_Body_OBJECT_RANGEHASH SessionToken_Body_Verb = 6
SessionToken_Body_OBJECT_RANGEHASH SessionToken_Body_Verb = 7
)
var SessionToken_Body_Verb_name = map[int32]string{
0: "OBJECT_PUT",
1: "OBJECT_GET",
2: "OBJECT_HEAD",
3: "OBJECT_SEARCH",
4: "OBJECT_DELETE",
5: "OBJECT_RANGE",
6: "OBJECT_RANGEHASH",
0: "VERB_UNSPECIFIED",
1: "OBJECT_PUT",
2: "OBJECT_GET",
3: "OBJECT_HEAD",
4: "OBJECT_SEARCH",
5: "OBJECT_DELETE",
6: "OBJECT_RANGE",
7: "OBJECT_RANGEHASH",
}
var SessionToken_Body_Verb_value = map[string]int32{
"OBJECT_PUT": 0,
"OBJECT_GET": 1,
"OBJECT_HEAD": 2,
"OBJECT_SEARCH": 3,
"OBJECT_DELETE": 4,
"OBJECT_RANGE": 5,
"OBJECT_RANGEHASH": 6,
"VERB_UNSPECIFIED": 0,
"OBJECT_PUT": 1,
"OBJECT_GET": 2,
"OBJECT_HEAD": 3,
"OBJECT_SEARCH": 4,
"OBJECT_DELETE": 5,
"OBJECT_RANGE": 6,
"OBJECT_RANGEHASH": 7,
}
func (x SessionToken_Body_Verb) String() string {
@ -72,6 +76,7 @@ func (SessionToken_Body_Verb) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_932e020d69aee3f0, []int{3, 0, 0}
}
// Extended headers for Request/Response
type XHeader struct {
// Key of the X-Header.
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
@ -257,7 +262,7 @@ func (m *TokenLifetime) GetIat() uint64 {
// NeoFS session token.
type SessionToken struct {
// Session Token body
Token *SessionToken_Body `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
Body *SessionToken_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
// Signature is a signature of session token information
Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
@ -298,9 +303,9 @@ func (m *SessionToken) XXX_DiscardUnknown() {
var xxx_messageInfo_SessionToken proto.InternalMessageInfo
func (m *SessionToken) GetToken() *SessionToken_Body {
func (m *SessionToken) GetBody() *SessionToken_Body {
if m != nil {
return m.Token
return m.Body
}
return nil
}
@ -312,6 +317,7 @@ func (m *SessionToken) GetSignature() *Signature {
return nil
}
// Session token body
type SessionToken_Body struct {
// ID is a token identifier. valid UUIDv4 represented in bytes
Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
@ -403,7 +409,7 @@ func (m *SessionToken_Body) GetVerb() SessionToken_Body_Verb {
if m != nil {
return m.Verb
}
return SessionToken_Body_OBJECT_PUT
return SessionToken_Body_VERB_UNSPECIFIED
}
func (m *SessionToken_Body) GetLifetime() *TokenLifetime {
@ -437,7 +443,7 @@ func (*SessionToken_Body) XXX_OneofWrappers() []interface{} {
// BearerToken has information about request ACL rules with limited lifetime
type BearerToken struct {
// Bearer Token body
Token *BearerToken_Body `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
Body *BearerToken_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
// Signature of BearerToken body
Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
@ -478,9 +484,9 @@ func (m *BearerToken) XXX_DiscardUnknown() {
var xxx_messageInfo_BearerToken proto.InternalMessageInfo
func (m *BearerToken) GetToken() *BearerToken_Body {
func (m *BearerToken) GetBody() *BearerToken_Body {
if m != nil {
return m.Token
return m.Body
}
return nil
}
@ -492,6 +498,7 @@ func (m *BearerToken) GetSignature() *Signature {
return nil
}
// Bearer Token body
type BearerToken_Body struct {
// EACLTable carries table of extended ACL rules
EaclTable *acl.EACLTable `protobuf:"bytes,1,opt,name=eacl_table,json=eaclTable,proto3" json:"eacl_table,omitempty"`
@ -569,9 +576,9 @@ type RequestMetaHeader struct {
// Request X-Headers.
XHeaders []*XHeader `protobuf:"bytes,4,rep,name=x_headers,json=xHeaders,proto3" json:"x_headers,omitempty"`
// Token is a token of the session within which the request is sent
Token *SessionToken `protobuf:"bytes,5,opt,name=token,proto3" json:"token,omitempty"`
SessionToken *SessionToken `protobuf:"bytes,5,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"`
// Bearer is a Bearer token of the request
Bearer *BearerToken `protobuf:"bytes,6,opt,name=bearer,proto3" json:"bearer,omitempty"`
BearerToken *BearerToken `protobuf:"bytes,6,opt,name=bearer_token,json=bearerToken,proto3" json:"bearer_token,omitempty"`
// RequestMetaHeader of the origin request.
Origin *RequestMetaHeader `protobuf:"bytes,7,opt,name=origin,proto3" json:"origin,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
@ -640,16 +647,16 @@ func (m *RequestMetaHeader) GetXHeaders() []*XHeader {
return nil
}
func (m *RequestMetaHeader) GetToken() *SessionToken {
func (m *RequestMetaHeader) GetSessionToken() *SessionToken {
if m != nil {
return m.Token
return m.SessionToken
}
return nil
}
func (m *RequestMetaHeader) GetBearer() *BearerToken {
func (m *RequestMetaHeader) GetBearerToken() *BearerToken {
if m != nil {
return m.Bearer
return m.BearerToken
}
return nil
}
@ -762,58 +769,60 @@ func init() {
func init() { proto.RegisterFile("v2/service/meta.proto", fileDescriptor_932e020d69aee3f0) }
var fileDescriptor_932e020d69aee3f0 = []byte{
// 801 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x55, 0xcd, 0x8e, 0x1b, 0x45,
0x10, 0xde, 0xb1, 0xc7, 0xf6, 0xba, 0xbc, 0x5e, 0x66, 0x9b, 0xa0, 0x58, 0x2b, 0xe4, 0xac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x58, 0xf7, 0xd9, 0x8f, 0xec,
0xdb, 0xd2, 0xce, 0x7d, 0x64, 0x1f, 0x8d, 0xfc, 0xfe, 0xc3, 0x23, 0x7f, 0x64, 0xb0, 0xa8, 0xaa,
0x7f, 0x6b, 0xef, 0xfe, 0x11, 0x00, 0x00, 0xff, 0xff, 0x1a, 0xf8, 0x0e, 0x53, 0x44, 0x07, 0x00,
0x00,
// 834 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x55, 0xcd, 0x6e, 0x23, 0x45,
0x10, 0xce, 0xd8, 0x93, 0x38, 0x2e, 0xdb, 0x61, 0xd2, 0x04, 0xad, 0x15, 0x21, 0x6f, 0x64, 0x40,
0x82, 0x43, 0xc6, 0x62, 0x58, 0x14, 0x04, 0xbb, 0x12, 0x76, 0x3c, 0xbb, 0x36, 0x84, 0x6c, 0xd4,
0xf6, 0x46, 0x08, 0x09, 0x59, 0xf3, 0x53, 0x4e, 0x66, 0xd7, 0x99, 0x36, 0xd3, 0x9d, 0x21, 0x7e,
0x13, 0x24, 0xde, 0x80, 0x1b, 0x17, 0x9e, 0x81, 0x23, 0x12, 0x37, 0x4e, 0x28, 0xdc, 0xb8, 0xf1,
0x06, 0xa8, 0x7f, 0xbc, 0x3b, 0x61, 0xbd, 0xfc, 0x89, 0x03, 0x27, 0x57, 0x7d, 0x5d, 0xf5, 0x55,
0x57, 0xf5, 0xe7, 0x1a, 0x78, 0x25, 0xf7, 0x3a, 0x1c, 0xb3, 0x3c, 0x89, 0xb0, 0x73, 0x81, 0x22,
0x70, 0xe7, 0x19, 0x13, 0x8c, 0x6c, 0xa7, 0xc8, 0xdc, 0x29, 0x77, 0x73, 0xcf, 0x35, 0xa7, 0xbb,
0x24, 0xf7, 0x3a, 0x41, 0x34, 0xeb, 0x88, 0xc5, 0x1c, 0xb9, 0x0e, 0xdb, 0x7d, 0x39, 0xf7, 0x3a,
0x19,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b4, 0xfe, 0x5c, 0x23, 0xb4, 0x16, 0x16, 0xe4, 0x75,
0x17, 0x36, 0x58, 0x96, 0x9c, 0x25, 0x69, 0xb3, 0xf2, 0xc2, 0xe5, 0xf5, 0xdc, 0x54, 0xa9, 0xc9,
0x69, 0xff, 0x6a, 0x01, 0xa1, 0xc8, 0xe7, 0x2c, 0xe5, 0xf8, 0xff, 0x1f, 0xfa, 0xbd, 0xa7, 0xbd,
0xea, 0x69, 0xbf, 0xb1, 0xb2, 0xd7, 0x3f, 0x76, 0xb3, 0x6c, 0xb6, 0xf7, 0xf9, 0xf7, 0xd7, 0x2d,
0xeb, 0x87, 0xeb, 0x96, 0xf5, 0xf3, 0x75, 0xcb, 0xfa, 0xea, 0x97, 0xd6, 0xda, 0x67, 0x77, 0xce,
0x12, 0x71, 0x7e, 0x19, 0xba, 0x11, 0xbb, 0xe8, 0xa4, 0x7c, 0x1e, 0x45, 0xfb, 0x31, 0xe6, 0x9d,
0x14, 0xd9, 0x94, 0xef, 0x07, 0xf3, 0x64, 0xff, 0x8c, 0x75, 0x9e, 0x7d, 0xf4, 0x3e, 0x30, 0xbf,
0xdf, 0x94, 0x76, 0x8e, 0x91, 0xdd, 0x1f, 0xb9, 0xdd, 0x93, 0xa1, 0xac, 0x3c, 0xd2, 0x70, 0xb8,
0xa1, 0xbe, 0x86, 0xef, 0xfc, 0x1e, 0x00, 0x00, 0xff, 0xff, 0xf6, 0xba, 0x8b, 0x7f, 0x7b, 0x07,
0x00, 0x00,
}
func (m *XHeader) Marshal() (dAtA []byte, err error) {
@ -972,9 +981,9 @@ func (m *SessionToken) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i--
dAtA[i] = 0x12
}
if m.Token != nil {
if m.Body != nil {
{
size, err := m.Token.MarshalToSizedBuffer(dAtA[:i])
size, err := m.Body.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
@ -1123,9 +1132,9 @@ func (m *BearerToken) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i--
dAtA[i] = 0x12
}
if m.Token != nil {
if m.Body != nil {
{
size, err := m.Token.MarshalToSizedBuffer(dAtA[:i])
size, err := m.Body.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
@ -1237,9 +1246,9 @@ func (m *RequestMetaHeader) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i--
dAtA[i] = 0x3a
}
if m.Bearer != nil {
if m.BearerToken != nil {
{
size, err := m.Bearer.MarshalToSizedBuffer(dAtA[:i])
size, err := m.BearerToken.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
@ -1249,9 +1258,9 @@ func (m *RequestMetaHeader) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i--
dAtA[i] = 0x32
}
if m.Token != nil {
if m.SessionToken != nil {
{
size, err := m.Token.MarshalToSizedBuffer(dAtA[:i])
size, err := m.SessionToken.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
@ -1451,8 +1460,8 @@ func (m *SessionToken) Size() (n int) {
}
var l int
_ = l
if m.Token != nil {
l = m.Token.Size()
if m.Body != nil {
l = m.Body.Size()
n += 1 + l + sovMeta(uint64(l))
}
if m.Signature != nil {
@ -1517,8 +1526,8 @@ func (m *BearerToken) Size() (n int) {
}
var l int
_ = l
if m.Token != nil {
l = m.Token.Size()
if m.Body != nil {
l = m.Body.Size()
n += 1 + l + sovMeta(uint64(l))
}
if m.Signature != nil {
@ -1577,12 +1586,12 @@ func (m *RequestMetaHeader) Size() (n int) {
n += 1 + l + sovMeta(uint64(l))
}
}
if m.Token != nil {
l = m.Token.Size()
if m.SessionToken != nil {
l = m.SessionToken.Size()
n += 1 + l + sovMeta(uint64(l))
}
if m.Bearer != nil {
l = m.Bearer.Size()
if m.BearerToken != nil {
l = m.BearerToken.Size()
n += 1 + l + sovMeta(uint64(l))
}
if m.Origin != nil {
@ -1985,7 +1994,7 @@ func (m *SessionToken) Unmarshal(dAtA []byte) error {
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Token", wireType)
return fmt.Errorf("proto: wrong wireType = %d for field Body", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@ -2012,10 +2021,10 @@ func (m *SessionToken) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Token == nil {
m.Token = &SessionToken_Body{}
if m.Body == nil {
m.Body = &SessionToken_Body{}
}
if err := m.Token.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
if err := m.Body.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
@ -2359,7 +2368,7 @@ func (m *BearerToken) Unmarshal(dAtA []byte) error {
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Token", wireType)
return fmt.Errorf("proto: wrong wireType = %d for field Body", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@ -2386,10 +2395,10 @@ func (m *BearerToken) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Token == nil {
m.Token = &BearerToken_Body{}
if m.Body == nil {
m.Body = &BearerToken_Body{}
}
if err := m.Token.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
if err := m.Body.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
@ -2755,7 +2764,7 @@ func (m *RequestMetaHeader) Unmarshal(dAtA []byte) error {
iNdEx = postIndex
case 5:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Token", wireType)
return fmt.Errorf("proto: wrong wireType = %d for field SessionToken", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@ -2782,16 +2791,16 @@ func (m *RequestMetaHeader) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Token == nil {
m.Token = &SessionToken{}
if m.SessionToken == nil {
m.SessionToken = &SessionToken{}
}
if err := m.Token.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
if err := m.SessionToken.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 6:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Bearer", wireType)
return fmt.Errorf("proto: wrong wireType = %d for field BearerToken", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@ -2818,10 +2827,10 @@ func (m *RequestMetaHeader) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Bearer == nil {
m.Bearer = &BearerToken{}
if m.BearerToken == nil {
m.BearerToken = &BearerToken{}
}
if err := m.Bearer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
if err := m.BearerToken.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex

View File

@ -6,6 +6,8 @@ package service
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
_ "github.com/nspcc-dev/neofs-api-go/v2/acl"
_ "github.com/nspcc-dev/neofs-api-go/v2/refs"
io "io"
math "math"
math_bits "math/bits"
@ -241,28 +243,30 @@ func init() {
func init() { proto.RegisterFile("v2/service/verify.proto", fileDescriptor_848d62e0ecc8b6b6) }
var fileDescriptor_848d62e0ecc8b6b6 = []byte{
// 325 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x2f, 0x33, 0xd2, 0x2f,
0x4e, 0x2d, 0x2a, 0xcb, 0x4c, 0x4e, 0xd5, 0x2f, 0x4b, 0x2d, 0xca, 0x4c, 0xab, 0xd4, 0x2b, 0x28,
0xca, 0x2f, 0xc9, 0x17, 0x12, 0xcc, 0x4b, 0xcd, 0xd7, 0x4b, 0x2b, 0xd6, 0x2b, 0x33, 0xd2, 0x83,
0xca, 0x2b, 0x19, 0x72, 0x71, 0x06, 0x67, 0xa6, 0xe7, 0x25, 0x96, 0x94, 0x16, 0xa5, 0x0a, 0x09,
0x70,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x8e, 0x21, 0x4a, 0x27, 0x3d, 0xb3,
0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0x3f, 0xaf, 0xb8, 0x20, 0x39, 0x59, 0x37, 0x25,
0xb5, 0x4c, 0x3f, 0x2f, 0x35, 0x3f, 0xad, 0x58, 0x37, 0xb1, 0x20, 0x53, 0x37, 0x3d, 0x5f, 0x1f,
0x91, 0x05, 0x56, 0x31, 0x09, 0xfa, 0xa5, 0xe6, 0xbb, 0x05, 0xeb, 0x39, 0x06, 0x78, 0xea, 0x05,
0x43, 0xc4, 0x92, 0xd8, 0xc0, 0x19, 0xc2, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0x93, 0x01, 0xa7,
0xcb, 0x2b, 0x03, 0x00, 0x00,
// 353 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x93, 0x4f, 0x4b, 0xc3, 0x30,
0x18, 0xc6, 0x6d, 0x37, 0x06, 0x46, 0x9d, 0xb3, 0x0a, 0xce, 0x21, 0x45, 0x76, 0xf2, 0x60, 0x13,
0xac, 0xde, 0x3c, 0xe9, 0xfc, 0x7b, 0x11, 0xe9, 0xc0, 0x83, 0x20, 0xd2, 0x75, 0x6f, 0x6b, 0xd0,
0x25, 0x35, 0xc9, 0x02, 0xfd, 0x26, 0x7e, 0x06, 0xcf, 0xe2, 0x67, 0xf0, 0xe8, 0x47, 0x90, 0xf9,
0x45, 0xa4, 0xed, 0x66, 0x87, 0x6e, 0xb0, 0xbb, 0xa7, 0xbc, 0x3c, 0xc9, 0xf3, 0xcb, 0xc3, 0x03,
0x2f, 0x5a, 0xd7, 0x2e, 0x91, 0x20, 0x34, 0x0d, 0x80, 0x68, 0x10, 0x34, 0x4c, 0x70, 0x2c, 0xb8,
0xe2, 0xd6, 0x0a, 0x03, 0x8e, 0x43, 0x89, 0xb5, 0x8b, 0x87, 0xf7, 0x0d,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0xea, 0xbe, 0xdf, 0xc1, 0x01, 0xef, 0x11, 0x26, 0xe3, 0x20, 0x70, 0xba,
0xa0, 0x09, 0x03, 0x1e, 0x4a, 0xc7, 0x8f, 0xa9, 0x13, 0x71, 0x52, 0xec, 0xca, 0xc1, 0xf0, 0x7c,
0x31, 0xd7, 0x2e, 0x81, 0x9f, 0xb6, 0xf1, 0xe1, 0xd5, 0x45, 0x9a, 0xa0, 0x9d, 0xcb, 0x9d, 0x4a,
0xb6, 0x08, 0x7b, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x8d, 0x87, 0x6a, 0x4d, 0x5f, 0x03, 0x00,
0x00,
}
func (m *Signature) Marshal() (dAtA []byte, err error) {

View File

@ -97,6 +97,7 @@ func (m *CreateRequest) GetVerifyHeader() *service.RequestVerificationHeader {
return nil
}
// Request body
type CreateRequest_Body struct {
// Carries an identifier of a session initiator.
OwnerId *refs.OwnerID `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
@ -224,6 +225,7 @@ func (m *CreateResponse) GetVerifyHeader() *service.ResponseVerificationHeader {
return nil
}
// Response body
type CreateResponse_Body struct {
// id carries an identifier of session token.
Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
@ -291,36 +293,36 @@ func init() {
func init() { proto.RegisterFile("v2/session/service.proto", fileDescriptor_ab0074a16885b32c) }
var fileDescriptor_ab0074a16885b32c = []byte{
// 454 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0x4f, 0x6f, 0xd3, 0x30,
0x18, 0xc6, 0x49, 0x98, 0xb6, 0xc9, 0xed, 0x26, 0xcd, 0x08, 0xad, 0xca, 0x21, 0x94, 0x89, 0x21,
0x0e, 0x8b, 0x2d, 0x85, 0x03, 0x02, 0x71, 0x61, 0xc0, 0x44, 0x05, 0xe3, 0x8f, 0x87, 0x10, 0xe2,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,
0xa3, 0x63, 0x49, 0xff, 0x3d, 0xc2, 0xef, 0xfe, 0xd6, 0x4b, 0x90, 0x07, 0x47, 0xe4, 0xd1, 0xeb,
0x11, 0x71, 0x23, 0x4e, 0x56, 0xcd, 0xcb, 0xb9, 0xfb, 0x37, 0x00, 0x00, 0xff, 0xff, 0xf2, 0xbe,
0x3b, 0xbe, 0xad, 0x03, 0x00, 0x00,
// 463 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0xdf, 0x6e, 0xd3, 0x30,
0x14, 0xc6, 0x49, 0x98, 0xc6, 0xe4, 0x76, 0x95, 0x30, 0xa0, 0x55, 0xbd, 0x28, 0x65, 0x62, 0x88,
0x0b, 0x62, 0x4b, 0x01, 0x09, 0xf1, 0xe7, 0x86, 0x01, 0x13, 0x15, 0x8c, 0x3f, 0x2e, 0xe2, 0x02,
0x09, 0x45, 0x69, 0x72, 0xb2, 0x59, 0x23, 0x76, 0x88, 0xbd, 0x40, 0xde, 0x84, 0x5b, 0x6e, 0x79,
0x12, 0x2e, 0x79, 0x02, 0x84, 0xca, 0x8b, 0xa0, 0xd8, 0xde, 0x68, 0x45, 0xd6, 0x5e, 0xb5, 0x3e,
0xfe, 0xbe, 0xef, 0x9c, 0xf3, 0x53, 0x8c, 0xfa, 0x55, 0x48, 0x15, 0x28, 0xc5, 0xa5, 0xa0, 0x0a,
0xca, 0x8a, 0x27, 0x40, 0x8a, 0x52, 0x6a, 0x89, 0x2f, 0x0a, 0x90, 0x24, 0x53, 0xa4, 0x0a, 0x89,
0x13, 0x0c, 0x2e, 0x55, 0x21, 0x2d, 0x21, 0x53, 0x54, 0xd7, 0x05, 0x28, 0xab, 0x1b, 0x5c, 0x31,
0x09, 0xc6, 0x49, 0x73, 0xd0, 0xb1, 0x2b, 0x6f, 0xcd, 0x95, 0x2b, 0x28, 0x79, 0x56, 0xdb, 0x8b,
0xed, 0x5f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, 0x12, 0xf2, 0x5d, 0x07, 0xb9, 0x87,
0x7c, 0x87, 0xb7, 0xcb, 0x7c, 0x9e, 0xe2, 0xab, 0xa8, 0xe3, 0x16, 0x8b, 0x8e, 0xa0, 0x36, 0x33,
0x77, 0x19, 0x72, 0xa5, 0xe7, 0x50, 0x87, 0x11, 0xea, 0x4d, 0xec, 0x69, 0x62, 0x7b, 0xe2, 0x7d,
0xb4, 0x6e, 0x19, 0xe0, 0xd1, 0xaa, 0x0f, 0x70, 0x70, 0x6d, 0x25, 0xc0, 0xdd, 0x0f, 0x3f, 0x66,
0x43, 0xef, 0xe7, 0x6c, 0xe8, 0xfd, 0x9e, 0x0d, 0xbd, 0xaf, 0x7f, 0x86, 0xe7, 0xde, 0xdf, 0x39,
0xe0, 0xfa, 0xf0, 0x78, 0x4a, 0x12, 0x99, 0x53, 0xa1, 0x8a, 0x24, 0x09, 0x52, 0xa8, 0xa8, 0x00,
0x99, 0xa9, 0x20, 0x2e, 0x78, 0x70, 0x20, 0xe9, 0xbf, 0xb7, 0xf8, 0xc0, 0xfd, 0x7e, 0xf7, 0x2f,
0xbf, 0x04, 0xb9, 0x37, 0x21, 0x8f, 0x5e, 0x8f, 0x9b, 0x6e, 0x6e, 0xe8, 0xe9, 0xba, 0x79, 0x4b,
0xb7, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x38, 0xb7, 0xac, 0xe1, 0xbf, 0x03, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
@ -331,74 +333,74 @@ var _ grpc.ClientConn
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4
// SessionClient is the client API for Session service.
// SessionServiceClient is the client API for SessionService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type SessionClient interface {
type SessionServiceClient interface {
// Create opens new session between the client and the server.
Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error)
}
type sessionClient struct {
type sessionServiceClient struct {
cc *grpc.ClientConn
}
func NewSessionClient(cc *grpc.ClientConn) SessionClient {
return &sessionClient{cc}
func NewSessionServiceClient(cc *grpc.ClientConn) SessionServiceClient {
return &sessionServiceClient{cc}
}
func (c *sessionClient) Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error) {
func (c *sessionServiceClient) Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error) {
out := new(CreateResponse)
err := c.cc.Invoke(ctx, "/neo.fs.v2.session.Session/Create", in, out, opts...)
err := c.cc.Invoke(ctx, "/neo.fs.v2.session.SessionService/Create", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// SessionServer is the server API for Session service.
type SessionServer interface {
// SessionServiceServer is the server API for SessionService service.
type SessionServiceServer interface {
// Create opens new session between the client and the server.
Create(context.Context, *CreateRequest) (*CreateResponse, error)
}
// UnimplementedSessionServer can be embedded to have forward compatible implementations.
type UnimplementedSessionServer struct {
// UnimplementedSessionServiceServer can be embedded to have forward compatible implementations.
type UnimplementedSessionServiceServer struct {
}
func (*UnimplementedSessionServer) Create(ctx context.Context, req *CreateRequest) (*CreateResponse, error) {
func (*UnimplementedSessionServiceServer) Create(ctx context.Context, req *CreateRequest) (*CreateResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Create not implemented")
}
func RegisterSessionServer(s *grpc.Server, srv SessionServer) {
s.RegisterService(&_Session_serviceDesc, srv)
func RegisterSessionServiceServer(s *grpc.Server, srv SessionServiceServer) {
s.RegisterService(&_SessionService_serviceDesc, srv)
}
func _Session_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
func _SessionService_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SessionServer).Create(ctx, in)
return srv.(SessionServiceServer).Create(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/neo.fs.v2.session.Session/Create",
FullMethod: "/neo.fs.v2.session.SessionService/Create",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SessionServer).Create(ctx, req.(*CreateRequest))
return srv.(SessionServiceServer).Create(ctx, req.(*CreateRequest))
}
return interceptor(ctx, in, info, handler)
}
var _Session_serviceDesc = grpc.ServiceDesc{
ServiceName: "neo.fs.v2.session.Session",
HandlerType: (*SessionServer)(nil),
var _SessionService_serviceDesc = grpc.ServiceDesc{
ServiceName: "neo.fs.v2.session.SessionService",
HandlerType: (*SessionServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "Create",
Handler: _Session_Create_Handler,
Handler: _SessionService_Create_Handler,
},
},
Streams: []grpc.StreamDesc{},

View File

@ -113,26 +113,26 @@ func init() {
func init() { proto.RegisterFile("v2/storagegroup/types.proto", fileDescriptor_593772eae6c18cdf) }
var fileDescriptor_593772eae6c18cdf = []byte{
// 293 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0xd0, 0xdf, 0x4a, 0xf3, 0x30,
0x18, 0x06, 0xf0, 0x2f, 0xdb, 0xf8, 0x84, 0x38, 0x9c, 0x44, 0x19, 0x45, 0xa1, 0x0c, 0x4f, 0x9c,
0x07, 0x4b, 0xb4, 0x5e, 0x81, 0x32, 0xff, 0xec, 0x44, 0xa5, 0x3d, 0x13, 0x61, 0xa4, 0xed, 0xdb,
0x36, 0x62, 0x9b, 0x90, 0x64, 0x45, 0x77, 0x25, 0x5e, 0x83, 0x57, 0xb2, 0x43, 0x2f, 0x41, 0xea,
0x8d, 0x48, 0x37, 0xa4, 0xc5, 0xd3, 0x27, 0xbf, 0xbc, 0xf0, 0x3c, 0xf8, 0xb0, 0xf4, 0x98, 0xb1,
0x52, 0xf3, 0x14, 0x52, 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, 0xf1, 0x30, 0xa3,
0xed, 0x5d, 0xc2, 0xff, 0xeb, 0xbd, 0xce, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xe7, 0x71, 0xf1,
0x6b, 0x7b, 0x01, 0x00, 0x00,
// 297 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x90, 0xdf, 0x4a, 0xc3, 0x30,
0x14, 0xc6, 0xcd, 0x36, 0x14, 0xe2, 0x70, 0x12, 0x45, 0xaa, 0x42, 0x19, 0xde, 0x38, 0x2f, 0x96,
0x48, 0xbd, 0x14, 0x04, 0x65, 0xfe, 0xd9, 0x8d, 0xca, 0x7a, 0xe7, 0xcd, 0x48, 0xdb, 0xd3, 0x36,
0xb2, 0x36, 0x21, 0xc9, 0x8a, 0xee, 0x49, 0x7c, 0x06, 0x9f, 0x64, 0x97, 0x3e, 0x82, 0xd4, 0x17,
0x91, 0x6e, 0x48, 0x8b, 0x97, 0xf9, 0xf2, 0x3b, 0xe7, 0xf0, 0xfd, 0xf0, 0x71, 0xe1, 0x31, 0x63,
0xa5, 0xe6, 0x09, 0x24, 0x5a, 0xce, 0x15, 0xb3, 0xef, 0x0a, 0x0c, 0x55, 0x5a, 0x5a, 0x49, 0x0e,
0x72, 0x90, 0x34, 0x36, 0xb4, 0xf0, 0x68, 0x93, 0x39, 0xda, 0x2b, 0x3c, 0xa6, 0x21, 0x36, 0x4d,
0xf8, 0x64, 0x89, 0x70, 0xd7, 0x5f, 0x53, 0xf7, 0x15, 0x45, 0xce, 0xf1, 0x7e, 0xc1, 0x67, 0x22,
0xe2, 0x56, 0xc8, 0x7c, 0x1a, 0x71, 0xcb, 0xa7, 0x46, 0x2c, 0xc0, 0x41, 0x7d, 0x34, 0xe8, 0x4c,
0x48, 0xfd, 0x37, 0xe2, 0x96, 0xfb, 0x62, 0x01, 0xe4, 0x14, 0xf7, 0x1a, 0x13, 0x29, 0x37, 0xa9,
0xd3, 0xea, 0xa3, 0x41, 0x77, 0xb2, 0x53, 0xc7, 0x0f, 0xdc, 0xa4, 0xe4, 0x0c, 0xef, 0xc2, 0x9b,
0x12, 0x7a, 0x0d, 0x82, 0x92, 0x61, 0xea, 0xb4, 0x57, 0x6b, 0x7b, 0x75, 0x7e, 0x5b, 0xc5, 0xc4,
0xc3, 0x5b, 0x19, 0x64, 0x01, 0x68, 0xe3, 0x74, 0xfa, 0xed, 0xc1, 0xb6, 0xe7, 0xd0, 0xba, 0x55,
0x55, 0x82, 0x3e, 0x05, 0xaf, 0x10, 0xda, 0xf1, 0x68, 0xf2, 0x07, 0xde, 0xcc, 0x96, 0xa5, 0x8b,
0xbe, 0x4a, 0x17, 0x7d, 0x97, 0x2e, 0xfa, 0xf8, 0x71, 0x37, 0x5e, 0xae, 0x12, 0x61, 0xd3, 0x79,
0x40, 0x43, 0x99, 0xb1, 0xdc, 0xa8, 0x30, 0x1c, 0x46, 0x50, 0xb0, 0x1c, 0x64, 0x6c, 0x86, 0x5c,
0x89, 0x61, 0x22, 0xd9, 0x3f, 0x91, 0x97, 0xcd, 0xc7, 0x67, 0xeb, 0xf0, 0x11, 0xe4, 0x9d, 0x4f,
0xaf, 0x9f, 0xc7, 0xd5, 0xdd, 0xa6, 0xa7, 0x60, 0x73, 0xe5, 0xef, 0xe2, 0x37, 0x00, 0x00, 0xff,
0xff, 0xec, 0x24, 0x17, 0x69, 0x8b, 0x01, 0x00, 0x00,
}
func (m *StorageGroup) Marshal() (dAtA []byte, err error) {