mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-08 05:57:03 +09:00
coordinatorproto: remove FileLimitCheck, add AccountLimitsSet
This commit is contained in:
parent
7bac8703da
commit
6fa52bd8c7
4 changed files with 154 additions and 658 deletions
|
@ -37,7 +37,6 @@ type CoordinatorClient interface {
|
|||
StatusCheckMany(ctx context.Context, spaceIds []string) (statuses []*coordinatorproto.SpaceStatusPayload, err error)
|
||||
StatusCheck(ctx context.Context, spaceId string) (status *coordinatorproto.SpaceStatusPayload, err error)
|
||||
SpaceSign(ctx context.Context, payload SpaceSignPayload) (receipt *coordinatorproto.SpaceReceiptWithSignature, err error)
|
||||
FileLimitCheck(ctx context.Context, spaceId string, identity []byte) (response *coordinatorproto.FileLimitCheckResponse, err error)
|
||||
NetworkConfiguration(ctx context.Context, currentId string) (*coordinatorproto.NetworkConfigurationResponse, error)
|
||||
DeletionLog(ctx context.Context, lastRecordId string, limit int) (records []*coordinatorproto.DeletionLogRecord, err error)
|
||||
|
||||
|
@ -47,6 +46,8 @@ type CoordinatorClient interface {
|
|||
AclAddRecord(ctx context.Context, spaceId string, rec *consensusproto.RawRecord) (res *consensusproto.RawRecordWithId, err error)
|
||||
AclGetRecords(ctx context.Context, spaceId, aclHead string) (res []*consensusproto.RawRecordWithId, err error)
|
||||
|
||||
AccountLimitsSet(ctx context.Context, req *coordinatorproto.AccountLimitsSetRequest) error
|
||||
|
||||
app.Component
|
||||
}
|
||||
|
||||
|
@ -207,20 +208,6 @@ func (c *coordinatorClient) SpaceSign(ctx context.Context, payload SpaceSignPayl
|
|||
return
|
||||
}
|
||||
|
||||
func (c *coordinatorClient) FileLimitCheck(ctx context.Context, spaceId string, identity []byte) (resp *coordinatorproto.FileLimitCheckResponse, err error) {
|
||||
err = c.doClient(ctx, func(cl coordinatorproto.DRPCCoordinatorClient) error {
|
||||
resp, err = cl.FileLimitCheck(ctx, &coordinatorproto.FileLimitCheckRequest{
|
||||
AccountIdentity: identity,
|
||||
SpaceId: spaceId,
|
||||
})
|
||||
if err != nil {
|
||||
return rpcerr.Unwrap(err)
|
||||
}
|
||||
return nil
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
func (c *coordinatorClient) NetworkConfiguration(ctx context.Context, currentId string) (resp *coordinatorproto.NetworkConfigurationResponse, err error) {
|
||||
err = c.doClient(ctx, func(cl coordinatorproto.DRPCCoordinatorClient) error {
|
||||
resp, err = cl.NetworkConfiguration(ctx, &coordinatorproto.NetworkConfigurationRequest{
|
||||
|
@ -306,6 +293,13 @@ func (c *coordinatorClient) AclGetRecords(ctx context.Context, spaceId, aclHead
|
|||
return
|
||||
}
|
||||
|
||||
func (c *coordinatorClient) AccountLimitsSet(ctx context.Context, req *coordinatorproto.AccountLimitsSetRequest) error {
|
||||
return c.doClient(ctx, func(cl coordinatorproto.DRPCCoordinatorClient) error {
|
||||
_, err := cl.AccountLimitsSet(ctx, req)
|
||||
return err
|
||||
})
|
||||
}
|
||||
|
||||
func (c *coordinatorClient) doClient(ctx context.Context, f func(cl coordinatorproto.DRPCCoordinatorClient) error) error {
|
||||
p, err := c.getPeer(ctx)
|
||||
if err != nil {
|
||||
|
|
|
@ -550,115 +550,6 @@ func (m *SpaceReceipt) GetValidUntil() uint64 {
|
|||
return 0
|
||||
}
|
||||
|
||||
// FileLimitCheckRequest contains an account identity and spaceId
|
||||
// control node checks that identity owns a given space
|
||||
type FileLimitCheckRequest struct {
|
||||
AccountIdentity []byte `protobuf:"bytes,1,opt,name=accountIdentity,proto3" json:"accountIdentity,omitempty"`
|
||||
SpaceId string `protobuf:"bytes,2,opt,name=spaceId,proto3" json:"spaceId,omitempty"`
|
||||
}
|
||||
|
||||
func (m *FileLimitCheckRequest) Reset() { *m = FileLimitCheckRequest{} }
|
||||
func (m *FileLimitCheckRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*FileLimitCheckRequest) ProtoMessage() {}
|
||||
func (*FileLimitCheckRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d94f6f99586adae2, []int{5}
|
||||
}
|
||||
func (m *FileLimitCheckRequest) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
}
|
||||
func (m *FileLimitCheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
if deterministic {
|
||||
return xxx_messageInfo_FileLimitCheckRequest.Marshal(b, m, deterministic)
|
||||
} else {
|
||||
b = b[:cap(b)]
|
||||
n, err := m.MarshalToSizedBuffer(b)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return b[:n], nil
|
||||
}
|
||||
}
|
||||
func (m *FileLimitCheckRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_FileLimitCheckRequest.Merge(m, src)
|
||||
}
|
||||
func (m *FileLimitCheckRequest) XXX_Size() int {
|
||||
return m.Size()
|
||||
}
|
||||
func (m *FileLimitCheckRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_FileLimitCheckRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_FileLimitCheckRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *FileLimitCheckRequest) GetAccountIdentity() []byte {
|
||||
if m != nil {
|
||||
return m.AccountIdentity
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *FileLimitCheckRequest) GetSpaceId() string {
|
||||
if m != nil {
|
||||
return m.SpaceId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// FileLimitCheckResponse returns a current space limit in bytes
|
||||
type FileLimitCheckResponse struct {
|
||||
// Limit in bytes
|
||||
Limit uint64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
|
||||
// StorageKey tells a key that filenode should use to save files
|
||||
StorageKey string `protobuf:"bytes,2,opt,name=storageKey,proto3" json:"storageKey,omitempty"`
|
||||
}
|
||||
|
||||
func (m *FileLimitCheckResponse) Reset() { *m = FileLimitCheckResponse{} }
|
||||
func (m *FileLimitCheckResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*FileLimitCheckResponse) ProtoMessage() {}
|
||||
func (*FileLimitCheckResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d94f6f99586adae2, []int{6}
|
||||
}
|
||||
func (m *FileLimitCheckResponse) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
}
|
||||
func (m *FileLimitCheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
if deterministic {
|
||||
return xxx_messageInfo_FileLimitCheckResponse.Marshal(b, m, deterministic)
|
||||
} else {
|
||||
b = b[:cap(b)]
|
||||
n, err := m.MarshalToSizedBuffer(b)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return b[:n], nil
|
||||
}
|
||||
}
|
||||
func (m *FileLimitCheckResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_FileLimitCheckResponse.Merge(m, src)
|
||||
}
|
||||
func (m *FileLimitCheckResponse) XXX_Size() int {
|
||||
return m.Size()
|
||||
}
|
||||
func (m *FileLimitCheckResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_FileLimitCheckResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_FileLimitCheckResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *FileLimitCheckResponse) GetLimit() uint64 {
|
||||
if m != nil {
|
||||
return m.Limit
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *FileLimitCheckResponse) GetStorageKey() string {
|
||||
if m != nil {
|
||||
return m.StorageKey
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// SpaceStatusCheckRequest contains the spaceId of requested space
|
||||
type SpaceStatusCheckRequest struct {
|
||||
SpaceId string `protobuf:"bytes,1,opt,name=spaceId,proto3" json:"spaceId,omitempty"`
|
||||
|
@ -668,7 +559,7 @@ func (m *SpaceStatusCheckRequest) Reset() { *m = SpaceStatusCheckRequest
|
|||
func (m *SpaceStatusCheckRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*SpaceStatusCheckRequest) ProtoMessage() {}
|
||||
func (*SpaceStatusCheckRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d94f6f99586adae2, []int{7}
|
||||
return fileDescriptor_d94f6f99586adae2, []int{5}
|
||||
}
|
||||
func (m *SpaceStatusCheckRequest) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
|
@ -713,7 +604,7 @@ func (m *SpaceStatusCheckResponse) Reset() { *m = SpaceStatusCheckRespon
|
|||
func (m *SpaceStatusCheckResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*SpaceStatusCheckResponse) ProtoMessage() {}
|
||||
func (*SpaceStatusCheckResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d94f6f99586adae2, []int{8}
|
||||
return fileDescriptor_d94f6f99586adae2, []int{6}
|
||||
}
|
||||
func (m *SpaceStatusCheckResponse) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
|
@ -758,7 +649,7 @@ func (m *SpaceStatusCheckManyRequest) Reset() { *m = SpaceStatusCheckMan
|
|||
func (m *SpaceStatusCheckManyRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*SpaceStatusCheckManyRequest) ProtoMessage() {}
|
||||
func (*SpaceStatusCheckManyRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d94f6f99586adae2, []int{9}
|
||||
return fileDescriptor_d94f6f99586adae2, []int{7}
|
||||
}
|
||||
func (m *SpaceStatusCheckManyRequest) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
|
@ -803,7 +694,7 @@ func (m *SpaceStatusCheckManyResponse) Reset() { *m = SpaceStatusCheckMa
|
|||
func (m *SpaceStatusCheckManyResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*SpaceStatusCheckManyResponse) ProtoMessage() {}
|
||||
func (*SpaceStatusCheckManyResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d94f6f99586adae2, []int{10}
|
||||
return fileDescriptor_d94f6f99586adae2, []int{8}
|
||||
}
|
||||
func (m *SpaceStatusCheckManyResponse) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
|
@ -851,7 +742,7 @@ func (m *SpaceStatusChangeRequest) Reset() { *m = SpaceStatusChangeReque
|
|||
func (m *SpaceStatusChangeRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*SpaceStatusChangeRequest) ProtoMessage() {}
|
||||
func (*SpaceStatusChangeRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d94f6f99586adae2, []int{11}
|
||||
return fileDescriptor_d94f6f99586adae2, []int{9}
|
||||
}
|
||||
func (m *SpaceStatusChangeRequest) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
|
@ -917,7 +808,7 @@ func (m *SpaceStatusChangeResponse) Reset() { *m = SpaceStatusChangeResp
|
|||
func (m *SpaceStatusChangeResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*SpaceStatusChangeResponse) ProtoMessage() {}
|
||||
func (*SpaceStatusChangeResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d94f6f99586adae2, []int{12}
|
||||
return fileDescriptor_d94f6f99586adae2, []int{10}
|
||||
}
|
||||
func (m *SpaceStatusChangeResponse) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
|
@ -964,7 +855,7 @@ func (m *NetworkConfigurationRequest) Reset() { *m = NetworkConfiguratio
|
|||
func (m *NetworkConfigurationRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*NetworkConfigurationRequest) ProtoMessage() {}
|
||||
func (*NetworkConfigurationRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d94f6f99586adae2, []int{13}
|
||||
return fileDescriptor_d94f6f99586adae2, []int{11}
|
||||
}
|
||||
func (m *NetworkConfigurationRequest) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
|
@ -1016,7 +907,7 @@ func (m *NetworkConfigurationResponse) Reset() { *m = NetworkConfigurati
|
|||
func (m *NetworkConfigurationResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*NetworkConfigurationResponse) ProtoMessage() {}
|
||||
func (*NetworkConfigurationResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d94f6f99586adae2, []int{14}
|
||||
return fileDescriptor_d94f6f99586adae2, []int{12}
|
||||
}
|
||||
func (m *NetworkConfigurationResponse) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
|
@ -1087,7 +978,7 @@ func (m *Node) Reset() { *m = Node{} }
|
|||
func (m *Node) String() string { return proto.CompactTextString(m) }
|
||||
func (*Node) ProtoMessage() {}
|
||||
func (*Node) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d94f6f99586adae2, []int{15}
|
||||
return fileDescriptor_d94f6f99586adae2, []int{13}
|
||||
}
|
||||
func (m *Node) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
|
@ -1147,7 +1038,7 @@ func (m *DeletionConfirmPayloadWithSignature) Reset() { *m = DeletionCon
|
|||
func (m *DeletionConfirmPayloadWithSignature) String() string { return proto.CompactTextString(m) }
|
||||
func (*DeletionConfirmPayloadWithSignature) ProtoMessage() {}
|
||||
func (*DeletionConfirmPayloadWithSignature) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d94f6f99586adae2, []int{16}
|
||||
return fileDescriptor_d94f6f99586adae2, []int{14}
|
||||
}
|
||||
func (m *DeletionConfirmPayloadWithSignature) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
|
@ -1208,7 +1099,7 @@ func (m *DeletionConfirmPayload) Reset() { *m = DeletionConfirmPayload{}
|
|||
func (m *DeletionConfirmPayload) String() string { return proto.CompactTextString(m) }
|
||||
func (*DeletionConfirmPayload) ProtoMessage() {}
|
||||
func (*DeletionConfirmPayload) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d94f6f99586adae2, []int{17}
|
||||
return fileDescriptor_d94f6f99586adae2, []int{15}
|
||||
}
|
||||
func (m *DeletionConfirmPayload) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
|
@ -1283,7 +1174,7 @@ func (m *DeletionLogRequest) Reset() { *m = DeletionLogRequest{} }
|
|||
func (m *DeletionLogRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*DeletionLogRequest) ProtoMessage() {}
|
||||
func (*DeletionLogRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d94f6f99586adae2, []int{18}
|
||||
return fileDescriptor_d94f6f99586adae2, []int{16}
|
||||
}
|
||||
func (m *DeletionLogRequest) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
|
@ -1337,7 +1228,7 @@ func (m *DeletionLogResponse) Reset() { *m = DeletionLogResponse{} }
|
|||
func (m *DeletionLogResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*DeletionLogResponse) ProtoMessage() {}
|
||||
func (*DeletionLogResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d94f6f99586adae2, []int{19}
|
||||
return fileDescriptor_d94f6f99586adae2, []int{17}
|
||||
}
|
||||
func (m *DeletionLogResponse) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
|
@ -1397,7 +1288,7 @@ func (m *DeletionLogRecord) Reset() { *m = DeletionLogRecord{} }
|
|||
func (m *DeletionLogRecord) String() string { return proto.CompactTextString(m) }
|
||||
func (*DeletionLogRecord) ProtoMessage() {}
|
||||
func (*DeletionLogRecord) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d94f6f99586adae2, []int{20}
|
||||
return fileDescriptor_d94f6f99586adae2, []int{18}
|
||||
}
|
||||
func (m *DeletionLogRecord) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
|
@ -1473,7 +1364,7 @@ func (m *SpaceDeleteRequest) Reset() { *m = SpaceDeleteRequest{} }
|
|||
func (m *SpaceDeleteRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*SpaceDeleteRequest) ProtoMessage() {}
|
||||
func (*SpaceDeleteRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d94f6f99586adae2, []int{21}
|
||||
return fileDescriptor_d94f6f99586adae2, []int{19}
|
||||
}
|
||||
func (m *SpaceDeleteRequest) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
|
@ -1539,7 +1430,7 @@ func (m *SpaceDeleteResponse) Reset() { *m = SpaceDeleteResponse{} }
|
|||
func (m *SpaceDeleteResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*SpaceDeleteResponse) ProtoMessage() {}
|
||||
func (*SpaceDeleteResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d94f6f99586adae2, []int{22}
|
||||
return fileDescriptor_d94f6f99586adae2, []int{20}
|
||||
}
|
||||
func (m *SpaceDeleteResponse) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
|
@ -1585,7 +1476,7 @@ func (m *AccountDeleteRequest) Reset() { *m = AccountDeleteRequest{} }
|
|||
func (m *AccountDeleteRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*AccountDeleteRequest) ProtoMessage() {}
|
||||
func (*AccountDeleteRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d94f6f99586adae2, []int{23}
|
||||
return fileDescriptor_d94f6f99586adae2, []int{21}
|
||||
}
|
||||
func (m *AccountDeleteRequest) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
|
@ -1644,7 +1535,7 @@ func (m *AccountDeletionConfirmPayload) Reset() { *m = AccountDeletionCo
|
|||
func (m *AccountDeletionConfirmPayload) String() string { return proto.CompactTextString(m) }
|
||||
func (*AccountDeletionConfirmPayload) ProtoMessage() {}
|
||||
func (*AccountDeletionConfirmPayload) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d94f6f99586adae2, []int{24}
|
||||
return fileDescriptor_d94f6f99586adae2, []int{22}
|
||||
}
|
||||
func (m *AccountDeletionConfirmPayload) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
|
@ -1710,7 +1601,7 @@ func (m *AccountDeleteResponse) Reset() { *m = AccountDeleteResponse{} }
|
|||
func (m *AccountDeleteResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*AccountDeleteResponse) ProtoMessage() {}
|
||||
func (*AccountDeleteResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d94f6f99586adae2, []int{25}
|
||||
return fileDescriptor_d94f6f99586adae2, []int{23}
|
||||
}
|
||||
func (m *AccountDeleteResponse) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
|
@ -1754,7 +1645,7 @@ func (m *AccountRevertDeletionRequest) Reset() { *m = AccountRevertDelet
|
|||
func (m *AccountRevertDeletionRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*AccountRevertDeletionRequest) ProtoMessage() {}
|
||||
func (*AccountRevertDeletionRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d94f6f99586adae2, []int{26}
|
||||
return fileDescriptor_d94f6f99586adae2, []int{24}
|
||||
}
|
||||
func (m *AccountRevertDeletionRequest) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
|
@ -1791,7 +1682,7 @@ func (m *AccountRevertDeletionResponse) Reset() { *m = AccountRevertDele
|
|||
func (m *AccountRevertDeletionResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*AccountRevertDeletionResponse) ProtoMessage() {}
|
||||
func (*AccountRevertDeletionResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d94f6f99586adae2, []int{27}
|
||||
return fileDescriptor_d94f6f99586adae2, []int{25}
|
||||
}
|
||||
func (m *AccountRevertDeletionResponse) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
|
@ -1830,7 +1721,7 @@ func (m *AclAddRecordRequest) Reset() { *m = AclAddRecordRequest{} }
|
|||
func (m *AclAddRecordRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*AclAddRecordRequest) ProtoMessage() {}
|
||||
func (*AclAddRecordRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d94f6f99586adae2, []int{28}
|
||||
return fileDescriptor_d94f6f99586adae2, []int{26}
|
||||
}
|
||||
func (m *AclAddRecordRequest) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
|
@ -1883,7 +1774,7 @@ func (m *AclAddRecordResponse) Reset() { *m = AclAddRecordResponse{} }
|
|||
func (m *AclAddRecordResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*AclAddRecordResponse) ProtoMessage() {}
|
||||
func (*AclAddRecordResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d94f6f99586adae2, []int{29}
|
||||
return fileDescriptor_d94f6f99586adae2, []int{27}
|
||||
}
|
||||
func (m *AclAddRecordResponse) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
|
@ -1937,7 +1828,7 @@ func (m *AclGetRecordsRequest) Reset() { *m = AclGetRecordsRequest{} }
|
|||
func (m *AclGetRecordsRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*AclGetRecordsRequest) ProtoMessage() {}
|
||||
func (*AclGetRecordsRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d94f6f99586adae2, []int{30}
|
||||
return fileDescriptor_d94f6f99586adae2, []int{28}
|
||||
}
|
||||
func (m *AclGetRecordsRequest) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
|
@ -1989,7 +1880,7 @@ func (m *AclGetRecordsResponse) Reset() { *m = AclGetRecordsResponse{} }
|
|||
func (m *AclGetRecordsResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*AclGetRecordsResponse) ProtoMessage() {}
|
||||
func (*AclGetRecordsResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d94f6f99586adae2, []int{31}
|
||||
return fileDescriptor_d94f6f99586adae2, []int{29}
|
||||
}
|
||||
func (m *AclGetRecordsResponse) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
|
@ -2037,7 +1928,7 @@ func (m *AccountLimitsSetRequest) Reset() { *m = AccountLimitsSetRequest
|
|||
func (m *AccountLimitsSetRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*AccountLimitsSetRequest) ProtoMessage() {}
|
||||
func (*AccountLimitsSetRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d94f6f99586adae2, []int{32}
|
||||
return fileDescriptor_d94f6f99586adae2, []int{30}
|
||||
}
|
||||
func (m *AccountLimitsSetRequest) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
|
@ -2108,7 +1999,7 @@ func (m *AccountLimitsSetResponse) Reset() { *m = AccountLimitsSetRespon
|
|||
func (m *AccountLimitsSetResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*AccountLimitsSetResponse) ProtoMessage() {}
|
||||
func (*AccountLimitsSetResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d94f6f99586adae2, []int{33}
|
||||
return fileDescriptor_d94f6f99586adae2, []int{31}
|
||||
}
|
||||
func (m *AccountLimitsSetResponse) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
|
@ -2149,8 +2040,6 @@ func init() {
|
|||
proto.RegisterType((*SpaceSignResponse)(nil), "coordinator.SpaceSignResponse")
|
||||
proto.RegisterType((*SpaceReceiptWithSignature)(nil), "coordinator.SpaceReceiptWithSignature")
|
||||
proto.RegisterType((*SpaceReceipt)(nil), "coordinator.SpaceReceipt")
|
||||
proto.RegisterType((*FileLimitCheckRequest)(nil), "coordinator.FileLimitCheckRequest")
|
||||
proto.RegisterType((*FileLimitCheckResponse)(nil), "coordinator.FileLimitCheckResponse")
|
||||
proto.RegisterType((*SpaceStatusCheckRequest)(nil), "coordinator.SpaceStatusCheckRequest")
|
||||
proto.RegisterType((*SpaceStatusCheckResponse)(nil), "coordinator.SpaceStatusCheckResponse")
|
||||
proto.RegisterType((*SpaceStatusCheckManyRequest)(nil), "coordinator.SpaceStatusCheckManyRequest")
|
||||
|
@ -2185,116 +2074,112 @@ func init() {
|
|||
}
|
||||
|
||||
var fileDescriptor_d94f6f99586adae2 = []byte{
|
||||
// 1731 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0xcd, 0x6f, 0x13, 0x47,
|
||||
0x14, 0xf7, 0x3a, 0xce, 0x87, 0x9f, 0x13, 0xb3, 0x99, 0x7c, 0x60, 0x8c, 0x31, 0x61, 0xa1, 0x34,
|
||||
0xb8, 0x15, 0x50, 0xd3, 0x56, 0x45, 0x54, 0x2a, 0x21, 0x50, 0x1a, 0x3e, 0x42, 0x34, 0x21, 0xa0,
|
||||
0x96, 0x03, 0x5a, 0x76, 0x27, 0xce, 0x2a, 0xf6, 0xae, 0x3b, 0x3b, 0x26, 0xf8, 0xbf, 0xe8, 0xad,
|
||||
0xa7, 0xde, 0x2b, 0xb5, 0x87, 0xaa, 0x52, 0xd5, 0x43, 0xa5, 0x9e, 0x7b, 0xa9, 0xc4, 0xb1, 0x97,
|
||||
0x4a, 0x08, 0xfe, 0x91, 0x6a, 0x66, 0x67, 0x77, 0x67, 0x3f, 0xec, 0xa4, 0xe2, 0xc0, 0x25, 0xf1,
|
||||
0xfc, 0xe6, 0xbd, 0x37, 0xef, 0xbd, 0x79, 0xef, 0xcd, 0x7b, 0x0b, 0x9f, 0x58, 0x9e, 0x47, 0x6d,
|
||||
0xc7, 0x35, 0x99, 0x47, 0x2f, 0x29, 0xbf, 0xfb, 0xd4, 0x63, 0xde, 0x25, 0xf1, 0xd7, 0x57, 0xf1,
|
||||
0x8b, 0x02, 0x42, 0x15, 0x05, 0x32, 0xfe, 0xd4, 0x40, 0xdf, 0xee, 0x9b, 0x16, 0xd9, 0x76, 0x3a,
|
||||
0x2e, 0x26, 0xdf, 0x0e, 0x88, 0xcf, 0x50, 0x0d, 0xa6, 0x7d, 0x8e, 0x6d, 0xd8, 0x35, 0x6d, 0x45,
|
||||
0x5b, 0x2d, 0xe3, 0x70, 0x89, 0x96, 0x61, 0x6a, 0x8f, 0x98, 0x36, 0xa1, 0xb5, 0xe2, 0x8a, 0xb6,
|
||||
0x3a, 0x8b, 0xe5, 0x0a, 0xad, 0x40, 0xc5, 0xeb, 0xda, 0x1b, 0x36, 0x71, 0x99, 0xc3, 0x86, 0xb5,
|
||||
0x09, 0xb1, 0xa9, 0x42, 0xa8, 0x0d, 0x8b, 0x2e, 0x39, 0x08, 0x97, 0xfc, 0x34, 0x93, 0x0d, 0x28,
|
||||
0xa9, 0x95, 0x04, 0x69, 0xee, 0x1e, 0x32, 0x60, 0x76, 0xd7, 0xa3, 0x16, 0x91, 0x7a, 0xd5, 0x26,
|
||||
0x57, 0xb4, 0xd5, 0x19, 0x9c, 0xc0, 0x8c, 0xdf, 0x34, 0x40, 0x81, 0x01, 0xcc, 0x64, 0x03, 0x7f,
|
||||
0xcb, 0x1c, 0x76, 0x3d, 0xd3, 0x46, 0x97, 0x61, 0xca, 0x17, 0x80, 0xb0, 0xa0, 0xda, 0xae, 0x5d,
|
||||
0x54, 0x1d, 0xa1, 0x30, 0x60, 0x49, 0x87, 0x3e, 0x84, 0x79, 0x9b, 0x74, 0x09, 0x73, 0x3c, 0xf7,
|
||||
0xa1, 0xd3, 0x23, 0x3e, 0x33, 0x7b, 0x7d, 0x61, 0xe5, 0x04, 0xce, 0x6e, 0xa0, 0x2f, 0xa0, 0xd2,
|
||||
0x27, 0xb4, 0xe7, 0xf8, 0xbe, 0xe3, 0xb9, 0xbe, 0x30, 0xb8, 0xda, 0x3e, 0x95, 0x3d, 0x64, 0x2b,
|
||||
0x26, 0xc2, 0x2a, 0x87, 0xb1, 0x03, 0xf3, 0x8a, 0xdf, 0xfd, 0xbe, 0xe7, 0xfa, 0x04, 0x5d, 0x87,
|
||||
0x69, 0x4a, 0x2c, 0xe2, 0xf4, 0x99, 0x50, 0xbb, 0xd2, 0x3e, 0x9f, 0x95, 0x88, 0x03, 0x82, 0xc7,
|
||||
0x0e, 0xdb, 0x8b, 0x3c, 0x85, 0x43, 0x36, 0x63, 0x1f, 0x4e, 0x8c, 0xa4, 0x42, 0x97, 0x61, 0xc1,
|
||||
0x57, 0x36, 0xa5, 0xaf, 0xc4, 0x51, 0xb3, 0x38, 0x6f, 0x0b, 0x35, 0xa0, 0xec, 0x47, 0x57, 0x15,
|
||||
0x5c, 0x79, 0x0c, 0x18, 0x3f, 0x6a, 0x30, 0xab, 0x9e, 0x36, 0x3e, 0x70, 0xfa, 0x84, 0xd0, 0x0d,
|
||||
0x5b, 0x48, 0x29, 0x63, 0xb9, 0x42, 0xab, 0x70, 0xcc, 0xb4, 0x2c, 0x6f, 0xe0, 0xb2, 0x54, 0xf0,
|
||||
0xa4, 0x61, 0xae, 0x8a, 0x4b, 0xd8, 0x81, 0x47, 0xf7, 0x37, 0x6c, 0x11, 0x35, 0x65, 0x1c, 0x03,
|
||||
0xa8, 0x09, 0xf0, 0xdc, 0xec, 0x3a, 0xf6, 0x8e, 0xcb, 0x9c, 0xae, 0x08, 0x94, 0x12, 0x56, 0x10,
|
||||
0xe3, 0x09, 0x2c, 0x7d, 0xe9, 0x74, 0xc9, 0x3d, 0xa7, 0xe7, 0xb0, 0xf5, 0x3d, 0x62, 0xed, 0x87,
|
||||
0xb1, 0x9e, 0xa3, 0x80, 0x96, 0xaf, 0x80, 0x62, 0x5c, 0x31, 0x61, 0x9c, 0xb1, 0x09, 0xcb, 0x69,
|
||||
0xe1, 0xf2, 0x42, 0x17, 0x61, 0xb2, 0xcb, 0x51, 0x21, 0xb3, 0x84, 0x83, 0x05, 0x57, 0xd6, 0x67,
|
||||
0x1e, 0x35, 0x3b, 0xe4, 0x2e, 0x19, 0x4a, 0x61, 0x0a, 0x62, 0x5c, 0x81, 0xe3, 0x4a, 0x84, 0x26,
|
||||
0xd4, 0x1d, 0xe9, 0x61, 0x63, 0x07, 0x6a, 0x59, 0x26, 0xa9, 0xc6, 0x55, 0x98, 0xee, 0x2b, 0x97,
|
||||
0x5d, 0x69, 0x9f, 0x1e, 0x95, 0x0e, 0xf2, 0xe2, 0x71, 0x48, 0x6f, 0x5c, 0x85, 0x93, 0x69, 0xb1,
|
||||
0xf7, 0x4d, 0x77, 0x18, 0xea, 0x53, 0x87, 0x19, 0xa9, 0x00, 0xcf, 0xb4, 0x89, 0xd5, 0x32, 0x8e,
|
||||
0xd6, 0xc6, 0x13, 0x68, 0xe4, 0xb3, 0x4a, 0xad, 0xae, 0xc1, 0x8c, 0x3c, 0x25, 0xe0, 0x3d, 0x82,
|
||||
0x5a, 0x11, 0x83, 0xf1, 0x4a, 0x4b, 0xd9, 0x6b, 0xba, 0x1d, 0x72, 0x78, 0x01, 0x53, 0xb2, 0x5c,
|
||||
0xca, 0x8c, 0xae, 0x33, 0xbb, 0xc1, 0x83, 0x23, 0x05, 0x86, 0xd1, 0x99, 0x82, 0x11, 0x86, 0x85,
|
||||
0x14, 0xf4, 0x70, 0xd8, 0x0f, 0xaa, 0x5b, 0xb5, 0xbd, 0x92, 0x30, 0xeb, 0x66, 0x96, 0x0e, 0xe7,
|
||||
0x31, 0x1b, 0x8f, 0x64, 0x2e, 0x27, 0x2d, 0x7c, 0xfb, 0x2b, 0xbd, 0x06, 0x27, 0x37, 0x83, 0xc4,
|
||||
0x59, 0xf7, 0xdc, 0x5d, 0xa7, 0x33, 0xa0, 0x26, 0x3f, 0x3a, 0x74, 0x5e, 0x03, 0xca, 0xd6, 0x80,
|
||||
0x52, 0xc2, 0x43, 0x5f, 0xba, 0x2f, 0x06, 0x8c, 0x3f, 0x34, 0x68, 0xe4, 0x73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, 0x37, 0x09, 0x05, 0x0b, 0x27, 0xc3,
|
||||
0x21, 0x39, 0x57, 0x60, 0xcf, 0xf4, 0xef, 0x7b, 0xd2, 0xcb, 0x33, 0x38, 0x5c, 0x1a, 0xbf, 0x6b,
|
||||
0x30, 0x9f, 0x61, 0x44, 0x55, 0x28, 0x3a, 0xa1, 0xae, 0x45, 0xc7, 0x1e, 0xfd, 0x4e, 0xa0, 0xcf,
|
||||
0xa3, 0xa6, 0x24, 0xe8, 0x17, 0xce, 0x8d, 0x57, 0x29, 0xd5, 0xa0, 0x24, 0x9c, 0x59, 0x4a, 0x39,
|
||||
0x93, 0xef, 0xee, 0x3a, 0x5d, 0x72, 0x9b, 0x7a, 0x83, 0xc0, 0xd5, 0x65, 0x1c, 0x03, 0xc6, 0xaf,
|
||||
0x61, 0x97, 0x24, 0x0e, 0x79, 0x87, 0x75, 0xb2, 0x05, 0x7a, 0x08, 0xdd, 0x94, 0x95, 0x40, 0xda,
|
||||
0x92, 0xc1, 0x8d, 0x0d, 0x58, 0x48, 0xe8, 0x2c, 0x6f, 0xb6, 0x0d, 0x8b, 0xcc, 0xbb, 0x21, 0x51,
|
||||
0x3b, 0xee, 0xd5, 0x34, 0x21, 0x26, 0x77, 0xcf, 0x70, 0x61, 0x71, 0x2d, 0x88, 0xdc, 0xa4, 0x03,
|
||||
0x72, 0xcd, 0xd4, 0xfe, 0x87, 0x99, 0xc5, 0x5c, 0x33, 0x8d, 0x1f, 0x34, 0x38, 0xa5, 0x1e, 0x98,
|
||||
0x4d, 0xca, 0x51, 0x15, 0x28, 0x27, 0xf5, 0x8a, 0x47, 0x48, 0xbd, 0x89, 0xb1, 0xa9, 0x97, 0x8e,
|
||||
0x16, 0xe3, 0x2e, 0x2c, 0xa5, 0xfc, 0xf1, 0x16, 0xce, 0x6d, 0x42, 0x43, 0x0a, 0xc3, 0xe4, 0x39,
|
||||
0xa1, 0x91, 0xc5, 0x61, 0x8b, 0x7e, 0x3a, 0xf2, 0x45, 0x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x8f, 0x7c, 0x15, 0x60, 0xc7, 0x25, 0x2f, 0xfa, 0xc4, 0x62,
|
||||
0xc4, 0xd6, 0x0b, 0x48, 0x97, 0x93, 0x87, 0x0c, 0x46, 0x5d, 0x43, 0x35, 0x58, 0x8c, 0x11, 0x9e,
|
||||
0x8a, 0xc4, 0xb5, 0x1d, 0xb7, 0xa3, 0x17, 0x23, 0xda, 0x75, 0xde, 0x0d, 0x10, 0x5b, 0x9f, 0x40,
|
||||
0x08, 0xaa, 0x02, 0xd9, 0xf4, 0xd8, 0xad, 0x17, 0x8e, 0xcf, 0x7c, 0xbd, 0x84, 0x96, 0xe4, 0x40,
|
||||
0x26, 0x54, 0xc1, 0xc4, 0xb4, 0xf6, 0x88, 0xad, 0x4f, 0x72, 0xd2, 0x44, 0xa6, 0xd8, 0xfa, 0x14,
|
||||
0xd2, 0xa1, 0x22, 0x54, 0x7b, 0xb0, 0xbb, 0xeb, 0x13, 0xa6, 0xff, 0x5c, 0x6c, 0x7d, 0xaf, 0x41,
|
||||
0x45, 0x69, 0xb9, 0xd0, 0x72, 0x62, 0x28, 0x0d, 0x0f, 0x2e, 0xa0, 0x26, 0xd4, 0xd5, 0xce, 0x2c,
|
||||
0x50, 0x31, 0xd4, 0x58, 0xd7, 0x52, 0xfb, 0xe1, 0xc6, 0x36, 0x33, 0x29, 0xe7, 0x2f, 0xa6, 0xe4,
|
||||
0x86, 0x1a, 0x4d, 0x44, 0xc6, 0x07, 0xb8, 0x62, 0x56, 0xeb, 0x8e, 0x9c, 0xef, 0x95, 0x41, 0x14,
|
||||
0x9d, 0x94, 0xf3, 0x85, 0x82, 0xed, 0xb8, 0xfb, 0xae, 0x77, 0xe0, 0xea, 0x05, 0x74, 0x02, 0x96,
|
||||
0xd2, 0x9b, 0x0f, 0x0e, 0x5c, 0x42, 0x75, 0xad, 0x75, 0x00, 0x33, 0x61, 0x97, 0x83, 0x2a, 0x30,
|
||||
0xfd, 0x90, 0x12, 0xb2, 0xb6, 0xb5,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0x2f, 0xdf, 0x34, 0x0b, 0xff, 0xbc, 0x69, 0x16, 0xbe, 0x69, 0x8c, 0xfb, 0xa0, 0xfc,
|
||||
0x6c, 0x4a, 0xfc, 0xbb, 0xf2, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x0a, 0x91, 0x31, 0xc1, 0x77,
|
||||
0x16, 0x00, 0x00,
|
||||
// 1667 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x18, 0x4d, 0x6f, 0x14, 0x47,
|
||||
0x76, 0x7a, 0x3c, 0xb6, 0x67, 0xde, 0xd8, 0xa6, 0x5d, 0xb6, 0x61, 0x18, 0x86, 0xc1, 0xf4, 0xb2,
|
||||
0xac, 0x99, 0x5d, 0x01, 0x3b, 0xec, 0xae, 0x16, 0xb1, 0xd2, 0x62, 0x0c, 0x21, 0x26, 0x60, 0xac,
|
||||
0x32, 0x06, 0x29, 0x39, 0xa0, 0xa6, 0xbb, 0x3c, 0x6e, 0x79, 0xa6, 0x7a, 0x52, 0x5d, 0x83, 0xf1,
|
||||
0xbf, 0xc8, 0x2d, 0xa7, 0xdc, 0x23, 0x25, 0x87, 0x28, 0x52, 0x94, 0x43, 0xa4, 0x9c, 0x73, 0xe4,
|
||||
0x98, 0x4b, 0x24, 0x04, 0xff, 0x20, 0xbf, 0x20, 0xaa, 0xea, 0xea, 0xee, 0xea, 0x8f, 0x19, 0x3b,
|
||||
0xe2, 0xc0, 0xc5, 0x9e, 0x7a, 0x5f, 0xf5, 0xbe, 0x5f, 0xbd, 0x86, 0x7f, 0x3b, 0xbe, 0xcf, 0x5c,
|
||||
0x8f, 0xda, 0xdc, 0x67, 0xd7, 0xb4, 0xdf, 0x43, 0xe6, 0x73, 0xff, 0x9a, 0xfc, 0x1b, 0xe8, 0xf0,
|
||||
0xab, 0x12, 0x84, 0xea, 0x1a, 0xc8, 0xfa, 0xd9, 0x00, 0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a8, 0xf9, 0x3d, 0x18, 0xfa, 0x34, 0x20, 0xe8, 0x36,
|
||||
0xcc, 0x32, 0xe2, 0x10, 0x6f, 0xc8, 0xa5, 0xda, 0xf5, 0xee, 0xe5, 0xbc, 0x44, 0x1c, 0x12, 0x3c,
|
||||
0xf3, 0xf8, 0x7e, 0xec, 0x29, 0x1c, 0xb1, 0x59, 0x07, 0x70, 0x76, 0x2c, 0x15, 0xba, 0x0e, 0x4b,
|
||||
0x81, 0x86, 0x54, 0xbe, 0x92, 0x57, 0xcd, 0xe1, 0x22, 0x14, 0x6a, 0x41, 0x2d, 0x88, 0x43, 0x15,
|
||||
0x86, 0x3c, 0x01, 0x58, 0x5f, 0x1b, 0x30, 0xa7, 0xdf, 0x36, 0x39, 0x71, 0x86, 0x84, 0xb0, 0x4d,
|
||||
0x57, 0x4a, 0xa9, 0x61, 0x75, 0x42, 0x6b, 0x70, 0xca, 0x76, 0x1c, 0x7f, 0x44, 0x79, 0x26, 0x79,
|
||||
0xb2, 0x60, 0xa1, 0x0a, 0x25, 0xfc, 0xd0, 0x67, 0x07, 0x9b, 0xae, 0xcc, 0x9a, 0x1a, 0x4e, 0x00,
|
||||
0xa8, 0x0d, 0xf0, 0xd2, 0xee, 0x7b, 0xee, 0x2e, 0xe5, 0x5e, 0x5f, 0x26, 0x4a, 0x05, 0x6b, 0x10,
|
||||
0xeb, 0x06, 0x9c, 0xd1, 0x82, 0xbe, 0xb1, 0x4f, 0x9c, 0x83, 0x63, 0xb3, 0xdd, 0xda, 0x85, 0x46,
|
||||
0x9e, 0x49, 0x85, 0xea, 0x26, 0xcc, 0x0e, 0x35, 0xff, 0xd5, 0xbb, 0x17, 0xc6, 0x65, 0x98, 0xf2,
|
||||
0x25, 0x8e, 0xe8, 0xad, 0x9b, 0x70, 0x2e, 0x2b, 0xf6, 0x91, 0x4d, 0x8f, 0x22, 0x7d, 0x9a, 0x50,
|
||||
0x55, 0x0a, 0x88, 0xe4, 0x9d, 0x5a, 0xab, 0xe1, 0xf8, 0x6c, 0x7d, 0x06, 0xad, 0x62, 0x56, 0xa5,
|
||||
0xd5, 0x2d, 0xa8, 0xaa, 0x5b, 0x42, 0xde, 0x13, 0xa8, 0x15, 0x33, 0x58, 0x6f, 0x8c, 0x8c, 0xbd,
|
||||
0x36, 0xed, 0x91, 0xe3, 0x7b, 0x82, 0x56, 0x38, 0x4a, 0x66, 0x1c, 0xe5, 0x3c, 0x42, 0x04, 0x3c,
|
||||
0x03, 0x8c, 0x02, 0x9e, 0x01, 0x23, 0x0c, 0x4b, 0x19, 0xd0, 0x93, 0xa3, 0x61, 0xd8, 0x30, 0x16,
|
||||
0xba, 0xab, 0x29, 0xb3, 0xee, 0xe6, 0xe9, 0x70, 0x11, 0xb3, 0xf5, 0x54, 0x95, 0x47, 0xda, 0xc2,
|
||||
0xf7, 0x0f, 0xe9, 0x2d, 0x38, 0xb7, 0x15, 0xe6, 0xe2, 0x86, 0x4f, 0xf7, 0xbc, 0xde, 0x88, 0xd9,
|
||||
0xe2, 0xea, 0xc8, 0x79, 0x2d, 0xa8, 0x39, 0x23, 0xc6, 0x88, 0x48, 0x67, 0xe5, 0xbe, 0x04, 0x60,
|
||||
0xfd, 0x64, 0x40, 0xab, 0x98, 0x5b, 0x29, 0xb6, 0x06, 0xa7, 0x1c, 0x1d, 0x11, 0x0b, 0xc9, 0x82,
|
||||
0xd3, 0x45, 0x52, 0xce, 0x16, 0xc9, 0xdf, 0x60, 0x9a, 0xfa, 0x2e, 0x11, 0xed, 0x4a, 0xa4, 0xc6,
|
||||
0x62, 0xca, 0xbc, 0x2d, 0xdf, 0x25, 0x38, 0xc4, 0xa3, 0x0e, 0x98, 0x0e, 0x23, 0x76, 0xd4, 0xf2,
|
||||
0x76, 0xa9, 0xf7, 0x4a, 0xfa, 0xbd, 0x82, 0x73, 0x70, 0xcb, 0x83, 0x8a, 0x60, 0xd5, 0x2a, 0xdc,
|
||||
0x48, 0x55, 0x78, 0x0b, 0x6a, 0xb6, 0xeb, 0x32, 0x12, 0x04, 0x24, 0x68, 0x94, 0x65, 0x3e, 0x27,
|
||||
0x00, 0xf4, 0x77, 0x98, 0xe6, 0x47, 0x43, 0xa5, 0xd2, 0x42, 0x77, 0x25, 0xa7, 0x92, 0x8c, 0x65,
|
||||
0x48, 0x63, 0x0d, 0xe0, 0x2f, 0x51, 0xa4, 0xa5, 0xa3, 0xd8, 0x40, 0x05, 0x22, 0xdd, 0xe6, 0x0a,
|
||||
0x52, 0xcc, 0x28, 0x4e, 0xb1, 0xc9, 0xed, 0xed, 0x3b, 0x03, 0x4e, 0x17, 0xdf, 0xf7, 0x01, 0x1b,
|
||||
0x5d, 0x0b, 0x6a, 0x3c, 0x1e, 0x4f, 0xd3, 0x72, 0x3c, 0x25, 0x00, 0xeb, 0x2e, 0xa0, 0x48, 0xe3,
|
||||
0x87, 0x7e, 0x4f, 0xab, 0x5d, 0x7b, 0x8f, 0x6b, 0xb1, 0x89, 0x8e, 0x68, 0x19, 0xa6, 0xfb, 0xde,
|
||||
0xc0, 0xe3, 0x52, 0xd9, 0x79, 0x1c, 0x1e, 0x2c, 0x0f, 0x96, 0x52, 0x52, 0x54, 0x1a, 0xfe, 0x57,
|
||||
0x4e, 0x27, 0x9f, 0xc5, 0xbd, 0xa5, 0x5d, 0x58, 0x84, 0x92, 0x45, 0x90, 0xe1, 0x88, 0x5c, 0x28,
|
||||
0xb0, 0x6f, 0x07, 0x8f, 0x7c, 0xe5, 0xe5, 0x2a, 0x8e, 0x8e, 0xd6, 0x8f, 0x06, 0x2c, 0xe6, 0x18,
|
||||
0xd1, 0x02, 0x94, 0xbd, 0x48, 0xd7, 0xb2, 0x97, 0x72, 0x77, 0x39, 0xed, 0xee, 0xff, 0xc5, 0x73,
|
||||
0x3e, 0x1c, 0xc1, 0x97, 0x26, 0xab, 0x94, 0x99, 0xf9, 0x29, 0x67, 0x56, 0x32, 0xce, 0x14, 0xd8,
|
||||
0x3d, 0xaf, 0x4f, 0xee, 0x33, 0x7f, 0x14, 0xba, 0xba, 0x86, 0x13, 0x80, 0xf5, 0x7d, 0xf4, 0xf0,
|
||||
0x90, 0x97, 0x7c, 0xc0, 0x3e, 0xd9, 0x01, 0x33, 0x02, 0xdd, 0x55, 0x9d, 0x40, 0xd9, 0x92, 0x83,
|
||||
0x5b, 0x9b, 0xb0, 0x94, 0xd2, 0x59, 0x45, 0xb6, 0x0b, 0xcb, 0xdc, 0xbf, 0xa3, 0xa0, 0x6e, 0xf2,
|
||||
0xfc, 0x31, 0xa4, 0x98, 0x42, 0x9c, 0x45, 0x61, 0x79, 0x3d, 0xcc, 0xdc, 0xb4, 0x03, 0x0a, 0xcd,
|
||||
0x34, 0xfe, 0x84, 0x99, 0xe5, 0x42, 0x33, 0xad, 0xaf, 0x0c, 0x38, 0xaf, 0x5f, 0x98, 0x2f, 0xca,
|
||||
0x71, 0x1d, 0xa8, 0xa0, 0xf4, 0xca, 0x27, 0x28, 0xbd, 0xa9, 0x89, 0xa5, 0x97, 0xcd, 0x16, 0xeb,
|
||||
0x13, 0x58, 0xc9, 0xf8, 0xe3, 0x3d, 0x9c, 0xdb, 0x86, 0x96, 0x12, 0x86, 0xc9, 0x4b, 0xc2, 0x62,
|
||||
0x8b, 0xa3, 0x57, 0xef, 0x85, 0xd8, 0x17, 0x59, 0x7c, 0x78, 0xa9, 0x08, 0xf4, 0xba, 0xd3, 0x5f,
|
||||
0x77, 0x5d, 0x55, 0x8a, 0xc7, 0x66, 0x67, 0x23, 0x19, 0x7e, 0xa1, 0x73, 0xe2, 0xd9, 0xf6, 0x50,
|
||||
0x04, 0x5a, 0x17, 0xa5, 0xec, 0x6a, 0x42, 0x35, 0xac, 0xef, 0x58, 0x58, 0x7c, 0x9e, 0x20, 0xed,
|
||||
0x81, 0x94, 0x76, 0x9f, 0xf0, 0x50, 0x5a, 0x70, 0x22, 0xcd, 0x6c, 0xa7, 0xff, 0x31, 0xb1, 0xe3,
|
||||
0xe2, 0x57, 0x47, 0xeb, 0x9f, 0xc2, 0xe5, 0x29, 0x59, 0x4a, 0xb5, 0x46, 0xba, 0x53, 0xcd, 0xc5,
|
||||
0x9d, 0xc8, 0xfa, 0xcd, 0x80, 0x33, 0xca, 0x73, 0x0f, 0x45, 0xaf, 0x0b, 0x76, 0x04, 0x77, 0xfc,
|
||||
0xf0, 0xf2, 0xa2, 0x04, 0x51, 0x06, 0x45, 0x67, 0x91, 0x5b, 0x8c, 0xd8, 0x81, 0x4f, 0xa3, 0xb6,
|
||||
0x1e, 0x9e, 0xd0, 0xbf, 0x60, 0x45, 0xb4, 0x84, 0x1d, 0xee, 0x33, 0xbb, 0x47, 0xa4, 0xc8, 0x3b,
|
||||
0x47, 0x9c, 0x84, 0xed, 0xa8, 0x82, 0x8b, 0x91, 0xa2, 0x64, 0xa5, 0x75, 0x8f, 0xc8, 0xe0, 0x05,
|
||||
0x61, 0x01, 0x16, 0xb6, 0x55, 0x64, 0x07, 0xce, 0xc1, 0x45, 0x3d, 0xe9, 0xb0, 0x67, 0xcc, 0xe3,
|
||||
0x44, 0x76, 0xa3, 0x79, 0x9c, 0x47, 0x58, 0x4d, 0x68, 0xe4, 0xcd, 0x0b, 0xbd, 0xd2, 0xf9, 0xc6,
|
||||
0x00, 0xb8, 0xc7, 0x98, 0xcf, 0x36, 0xe4, 0x90, 0x5f, 0x00, 0xd8, 0xa5, 0xe4, 0xd5, 0x90, 0x38,
|
||||
0x9c, 0xb8, 0x66, 0x09, 0x99, 0xea, 0x31, 0xaf, 0x92, 0xd1, 0x34, 0x50, 0x03, 0x96, 0x13, 0x88,
|
||||
0x28, 0x45, 0x42, 0x5d, 0x8f, 0xf6, 0xcc, 0x72, 0x4c, 0xbb, 0x21, 0x5e, 0x03, 0xc4, 0x35, 0xa7,
|
||||
0x10, 0x82, 0x05, 0x09, 0xd9, 0xf2, 0xf9, 0xbd, 0x57, 0x5e, 0xc0, 0x03, 0xb3, 0x82, 0x56, 0xd4,
|
||||
0x8e, 0x23, 0x55, 0xc1, 0xc4, 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0xf6, 0x40, 0x46, 0x55, 0xa8, 0x08, 0x1d, 0x42, 0x05, 0x54, 0x7f, 0x35, 0x0d,
|
||||
0x71, 0x50, 0x21, 0x33, 0xcb, 0x9d, 0xdb, 0x70, 0x66, 0xcc, 0x60, 0x45, 0x33, 0x50, 0x7e, 0x7c,
|
||||
0x60, 0x96, 0x84, 0x2a, 0x98, 0x0c, 0xfc, 0x97, 0x64, 0x9b, 0x91, 0xa1, 0xcd, 0x88, 0x69, 0x20,
|
||||
0x80, 0x99, 0x10, 0x64, 0x96, 0xbb, 0xbf, 0x57, 0xa1, 0xae, 0x19, 0x84, 0x1e, 0x40, 0x2d, 0x5e,
|
||||
0x86, 0x51, 0xc1, 0x16, 0xad, 0x7d, 0x9c, 0x68, 0xb6, 0xc7, 0xa1, 0x55, 0xed, 0x3f, 0x8f, 0x3e,
|
||||
0x68, 0x24, 0x2b, 0x12, 0xba, 0x34, 0xee, 0x21, 0xaf, 0x2f, 0x82, 0xcd, 0xbf, 0x1e, 0x43, 0xa5,
|
||||
0x2e, 0x38, 0x48, 0x25, 0x46, 0xbc, 0x83, 0xa1, 0xb5, 0x89, 0xec, 0xda, 0x86, 0xd7, 0xbc, 0x72,
|
||||
0x02, 0x4a, 0x75, 0xd9, 0x8b, 0xe8, 0x33, 0x81, 0xb6, 0xb0, 0xa0, 0x09, 0x8a, 0x6a, 0x2b, 0x5b,
|
||||
0xf3, 0xf2, 0x71, 0x64, 0x89, 0x41, 0x45, 0xeb, 0x47, 0xc6, 0xa0, 0x09, 0xfb, 0x4d, 0xc6, 0xa0,
|
||||
0x89, 0xbb, 0xcc, 0x36, 0xd4, 0xb5, 0xe4, 0x41, 0x17, 0xc6, 0xbf, 0xd7, 0x42, 0xd1, 0xab, 0xe3,
|
||||
0x09, 0x12, 0x89, 0x5a, 0xdf, 0x42, 0x05, 0x4b, 0x5b, 0xea, 0x81, 0x92, 0x91, 0x58, 0xf4, 0x1c,
|
||||
0x7a, 0x0a, 0xf3, 0xa9, 0x06, 0x85, 0x2e, 0xa6, 0x58, 0x8a, 0x9e, 0x3d, 0x4d, 0x6b, 0x12, 0x89,
|
||||
0x92, 0x4b, 0xe3, 0x27, 0x42, 0x7a, 0x6a, 0xa3, 0x2b, 0x45, 0xcc, 0x85, 0x93, 0xbf, 0xd9, 0x39,
|
||||
0x09, 0xa9, 0xba, 0x6f, 0x07, 0xe6, 0xf4, 0xc9, 0x8d, 0x56, 0x33, 0xbc, 0xb9, 0xf7, 0x41, 0xf3,
|
||||
0xe2, 0x04, 0x0a, 0xdd, 0x39, 0xda, 0xd0, 0xcd, 0x39, 0x27, 0x3f, 0xdc, 0x73, 0xce, 0x29, 0x9a,
|
||||
0xd9, 0xcf, 0xc1, 0xcc, 0x4e, 0xae, 0x4c, 0xdd, 0x8e, 0x99, 0xdb, 0x99, 0xba, 0x1d, 0x37, 0xfe,
|
||||
0xee, 0xfc, 0xe7, 0x97, 0xb7, 0x6d, 0xe3, 0xf5, 0xdb, 0xb6, 0xf1, 0xe6, 0x6d, 0xdb, 0xf8, 0xe2,
|
||||
0x5d, 0xbb, 0xf4, 0xfa, 0x5d, 0xbb, 0xf4, 0xeb, 0xbb, 0x76, 0xe9, 0xd3, 0xd6, 0xa4, 0x0f, 0xa9,
|
||||
0x2f, 0x66, 0xe4, 0xbf, 0x1b, 0x7f, 0x04, 0x00, 0x00, 0xff, 0xff, 0x82, 0x8a, 0x2d, 0xb0, 0x6f,
|
||||
0x15, 0x00, 0x00,
|
||||
}
|
||||
|
||||
func (m *SpaceSignRequest) Marshal() (dAtA []byte, err error) {
|
||||
|
@ -2524,78 +2409,6 @@ func (m *SpaceReceipt) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|||
return len(dAtA) - i, nil
|
||||
}
|
||||
|
||||
func (m *FileLimitCheckRequest) Marshal() (dAtA []byte, err error) {
|
||||
size := m.Size()
|
||||
dAtA = make([]byte, size)
|
||||
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return dAtA[:n], nil
|
||||
}
|
||||
|
||||
func (m *FileLimitCheckRequest) MarshalTo(dAtA []byte) (int, error) {
|
||||
size := m.Size()
|
||||
return m.MarshalToSizedBuffer(dAtA[:size])
|
||||
}
|
||||
|
||||
func (m *FileLimitCheckRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
||||
i := len(dAtA)
|
||||
_ = i
|
||||
var l int
|
||||
_ = l
|
||||
if len(m.SpaceId) > 0 {
|
||||
i -= len(m.SpaceId)
|
||||
copy(dAtA[i:], m.SpaceId)
|
||||
i = encodeVarintCoordinator(dAtA, i, uint64(len(m.SpaceId)))
|
||||
i--
|
||||
dAtA[i] = 0x12
|
||||
}
|
||||
if len(m.AccountIdentity) > 0 {
|
||||
i -= len(m.AccountIdentity)
|
||||
copy(dAtA[i:], m.AccountIdentity)
|
||||
i = encodeVarintCoordinator(dAtA, i, uint64(len(m.AccountIdentity)))
|
||||
i--
|
||||
dAtA[i] = 0xa
|
||||
}
|
||||
return len(dAtA) - i, nil
|
||||
}
|
||||
|
||||
func (m *FileLimitCheckResponse) Marshal() (dAtA []byte, err error) {
|
||||
size := m.Size()
|
||||
dAtA = make([]byte, size)
|
||||
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return dAtA[:n], nil
|
||||
}
|
||||
|
||||
func (m *FileLimitCheckResponse) MarshalTo(dAtA []byte) (int, error) {
|
||||
size := m.Size()
|
||||
return m.MarshalToSizedBuffer(dAtA[:size])
|
||||
}
|
||||
|
||||
func (m *FileLimitCheckResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
||||
i := len(dAtA)
|
||||
_ = i
|
||||
var l int
|
||||
_ = l
|
||||
if len(m.StorageKey) > 0 {
|
||||
i -= len(m.StorageKey)
|
||||
copy(dAtA[i:], m.StorageKey)
|
||||
i = encodeVarintCoordinator(dAtA, i, uint64(len(m.StorageKey)))
|
||||
i--
|
||||
dAtA[i] = 0x12
|
||||
}
|
||||
if m.Limit != 0 {
|
||||
i = encodeVarintCoordinator(dAtA, i, uint64(m.Limit))
|
||||
i--
|
||||
dAtA[i] = 0x8
|
||||
}
|
||||
return len(dAtA) - i, nil
|
||||
}
|
||||
|
||||
func (m *SpaceStatusCheckRequest) Marshal() (dAtA []byte, err error) {
|
||||
size := m.Size()
|
||||
dAtA = make([]byte, size)
|
||||
|
@ -3756,39 +3569,6 @@ func (m *SpaceReceipt) Size() (n int) {
|
|||
return n
|
||||
}
|
||||
|
||||
func (m *FileLimitCheckRequest) Size() (n int) {
|
||||
if m == nil {
|
||||
return 0
|
||||
}
|
||||
var l int
|
||||
_ = l
|
||||
l = len(m.AccountIdentity)
|
||||
if l > 0 {
|
||||
n += 1 + l + sovCoordinator(uint64(l))
|
||||
}
|
||||
l = len(m.SpaceId)
|
||||
if l > 0 {
|
||||
n += 1 + l + sovCoordinator(uint64(l))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
func (m *FileLimitCheckResponse) Size() (n int) {
|
||||
if m == nil {
|
||||
return 0
|
||||
}
|
||||
var l int
|
||||
_ = l
|
||||
if m.Limit != 0 {
|
||||
n += 1 + sovCoordinator(uint64(m.Limit))
|
||||
}
|
||||
l = len(m.StorageKey)
|
||||
if l > 0 {
|
||||
n += 1 + l + sovCoordinator(uint64(l))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
func (m *SpaceStatusCheckRequest) Size() (n int) {
|
||||
if m == nil {
|
||||
return 0
|
||||
|
@ -4981,223 +4761,6 @@ func (m *SpaceReceipt) Unmarshal(dAtA []byte) error {
|
|||
}
|
||||
return nil
|
||||
}
|
||||
func (m *FileLimitCheckRequest) Unmarshal(dAtA []byte) error {
|
||||
l := len(dAtA)
|
||||
iNdEx := 0
|
||||
for iNdEx < l {
|
||||
preIndex := iNdEx
|
||||
var wire uint64
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflowCoordinator
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
wire |= uint64(b&0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
fieldNum := int32(wire >> 3)
|
||||
wireType := int(wire & 0x7)
|
||||
if wireType == 4 {
|
||||
return fmt.Errorf("proto: FileLimitCheckRequest: wiretype end group for non-group")
|
||||
}
|
||||
if fieldNum <= 0 {
|
||||
return fmt.Errorf("proto: FileLimitCheckRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
||||
}
|
||||
switch fieldNum {
|
||||
case 1:
|
||||
if wireType != 2 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field AccountIdentity", wireType)
|
||||
}
|
||||
var byteLen int
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflowCoordinator
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
byteLen |= int(b&0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
if byteLen < 0 {
|
||||
return ErrInvalidLengthCoordinator
|
||||
}
|
||||
postIndex := iNdEx + byteLen
|
||||
if postIndex < 0 {
|
||||
return ErrInvalidLengthCoordinator
|
||||
}
|
||||
if postIndex > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
m.AccountIdentity = append(m.AccountIdentity[:0], dAtA[iNdEx:postIndex]...)
|
||||
if m.AccountIdentity == nil {
|
||||
m.AccountIdentity = []byte{}
|
||||
}
|
||||
iNdEx = postIndex
|
||||
case 2:
|
||||
if wireType != 2 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field SpaceId", wireType)
|
||||
}
|
||||
var stringLen uint64
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflowCoordinator
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
stringLen |= uint64(b&0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
intStringLen := int(stringLen)
|
||||
if intStringLen < 0 {
|
||||
return ErrInvalidLengthCoordinator
|
||||
}
|
||||
postIndex := iNdEx + intStringLen
|
||||
if postIndex < 0 {
|
||||
return ErrInvalidLengthCoordinator
|
||||
}
|
||||
if postIndex > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
m.SpaceId = string(dAtA[iNdEx:postIndex])
|
||||
iNdEx = postIndex
|
||||
default:
|
||||
iNdEx = preIndex
|
||||
skippy, err := skipCoordinator(dAtA[iNdEx:])
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
||||
return ErrInvalidLengthCoordinator
|
||||
}
|
||||
if (iNdEx + skippy) > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
iNdEx += skippy
|
||||
}
|
||||
}
|
||||
|
||||
if iNdEx > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
return nil
|
||||
}
|
||||
func (m *FileLimitCheckResponse) Unmarshal(dAtA []byte) error {
|
||||
l := len(dAtA)
|
||||
iNdEx := 0
|
||||
for iNdEx < l {
|
||||
preIndex := iNdEx
|
||||
var wire uint64
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflowCoordinator
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
wire |= uint64(b&0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
fieldNum := int32(wire >> 3)
|
||||
wireType := int(wire & 0x7)
|
||||
if wireType == 4 {
|
||||
return fmt.Errorf("proto: FileLimitCheckResponse: wiretype end group for non-group")
|
||||
}
|
||||
if fieldNum <= 0 {
|
||||
return fmt.Errorf("proto: FileLimitCheckResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
||||
}
|
||||
switch fieldNum {
|
||||
case 1:
|
||||
if wireType != 0 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType)
|
||||
}
|
||||
m.Limit = 0
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflowCoordinator
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
m.Limit |= uint64(b&0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
case 2:
|
||||
if wireType != 2 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field StorageKey", wireType)
|
||||
}
|
||||
var stringLen uint64
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflowCoordinator
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
stringLen |= uint64(b&0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
intStringLen := int(stringLen)
|
||||
if intStringLen < 0 {
|
||||
return ErrInvalidLengthCoordinator
|
||||
}
|
||||
postIndex := iNdEx + intStringLen
|
||||
if postIndex < 0 {
|
||||
return ErrInvalidLengthCoordinator
|
||||
}
|
||||
if postIndex > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
m.StorageKey = string(dAtA[iNdEx:postIndex])
|
||||
iNdEx = postIndex
|
||||
default:
|
||||
iNdEx = preIndex
|
||||
skippy, err := skipCoordinator(dAtA[iNdEx:])
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
||||
return ErrInvalidLengthCoordinator
|
||||
}
|
||||
if (iNdEx + skippy) > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
iNdEx += skippy
|
||||
}
|
||||
}
|
||||
|
||||
if iNdEx > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
return nil
|
||||
}
|
||||
func (m *SpaceStatusCheckRequest) Unmarshal(dAtA []byte) error {
|
||||
l := len(dAtA)
|
||||
iNdEx := 0
|
||||
|
|
|
@ -41,7 +41,6 @@ type DRPCCoordinatorClient interface {
|
|||
DRPCConn() drpc.Conn
|
||||
|
||||
SpaceSign(ctx context.Context, in *SpaceSignRequest) (*SpaceSignResponse, error)
|
||||
FileLimitCheck(ctx context.Context, in *FileLimitCheckRequest) (*FileLimitCheckResponse, error)
|
||||
SpaceStatusCheck(ctx context.Context, in *SpaceStatusCheckRequest) (*SpaceStatusCheckResponse, error)
|
||||
SpaceStatusCheckMany(ctx context.Context, in *SpaceStatusCheckManyRequest) (*SpaceStatusCheckManyResponse, error)
|
||||
SpaceStatusChange(ctx context.Context, in *SpaceStatusChangeRequest) (*SpaceStatusChangeResponse, error)
|
||||
|
@ -74,15 +73,6 @@ func (c *drpcCoordinatorClient) SpaceSign(ctx context.Context, in *SpaceSignRequ
|
|||
return out, nil
|
||||
}
|
||||
|
||||
func (c *drpcCoordinatorClient) FileLimitCheck(ctx context.Context, in *FileLimitCheckRequest) (*FileLimitCheckResponse, error) {
|
||||
out := new(FileLimitCheckResponse)
|
||||
err := c.cc.Invoke(ctx, "/coordinator.Coordinator/FileLimitCheck", drpcEncoding_File_coordinator_coordinatorproto_protos_coordinator_proto{}, in, out)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *drpcCoordinatorClient) SpaceStatusCheck(ctx context.Context, in *SpaceStatusCheckRequest) (*SpaceStatusCheckResponse, error) {
|
||||
out := new(SpaceStatusCheckResponse)
|
||||
err := c.cc.Invoke(ctx, "/coordinator.Coordinator/SpaceStatusCheck", drpcEncoding_File_coordinator_coordinatorproto_protos_coordinator_proto{}, in, out)
|
||||
|
@ -184,7 +174,6 @@ func (c *drpcCoordinatorClient) AccountLimitsSet(ctx context.Context, in *Accoun
|
|||
|
||||
type DRPCCoordinatorServer interface {
|
||||
SpaceSign(context.Context, *SpaceSignRequest) (*SpaceSignResponse, error)
|
||||
FileLimitCheck(context.Context, *FileLimitCheckRequest) (*FileLimitCheckResponse, error)
|
||||
SpaceStatusCheck(context.Context, *SpaceStatusCheckRequest) (*SpaceStatusCheckResponse, error)
|
||||
SpaceStatusCheckMany(context.Context, *SpaceStatusCheckManyRequest) (*SpaceStatusCheckManyResponse, error)
|
||||
SpaceStatusChange(context.Context, *SpaceStatusChangeRequest) (*SpaceStatusChangeResponse, error)
|
||||
|
@ -204,10 +193,6 @@ func (s *DRPCCoordinatorUnimplementedServer) SpaceSign(context.Context, *SpaceSi
|
|||
return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
|
||||
}
|
||||
|
||||
func (s *DRPCCoordinatorUnimplementedServer) FileLimitCheck(context.Context, *FileLimitCheckRequest) (*FileLimitCheckResponse, error) {
|
||||
return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
|
||||
}
|
||||
|
||||
func (s *DRPCCoordinatorUnimplementedServer) SpaceStatusCheck(context.Context, *SpaceStatusCheckRequest) (*SpaceStatusCheckResponse, error) {
|
||||
return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
|
||||
}
|
||||
|
@ -254,7 +239,7 @@ func (s *DRPCCoordinatorUnimplementedServer) AccountLimitsSet(context.Context, *
|
|||
|
||||
type DRPCCoordinatorDescription struct{}
|
||||
|
||||
func (DRPCCoordinatorDescription) NumMethods() int { return 13 }
|
||||
func (DRPCCoordinatorDescription) NumMethods() int { return 12 }
|
||||
|
||||
func (DRPCCoordinatorDescription) Method(n int) (string, drpc.Encoding, drpc.Receiver, interface{}, bool) {
|
||||
switch n {
|
||||
|
@ -268,15 +253,6 @@ func (DRPCCoordinatorDescription) Method(n int) (string, drpc.Encoding, drpc.Rec
|
|||
)
|
||||
}, DRPCCoordinatorServer.SpaceSign, true
|
||||
case 1:
|
||||
return "/coordinator.Coordinator/FileLimitCheck", drpcEncoding_File_coordinator_coordinatorproto_protos_coordinator_proto{},
|
||||
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
|
||||
return srv.(DRPCCoordinatorServer).
|
||||
FileLimitCheck(
|
||||
ctx,
|
||||
in1.(*FileLimitCheckRequest),
|
||||
)
|
||||
}, DRPCCoordinatorServer.FileLimitCheck, true
|
||||
case 2:
|
||||
return "/coordinator.Coordinator/SpaceStatusCheck", drpcEncoding_File_coordinator_coordinatorproto_protos_coordinator_proto{},
|
||||
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
|
||||
return srv.(DRPCCoordinatorServer).
|
||||
|
@ -285,7 +261,7 @@ func (DRPCCoordinatorDescription) Method(n int) (string, drpc.Encoding, drpc.Rec
|
|||
in1.(*SpaceStatusCheckRequest),
|
||||
)
|
||||
}, DRPCCoordinatorServer.SpaceStatusCheck, true
|
||||
case 3:
|
||||
case 2:
|
||||
return "/coordinator.Coordinator/SpaceStatusCheckMany", drpcEncoding_File_coordinator_coordinatorproto_protos_coordinator_proto{},
|
||||
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
|
||||
return srv.(DRPCCoordinatorServer).
|
||||
|
@ -294,7 +270,7 @@ func (DRPCCoordinatorDescription) Method(n int) (string, drpc.Encoding, drpc.Rec
|
|||
in1.(*SpaceStatusCheckManyRequest),
|
||||
)
|
||||
}, DRPCCoordinatorServer.SpaceStatusCheckMany, true
|
||||
case 4:
|
||||
case 3:
|
||||
return "/coordinator.Coordinator/SpaceStatusChange", drpcEncoding_File_coordinator_coordinatorproto_protos_coordinator_proto{},
|
||||
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
|
||||
return srv.(DRPCCoordinatorServer).
|
||||
|
@ -303,7 +279,7 @@ func (DRPCCoordinatorDescription) Method(n int) (string, drpc.Encoding, drpc.Rec
|
|||
in1.(*SpaceStatusChangeRequest),
|
||||
)
|
||||
}, DRPCCoordinatorServer.SpaceStatusChange, true
|
||||
case 5:
|
||||
case 4:
|
||||
return "/coordinator.Coordinator/NetworkConfiguration", drpcEncoding_File_coordinator_coordinatorproto_protos_coordinator_proto{},
|
||||
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
|
||||
return srv.(DRPCCoordinatorServer).
|
||||
|
@ -312,7 +288,7 @@ func (DRPCCoordinatorDescription) Method(n int) (string, drpc.Encoding, drpc.Rec
|
|||
in1.(*NetworkConfigurationRequest),
|
||||
)
|
||||
}, DRPCCoordinatorServer.NetworkConfiguration, true
|
||||
case 6:
|
||||
case 5:
|
||||
return "/coordinator.Coordinator/DeletionLog", drpcEncoding_File_coordinator_coordinatorproto_protos_coordinator_proto{},
|
||||
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
|
||||
return srv.(DRPCCoordinatorServer).
|
||||
|
@ -321,7 +297,7 @@ func (DRPCCoordinatorDescription) Method(n int) (string, drpc.Encoding, drpc.Rec
|
|||
in1.(*DeletionLogRequest),
|
||||
)
|
||||
}, DRPCCoordinatorServer.DeletionLog, true
|
||||
case 7:
|
||||
case 6:
|
||||
return "/coordinator.Coordinator/SpaceDelete", drpcEncoding_File_coordinator_coordinatorproto_protos_coordinator_proto{},
|
||||
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
|
||||
return srv.(DRPCCoordinatorServer).
|
||||
|
@ -330,7 +306,7 @@ func (DRPCCoordinatorDescription) Method(n int) (string, drpc.Encoding, drpc.Rec
|
|||
in1.(*SpaceDeleteRequest),
|
||||
)
|
||||
}, DRPCCoordinatorServer.SpaceDelete, true
|
||||
case 8:
|
||||
case 7:
|
||||
return "/coordinator.Coordinator/AccountDelete", drpcEncoding_File_coordinator_coordinatorproto_protos_coordinator_proto{},
|
||||
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
|
||||
return srv.(DRPCCoordinatorServer).
|
||||
|
@ -339,7 +315,7 @@ func (DRPCCoordinatorDescription) Method(n int) (string, drpc.Encoding, drpc.Rec
|
|||
in1.(*AccountDeleteRequest),
|
||||
)
|
||||
}, DRPCCoordinatorServer.AccountDelete, true
|
||||
case 9:
|
||||
case 8:
|
||||
return "/coordinator.Coordinator/AccountRevertDeletion", drpcEncoding_File_coordinator_coordinatorproto_protos_coordinator_proto{},
|
||||
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
|
||||
return srv.(DRPCCoordinatorServer).
|
||||
|
@ -348,7 +324,7 @@ func (DRPCCoordinatorDescription) Method(n int) (string, drpc.Encoding, drpc.Rec
|
|||
in1.(*AccountRevertDeletionRequest),
|
||||
)
|
||||
}, DRPCCoordinatorServer.AccountRevertDeletion, true
|
||||
case 10:
|
||||
case 9:
|
||||
return "/coordinator.Coordinator/AclAddRecord", drpcEncoding_File_coordinator_coordinatorproto_protos_coordinator_proto{},
|
||||
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
|
||||
return srv.(DRPCCoordinatorServer).
|
||||
|
@ -357,7 +333,7 @@ func (DRPCCoordinatorDescription) Method(n int) (string, drpc.Encoding, drpc.Rec
|
|||
in1.(*AclAddRecordRequest),
|
||||
)
|
||||
}, DRPCCoordinatorServer.AclAddRecord, true
|
||||
case 11:
|
||||
case 10:
|
||||
return "/coordinator.Coordinator/AclGetRecords", drpcEncoding_File_coordinator_coordinatorproto_protos_coordinator_proto{},
|
||||
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
|
||||
return srv.(DRPCCoordinatorServer).
|
||||
|
@ -366,7 +342,7 @@ func (DRPCCoordinatorDescription) Method(n int) (string, drpc.Encoding, drpc.Rec
|
|||
in1.(*AclGetRecordsRequest),
|
||||
)
|
||||
}, DRPCCoordinatorServer.AclGetRecords, true
|
||||
case 12:
|
||||
case 11:
|
||||
return "/coordinator.Coordinator/AccountLimitsSet", drpcEncoding_File_coordinator_coordinatorproto_protos_coordinator_proto{},
|
||||
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
|
||||
return srv.(DRPCCoordinatorServer).
|
||||
|
@ -400,22 +376,6 @@ func (x *drpcCoordinator_SpaceSignStream) SendAndClose(m *SpaceSignResponse) err
|
|||
return x.CloseSend()
|
||||
}
|
||||
|
||||
type DRPCCoordinator_FileLimitCheckStream interface {
|
||||
drpc.Stream
|
||||
SendAndClose(*FileLimitCheckResponse) error
|
||||
}
|
||||
|
||||
type drpcCoordinator_FileLimitCheckStream struct {
|
||||
drpc.Stream
|
||||
}
|
||||
|
||||
func (x *drpcCoordinator_FileLimitCheckStream) SendAndClose(m *FileLimitCheckResponse) error {
|
||||
if err := x.MsgSend(m, drpcEncoding_File_coordinator_coordinatorproto_protos_coordinator_proto{}); err != nil {
|
||||
return err
|
||||
}
|
||||
return x.CloseSend()
|
||||
}
|
||||
|
||||
type DRPCCoordinator_SpaceStatusCheckStream interface {
|
||||
drpc.Stream
|
||||
SendAndClose(*SpaceStatusCheckResponse) error
|
||||
|
|
|
@ -7,12 +7,6 @@ service Coordinator {
|
|||
// SpaceSign signs a space creation operation
|
||||
rpc SpaceSign(SpaceSignRequest) returns (SpaceSignResponse);
|
||||
|
||||
// FileLimitCheck checks a limit by account and space
|
||||
// can be used only:
|
||||
// - if a handshake identity matches a given identity
|
||||
// - if a requester contains in nodeconf list
|
||||
rpc FileLimitCheck(FileLimitCheckRequest) returns (FileLimitCheckResponse);
|
||||
|
||||
// SpaceStatusCheck checks the status of space and tells if it is deleted or not
|
||||
rpc SpaceStatusCheck(SpaceStatusCheckRequest) returns (SpaceStatusCheckResponse);
|
||||
|
||||
|
@ -41,7 +35,7 @@ service Coordinator {
|
|||
rpc AclAddRecord(AclAddRecordRequest) returns (AclAddRecordResponse);
|
||||
// AclGetRecords gets acl records
|
||||
rpc AclGetRecords(AclGetRecordsRequest) returns (AclGetRecordsResponse);
|
||||
|
||||
// AccountLimitsSet sets limits to the account. Can be used only by a network config member
|
||||
rpc AccountLimitsSet(AccountLimitsSetRequest) returns (AccountLimitsSetResponse);
|
||||
}
|
||||
|
||||
|
@ -112,21 +106,6 @@ message SpaceReceipt {
|
|||
uint64 validUntil = 5;
|
||||
}
|
||||
|
||||
// FileLimitCheckRequest contains an account identity and spaceId
|
||||
// control node checks that identity owns a given space
|
||||
message FileLimitCheckRequest {
|
||||
bytes accountIdentity = 1;
|
||||
string spaceId = 2;
|
||||
}
|
||||
|
||||
// FileLimitCheckResponse returns a current space limit in bytes
|
||||
message FileLimitCheckResponse {
|
||||
// Limit in bytes
|
||||
uint64 limit = 1;
|
||||
// StorageKey tells a key that filenode should use to save files
|
||||
string storageKey = 2;
|
||||
}
|
||||
|
||||
// SpaceStatusCheckRequest contains the spaceId of requested space
|
||||
message SpaceStatusCheckRequest {
|
||||
string spaceId = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue