coordinatorproto

package
v0.4.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthCoordinator        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCoordinator          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCoordinator = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrUnexpected           = errGroup.Register(errors.New("unexpected error"), uint64(ErrorCodes_Unexpected))
	ErrSpaceIsCreated       = errGroup.Register(errors.New("space is missing"), uint64(ErrorCodes_SpaceCreated))
	ErrSpaceIsDeleted       = errGroup.Register(errors.New("space is deleted"), uint64(ErrorCodes_SpaceDeleted))
	ErrSpaceDeletionPending = errGroup.Register(errors.New("space is set out for deletion"), uint64(ErrorCodes_SpaceDeletionPending))
	ErrSpaceNotExists       = errGroup.Register(errors.New("space not exists"), uint64(ErrorCodes_SpaceNotExists))
	ErrSpaceLimitReached    = errGroup.Register(errors.New("space limit reached"), uint64(ErrorCodes_SpaceLimitReached))
	ErrAccountIsDeleted     = errGroup.Register(errors.New("account is deleted"), uint64(ErrorCodes_AccountDeleted))
	ErrForbidden            = errGroup.Register(errors.New("forbidden"), uint64(ErrorCodes_Forbidden))
	ErrAclHeadIsMissing     = errGroup.Register(errors.New("acl head is missing"), uint64(ErrorCodes_AclHeadIsMissing))
	ErrAclNonEmpty          = errGroup.Register(errors.New("acl is not empty"), uint64(ErrorCodes_AclNonEmpty))
	ErrSpaceNotShareable    = errGroup.Register(errors.New("space not shareable"), uint64(ErrorCodes_SpaceNotShareable))
)
View Source
var DeletionLogRecordStatus_name = map[int32]string{
	0: "Ok",
	1: "RemovePrepare",
	2: "Remove",
}
View Source
var DeletionLogRecordStatus_value = map[string]int32{
	"Ok":            0,
	"RemovePrepare": 1,
	"Remove":        2,
}
View Source
var DeletionPayloadType_name = map[int32]string{
	0: "Tree",
	1: "Confirm",
	2: "Account",
}
View Source
var DeletionPayloadType_value = map[string]int32{
	"Tree":    0,
	"Confirm": 1,
	"Account": 2,
}
View Source
var ErrorCodes_name = map[int32]string{
	0:   "Unexpected",
	1:   "SpaceDeleted",
	2:   "SpaceDeletionPending",
	3:   "SpaceCreated",
	4:   "SpaceNotExists",
	5:   "SpaceLimitReached",
	6:   "AccountDeleted",
	7:   "Forbidden",
	8:   "AclHeadIsMissing",
	9:   "AclNonEmpty",
	10:  "SpaceNotShareable",
	300: "ErrorOffset",
}
View Source
var ErrorCodes_value = map[string]int32{
	"Unexpected":           0,
	"SpaceDeleted":         1,
	"SpaceDeletionPending": 2,
	"SpaceCreated":         3,
	"SpaceNotExists":       4,
	"SpaceLimitReached":    5,
	"AccountDeleted":       6,
	"Forbidden":            7,
	"AclHeadIsMissing":     8,
	"AclNonEmpty":          9,
	"SpaceNotShareable":    10,
	"ErrorOffset":          300,
}
View Source
var NodeType_name = map[int32]string{
	0: "TreeAPI",
	1: "FileAPI",
	2: "CoordinatorAPI",
	3: "ConsensusAPI",
	4: "NamingNodeAPI",
	5: "PaymentProcessingAPI",
}
View Source
var NodeType_value = map[string]int32{
	"TreeAPI":              0,
	"FileAPI":              1,
	"CoordinatorAPI":       2,
	"ConsensusAPI":         3,
	"NamingNodeAPI":        4,
	"PaymentProcessingAPI": 5,
}
View Source
var SpacePermissions_name = map[int32]string{
	0: "SpacePermissionsUnknown",
	1: "SpacePermissionsOwner",
}
View Source
var SpacePermissions_value = map[string]int32{
	"SpacePermissionsUnknown": 0,
	"SpacePermissionsOwner":   1,
}
View Source
var SpaceStatus_name = map[int32]string{
	0: "SpaceStatusCreated",
	1: "SpaceStatusPendingDeletion",
	2: "SpaceStatusDeletionStarted",
	3: "SpaceStatusDeleted",
	4: "SpaceStatusNotExists",
}
View Source
var SpaceStatus_value = map[string]int32{
	"SpaceStatusCreated":         0,
	"SpaceStatusPendingDeletion": 1,
	"SpaceStatusDeletionStarted": 2,
	"SpaceStatusDeleted":         3,
	"SpaceStatusNotExists":       4,
}

Functions

func CheckReceipt

func CheckReceipt(peerId, spaceId string, accountIdentity []byte, networkId string, receipt *SpaceReceiptWithSignature) (err error)

func DRPCRegisterCoordinator

func DRPCRegisterCoordinator(mux drpc.Mux, impl DRPCCoordinatorServer) error

func ValidateAccountDeleteConfirmation added in v0.3.4

func ValidateAccountDeleteConfirmation(pubKey crypto.PubKey, spaceId, networkId string, deleteConfirm *DeletionConfirmPayloadWithSignature) (err error)

func ValidateDeleteConfirmation added in v0.3.0

func ValidateDeleteConfirmation(pubKey crypto.PubKey, spaceId, networkId string, deleteConfirm *DeletionConfirmPayloadWithSignature) (err error)

Types

type AccountDeleteRequest added in v0.3.4

type AccountDeleteRequest struct {
	DeletionPayloadId string `protobuf:"bytes,1,opt,name=deletionPayloadId,proto3" json:"deletionPayloadId,omitempty"`
	DeletionPayload   []byte `protobuf:"bytes,2,opt,name=deletionPayload,proto3" json:"deletionPayload,omitempty"`
}

AccountDeleteRequest contains payload for account deletion

func (*AccountDeleteRequest) Descriptor added in v0.3.4

func (*AccountDeleteRequest) Descriptor() ([]byte, []int)

func (*AccountDeleteRequest) GetDeletionPayload added in v0.3.4

func (m *AccountDeleteRequest) GetDeletionPayload() []byte

func (*AccountDeleteRequest) GetDeletionPayloadId added in v0.3.4

func (m *AccountDeleteRequest) GetDeletionPayloadId() string

func (*AccountDeleteRequest) Marshal added in v0.3.4

func (m *AccountDeleteRequest) Marshal() (dAtA []byte, err error)

func (*AccountDeleteRequest) MarshalTo added in v0.3.4

func (m *AccountDeleteRequest) MarshalTo(dAtA []byte) (int, error)

func (*AccountDeleteRequest) MarshalToSizedBuffer added in v0.3.4

func (m *AccountDeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccountDeleteRequest) ProtoMessage added in v0.3.4

func (*AccountDeleteRequest) ProtoMessage()

func (*AccountDeleteRequest) Reset added in v0.3.4

func (m *AccountDeleteRequest) Reset()

func (*AccountDeleteRequest) Size added in v0.3.4

func (m *AccountDeleteRequest) Size() (n int)

func (*AccountDeleteRequest) String added in v0.3.4

func (m *AccountDeleteRequest) String() string

func (*AccountDeleteRequest) Unmarshal added in v0.3.4

func (m *AccountDeleteRequest) Unmarshal(dAtA []byte) error

func (*AccountDeleteRequest) XXX_DiscardUnknown added in v0.3.4

func (m *AccountDeleteRequest) XXX_DiscardUnknown()

func (*AccountDeleteRequest) XXX_Marshal added in v0.3.4

func (m *AccountDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountDeleteRequest) XXX_Merge added in v0.3.4

func (m *AccountDeleteRequest) XXX_Merge(src proto.Message)

func (*AccountDeleteRequest) XXX_Size added in v0.3.4

func (m *AccountDeleteRequest) XXX_Size() int

func (*AccountDeleteRequest) XXX_Unmarshal added in v0.3.4

func (m *AccountDeleteRequest) XXX_Unmarshal(b []byte) error

type AccountDeleteResponse added in v0.3.4

type AccountDeleteResponse struct {
	ToBeDeletedTimestamp int64 `protobuf:"varint,1,opt,name=toBeDeletedTimestamp,proto3" json:"toBeDeletedTimestamp,omitempty"`
}

AccountDeleteResponse contains timestamp when the account is finally deleted

func (*AccountDeleteResponse) Descriptor added in v0.3.4

func (*AccountDeleteResponse) Descriptor() ([]byte, []int)

func (*AccountDeleteResponse) GetToBeDeletedTimestamp added in v0.3.4

func (m *AccountDeleteResponse) GetToBeDeletedTimestamp() int64

func (*AccountDeleteResponse) Marshal added in v0.3.4

func (m *AccountDeleteResponse) Marshal() (dAtA []byte, err error)

func (*AccountDeleteResponse) MarshalTo added in v0.3.4

func (m *AccountDeleteResponse) MarshalTo(dAtA []byte) (int, error)

func (*AccountDeleteResponse) MarshalToSizedBuffer added in v0.3.4

func (m *AccountDeleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccountDeleteResponse) ProtoMessage added in v0.3.4

func (*AccountDeleteResponse) ProtoMessage()

func (*AccountDeleteResponse) Reset added in v0.3.4

func (m *AccountDeleteResponse) Reset()

func (*AccountDeleteResponse) Size added in v0.3.4

func (m *AccountDeleteResponse) Size() (n int)

func (*AccountDeleteResponse) String added in v0.3.4

func (m *AccountDeleteResponse) String() string

func (*AccountDeleteResponse) Unmarshal added in v0.3.4

func (m *AccountDeleteResponse) Unmarshal(dAtA []byte) error

func (*AccountDeleteResponse) XXX_DiscardUnknown added in v0.3.4

func (m *AccountDeleteResponse) XXX_DiscardUnknown()

func (*AccountDeleteResponse) XXX_Marshal added in v0.3.4

func (m *AccountDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountDeleteResponse) XXX_Merge added in v0.3.4

func (m *AccountDeleteResponse) XXX_Merge(src proto.Message)

func (*AccountDeleteResponse) XXX_Size added in v0.3.4

func (m *AccountDeleteResponse) XXX_Size() int

func (*AccountDeleteResponse) XXX_Unmarshal added in v0.3.4

func (m *AccountDeleteResponse) XXX_Unmarshal(b []byte) error

type AccountDeletionConfirmPayload added in v0.3.4

type AccountDeletionConfirmPayload struct {
	// PeerId of receipt requester
	PeerId string `protobuf:"bytes,1,opt,name=peerId,proto3" json:"peerId,omitempty"`
	// AccountIdentity is an identity of a space owner
	AccountIdentity []byte `protobuf:"bytes,2,opt,name=accountIdentity,proto3" json:"accountIdentity,omitempty"`
	// NetworkId is the id of a network where the deletion was requested
	NetworkId string `protobuf:"bytes,3,opt,name=networkId,proto3" json:"networkId,omitempty"`
	// Timestamp is a timestamp when the deletion was requested
	Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}

AccountDeletionConfirmPayload contains payload for deletion confirmation

func (*AccountDeletionConfirmPayload) Descriptor added in v0.3.4

func (*AccountDeletionConfirmPayload) Descriptor() ([]byte, []int)

func (*AccountDeletionConfirmPayload) GetAccountIdentity added in v0.3.4

func (m *AccountDeletionConfirmPayload) GetAccountIdentity() []byte

func (*AccountDeletionConfirmPayload) GetNetworkId added in v0.3.4

func (m *AccountDeletionConfirmPayload) GetNetworkId() string

func (*AccountDeletionConfirmPayload) GetPeerId added in v0.3.4

func (m *AccountDeletionConfirmPayload) GetPeerId() string

func (*AccountDeletionConfirmPayload) GetTimestamp added in v0.3.4

func (m *AccountDeletionConfirmPayload) GetTimestamp() int64

func (*AccountDeletionConfirmPayload) Marshal added in v0.3.4

func (m *AccountDeletionConfirmPayload) Marshal() (dAtA []byte, err error)

func (*AccountDeletionConfirmPayload) MarshalTo added in v0.3.4

func (m *AccountDeletionConfirmPayload) MarshalTo(dAtA []byte) (int, error)

func (*AccountDeletionConfirmPayload) MarshalToSizedBuffer added in v0.3.4

func (m *AccountDeletionConfirmPayload) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccountDeletionConfirmPayload) ProtoMessage added in v0.3.4

func (*AccountDeletionConfirmPayload) ProtoMessage()

func (*AccountDeletionConfirmPayload) Reset added in v0.3.4

func (m *AccountDeletionConfirmPayload) Reset()

func (*AccountDeletionConfirmPayload) Size added in v0.3.4

func (m *AccountDeletionConfirmPayload) Size() (n int)

func (*AccountDeletionConfirmPayload) String added in v0.3.4

func (*AccountDeletionConfirmPayload) Unmarshal added in v0.3.4

func (m *AccountDeletionConfirmPayload) Unmarshal(dAtA []byte) error

func (*AccountDeletionConfirmPayload) XXX_DiscardUnknown added in v0.3.4

func (m *AccountDeletionConfirmPayload) XXX_DiscardUnknown()

func (*AccountDeletionConfirmPayload) XXX_Marshal added in v0.3.4

func (m *AccountDeletionConfirmPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountDeletionConfirmPayload) XXX_Merge added in v0.3.4

func (m *AccountDeletionConfirmPayload) XXX_Merge(src proto.Message)

func (*AccountDeletionConfirmPayload) XXX_Size added in v0.3.4

func (m *AccountDeletionConfirmPayload) XXX_Size() int

func (*AccountDeletionConfirmPayload) XXX_Unmarshal added in v0.3.4

func (m *AccountDeletionConfirmPayload) XXX_Unmarshal(b []byte) error

type AccountLimits added in v0.4.4

type AccountLimits struct {
	SharedSpacesLimit uint32 `protobuf:"varint,1,opt,name=sharedSpacesLimit,proto3" json:"sharedSpacesLimit,omitempty"`
}

AccountLimits describes account level limit

func (*AccountLimits) Descriptor added in v0.4.4

func (*AccountLimits) Descriptor() ([]byte, []int)

func (*AccountLimits) GetSharedSpacesLimit added in v0.4.4

func (m *AccountLimits) GetSharedSpacesLimit() uint32

func (*AccountLimits) Marshal added in v0.4.4

func (m *AccountLimits) Marshal() (dAtA []byte, err error)

func (*AccountLimits) MarshalTo added in v0.4.4

func (m *AccountLimits) MarshalTo(dAtA []byte) (int, error)

func (*AccountLimits) MarshalToSizedBuffer added in v0.4.4

func (m *AccountLimits) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccountLimits) ProtoMessage added in v0.4.4

func (*AccountLimits) ProtoMessage()

func (*AccountLimits) Reset added in v0.4.4

func (m *AccountLimits) Reset()

func (*AccountLimits) Size added in v0.4.4

func (m *AccountLimits) Size() (n int)

func (*AccountLimits) String added in v0.4.4

func (m *AccountLimits) String() string

func (*AccountLimits) Unmarshal added in v0.4.4

func (m *AccountLimits) Unmarshal(dAtA []byte) error

func (*AccountLimits) XXX_DiscardUnknown added in v0.4.4

func (m *AccountLimits) XXX_DiscardUnknown()

func (*AccountLimits) XXX_Marshal added in v0.4.4

func (m *AccountLimits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountLimits) XXX_Merge added in v0.4.4

func (m *AccountLimits) XXX_Merge(src proto.Message)

func (*AccountLimits) XXX_Size added in v0.4.4

func (m *AccountLimits) XXX_Size() int

func (*AccountLimits) XXX_Unmarshal added in v0.4.4

func (m *AccountLimits) XXX_Unmarshal(b []byte) error

type AccountLimitsSetRequest added in v0.3.33

type AccountLimitsSetRequest struct {
	Identity              string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	Reason                string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	FileStorageLimitBytes uint64 `protobuf:"varint,3,opt,name=fileStorageLimitBytes,proto3" json:"fileStorageLimitBytes,omitempty"`
	SpaceMembersRead      uint32 `protobuf:"varint,4,opt,name=spaceMembersRead,proto3" json:"spaceMembersRead,omitempty"`
	SpaceMembersWrite     uint32 `protobuf:"varint,5,opt,name=spaceMembersWrite,proto3" json:"spaceMembersWrite,omitempty"`
	SharedSpacesLimit     uint32 `protobuf:"varint,6,opt,name=sharedSpacesLimit,proto3" json:"sharedSpacesLimit,omitempty"`
}

func (*AccountLimitsSetRequest) Descriptor added in v0.3.33

func (*AccountLimitsSetRequest) Descriptor() ([]byte, []int)

func (*AccountLimitsSetRequest) GetFileStorageLimitBytes added in v0.3.33

func (m *AccountLimitsSetRequest) GetFileStorageLimitBytes() uint64

func (*AccountLimitsSetRequest) GetIdentity added in v0.3.33

func (m *AccountLimitsSetRequest) GetIdentity() string

func (*AccountLimitsSetRequest) GetReason added in v0.3.33

func (m *AccountLimitsSetRequest) GetReason() string

func (*AccountLimitsSetRequest) GetSharedSpacesLimit added in v0.4.0

func (m *AccountLimitsSetRequest) GetSharedSpacesLimit() uint32

func (*AccountLimitsSetRequest) GetSpaceMembersRead added in v0.3.33

func (m *AccountLimitsSetRequest) GetSpaceMembersRead() uint32

func (*AccountLimitsSetRequest) GetSpaceMembersWrite added in v0.3.33

func (m *AccountLimitsSetRequest) GetSpaceMembersWrite() uint32

func (*AccountLimitsSetRequest) Marshal added in v0.3.33

func (m *AccountLimitsSetRequest) Marshal() (dAtA []byte, err error)

func (*AccountLimitsSetRequest) MarshalTo added in v0.3.33

func (m *AccountLimitsSetRequest) MarshalTo(dAtA []byte) (int, error)

func (*AccountLimitsSetRequest) MarshalToSizedBuffer added in v0.3.33

func (m *AccountLimitsSetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccountLimitsSetRequest) ProtoMessage added in v0.3.33

func (*AccountLimitsSetRequest) ProtoMessage()

func (*AccountLimitsSetRequest) Reset added in v0.3.33

func (m *AccountLimitsSetRequest) Reset()

func (*AccountLimitsSetRequest) Size added in v0.3.33

func (m *AccountLimitsSetRequest) Size() (n int)

func (*AccountLimitsSetRequest) String added in v0.3.33

func (m *AccountLimitsSetRequest) String() string

func (*AccountLimitsSetRequest) Unmarshal added in v0.3.33

func (m *AccountLimitsSetRequest) Unmarshal(dAtA []byte) error

func (*AccountLimitsSetRequest) XXX_DiscardUnknown added in v0.3.33

func (m *AccountLimitsSetRequest) XXX_DiscardUnknown()

func (*AccountLimitsSetRequest) XXX_Marshal added in v0.3.33

func (m *AccountLimitsSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountLimitsSetRequest) XXX_Merge added in v0.3.33

func (m *AccountLimitsSetRequest) XXX_Merge(src proto.Message)

func (*AccountLimitsSetRequest) XXX_Size added in v0.3.33

func (m *AccountLimitsSetRequest) XXX_Size() int

func (*AccountLimitsSetRequest) XXX_Unmarshal added in v0.3.33

func (m *AccountLimitsSetRequest) XXX_Unmarshal(b []byte) error

type AccountLimitsSetResponse added in v0.3.33

type AccountLimitsSetResponse struct {
}

func (*AccountLimitsSetResponse) Descriptor added in v0.3.33

func (*AccountLimitsSetResponse) Descriptor() ([]byte, []int)

func (*AccountLimitsSetResponse) Marshal added in v0.3.33

func (m *AccountLimitsSetResponse) Marshal() (dAtA []byte, err error)

func (*AccountLimitsSetResponse) MarshalTo added in v0.3.33

func (m *AccountLimitsSetResponse) MarshalTo(dAtA []byte) (int, error)

func (*AccountLimitsSetResponse) MarshalToSizedBuffer added in v0.3.33

func (m *AccountLimitsSetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccountLimitsSetResponse) ProtoMessage added in v0.3.33

func (*AccountLimitsSetResponse) ProtoMessage()

func (*AccountLimitsSetResponse) Reset added in v0.3.33

func (m *AccountLimitsSetResponse) Reset()

func (*AccountLimitsSetResponse) Size added in v0.3.33

func (m *AccountLimitsSetResponse) Size() (n int)

func (*AccountLimitsSetResponse) String added in v0.3.33

func (m *AccountLimitsSetResponse) String() string

func (*AccountLimitsSetResponse) Unmarshal added in v0.3.33

func (m *AccountLimitsSetResponse) Unmarshal(dAtA []byte) error

func (*AccountLimitsSetResponse) XXX_DiscardUnknown added in v0.3.33

func (m *AccountLimitsSetResponse) XXX_DiscardUnknown()

func (*AccountLimitsSetResponse) XXX_Marshal added in v0.3.33

func (m *AccountLimitsSetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountLimitsSetResponse) XXX_Merge added in v0.3.33

func (m *AccountLimitsSetResponse) XXX_Merge(src proto.Message)

func (*AccountLimitsSetResponse) XXX_Size added in v0.3.33

func (m *AccountLimitsSetResponse) XXX_Size() int

func (*AccountLimitsSetResponse) XXX_Unmarshal added in v0.3.33

func (m *AccountLimitsSetResponse) XXX_Unmarshal(b []byte) error

type AccountRevertDeletionRequest added in v0.3.4

type AccountRevertDeletionRequest struct {
}

AccountRevertDeletionRequest is a request to revert an account deletion

func (*AccountRevertDeletionRequest) Descriptor added in v0.3.4

func (*AccountRevertDeletionRequest) Descriptor() ([]byte, []int)

func (*AccountRevertDeletionRequest) Marshal added in v0.3.4

func (m *AccountRevertDeletionRequest) Marshal() (dAtA []byte, err error)

func (*AccountRevertDeletionRequest) MarshalTo added in v0.3.4

func (m *AccountRevertDeletionRequest) MarshalTo(dAtA []byte) (int, error)

func (*AccountRevertDeletionRequest) MarshalToSizedBuffer added in v0.3.4

func (m *AccountRevertDeletionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccountRevertDeletionRequest) ProtoMessage added in v0.3.4

func (*AccountRevertDeletionRequest) ProtoMessage()

func (*AccountRevertDeletionRequest) Reset added in v0.3.4

func (m *AccountRevertDeletionRequest) Reset()

func (*AccountRevertDeletionRequest) Size added in v0.3.4

func (m *AccountRevertDeletionRequest) Size() (n int)

func (*AccountRevertDeletionRequest) String added in v0.3.4

func (*AccountRevertDeletionRequest) Unmarshal added in v0.3.4

func (m *AccountRevertDeletionRequest) Unmarshal(dAtA []byte) error

func (*AccountRevertDeletionRequest) XXX_DiscardUnknown added in v0.3.4

func (m *AccountRevertDeletionRequest) XXX_DiscardUnknown()

func (*AccountRevertDeletionRequest) XXX_Marshal added in v0.3.4

func (m *AccountRevertDeletionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountRevertDeletionRequest) XXX_Merge added in v0.3.4

func (m *AccountRevertDeletionRequest) XXX_Merge(src proto.Message)

func (*AccountRevertDeletionRequest) XXX_Size added in v0.3.4

func (m *AccountRevertDeletionRequest) XXX_Size() int

func (*AccountRevertDeletionRequest) XXX_Unmarshal added in v0.3.4

func (m *AccountRevertDeletionRequest) XXX_Unmarshal(b []byte) error

type AccountRevertDeletionResponse added in v0.3.4

type AccountRevertDeletionResponse struct {
}

AccountRevertDeletionResponse is an empty response confirming that the deletion is reverted

func (*AccountRevertDeletionResponse) Descriptor added in v0.3.4

func (*AccountRevertDeletionResponse) Descriptor() ([]byte, []int)

func (*AccountRevertDeletionResponse) Marshal added in v0.3.4

func (m *AccountRevertDeletionResponse) Marshal() (dAtA []byte, err error)

func (*AccountRevertDeletionResponse) MarshalTo added in v0.3.4

func (m *AccountRevertDeletionResponse) MarshalTo(dAtA []byte) (int, error)

func (*AccountRevertDeletionResponse) MarshalToSizedBuffer added in v0.3.4

func (m *AccountRevertDeletionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccountRevertDeletionResponse) ProtoMessage added in v0.3.4

func (*AccountRevertDeletionResponse) ProtoMessage()

func (*AccountRevertDeletionResponse) Reset added in v0.3.4

func (m *AccountRevertDeletionResponse) Reset()

func (*AccountRevertDeletionResponse) Size added in v0.3.4

func (m *AccountRevertDeletionResponse) Size() (n int)

func (*AccountRevertDeletionResponse) String added in v0.3.4

func (*AccountRevertDeletionResponse) Unmarshal added in v0.3.4

func (m *AccountRevertDeletionResponse) Unmarshal(dAtA []byte) error

func (*AccountRevertDeletionResponse) XXX_DiscardUnknown added in v0.3.4

func (m *AccountRevertDeletionResponse) XXX_DiscardUnknown()

func (*AccountRevertDeletionResponse) XXX_Marshal added in v0.3.4

func (m *AccountRevertDeletionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountRevertDeletionResponse) XXX_Merge added in v0.3.4

func (m *AccountRevertDeletionResponse) XXX_Merge(src proto.Message)

func (*AccountRevertDeletionResponse) XXX_Size added in v0.3.4

func (m *AccountRevertDeletionResponse) XXX_Size() int

func (*AccountRevertDeletionResponse) XXX_Unmarshal added in v0.3.4

func (m *AccountRevertDeletionResponse) XXX_Unmarshal(b []byte) error

type AclAddRecordRequest added in v0.3.22

type AclAddRecordRequest struct {
	SpaceId string `protobuf:"bytes,1,opt,name=spaceId,proto3" json:"spaceId,omitempty"`
	Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
}

AclAddRecordRequest contains marshaled consensusproto.RawRecord

func (*AclAddRecordRequest) Descriptor added in v0.3.22

func (*AclAddRecordRequest) Descriptor() ([]byte, []int)

func (*AclAddRecordRequest) GetPayload added in v0.3.22

func (m *AclAddRecordRequest) GetPayload() []byte

func (*AclAddRecordRequest) GetSpaceId added in v0.3.22

func (m *AclAddRecordRequest) GetSpaceId() string

func (*AclAddRecordRequest) Marshal added in v0.3.22

func (m *AclAddRecordRequest) Marshal() (dAtA []byte, err error)

func (*AclAddRecordRequest) MarshalTo added in v0.3.22

func (m *AclAddRecordRequest) MarshalTo(dAtA []byte) (int, error)

func (*AclAddRecordRequest) MarshalToSizedBuffer added in v0.3.22

func (m *AclAddRecordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AclAddRecordRequest) ProtoMessage added in v0.3.22

func (*AclAddRecordRequest) ProtoMessage()

func (*AclAddRecordRequest) Reset added in v0.3.22

func (m *AclAddRecordRequest) Reset()

func (*AclAddRecordRequest) Size added in v0.3.22

func (m *AclAddRecordRequest) Size() (n int)

func (*AclAddRecordRequest) String added in v0.3.22

func (m *AclAddRecordRequest) String() string

func (*AclAddRecordRequest) Unmarshal added in v0.3.22

func (m *AclAddRecordRequest) Unmarshal(dAtA []byte) error

func (*AclAddRecordRequest) XXX_DiscardUnknown added in v0.3.22

func (m *AclAddRecordRequest) XXX_DiscardUnknown()

func (*AclAddRecordRequest) XXX_Marshal added in v0.3.22

func (m *AclAddRecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AclAddRecordRequest) XXX_Merge added in v0.3.22

func (m *AclAddRecordRequest) XXX_Merge(src proto.Message)

func (*AclAddRecordRequest) XXX_Size added in v0.3.22

func (m *AclAddRecordRequest) XXX_Size() int

func (*AclAddRecordRequest) XXX_Unmarshal added in v0.3.22

func (m *AclAddRecordRequest) XXX_Unmarshal(b []byte) error

type AclAddRecordResponse added in v0.3.22

type AclAddRecordResponse struct {
	RecordId string `protobuf:"bytes,1,opt,name=recordId,proto3" json:"recordId,omitempty"`
	Payload  []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
}

AclAddRecordResponse contains created record id and marshaled consensusproto.RawRecord

func (*AclAddRecordResponse) Descriptor added in v0.3.22

func (*AclAddRecordResponse) Descriptor() ([]byte, []int)

func (*AclAddRecordResponse) GetPayload added in v0.3.22

func (m *AclAddRecordResponse) GetPayload() []byte

func (*AclAddRecordResponse) GetRecordId added in v0.3.22

func (m *AclAddRecordResponse) GetRecordId() string

func (*AclAddRecordResponse) Marshal added in v0.3.22

func (m *AclAddRecordResponse) Marshal() (dAtA []byte, err error)

func (*AclAddRecordResponse) MarshalTo added in v0.3.22

func (m *AclAddRecordResponse) MarshalTo(dAtA []byte) (int, error)

func (*AclAddRecordResponse) MarshalToSizedBuffer added in v0.3.22

func (m *AclAddRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AclAddRecordResponse) ProtoMessage added in v0.3.22

func (*AclAddRecordResponse) ProtoMessage()

func (*AclAddRecordResponse) Reset added in v0.3.22

func (m *AclAddRecordResponse) Reset()

func (*AclAddRecordResponse) Size added in v0.3.22

func (m *AclAddRecordResponse) Size() (n int)

func (*AclAddRecordResponse) String added in v0.3.22

func (m *AclAddRecordResponse) String() string

func (*AclAddRecordResponse) Unmarshal added in v0.3.22

func (m *AclAddRecordResponse) Unmarshal(dAtA []byte) error

func (*AclAddRecordResponse) XXX_DiscardUnknown added in v0.3.22

func (m *AclAddRecordResponse) XXX_DiscardUnknown()

func (*AclAddRecordResponse) XXX_Marshal added in v0.3.22

func (m *AclAddRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AclAddRecordResponse) XXX_Merge added in v0.3.22

func (m *AclAddRecordResponse) XXX_Merge(src proto.Message)

func (*AclAddRecordResponse) XXX_Size added in v0.3.22

func (m *AclAddRecordResponse) XXX_Size() int

func (*AclAddRecordResponse) XXX_Unmarshal added in v0.3.22

func (m *AclAddRecordResponse) XXX_Unmarshal(b []byte) error

type AclGetRecordsRequest added in v0.3.22

type AclGetRecordsRequest struct {
	SpaceId string `protobuf:"bytes,1,opt,name=spaceId,proto3" json:"spaceId,omitempty"`
	AclHead string `protobuf:"bytes,2,opt,name=aclHead,proto3" json:"aclHead,omitempty"`
}

AclGetRecordsRequest can optionally contain the last known aclHead, the server will return only new records or an empty list if there are no new records. If aclHead is not provided the whole list will be returned.

func (*AclGetRecordsRequest) Descriptor added in v0.3.22

func (*AclGetRecordsRequest) Descriptor() ([]byte, []int)

func (*AclGetRecordsRequest) GetAclHead added in v0.3.22

func (m *AclGetRecordsRequest) GetAclHead() string

func (*AclGetRecordsRequest) GetSpaceId added in v0.3.22

func (m *AclGetRecordsRequest) GetSpaceId() string

func (*AclGetRecordsRequest) Marshal added in v0.3.22

func (m *AclGetRecordsRequest) Marshal() (dAtA []byte, err error)

func (*AclGetRecordsRequest) MarshalTo added in v0.3.22

func (m *AclGetRecordsRequest) MarshalTo(dAtA []byte) (int, error)

func (*AclGetRecordsRequest) MarshalToSizedBuffer added in v0.3.22

func (m *AclGetRecordsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AclGetRecordsRequest) ProtoMessage added in v0.3.22

func (*AclGetRecordsRequest) ProtoMessage()

func (*AclGetRecordsRequest) Reset added in v0.3.22

func (m *AclGetRecordsRequest) Reset()

func (*AclGetRecordsRequest) Size added in v0.3.22

func (m *AclGetRecordsRequest) Size() (n int)

func (*AclGetRecordsRequest) String added in v0.3.22

func (m *AclGetRecordsRequest) String() string

func (*AclGetRecordsRequest) Unmarshal added in v0.3.22

func (m *AclGetRecordsRequest) Unmarshal(dAtA []byte) error

func (*AclGetRecordsRequest) XXX_DiscardUnknown added in v0.3.22

func (m *AclGetRecordsRequest) XXX_DiscardUnknown()

func (*AclGetRecordsRequest) XXX_Marshal added in v0.3.22

func (m *AclGetRecordsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AclGetRecordsRequest) XXX_Merge added in v0.3.22

func (m *AclGetRecordsRequest) XXX_Merge(src proto.Message)

func (*AclGetRecordsRequest) XXX_Size added in v0.3.22

func (m *AclGetRecordsRequest) XXX_Size() int

func (*AclGetRecordsRequest) XXX_Unmarshal added in v0.3.22

func (m *AclGetRecordsRequest) XXX_Unmarshal(b []byte) error

type AclGetRecordsResponse added in v0.3.22

type AclGetRecordsResponse struct {
	Records [][]byte `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
}

AclGetRecordsResponse contains list of marshaled consensusproto.RawRecordWithId

func (*AclGetRecordsResponse) Descriptor added in v0.3.22

func (*AclGetRecordsResponse) Descriptor() ([]byte, []int)

func (*AclGetRecordsResponse) GetRecords added in v0.3.22

func (m *AclGetRecordsResponse) GetRecords() [][]byte

func (*AclGetRecordsResponse) Marshal added in v0.3.22

func (m *AclGetRecordsResponse) Marshal() (dAtA []byte, err error)

func (*AclGetRecordsResponse) MarshalTo added in v0.3.22

func (m *AclGetRecordsResponse) MarshalTo(dAtA []byte) (int, error)

func (*AclGetRecordsResponse) MarshalToSizedBuffer added in v0.3.22

func (m *AclGetRecordsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AclGetRecordsResponse) ProtoMessage added in v0.3.22

func (*AclGetRecordsResponse) ProtoMessage()

func (*AclGetRecordsResponse) Reset added in v0.3.22

func (m *AclGetRecordsResponse) Reset()

func (*AclGetRecordsResponse) Size added in v0.3.22

func (m *AclGetRecordsResponse) Size() (n int)

func (*AclGetRecordsResponse) String added in v0.3.22

func (m *AclGetRecordsResponse) String() string

func (*AclGetRecordsResponse) Unmarshal added in v0.3.22

func (m *AclGetRecordsResponse) Unmarshal(dAtA []byte) error

func (*AclGetRecordsResponse) XXX_DiscardUnknown added in v0.3.22

func (m *AclGetRecordsResponse) XXX_DiscardUnknown()

func (*AclGetRecordsResponse) XXX_Marshal added in v0.3.22

func (m *AclGetRecordsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AclGetRecordsResponse) XXX_Merge added in v0.3.22

func (m *AclGetRecordsResponse) XXX_Merge(src proto.Message)

func (*AclGetRecordsResponse) XXX_Size added in v0.3.22

func (m *AclGetRecordsResponse) XXX_Size() int

func (*AclGetRecordsResponse) XXX_Unmarshal added in v0.3.22

func (m *AclGetRecordsResponse) XXX_Unmarshal(b []byte) error

type DRPCCoordinatorClient

func NewDRPCCoordinatorClient

func NewDRPCCoordinatorClient(cc drpc.Conn) DRPCCoordinatorClient

type DRPCCoordinatorDescription

type DRPCCoordinatorDescription struct{}

func (DRPCCoordinatorDescription) Method

func (DRPCCoordinatorDescription) Method(n int) (string, drpc.Encoding, drpc.Receiver, interface{}, bool)

func (DRPCCoordinatorDescription) NumMethods

func (DRPCCoordinatorDescription) NumMethods() int

type DRPCCoordinatorUnimplementedServer

type DRPCCoordinatorUnimplementedServer struct{}

func (*DRPCCoordinatorUnimplementedServer) AccountDelete added in v0.3.4

func (*DRPCCoordinatorUnimplementedServer) AccountLimitsSet added in v0.3.33

func (*DRPCCoordinatorUnimplementedServer) AccountRevertDeletion added in v0.3.4

func (*DRPCCoordinatorUnimplementedServer) AclAddRecord added in v0.3.22

func (*DRPCCoordinatorUnimplementedServer) AclGetRecords added in v0.3.22

func (*DRPCCoordinatorUnimplementedServer) DeletionLog added in v0.3.0

func (*DRPCCoordinatorUnimplementedServer) NetworkConfiguration

func (*DRPCCoordinatorUnimplementedServer) SpaceDelete added in v0.3.4

func (*DRPCCoordinatorUnimplementedServer) SpaceMakeShareable added in v0.4.0

func (*DRPCCoordinatorUnimplementedServer) SpaceMakeUnshareable added in v0.4.0

func (*DRPCCoordinatorUnimplementedServer) SpaceSign

func (*DRPCCoordinatorUnimplementedServer) SpaceStatusChange

func (*DRPCCoordinatorUnimplementedServer) SpaceStatusCheck

func (*DRPCCoordinatorUnimplementedServer) SpaceStatusCheckMany added in v0.3.0

type DRPCCoordinator_AccountDeleteStream added in v0.3.4

type DRPCCoordinator_AccountDeleteStream interface {
	drpc.Stream
	SendAndClose(*AccountDeleteResponse) error
}

type DRPCCoordinator_AccountLimitsSetStream added in v0.3.33

type DRPCCoordinator_AccountLimitsSetStream interface {
	drpc.Stream
	SendAndClose(*AccountLimitsSetResponse) error
}

type DRPCCoordinator_AccountRevertDeletionStream added in v0.3.4

type DRPCCoordinator_AccountRevertDeletionStream interface {
	drpc.Stream
	SendAndClose(*AccountRevertDeletionResponse) error
}

type DRPCCoordinator_AclAddRecordStream added in v0.3.22

type DRPCCoordinator_AclAddRecordStream interface {
	drpc.Stream
	SendAndClose(*AclAddRecordResponse) error
}

type DRPCCoordinator_AclGetRecordsStream added in v0.3.22

type DRPCCoordinator_AclGetRecordsStream interface {
	drpc.Stream
	SendAndClose(*AclGetRecordsResponse) error
}

type DRPCCoordinator_DeletionLogStream added in v0.3.0

type DRPCCoordinator_DeletionLogStream interface {
	drpc.Stream
	SendAndClose(*DeletionLogResponse) error
}

type DRPCCoordinator_NetworkConfigurationStream

type DRPCCoordinator_NetworkConfigurationStream interface {
	drpc.Stream
	SendAndClose(*NetworkConfigurationResponse) error
}

type DRPCCoordinator_SpaceDeleteStream added in v0.3.4

type DRPCCoordinator_SpaceDeleteStream interface {
	drpc.Stream
	SendAndClose(*SpaceDeleteResponse) error
}

type DRPCCoordinator_SpaceMakeShareableStream added in v0.4.0

type DRPCCoordinator_SpaceMakeShareableStream interface {
	drpc.Stream
	SendAndClose(*SpaceMakeShareableResponse) error
}

type DRPCCoordinator_SpaceMakeUnshareableStream added in v0.4.0

type DRPCCoordinator_SpaceMakeUnshareableStream interface {
	drpc.Stream
	SendAndClose(*SpaceMakeUnshareableResponse) error
}

type DRPCCoordinator_SpaceSignStream

type DRPCCoordinator_SpaceSignStream interface {
	drpc.Stream
	SendAndClose(*SpaceSignResponse) error
}

type DRPCCoordinator_SpaceStatusChangeStream

type DRPCCoordinator_SpaceStatusChangeStream interface {
	drpc.Stream
	SendAndClose(*SpaceStatusChangeResponse) error
}

type DRPCCoordinator_SpaceStatusCheckManyStream added in v0.3.0

type DRPCCoordinator_SpaceStatusCheckManyStream interface {
	drpc.Stream
	SendAndClose(*SpaceStatusCheckManyResponse) error
}

type DRPCCoordinator_SpaceStatusCheckStream

type DRPCCoordinator_SpaceStatusCheckStream interface {
	drpc.Stream
	SendAndClose(*SpaceStatusCheckResponse) error
}

type DeletionConfirmPayload added in v0.3.0

type DeletionConfirmPayload struct {
	// SpaceId is the identifier of space
	SpaceId string `protobuf:"bytes,1,opt,name=spaceId,proto3" json:"spaceId,omitempty"`
	// PeerId of receipt requester
	PeerId string `protobuf:"bytes,2,opt,name=peerId,proto3" json:"peerId,omitempty"`
	// AccountIdentity is an identity of a space owner
	AccountIdentity []byte `protobuf:"bytes,3,opt,name=accountIdentity,proto3" json:"accountIdentity,omitempty"`
	// NetworkId is the id of a network where the deletion was requested
	NetworkId string `protobuf:"bytes,4,opt,name=networkId,proto3" json:"networkId,omitempty"`
	// Timestamp is a timestamp when the deletion was requested
	Timestamp int64 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}

DeletionConfirmPayload contains payload for deletion confirmation

func (*DeletionConfirmPayload) Descriptor added in v0.3.0

func (*DeletionConfirmPayload) Descriptor() ([]byte, []int)

func (*DeletionConfirmPayload) GetAccountIdentity added in v0.3.0

func (m *DeletionConfirmPayload) GetAccountIdentity() []byte

func (*DeletionConfirmPayload) GetNetworkId added in v0.3.0

func (m *DeletionConfirmPayload) GetNetworkId() string

func (*DeletionConfirmPayload) GetPeerId added in v0.3.0

func (m *DeletionConfirmPayload) GetPeerId() string

func (*DeletionConfirmPayload) GetSpaceId added in v0.3.0

func (m *DeletionConfirmPayload) GetSpaceId() string

func (*DeletionConfirmPayload) GetTimestamp added in v0.3.0

func (m *DeletionConfirmPayload) GetTimestamp() int64

func (*DeletionConfirmPayload) Marshal added in v0.3.0

func (m *DeletionConfirmPayload) Marshal() (dAtA []byte, err error)

func (*DeletionConfirmPayload) MarshalTo added in v0.3.0

func (m *DeletionConfirmPayload) MarshalTo(dAtA []byte) (int, error)

func (*DeletionConfirmPayload) MarshalToSizedBuffer added in v0.3.0

func (m *DeletionConfirmPayload) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeletionConfirmPayload) ProtoMessage added in v0.3.0

func (*DeletionConfirmPayload) ProtoMessage()

func (*DeletionConfirmPayload) Reset added in v0.3.0

func (m *DeletionConfirmPayload) Reset()

func (*DeletionConfirmPayload) Size added in v0.3.0

func (m *DeletionConfirmPayload) Size() (n int)

func (*DeletionConfirmPayload) String added in v0.3.0

func (m *DeletionConfirmPayload) String() string

func (*DeletionConfirmPayload) Unmarshal added in v0.3.0

func (m *DeletionConfirmPayload) Unmarshal(dAtA []byte) error

func (*DeletionConfirmPayload) XXX_DiscardUnknown added in v0.3.0

func (m *DeletionConfirmPayload) XXX_DiscardUnknown()

func (*DeletionConfirmPayload) XXX_Marshal added in v0.3.0

func (m *DeletionConfirmPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeletionConfirmPayload) XXX_Merge added in v0.3.0

func (m *DeletionConfirmPayload) XXX_Merge(src proto.Message)

func (*DeletionConfirmPayload) XXX_Size added in v0.3.0

func (m *DeletionConfirmPayload) XXX_Size() int

func (*DeletionConfirmPayload) XXX_Unmarshal added in v0.3.0

func (m *DeletionConfirmPayload) XXX_Unmarshal(b []byte) error

type DeletionConfirmPayloadWithSignature added in v0.3.0

type DeletionConfirmPayloadWithSignature struct {
	DeletionPayload []byte `protobuf:"bytes,1,opt,name=deletionPayload,proto3" json:"deletionPayload,omitempty"`
	Signature       []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
}

DeletionConfirmPayloadWithSignature contains protobuf encoded deletion payload and its signature

func PrepareAccountDeleteConfirmation added in v0.3.4

func PrepareAccountDeleteConfirmation(privKey crypto.PrivKey, peerId, networkId string) (signed *DeletionConfirmPayloadWithSignature, err error)

func PrepareDeleteConfirmation added in v0.3.0

func PrepareDeleteConfirmation(privKey crypto.PrivKey, spaceId, peerId, networkId string) (signed *DeletionConfirmPayloadWithSignature, err error)

func (*DeletionConfirmPayloadWithSignature) Descriptor added in v0.3.0

func (*DeletionConfirmPayloadWithSignature) Descriptor() ([]byte, []int)

func (*DeletionConfirmPayloadWithSignature) GetDeletionPayload added in v0.3.0

func (m *DeletionConfirmPayloadWithSignature) GetDeletionPayload() []byte

func (*DeletionConfirmPayloadWithSignature) GetSignature added in v0.3.0

func (m *DeletionConfirmPayloadWithSignature) GetSignature() []byte

func (*DeletionConfirmPayloadWithSignature) Marshal added in v0.3.0

func (m *DeletionConfirmPayloadWithSignature) Marshal() (dAtA []byte, err error)

func (*DeletionConfirmPayloadWithSignature) MarshalTo added in v0.3.0

func (m *DeletionConfirmPayloadWithSignature) MarshalTo(dAtA []byte) (int, error)

func (*DeletionConfirmPayloadWithSignature) MarshalToSizedBuffer added in v0.3.0

func (m *DeletionConfirmPayloadWithSignature) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeletionConfirmPayloadWithSignature) ProtoMessage added in v0.3.0

func (*DeletionConfirmPayloadWithSignature) ProtoMessage()

func (*DeletionConfirmPayloadWithSignature) Reset added in v0.3.0

func (*DeletionConfirmPayloadWithSignature) Size added in v0.3.0

func (*DeletionConfirmPayloadWithSignature) String added in v0.3.0

func (*DeletionConfirmPayloadWithSignature) Unmarshal added in v0.3.0

func (m *DeletionConfirmPayloadWithSignature) Unmarshal(dAtA []byte) error

func (*DeletionConfirmPayloadWithSignature) XXX_DiscardUnknown added in v0.3.0

func (m *DeletionConfirmPayloadWithSignature) XXX_DiscardUnknown()

func (*DeletionConfirmPayloadWithSignature) XXX_Marshal added in v0.3.0

func (m *DeletionConfirmPayloadWithSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeletionConfirmPayloadWithSignature) XXX_Merge added in v0.3.0

func (*DeletionConfirmPayloadWithSignature) XXX_Size added in v0.3.0

func (*DeletionConfirmPayloadWithSignature) XXX_Unmarshal added in v0.3.0

func (m *DeletionConfirmPayloadWithSignature) XXX_Unmarshal(b []byte) error

type DeletionLogRecord added in v0.3.0

type DeletionLogRecord struct {
	// Id is a record id
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// SpaceId is a space identifier
	SpaceId string `protobuf:"bytes,2,opt,name=spaceId,proto3" json:"spaceId,omitempty"`
	// DeletionLogRecordStatus is a space status
	Status DeletionLogRecordStatus `protobuf:"varint,3,opt,name=status,proto3,enum=coordinator.DeletionLogRecordStatus" json:"status,omitempty"`
	// Timestamp is a unixtimestamp of record creation
	Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// FileGroup is a key of group for file nodes
	FileGroup string `protobuf:"bytes,5,opt,name=fileGroup,proto3" json:"fileGroup,omitempty"`
}

func (*DeletionLogRecord) Descriptor added in v0.3.0

func (*DeletionLogRecord) Descriptor() ([]byte, []int)

func (*DeletionLogRecord) GetFileGroup added in v0.3.7

func (m *DeletionLogRecord) GetFileGroup() string

func (*DeletionLogRecord) GetId added in v0.3.0

func (m *DeletionLogRecord) GetId() string

func (*DeletionLogRecord) GetSpaceId added in v0.3.0

func (m *DeletionLogRecord) GetSpaceId() string

func (*DeletionLogRecord) GetStatus added in v0.3.0

func (*DeletionLogRecord) GetTimestamp added in v0.3.0

func (m *DeletionLogRecord) GetTimestamp() int64

func (*DeletionLogRecord) Marshal added in v0.3.0

func (m *DeletionLogRecord) Marshal() (dAtA []byte, err error)

func (*DeletionLogRecord) MarshalTo added in v0.3.0

func (m *DeletionLogRecord) MarshalTo(dAtA []byte) (int, error)

func (*DeletionLogRecord) MarshalToSizedBuffer added in v0.3.0

func (m *DeletionLogRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeletionLogRecord) ProtoMessage added in v0.3.0

func (*DeletionLogRecord) ProtoMessage()

func (*DeletionLogRecord) Reset added in v0.3.0

func (m *DeletionLogRecord) Reset()

func (*DeletionLogRecord) Size added in v0.3.0

func (m *DeletionLogRecord) Size() (n int)

func (*DeletionLogRecord) String added in v0.3.0

func (m *DeletionLogRecord) String() string

func (*DeletionLogRecord) Unmarshal added in v0.3.0

func (m *DeletionLogRecord) Unmarshal(dAtA []byte) error

func (*DeletionLogRecord) XXX_DiscardUnknown added in v0.3.0

func (m *DeletionLogRecord) XXX_DiscardUnknown()

func (*DeletionLogRecord) XXX_Marshal added in v0.3.0

func (m *DeletionLogRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeletionLogRecord) XXX_Merge added in v0.3.0

func (m *DeletionLogRecord) XXX_Merge(src proto.Message)

func (*DeletionLogRecord) XXX_Size added in v0.3.0

func (m *DeletionLogRecord) XXX_Size() int

func (*DeletionLogRecord) XXX_Unmarshal added in v0.3.0

func (m *DeletionLogRecord) XXX_Unmarshal(b []byte) error

type DeletionLogRecordStatus added in v0.3.0

type DeletionLogRecordStatus int32
const (
	// Ok means space should operate in a normal
	DeletionLogRecordStatus_Ok DeletionLogRecordStatus = 0
	// RemovePrepare means space prepared to remove, sync should be disabled
	DeletionLogRecordStatus_RemovePrepare DeletionLogRecordStatus = 1
	// Remove means space should be removed
	DeletionLogRecordStatus_Remove DeletionLogRecordStatus = 2
)

func (DeletionLogRecordStatus) EnumDescriptor added in v0.3.0

func (DeletionLogRecordStatus) EnumDescriptor() ([]byte, []int)

func (DeletionLogRecordStatus) String added in v0.3.0

func (x DeletionLogRecordStatus) String() string

type DeletionLogRequest added in v0.3.0

type DeletionLogRequest struct {
	// AfterId is the last known logId to request records after this id. If it is empty will be returned a list from the beginning.
	AfterId string `protobuf:"bytes,1,opt,name=afterId,proto3" json:"afterId,omitempty"`
	// Limit is a desired record count in response
	Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
}

func (*DeletionLogRequest) Descriptor added in v0.3.0

func (*DeletionLogRequest) Descriptor() ([]byte, []int)

func (*DeletionLogRequest) GetAfterId added in v0.3.0

func (m *DeletionLogRequest) GetAfterId() string

func (*DeletionLogRequest) GetLimit added in v0.3.0

func (m *DeletionLogRequest) GetLimit() uint32

func (*DeletionLogRequest) Marshal added in v0.3.0

func (m *DeletionLogRequest) Marshal() (dAtA []byte, err error)

func (*DeletionLogRequest) MarshalTo added in v0.3.0

func (m *DeletionLogRequest) MarshalTo(dAtA []byte) (int, error)

func (*DeletionLogRequest) MarshalToSizedBuffer added in v0.3.0

func (m *DeletionLogRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeletionLogRequest) ProtoMessage added in v0.3.0

func (*DeletionLogRequest) ProtoMessage()

func (*DeletionLogRequest) Reset added in v0.3.0

func (m *DeletionLogRequest) Reset()

func (*DeletionLogRequest) Size added in v0.3.0

func (m *DeletionLogRequest) Size() (n int)

func (*DeletionLogRequest) String added in v0.3.0

func (m *DeletionLogRequest) String() string

func (*DeletionLogRequest) Unmarshal added in v0.3.0

func (m *DeletionLogRequest) Unmarshal(dAtA []byte) error

func (*DeletionLogRequest) XXX_DiscardUnknown added in v0.3.0

func (m *DeletionLogRequest) XXX_DiscardUnknown()

func (*DeletionLogRequest) XXX_Marshal added in v0.3.0

func (m *DeletionLogRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeletionLogRequest) XXX_Merge added in v0.3.0

func (m *DeletionLogRequest) XXX_Merge(src proto.Message)

func (*DeletionLogRequest) XXX_Size added in v0.3.0

func (m *DeletionLogRequest) XXX_Size() int

func (*DeletionLogRequest) XXX_Unmarshal added in v0.3.0

func (m *DeletionLogRequest) XXX_Unmarshal(b []byte) error

type DeletionLogResponse added in v0.3.0

type DeletionLogResponse struct {
	// DeletionLogRecord list of records, if there are no new records will be empty
	Records []*DeletionLogRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
	// HasMore indicates if there are records left
	HasMore bool `protobuf:"varint,2,opt,name=hasMore,proto3" json:"hasMore,omitempty"`
}

func (*DeletionLogResponse) Descriptor added in v0.3.0

func (*DeletionLogResponse) Descriptor() ([]byte, []int)

func (*DeletionLogResponse) GetHasMore added in v0.3.0

func (m *DeletionLogResponse) GetHasMore() bool

func (*DeletionLogResponse) GetRecords added in v0.3.0

func (m *DeletionLogResponse) GetRecords() []*DeletionLogRecord

func (*DeletionLogResponse) Marshal added in v0.3.0

func (m *DeletionLogResponse) Marshal() (dAtA []byte, err error)

func (*DeletionLogResponse) MarshalTo added in v0.3.0

func (m *DeletionLogResponse) MarshalTo(dAtA []byte) (int, error)

func (*DeletionLogResponse) MarshalToSizedBuffer added in v0.3.0

func (m *DeletionLogResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeletionLogResponse) ProtoMessage added in v0.3.0

func (*DeletionLogResponse) ProtoMessage()

func (*DeletionLogResponse) Reset added in v0.3.0

func (m *DeletionLogResponse) Reset()

func (*DeletionLogResponse) Size added in v0.3.0

func (m *DeletionLogResponse) Size() (n int)

func (*DeletionLogResponse) String added in v0.3.0

func (m *DeletionLogResponse) String() string

func (*DeletionLogResponse) Unmarshal added in v0.3.0

func (m *DeletionLogResponse) Unmarshal(dAtA []byte) error

func (*DeletionLogResponse) XXX_DiscardUnknown added in v0.3.0

func (m *DeletionLogResponse) XXX_DiscardUnknown()

func (*DeletionLogResponse) XXX_Marshal added in v0.3.0

func (m *DeletionLogResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeletionLogResponse) XXX_Merge added in v0.3.0

func (m *DeletionLogResponse) XXX_Merge(src proto.Message)

func (*DeletionLogResponse) XXX_Size added in v0.3.0

func (m *DeletionLogResponse) XXX_Size() int

func (*DeletionLogResponse) XXX_Unmarshal added in v0.3.0

func (m *DeletionLogResponse) XXX_Unmarshal(b []byte) error

type DeletionPayloadType added in v0.3.0

type DeletionPayloadType int32

DeletionChangeType determines the type of deletion payload

const (
	DeletionPayloadType_Tree    DeletionPayloadType = 0
	DeletionPayloadType_Confirm DeletionPayloadType = 1
	DeletionPayloadType_Account DeletionPayloadType = 2
)

func (DeletionPayloadType) EnumDescriptor added in v0.3.0

func (DeletionPayloadType) EnumDescriptor() ([]byte, []int)

func (DeletionPayloadType) String added in v0.3.0

func (x DeletionPayloadType) String() string

type ErrorCodes

type ErrorCodes int32
const (
	ErrorCodes_Unexpected           ErrorCodes = 0
	ErrorCodes_SpaceDeleted         ErrorCodes = 1
	ErrorCodes_SpaceDeletionPending ErrorCodes = 2
	ErrorCodes_SpaceCreated         ErrorCodes = 3
	ErrorCodes_SpaceNotExists       ErrorCodes = 4
	ErrorCodes_SpaceLimitReached    ErrorCodes = 5
	ErrorCodes_AccountDeleted       ErrorCodes = 6
	ErrorCodes_Forbidden            ErrorCodes = 7
	ErrorCodes_AclHeadIsMissing     ErrorCodes = 8
	ErrorCodes_AclNonEmpty          ErrorCodes = 9
	ErrorCodes_SpaceNotShareable    ErrorCodes = 10
	ErrorCodes_ErrorOffset          ErrorCodes = 300
)

func (ErrorCodes) EnumDescriptor

func (ErrorCodes) EnumDescriptor() ([]byte, []int)

func (ErrorCodes) String

func (x ErrorCodes) String() string

type NetworkConfigurationRequest

type NetworkConfigurationRequest struct {
	// currenId of the client configuration
	// if the currentId is equal to the latest configuration id then the response will not contain a nodes list
	CurrentId string `protobuf:"bytes,1,opt,name=currentId,proto3" json:"currentId,omitempty"`
}

NetworkConfigurationRequest contains currenId of the client configuration, it can be empty

func (*NetworkConfigurationRequest) Descriptor

func (*NetworkConfigurationRequest) Descriptor() ([]byte, []int)

func (*NetworkConfigurationRequest) GetCurrentId

func (m *NetworkConfigurationRequest) GetCurrentId() string

func (*NetworkConfigurationRequest) Marshal

func (m *NetworkConfigurationRequest) Marshal() (dAtA []byte, err error)

func (*NetworkConfigurationRequest) MarshalTo

func (m *NetworkConfigurationRequest) MarshalTo(dAtA []byte) (int, error)

func (*NetworkConfigurationRequest) MarshalToSizedBuffer

func (m *NetworkConfigurationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NetworkConfigurationRequest) ProtoMessage

func (*NetworkConfigurationRequest) ProtoMessage()

func (*NetworkConfigurationRequest) Reset

func (m *NetworkConfigurationRequest) Reset()

func (*NetworkConfigurationRequest) Size

func (m *NetworkConfigurationRequest) Size() (n int)

func (*NetworkConfigurationRequest) String

func (m *NetworkConfigurationRequest) String() string

func (*NetworkConfigurationRequest) Unmarshal

func (m *NetworkConfigurationRequest) Unmarshal(dAtA []byte) error

func (*NetworkConfigurationRequest) XXX_DiscardUnknown

func (m *NetworkConfigurationRequest) XXX_DiscardUnknown()

func (*NetworkConfigurationRequest) XXX_Marshal

func (m *NetworkConfigurationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkConfigurationRequest) XXX_Merge

func (m *NetworkConfigurationRequest) XXX_Merge(src proto.Message)

func (*NetworkConfigurationRequest) XXX_Size

func (m *NetworkConfigurationRequest) XXX_Size() int

func (*NetworkConfigurationRequest) XXX_Unmarshal

func (m *NetworkConfigurationRequest) XXX_Unmarshal(b []byte) error

type NetworkConfigurationResponse

type NetworkConfigurationResponse struct {
	// id of current configuration
	ConfigurationId string `protobuf:"bytes,1,opt,name=configurationId,proto3" json:"configurationId,omitempty"`
	// network id
	NetworkId string `protobuf:"bytes,2,opt,name=networkId,proto3" json:"networkId,omitempty"`
	// nodes list - it will be empty if the client's currentId is equal configurationId
	Nodes []*Node `protobuf:"bytes,3,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// unix timestamp of the creation time of configuration
	CreationTimeUnix uint64 `protobuf:"varint,4,opt,name=creationTimeUnix,proto3" json:"creationTimeUnix,omitempty"`
}

NetworkConfigurationResponse contains list of nodes

func (*NetworkConfigurationResponse) Descriptor

func (*NetworkConfigurationResponse) Descriptor() ([]byte, []int)

func (*NetworkConfigurationResponse) GetConfigurationId

func (m *NetworkConfigurationResponse) GetConfigurationId() string

func (*NetworkConfigurationResponse) GetCreationTimeUnix

func (m *NetworkConfigurationResponse) GetCreationTimeUnix() uint64

func (*NetworkConfigurationResponse) GetNetworkId

func (m *NetworkConfigurationResponse) GetNetworkId() string

func (*NetworkConfigurationResponse) GetNodes

func (m *NetworkConfigurationResponse) GetNodes() []*Node

func (*NetworkConfigurationResponse) Marshal

func (m *NetworkConfigurationResponse) Marshal() (dAtA []byte, err error)

func (*NetworkConfigurationResponse) MarshalTo

func (m *NetworkConfigurationResponse) MarshalTo(dAtA []byte) (int, error)

func (*NetworkConfigurationResponse) MarshalToSizedBuffer

func (m *NetworkConfigurationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NetworkConfigurationResponse) ProtoMessage

func (*NetworkConfigurationResponse) ProtoMessage()

func (*NetworkConfigurationResponse) Reset

func (m *NetworkConfigurationResponse) Reset()

func (*NetworkConfigurationResponse) Size

func (m *NetworkConfigurationResponse) Size() (n int)

func (*NetworkConfigurationResponse) String

func (*NetworkConfigurationResponse) Unmarshal

func (m *NetworkConfigurationResponse) Unmarshal(dAtA []byte) error

func (*NetworkConfigurationResponse) XXX_DiscardUnknown

func (m *NetworkConfigurationResponse) XXX_DiscardUnknown()

func (*NetworkConfigurationResponse) XXX_Marshal

func (m *NetworkConfigurationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkConfigurationResponse) XXX_Merge

func (m *NetworkConfigurationResponse) XXX_Merge(src proto.Message)

func (*NetworkConfigurationResponse) XXX_Size

func (m *NetworkConfigurationResponse) XXX_Size() int

func (*NetworkConfigurationResponse) XXX_Unmarshal

func (m *NetworkConfigurationResponse) XXX_Unmarshal(b []byte) error

type Node

type Node struct {
	// peerId - it's a peer identifier (libp2p format string) so it's an encoded publicKey
	PeerId string `protobuf:"bytes,1,opt,name=peerId,proto3" json:"peerId,omitempty"`
	// list of node addresses
	Addresses []string `protobuf:"bytes,2,rep,name=addresses,proto3" json:"addresses,omitempty"`
	// list of supported APIs
	Types []NodeType `protobuf:"varint,3,rep,packed,name=types,proto3,enum=coordinator.NodeType" json:"types,omitempty"`
}

Node describes one node in the network

func (*Node) Descriptor

func (*Node) Descriptor() ([]byte, []int)

func (*Node) GetAddresses

func (m *Node) GetAddresses() []string

func (*Node) GetPeerId

func (m *Node) GetPeerId() string

func (*Node) GetTypes

func (m *Node) GetTypes() []NodeType

func (*Node) Marshal

func (m *Node) Marshal() (dAtA []byte, err error)

func (*Node) MarshalTo

func (m *Node) MarshalTo(dAtA []byte) (int, error)

func (*Node) MarshalToSizedBuffer

func (m *Node) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) Reset

func (m *Node) Reset()

func (*Node) Size

func (m *Node) Size() (n int)

func (*Node) String

func (m *Node) String() string

func (*Node) Unmarshal

func (m *Node) Unmarshal(dAtA []byte) error

func (*Node) XXX_DiscardUnknown

func (m *Node) XXX_DiscardUnknown()

func (*Node) XXX_Marshal

func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Node) XXX_Merge

func (m *Node) XXX_Merge(src proto.Message)

func (*Node) XXX_Size

func (m *Node) XXX_Size() int

func (*Node) XXX_Unmarshal

func (m *Node) XXX_Unmarshal(b []byte) error

type NodeType

type NodeType int32

NodeType determines the type of API that a node supports

const (
	// TreeAPI supports space/tree sync api
	NodeType_TreeAPI NodeType = 0
	// FileAPI support file api
	NodeType_FileAPI NodeType = 1
	// CoordinatorAPI supports coordinator api
	NodeType_CoordinatorAPI NodeType = 2
	// ConsensusAPI supports consensus api
	NodeType_ConsensusAPI NodeType = 3
	// NamingNodeAPI supports naming node api
	// (see any-ns-node repository)
	NodeType_NamingNodeAPI NodeType = 4
	// PaymentProcessingAPI supports payment processing api
	// (see any-pp-node repository)
	NodeType_PaymentProcessingAPI NodeType = 5
)

func (NodeType) EnumDescriptor

func (NodeType) EnumDescriptor() ([]byte, []int)

func (NodeType) String

func (x NodeType) String() string

type SpaceDeleteRequest added in v0.3.4

type SpaceDeleteRequest struct {
	SpaceId           string `protobuf:"bytes,1,opt,name=spaceId,proto3" json:"spaceId,omitempty"`
	DeletionPayloadId string `protobuf:"bytes,2,opt,name=deletionPayloadId,proto3" json:"deletionPayloadId,omitempty"`
	DeletionPayload   []byte `protobuf:"bytes,3,opt,name=deletionPayload,proto3" json:"deletionPayload,omitempty"`
	DeletionDuration  int64  `protobuf:"varint,4,opt,name=deletionDuration,proto3" json:"deletionDuration,omitempty"`
}

SpaceDeleteRequest contains the deletion confirmation for the space to be deleted

func (*SpaceDeleteRequest) Descriptor added in v0.3.4

func (*SpaceDeleteRequest) Descriptor() ([]byte, []int)

func (*SpaceDeleteRequest) GetDeletionDuration added in v0.3.4

func (m *SpaceDeleteRequest) GetDeletionDuration() int64

func (*SpaceDeleteRequest) GetDeletionPayload added in v0.3.4

func (m *SpaceDeleteRequest) GetDeletionPayload() []byte

func (*SpaceDeleteRequest) GetDeletionPayloadId added in v0.3.4

func (m *SpaceDeleteRequest) GetDeletionPayloadId() string

func (*SpaceDeleteRequest) GetSpaceId added in v0.3.4

func (m *SpaceDeleteRequest) GetSpaceId() string

func (*SpaceDeleteRequest) Marshal added in v0.3.4

func (m *SpaceDeleteRequest) Marshal() (dAtA []byte, err error)

func (*SpaceDeleteRequest) MarshalTo added in v0.3.4

func (m *SpaceDeleteRequest) MarshalTo(dAtA []byte) (int, error)

func (*SpaceDeleteRequest) MarshalToSizedBuffer added in v0.3.4

func (m *SpaceDeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SpaceDeleteRequest) ProtoMessage added in v0.3.4

func (*SpaceDeleteRequest) ProtoMessage()

func (*SpaceDeleteRequest) Reset added in v0.3.4

func (m *SpaceDeleteRequest) Reset()

func (*SpaceDeleteRequest) Size added in v0.3.4

func (m *SpaceDeleteRequest) Size() (n int)

func (*SpaceDeleteRequest) String added in v0.3.4

func (m *SpaceDeleteRequest) String() string

func (*SpaceDeleteRequest) Unmarshal added in v0.3.4

func (m *SpaceDeleteRequest) Unmarshal(dAtA []byte) error

func (*SpaceDeleteRequest) XXX_DiscardUnknown added in v0.3.4

func (m *SpaceDeleteRequest) XXX_DiscardUnknown()

func (*SpaceDeleteRequest) XXX_Marshal added in v0.3.4

func (m *SpaceDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpaceDeleteRequest) XXX_Merge added in v0.3.4

func (m *SpaceDeleteRequest) XXX_Merge(src proto.Message)

func (*SpaceDeleteRequest) XXX_Size added in v0.3.4

func (m *SpaceDeleteRequest) XXX_Size() int

func (*SpaceDeleteRequest) XXX_Unmarshal added in v0.3.4

func (m *SpaceDeleteRequest) XXX_Unmarshal(b []byte) error

type SpaceDeleteResponse added in v0.3.4

type SpaceDeleteResponse struct {
	ToBeDeletedTimestamp int64 `protobuf:"varint,1,opt,name=toBeDeletedTimestamp,proto3" json:"toBeDeletedTimestamp,omitempty"`
}

SpaceDeleteResponse contains timestamp when the space is finally deleted

func (*SpaceDeleteResponse) Descriptor added in v0.3.4

func (*SpaceDeleteResponse) Descriptor() ([]byte, []int)

func (*SpaceDeleteResponse) GetToBeDeletedTimestamp added in v0.3.4

func (m *SpaceDeleteResponse) GetToBeDeletedTimestamp() int64

func (*SpaceDeleteResponse) Marshal added in v0.3.4

func (m *SpaceDeleteResponse) Marshal() (dAtA []byte, err error)

func (*SpaceDeleteResponse) MarshalTo added in v0.3.4

func (m *SpaceDeleteResponse) MarshalTo(dAtA []byte) (int, error)

func (*SpaceDeleteResponse) MarshalToSizedBuffer added in v0.3.4

func (m *SpaceDeleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SpaceDeleteResponse) ProtoMessage added in v0.3.4

func (*SpaceDeleteResponse) ProtoMessage()

func (*SpaceDeleteResponse) Reset added in v0.3.4

func (m *SpaceDeleteResponse) Reset()

func (*SpaceDeleteResponse) Size added in v0.3.4

func (m *SpaceDeleteResponse) Size() (n int)

func (*SpaceDeleteResponse) String added in v0.3.4

func (m *SpaceDeleteResponse) String() string

func (*SpaceDeleteResponse) Unmarshal added in v0.3.4

func (m *SpaceDeleteResponse) Unmarshal(dAtA []byte) error

func (*SpaceDeleteResponse) XXX_DiscardUnknown added in v0.3.4

func (m *SpaceDeleteResponse) XXX_DiscardUnknown()

func (*SpaceDeleteResponse) XXX_Marshal added in v0.3.4

func (m *SpaceDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpaceDeleteResponse) XXX_Merge added in v0.3.4

func (m *SpaceDeleteResponse) XXX_Merge(src proto.Message)

func (*SpaceDeleteResponse) XXX_Size added in v0.3.4

func (m *SpaceDeleteResponse) XXX_Size() int

func (*SpaceDeleteResponse) XXX_Unmarshal added in v0.3.4

func (m *SpaceDeleteResponse) XXX_Unmarshal(b []byte) error

type SpaceLimits added in v0.3.33

type SpaceLimits struct {
	ReadMembers  uint32 `protobuf:"varint,1,opt,name=readMembers,proto3" json:"readMembers,omitempty"`
	WriteMembers uint32 `protobuf:"varint,2,opt,name=writeMembers,proto3" json:"writeMembers,omitempty"`
}

func (*SpaceLimits) Descriptor added in v0.3.33

func (*SpaceLimits) Descriptor() ([]byte, []int)

func (*SpaceLimits) GetReadMembers added in v0.3.33

func (m *SpaceLimits) GetReadMembers() uint32

func (*SpaceLimits) GetWriteMembers added in v0.3.33

func (m *SpaceLimits) GetWriteMembers() uint32

func (*SpaceLimits) Marshal added in v0.3.33

func (m *SpaceLimits) Marshal() (dAtA []byte, err error)

func (*SpaceLimits) MarshalTo added in v0.3.33

func (m *SpaceLimits) MarshalTo(dAtA []byte) (int, error)

func (*SpaceLimits) MarshalToSizedBuffer added in v0.3.33

func (m *SpaceLimits) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SpaceLimits) ProtoMessage added in v0.3.33

func (*SpaceLimits) ProtoMessage()

func (*SpaceLimits) Reset added in v0.3.33

func (m *SpaceLimits) Reset()

func (*SpaceLimits) Size added in v0.3.33

func (m *SpaceLimits) Size() (n int)

func (*SpaceLimits) String added in v0.3.33

func (m *SpaceLimits) String() string

func (*SpaceLimits) Unmarshal added in v0.3.33

func (m *SpaceLimits) Unmarshal(dAtA []byte) error

func (*SpaceLimits) XXX_DiscardUnknown added in v0.3.33

func (m *SpaceLimits) XXX_DiscardUnknown()

func (*SpaceLimits) XXX_Marshal added in v0.3.33

func (m *SpaceLimits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpaceLimits) XXX_Merge added in v0.3.33

func (m *SpaceLimits) XXX_Merge(src proto.Message)

func (*SpaceLimits) XXX_Size added in v0.3.33

func (m *SpaceLimits) XXX_Size() int

func (*SpaceLimits) XXX_Unmarshal added in v0.3.33

func (m *SpaceLimits) XXX_Unmarshal(b []byte) error

type SpaceMakeShareableRequest added in v0.4.0

type SpaceMakeShareableRequest struct {
	SpaceId string `protobuf:"bytes,1,opt,name=spaceId,proto3" json:"spaceId,omitempty"`
}

func (*SpaceMakeShareableRequest) Descriptor added in v0.4.0

func (*SpaceMakeShareableRequest) Descriptor() ([]byte, []int)

func (*SpaceMakeShareableRequest) GetSpaceId added in v0.4.0

func (m *SpaceMakeShareableRequest) GetSpaceId() string

func (*SpaceMakeShareableRequest) Marshal added in v0.4.0

func (m *SpaceMakeShareableRequest) Marshal() (dAtA []byte, err error)

func (*SpaceMakeShareableRequest) MarshalTo added in v0.4.0

func (m *SpaceMakeShareableRequest) MarshalTo(dAtA []byte) (int, error)

func (*SpaceMakeShareableRequest) MarshalToSizedBuffer added in v0.4.0

func (m *SpaceMakeShareableRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SpaceMakeShareableRequest) ProtoMessage added in v0.4.0

func (*SpaceMakeShareableRequest) ProtoMessage()

func (*SpaceMakeShareableRequest) Reset added in v0.4.0

func (m *SpaceMakeShareableRequest) Reset()

func (*SpaceMakeShareableRequest) Size added in v0.4.0

func (m *SpaceMakeShareableRequest) Size() (n int)

func (*SpaceMakeShareableRequest) String added in v0.4.0

func (m *SpaceMakeShareableRequest) String() string

func (*SpaceMakeShareableRequest) Unmarshal added in v0.4.0

func (m *SpaceMakeShareableRequest) Unmarshal(dAtA []byte) error

func (*SpaceMakeShareableRequest) XXX_DiscardUnknown added in v0.4.0

func (m *SpaceMakeShareableRequest) XXX_DiscardUnknown()

func (*SpaceMakeShareableRequest) XXX_Marshal added in v0.4.0

func (m *SpaceMakeShareableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpaceMakeShareableRequest) XXX_Merge added in v0.4.0

func (m *SpaceMakeShareableRequest) XXX_Merge(src proto.Message)

func (*SpaceMakeShareableRequest) XXX_Size added in v0.4.0

func (m *SpaceMakeShareableRequest) XXX_Size() int

func (*SpaceMakeShareableRequest) XXX_Unmarshal added in v0.4.0

func (m *SpaceMakeShareableRequest) XXX_Unmarshal(b []byte) error

type SpaceMakeShareableResponse added in v0.4.0

type SpaceMakeShareableResponse struct {
}

func (*SpaceMakeShareableResponse) Descriptor added in v0.4.0

func (*SpaceMakeShareableResponse) Descriptor() ([]byte, []int)

func (*SpaceMakeShareableResponse) Marshal added in v0.4.0

func (m *SpaceMakeShareableResponse) Marshal() (dAtA []byte, err error)

func (*SpaceMakeShareableResponse) MarshalTo added in v0.4.0

func (m *SpaceMakeShareableResponse) MarshalTo(dAtA []byte) (int, error)

func (*SpaceMakeShareableResponse) MarshalToSizedBuffer added in v0.4.0

func (m *SpaceMakeShareableResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SpaceMakeShareableResponse) ProtoMessage added in v0.4.0

func (*SpaceMakeShareableResponse) ProtoMessage()

func (*SpaceMakeShareableResponse) Reset added in v0.4.0

func (m *SpaceMakeShareableResponse) Reset()

func (*SpaceMakeShareableResponse) Size added in v0.4.0

func (m *SpaceMakeShareableResponse) Size() (n int)

func (*SpaceMakeShareableResponse) String added in v0.4.0

func (m *SpaceMakeShareableResponse) String() string

func (*SpaceMakeShareableResponse) Unmarshal added in v0.4.0

func (m *SpaceMakeShareableResponse) Unmarshal(dAtA []byte) error

func (*SpaceMakeShareableResponse) XXX_DiscardUnknown added in v0.4.0

func (m *SpaceMakeShareableResponse) XXX_DiscardUnknown()

func (*SpaceMakeShareableResponse) XXX_Marshal added in v0.4.0

func (m *SpaceMakeShareableResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpaceMakeShareableResponse) XXX_Merge added in v0.4.0

func (m *SpaceMakeShareableResponse) XXX_Merge(src proto.Message)

func (*SpaceMakeShareableResponse) XXX_Size added in v0.4.0

func (m *SpaceMakeShareableResponse) XXX_Size() int

func (*SpaceMakeShareableResponse) XXX_Unmarshal added in v0.4.0

func (m *SpaceMakeShareableResponse) XXX_Unmarshal(b []byte) error

type SpaceMakeUnshareableRequest added in v0.4.0

type SpaceMakeUnshareableRequest struct {
	SpaceId string `protobuf:"bytes,1,opt,name=spaceId,proto3" json:"spaceId,omitempty"`
	AclHead string `protobuf:"bytes,2,opt,name=aclHead,proto3" json:"aclHead,omitempty"`
}

func (*SpaceMakeUnshareableRequest) Descriptor added in v0.4.0

func (*SpaceMakeUnshareableRequest) Descriptor() ([]byte, []int)

func (*SpaceMakeUnshareableRequest) GetAclHead added in v0.4.0

func (m *SpaceMakeUnshareableRequest) GetAclHead() string

func (*SpaceMakeUnshareableRequest) GetSpaceId added in v0.4.0

func (m *SpaceMakeUnshareableRequest) GetSpaceId() string

func (*SpaceMakeUnshareableRequest) Marshal added in v0.4.0

func (m *SpaceMakeUnshareableRequest) Marshal() (dAtA []byte, err error)

func (*SpaceMakeUnshareableRequest) MarshalTo added in v0.4.0

func (m *SpaceMakeUnshareableRequest) MarshalTo(dAtA []byte) (int, error)

func (*SpaceMakeUnshareableRequest) MarshalToSizedBuffer added in v0.4.0

func (m *SpaceMakeUnshareableRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SpaceMakeUnshareableRequest) ProtoMessage added in v0.4.0

func (*SpaceMakeUnshareableRequest) ProtoMessage()

func (*SpaceMakeUnshareableRequest) Reset added in v0.4.0

func (m *SpaceMakeUnshareableRequest) Reset()

func (*SpaceMakeUnshareableRequest) Size added in v0.4.0

func (m *SpaceMakeUnshareableRequest) Size() (n int)

func (*SpaceMakeUnshareableRequest) String added in v0.4.0

func (m *SpaceMakeUnshareableRequest) String() string

func (*SpaceMakeUnshareableRequest) Unmarshal added in v0.4.0

func (m *SpaceMakeUnshareableRequest) Unmarshal(dAtA []byte) error

func (*SpaceMakeUnshareableRequest) XXX_DiscardUnknown added in v0.4.0

func (m *SpaceMakeUnshareableRequest) XXX_DiscardUnknown()

func (*SpaceMakeUnshareableRequest) XXX_Marshal added in v0.4.0

func (m *SpaceMakeUnshareableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpaceMakeUnshareableRequest) XXX_Merge added in v0.4.0

func (m *SpaceMakeUnshareableRequest) XXX_Merge(src proto.Message)

func (*SpaceMakeUnshareableRequest) XXX_Size added in v0.4.0

func (m *SpaceMakeUnshareableRequest) XXX_Size() int

func (*SpaceMakeUnshareableRequest) XXX_Unmarshal added in v0.4.0

func (m *SpaceMakeUnshareableRequest) XXX_Unmarshal(b []byte) error

type SpaceMakeUnshareableResponse added in v0.4.0

type SpaceMakeUnshareableResponse struct {
}

func (*SpaceMakeUnshareableResponse) Descriptor added in v0.4.0

func (*SpaceMakeUnshareableResponse) Descriptor() ([]byte, []int)

func (*SpaceMakeUnshareableResponse) Marshal added in v0.4.0

func (m *SpaceMakeUnshareableResponse) Marshal() (dAtA []byte, err error)

func (*SpaceMakeUnshareableResponse) MarshalTo added in v0.4.0

func (m *SpaceMakeUnshareableResponse) MarshalTo(dAtA []byte) (int, error)

func (*SpaceMakeUnshareableResponse) MarshalToSizedBuffer added in v0.4.0

func (m *SpaceMakeUnshareableResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SpaceMakeUnshareableResponse) ProtoMessage added in v0.4.0

func (*SpaceMakeUnshareableResponse) ProtoMessage()

func (*SpaceMakeUnshareableResponse) Reset added in v0.4.0

func (m *SpaceMakeUnshareableResponse) Reset()

func (*SpaceMakeUnshareableResponse) Size added in v0.4.0

func (m *SpaceMakeUnshareableResponse) Size() (n int)

func (*SpaceMakeUnshareableResponse) String added in v0.4.0

func (*SpaceMakeUnshareableResponse) Unmarshal added in v0.4.0

func (m *SpaceMakeUnshareableResponse) Unmarshal(dAtA []byte) error

func (*SpaceMakeUnshareableResponse) XXX_DiscardUnknown added in v0.4.0

func (m *SpaceMakeUnshareableResponse) XXX_DiscardUnknown()

func (*SpaceMakeUnshareableResponse) XXX_Marshal added in v0.4.0

func (m *SpaceMakeUnshareableResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpaceMakeUnshareableResponse) XXX_Merge added in v0.4.0

func (m *SpaceMakeUnshareableResponse) XXX_Merge(src proto.Message)

func (*SpaceMakeUnshareableResponse) XXX_Size added in v0.4.0

func (m *SpaceMakeUnshareableResponse) XXX_Size() int

func (*SpaceMakeUnshareableResponse) XXX_Unmarshal added in v0.4.0

func (m *SpaceMakeUnshareableResponse) XXX_Unmarshal(b []byte) error

type SpacePermissions added in v0.3.21

type SpacePermissions int32
const (
	SpacePermissions_SpacePermissionsUnknown SpacePermissions = 0
	SpacePermissions_SpacePermissionsOwner   SpacePermissions = 1
)

func (SpacePermissions) EnumDescriptor added in v0.3.21

func (SpacePermissions) EnumDescriptor() ([]byte, []int)

func (SpacePermissions) String added in v0.3.21

func (x SpacePermissions) String() string

type SpaceReceipt

type SpaceReceipt struct {
	// SpaceId is the identifier of space
	SpaceId string `protobuf:"bytes,1,opt,name=spaceId,proto3" json:"spaceId,omitempty"`
	// PeerId of receipt requester
	PeerId string `protobuf:"bytes,2,opt,name=peerId,proto3" json:"peerId,omitempty"`
	// AccountIdentity is an identity of a space owner
	AccountIdentity []byte `protobuf:"bytes,3,opt,name=accountIdentity,proto3" json:"accountIdentity,omitempty"`
	// NetworkId is the id of a network where the receipt is issued
	NetworkId string `protobuf:"bytes,4,opt,name=networkId,proto3" json:"networkId,omitempty"`
	// ValidUntil is a unix-timestamp with a deadline time of receipt validity
	ValidUntil uint64 `protobuf:"varint,5,opt,name=validUntil,proto3" json:"validUntil,omitempty"`
}

SpaceReceipt contains permission to SpacePush operation

func (*SpaceReceipt) Descriptor

func (*SpaceReceipt) Descriptor() ([]byte, []int)

func (*SpaceReceipt) GetAccountIdentity

func (m *SpaceReceipt) GetAccountIdentity() []byte

func (*SpaceReceipt) GetNetworkId

func (m *SpaceReceipt) GetNetworkId() string

func (*SpaceReceipt) GetPeerId

func (m *SpaceReceipt) GetPeerId() string

func (*SpaceReceipt) GetSpaceId

func (m *SpaceReceipt) GetSpaceId() string

func (*SpaceReceipt) GetValidUntil

func (m *SpaceReceipt) GetValidUntil() uint64

func (*SpaceReceipt) Marshal

func (m *SpaceReceipt) Marshal() (dAtA []byte, err error)

func (*SpaceReceipt) MarshalTo

func (m *SpaceReceipt) MarshalTo(dAtA []byte) (int, error)

func (*SpaceReceipt) MarshalToSizedBuffer

func (m *SpaceReceipt) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SpaceReceipt) ProtoMessage

func (*SpaceReceipt) ProtoMessage()

func (*SpaceReceipt) Reset

func (m *SpaceReceipt) Reset()

func (*SpaceReceipt) Size

func (m *SpaceReceipt) Size() (n int)

func (*SpaceReceipt) String

func (m *SpaceReceipt) String() string

func (*SpaceReceipt) Unmarshal

func (m *SpaceReceipt) Unmarshal(dAtA []byte) error

func (*SpaceReceipt) XXX_DiscardUnknown

func (m *SpaceReceipt) XXX_DiscardUnknown()

func (*SpaceReceipt) XXX_Marshal

func (m *SpaceReceipt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpaceReceipt) XXX_Merge

func (m *SpaceReceipt) XXX_Merge(src proto.Message)

func (*SpaceReceipt) XXX_Size

func (m *SpaceReceipt) XXX_Size() int

func (*SpaceReceipt) XXX_Unmarshal

func (m *SpaceReceipt) XXX_Unmarshal(b []byte) error

type SpaceReceiptWithSignature

type SpaceReceiptWithSignature struct {
	SpaceReceiptPayload []byte `protobuf:"bytes,1,opt,name=spaceReceiptPayload,proto3" json:"spaceReceiptPayload,omitempty"`
	Signature           []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
}

SpaceReceiptWithSignature contains protobuf encoded receipt and its signature

func PrepareSpaceReceipt

func PrepareSpaceReceipt(spaceId, peerId string, validPeriod time.Duration, accountPubKey crypto.PubKey, networkKey crypto.PrivKey) (signedReceipt *SpaceReceiptWithSignature, err error)

func (*SpaceReceiptWithSignature) Descriptor

func (*SpaceReceiptWithSignature) Descriptor() ([]byte, []int)

func (*SpaceReceiptWithSignature) GetSignature

func (m *SpaceReceiptWithSignature) GetSignature() []byte

func (*SpaceReceiptWithSignature) GetSpaceReceiptPayload

func (m *SpaceReceiptWithSignature) GetSpaceReceiptPayload() []byte

func (*SpaceReceiptWithSignature) Marshal

func (m *SpaceReceiptWithSignature) Marshal() (dAtA []byte, err error)

func (*SpaceReceiptWithSignature) MarshalTo

func (m *SpaceReceiptWithSignature) MarshalTo(dAtA []byte) (int, error)

func (*SpaceReceiptWithSignature) MarshalToSizedBuffer

func (m *SpaceReceiptWithSignature) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SpaceReceiptWithSignature) ProtoMessage

func (*SpaceReceiptWithSignature) ProtoMessage()

func (*SpaceReceiptWithSignature) Reset

func (m *SpaceReceiptWithSignature) Reset()

func (*SpaceReceiptWithSignature) Size

func (m *SpaceReceiptWithSignature) Size() (n int)

func (*SpaceReceiptWithSignature) String

func (m *SpaceReceiptWithSignature) String() string

func (*SpaceReceiptWithSignature) Unmarshal

func (m *SpaceReceiptWithSignature) Unmarshal(dAtA []byte) error

func (*SpaceReceiptWithSignature) XXX_DiscardUnknown

func (m *SpaceReceiptWithSignature) XXX_DiscardUnknown()

func (*SpaceReceiptWithSignature) XXX_Marshal

func (m *SpaceReceiptWithSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpaceReceiptWithSignature) XXX_Merge

func (m *SpaceReceiptWithSignature) XXX_Merge(src proto.Message)

func (*SpaceReceiptWithSignature) XXX_Size

func (m *SpaceReceiptWithSignature) XXX_Size() int

func (*SpaceReceiptWithSignature) XXX_Unmarshal

func (m *SpaceReceiptWithSignature) XXX_Unmarshal(b []byte) error

type SpaceSignRequest

type SpaceSignRequest struct {
	// SpaceId is the id of the signed space
	SpaceId string `protobuf:"bytes,1,opt,name=spaceId,proto3" json:"spaceId,omitempty"`
	// Header is the header of the signed space
	Header []byte `protobuf:"bytes,2,opt,name=header,proto3" json:"header,omitempty"`
	// OldIdentity is the old identity of the space owner
	OldIdentity []byte `protobuf:"bytes,3,opt,name=oldIdentity,proto3" json:"oldIdentity,omitempty"`
	// NewIdentitySignature is the new identity signed by the old one
	NewIdentitySignature []byte `protobuf:"bytes,4,opt,name=newIdentitySignature,proto3" json:"newIdentitySignature,omitempty"`
	// ForceRequest if true, forces the creating space receipt even if the space is deleted before
	ForceRequest bool `protobuf:"varint,5,opt,name=forceRequest,proto3" json:"forceRequest,omitempty"`
}

func (*SpaceSignRequest) Descriptor

func (*SpaceSignRequest) Descriptor() ([]byte, []int)

func (*SpaceSignRequest) GetForceRequest added in v0.3.0

func (m *SpaceSignRequest) GetForceRequest() bool

func (*SpaceSignRequest) GetHeader

func (m *SpaceSignRequest) GetHeader() []byte

func (*SpaceSignRequest) GetNewIdentitySignature

func (m *SpaceSignRequest) GetNewIdentitySignature() []byte

func (*SpaceSignRequest) GetOldIdentity

func (m *SpaceSignRequest) GetOldIdentity() []byte

func (*SpaceSignRequest) GetSpaceId

func (m *SpaceSignRequest) GetSpaceId() string

func (*SpaceSignRequest) Marshal

func (m *SpaceSignRequest) Marshal() (dAtA []byte, err error)

func (*SpaceSignRequest) MarshalTo

func (m *SpaceSignRequest) MarshalTo(dAtA []byte) (int, error)

func (*SpaceSignRequest) MarshalToSizedBuffer

func (m *SpaceSignRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SpaceSignRequest) ProtoMessage

func (*SpaceSignRequest) ProtoMessage()

func (*SpaceSignRequest) Reset

func (m *SpaceSignRequest) Reset()

func (*SpaceSignRequest) Size

func (m *SpaceSignRequest) Size() (n int)

func (*SpaceSignRequest) String

func (m *SpaceSignRequest) String() string

func (*SpaceSignRequest) Unmarshal

func (m *SpaceSignRequest) Unmarshal(dAtA []byte) error

func (*SpaceSignRequest) XXX_DiscardUnknown

func (m *SpaceSignRequest) XXX_DiscardUnknown()

func (*SpaceSignRequest) XXX_Marshal

func (m *SpaceSignRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpaceSignRequest) XXX_Merge

func (m *SpaceSignRequest) XXX_Merge(src proto.Message)

func (*SpaceSignRequest) XXX_Size

func (m *SpaceSignRequest) XXX_Size() int

func (*SpaceSignRequest) XXX_Unmarshal

func (m *SpaceSignRequest) XXX_Unmarshal(b []byte) error

type SpaceSignResponse

type SpaceSignResponse struct {
	Receipt *SpaceReceiptWithSignature `protobuf:"bytes,1,opt,name=receipt,proto3" json:"receipt,omitempty"`
}

func (*SpaceSignResponse) Descriptor

func (*SpaceSignResponse) Descriptor() ([]byte, []int)

func (*SpaceSignResponse) GetReceipt

func (*SpaceSignResponse) Marshal

func (m *SpaceSignResponse) Marshal() (dAtA []byte, err error)

func (*SpaceSignResponse) MarshalTo

func (m *SpaceSignResponse) MarshalTo(dAtA []byte) (int, error)

func (*SpaceSignResponse) MarshalToSizedBuffer

func (m *SpaceSignResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SpaceSignResponse) ProtoMessage

func (*SpaceSignResponse) ProtoMessage()

func (*SpaceSignResponse) Reset

func (m *SpaceSignResponse) Reset()

func (*SpaceSignResponse) Size

func (m *SpaceSignResponse) Size() (n int)

func (*SpaceSignResponse) String

func (m *SpaceSignResponse) String() string

func (*SpaceSignResponse) Unmarshal

func (m *SpaceSignResponse) Unmarshal(dAtA []byte) error

func (*SpaceSignResponse) XXX_DiscardUnknown

func (m *SpaceSignResponse) XXX_DiscardUnknown()

func (*SpaceSignResponse) XXX_Marshal

func (m *SpaceSignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpaceSignResponse) XXX_Merge

func (m *SpaceSignResponse) XXX_Merge(src proto.Message)

func (*SpaceSignResponse) XXX_Size

func (m *SpaceSignResponse) XXX_Size() int

func (*SpaceSignResponse) XXX_Unmarshal

func (m *SpaceSignResponse) XXX_Unmarshal(b []byte) error

type SpaceStatus

type SpaceStatus int32
const (
	SpaceStatus_SpaceStatusCreated         SpaceStatus = 0
	SpaceStatus_SpaceStatusPendingDeletion SpaceStatus = 1
	SpaceStatus_SpaceStatusDeletionStarted SpaceStatus = 2
	SpaceStatus_SpaceStatusDeleted         SpaceStatus = 3
	SpaceStatus_SpaceStatusNotExists       SpaceStatus = 4
)

func (SpaceStatus) EnumDescriptor

func (SpaceStatus) EnumDescriptor() ([]byte, []int)

func (SpaceStatus) String

func (x SpaceStatus) String() string

type SpaceStatusChangeRequest

type SpaceStatusChangeRequest struct {
	SpaceId             string              `protobuf:"bytes,1,opt,name=spaceId,proto3" json:"spaceId,omitempty"`
	DeletionPayloadId   string              `protobuf:"bytes,2,opt,name=deletionPayloadId,proto3" json:"deletionPayloadId,omitempty"`
	DeletionPayload     []byte              `protobuf:"bytes,3,opt,name=deletionPayload,proto3" json:"deletionPayload,omitempty"`
	DeletionPayloadType DeletionPayloadType `` /* 129-byte string literal not displayed */
}

SpaceStatusChangeRequest contains the deletionChange if we want to delete space, or it is empty otherwise

func (*SpaceStatusChangeRequest) Descriptor

func (*SpaceStatusChangeRequest) Descriptor() ([]byte, []int)

func (*SpaceStatusChangeRequest) GetDeletionPayload added in v0.3.0

func (m *SpaceStatusChangeRequest) GetDeletionPayload() []byte

func (*SpaceStatusChangeRequest) GetDeletionPayloadId added in v0.3.0

func (m *SpaceStatusChangeRequest) GetDeletionPayloadId() string

func (*SpaceStatusChangeRequest) GetDeletionPayloadType added in v0.3.0

func (m *SpaceStatusChangeRequest) GetDeletionPayloadType() DeletionPayloadType

func (*SpaceStatusChangeRequest) GetSpaceId

func (m *SpaceStatusChangeRequest) GetSpaceId() string

func (*SpaceStatusChangeRequest) Marshal

func (m *SpaceStatusChangeRequest) Marshal() (dAtA []byte, err error)

func (*SpaceStatusChangeRequest) MarshalTo

func (m *SpaceStatusChangeRequest) MarshalTo(dAtA []byte) (int, error)

func (*SpaceStatusChangeRequest) MarshalToSizedBuffer

func (m *SpaceStatusChangeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SpaceStatusChangeRequest) ProtoMessage

func (*SpaceStatusChangeRequest) ProtoMessage()

func (*SpaceStatusChangeRequest) Reset

func (m *SpaceStatusChangeRequest) Reset()

func (*SpaceStatusChangeRequest) Size

func (m *SpaceStatusChangeRequest) Size() (n int)

func (*SpaceStatusChangeRequest) String

func (m *SpaceStatusChangeRequest) String() string

func (*SpaceStatusChangeRequest) Unmarshal

func (m *SpaceStatusChangeRequest) Unmarshal(dAtA []byte) error

func (*SpaceStatusChangeRequest) XXX_DiscardUnknown

func (m *SpaceStatusChangeRequest) XXX_DiscardUnknown()

func (*SpaceStatusChangeRequest) XXX_Marshal

func (m *SpaceStatusChangeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpaceStatusChangeRequest) XXX_Merge

func (m *SpaceStatusChangeRequest) XXX_Merge(src proto.Message)

func (*SpaceStatusChangeRequest) XXX_Size

func (m *SpaceStatusChangeRequest) XXX_Size() int

func (*SpaceStatusChangeRequest) XXX_Unmarshal

func (m *SpaceStatusChangeRequest) XXX_Unmarshal(b []byte) error

type SpaceStatusChangeResponse

type SpaceStatusChangeResponse struct {
	Payload *SpaceStatusPayload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
}

SpaceStatusChangeResponse contains changed status of space

func (*SpaceStatusChangeResponse) Descriptor

func (*SpaceStatusChangeResponse) Descriptor() ([]byte, []int)

func (*SpaceStatusChangeResponse) GetPayload

func (*SpaceStatusChangeResponse) Marshal

func (m *SpaceStatusChangeResponse) Marshal() (dAtA []byte, err error)

func (*SpaceStatusChangeResponse) MarshalTo

func (m *SpaceStatusChangeResponse) MarshalTo(dAtA []byte) (int, error)

func (*SpaceStatusChangeResponse) MarshalToSizedBuffer

func (m *SpaceStatusChangeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SpaceStatusChangeResponse) ProtoMessage

func (*SpaceStatusChangeResponse) ProtoMessage()

func (*SpaceStatusChangeResponse) Reset

func (m *SpaceStatusChangeResponse) Reset()

func (*SpaceStatusChangeResponse) Size

func (m *SpaceStatusChangeResponse) Size() (n int)

func (*SpaceStatusChangeResponse) String

func (m *SpaceStatusChangeResponse) String() string

func (*SpaceStatusChangeResponse) Unmarshal

func (m *SpaceStatusChangeResponse) Unmarshal(dAtA []byte) error

func (*SpaceStatusChangeResponse) XXX_DiscardUnknown

func (m *SpaceStatusChangeResponse) XXX_DiscardUnknown()

func (*SpaceStatusChangeResponse) XXX_Marshal

func (m *SpaceStatusChangeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpaceStatusChangeResponse) XXX_Merge

func (m *SpaceStatusChangeResponse) XXX_Merge(src proto.Message)

func (*SpaceStatusChangeResponse) XXX_Size

func (m *SpaceStatusChangeResponse) XXX_Size() int

func (*SpaceStatusChangeResponse) XXX_Unmarshal

func (m *SpaceStatusChangeResponse) XXX_Unmarshal(b []byte) error

type SpaceStatusCheckManyRequest added in v0.3.0

type SpaceStatusCheckManyRequest struct {
	SpaceIds []string `protobuf:"bytes,1,rep,name=spaceIds,proto3" json:"spaceIds,omitempty"`
}

SpaceStatusCheckManyRequest contains the spaceIds of requested spaces

func (*SpaceStatusCheckManyRequest) Descriptor added in v0.3.0

func (*SpaceStatusCheckManyRequest) Descriptor() ([]byte, []int)

func (*SpaceStatusCheckManyRequest) GetSpaceIds added in v0.3.0

func (m *SpaceStatusCheckManyRequest) GetSpaceIds() []string

func (*SpaceStatusCheckManyRequest) Marshal added in v0.3.0

func (m *SpaceStatusCheckManyRequest) Marshal() (dAtA []byte, err error)

func (*SpaceStatusCheckManyRequest) MarshalTo added in v0.3.0

func (m *SpaceStatusCheckManyRequest) MarshalTo(dAtA []byte) (int, error)

func (*SpaceStatusCheckManyRequest) MarshalToSizedBuffer added in v0.3.0

func (m *SpaceStatusCheckManyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SpaceStatusCheckManyRequest) ProtoMessage added in v0.3.0

func (*SpaceStatusCheckManyRequest) ProtoMessage()

func (*SpaceStatusCheckManyRequest) Reset added in v0.3.0

func (m *SpaceStatusCheckManyRequest) Reset()

func (*SpaceStatusCheckManyRequest) Size added in v0.3.0

func (m *SpaceStatusCheckManyRequest) Size() (n int)

func (*SpaceStatusCheckManyRequest) String added in v0.3.0

func (m *SpaceStatusCheckManyRequest) String() string

func (*SpaceStatusCheckManyRequest) Unmarshal added in v0.3.0

func (m *SpaceStatusCheckManyRequest) Unmarshal(dAtA []byte) error

func (*SpaceStatusCheckManyRequest) XXX_DiscardUnknown added in v0.3.0

func (m *SpaceStatusCheckManyRequest) XXX_DiscardUnknown()

func (*SpaceStatusCheckManyRequest) XXX_Marshal added in v0.3.0

func (m *SpaceStatusCheckManyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpaceStatusCheckManyRequest) XXX_Merge added in v0.3.0

func (m *SpaceStatusCheckManyRequest) XXX_Merge(src proto.Message)

func (*SpaceStatusCheckManyRequest) XXX_Size added in v0.3.0

func (m *SpaceStatusCheckManyRequest) XXX_Size() int

func (*SpaceStatusCheckManyRequest) XXX_Unmarshal added in v0.3.0

func (m *SpaceStatusCheckManyRequest) XXX_Unmarshal(b []byte) error

type SpaceStatusCheckManyResponse added in v0.3.0

type SpaceStatusCheckManyResponse struct {
	Payloads      []*SpaceStatusPayload `protobuf:"bytes,1,rep,name=payloads,proto3" json:"payloads,omitempty"`
	AccountLimits *AccountLimits        `protobuf:"bytes,2,opt,name=accountLimits,proto3" json:"accountLimits,omitempty"`
}

SpaceStatusCheckManyResponse contains the current statuses of spaces

func (*SpaceStatusCheckManyResponse) Descriptor added in v0.3.0

func (*SpaceStatusCheckManyResponse) Descriptor() ([]byte, []int)

func (*SpaceStatusCheckManyResponse) GetAccountLimits added in v0.4.4

func (m *SpaceStatusCheckManyResponse) GetAccountLimits() *AccountLimits

func (*SpaceStatusCheckManyResponse) GetPayloads added in v0.3.0

func (*SpaceStatusCheckManyResponse) Marshal added in v0.3.0

func (m *SpaceStatusCheckManyResponse) Marshal() (dAtA []byte, err error)

func (*SpaceStatusCheckManyResponse) MarshalTo added in v0.3.0

func (m *SpaceStatusCheckManyResponse) MarshalTo(dAtA []byte) (int, error)

func (*SpaceStatusCheckManyResponse) MarshalToSizedBuffer added in v0.3.0

func (m *SpaceStatusCheckManyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SpaceStatusCheckManyResponse) ProtoMessage added in v0.3.0

func (*SpaceStatusCheckManyResponse) ProtoMessage()

func (*SpaceStatusCheckManyResponse) Reset added in v0.3.0

func (m *SpaceStatusCheckManyResponse) Reset()

func (*SpaceStatusCheckManyResponse) Size added in v0.3.0

func (m *SpaceStatusCheckManyResponse) Size() (n int)

func (*SpaceStatusCheckManyResponse) String added in v0.3.0

func (*SpaceStatusCheckManyResponse) Unmarshal added in v0.3.0

func (m *SpaceStatusCheckManyResponse) Unmarshal(dAtA []byte) error

func (*SpaceStatusCheckManyResponse) XXX_DiscardUnknown added in v0.3.0

func (m *SpaceStatusCheckManyResponse) XXX_DiscardUnknown()

func (*SpaceStatusCheckManyResponse) XXX_Marshal added in v0.3.0

func (m *SpaceStatusCheckManyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpaceStatusCheckManyResponse) XXX_Merge added in v0.3.0

func (m *SpaceStatusCheckManyResponse) XXX_Merge(src proto.Message)

func (*SpaceStatusCheckManyResponse) XXX_Size added in v0.3.0

func (m *SpaceStatusCheckManyResponse) XXX_Size() int

func (*SpaceStatusCheckManyResponse) XXX_Unmarshal added in v0.3.0

func (m *SpaceStatusCheckManyResponse) XXX_Unmarshal(b []byte) error

type SpaceStatusCheckRequest

type SpaceStatusCheckRequest struct {
	SpaceId string `protobuf:"bytes,1,opt,name=spaceId,proto3" json:"spaceId,omitempty"`
}

SpaceStatusCheckRequest contains the spaceId of requested space

func (*SpaceStatusCheckRequest) Descriptor

func (*SpaceStatusCheckRequest) Descriptor() ([]byte, []int)

func (*SpaceStatusCheckRequest) GetSpaceId

func (m *SpaceStatusCheckRequest) GetSpaceId() string

func (*SpaceStatusCheckRequest) Marshal

func (m *SpaceStatusCheckRequest) Marshal() (dAtA []byte, err error)

func (*SpaceStatusCheckRequest) MarshalTo

func (m *SpaceStatusCheckRequest) MarshalTo(dAtA []byte) (int, error)

func (*SpaceStatusCheckRequest) MarshalToSizedBuffer

func (m *SpaceStatusCheckRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SpaceStatusCheckRequest) ProtoMessage

func (*SpaceStatusCheckRequest) ProtoMessage()

func (*SpaceStatusCheckRequest) Reset

func (m *SpaceStatusCheckRequest) Reset()

func (*SpaceStatusCheckRequest) Size

func (m *SpaceStatusCheckRequest) Size() (n int)

func (*SpaceStatusCheckRequest) String

func (m *SpaceStatusCheckRequest) String() string

func (*SpaceStatusCheckRequest) Unmarshal

func (m *SpaceStatusCheckRequest) Unmarshal(dAtA []byte) error

func (*SpaceStatusCheckRequest) XXX_DiscardUnknown

func (m *SpaceStatusCheckRequest) XXX_DiscardUnknown()

func (*SpaceStatusCheckRequest) XXX_Marshal

func (m *SpaceStatusCheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpaceStatusCheckRequest) XXX_Merge

func (m *SpaceStatusCheckRequest) XXX_Merge(src proto.Message)

func (*SpaceStatusCheckRequest) XXX_Size

func (m *SpaceStatusCheckRequest) XXX_Size() int

func (*SpaceStatusCheckRequest) XXX_Unmarshal

func (m *SpaceStatusCheckRequest) XXX_Unmarshal(b []byte) error

type SpaceStatusCheckResponse

type SpaceStatusCheckResponse struct {
	Payload *SpaceStatusPayload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
}

SpaceStatusCheckResponse contains the current status of space

func (*SpaceStatusCheckResponse) Descriptor

func (*SpaceStatusCheckResponse) Descriptor() ([]byte, []int)

func (*SpaceStatusCheckResponse) GetPayload

func (*SpaceStatusCheckResponse) Marshal

func (m *SpaceStatusCheckResponse) Marshal() (dAtA []byte, err error)

func (*SpaceStatusCheckResponse) MarshalTo

func (m *SpaceStatusCheckResponse) MarshalTo(dAtA []byte) (int, error)

func (*SpaceStatusCheckResponse) MarshalToSizedBuffer

func (m *SpaceStatusCheckResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SpaceStatusCheckResponse) ProtoMessage

func (*SpaceStatusCheckResponse) ProtoMessage()

func (*SpaceStatusCheckResponse) Reset

func (m *SpaceStatusCheckResponse) Reset()

func (*SpaceStatusCheckResponse) Size

func (m *SpaceStatusCheckResponse) Size() (n int)

func (*SpaceStatusCheckResponse) String

func (m *SpaceStatusCheckResponse) String() string

func (*SpaceStatusCheckResponse) Unmarshal

func (m *SpaceStatusCheckResponse) Unmarshal(dAtA []byte) error

func (*SpaceStatusCheckResponse) XXX_DiscardUnknown

func (m *SpaceStatusCheckResponse) XXX_DiscardUnknown()

func (*SpaceStatusCheckResponse) XXX_Marshal

func (m *SpaceStatusCheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpaceStatusCheckResponse) XXX_Merge

func (m *SpaceStatusCheckResponse) XXX_Merge(src proto.Message)

func (*SpaceStatusCheckResponse) XXX_Size

func (m *SpaceStatusCheckResponse) XXX_Size() int

func (*SpaceStatusCheckResponse) XXX_Unmarshal

func (m *SpaceStatusCheckResponse) XXX_Unmarshal(b []byte) error

type SpaceStatusPayload

type SpaceStatusPayload struct {
	Status            SpaceStatus      `protobuf:"varint,1,opt,name=status,proto3,enum=coordinator.SpaceStatus" json:"status,omitempty"`
	DeletionTimestamp int64            `protobuf:"varint,2,opt,name=deletionTimestamp,proto3" json:"deletionTimestamp,omitempty"`
	Permissions       SpacePermissions `protobuf:"varint,3,opt,name=permissions,proto3,enum=coordinator.SpacePermissions" json:"permissions,omitempty"`
	Limits            *SpaceLimits     `protobuf:"bytes,4,opt,name=limits,proto3" json:"limits,omitempty"`
	IsShared          bool             `protobuf:"varint,5,opt,name=isShared,proto3" json:"isShared,omitempty"`
}

func (*SpaceStatusPayload) Descriptor

func (*SpaceStatusPayload) Descriptor() ([]byte, []int)

func (*SpaceStatusPayload) GetDeletionTimestamp

func (m *SpaceStatusPayload) GetDeletionTimestamp() int64

func (*SpaceStatusPayload) GetIsShared added in v0.4.0

func (m *SpaceStatusPayload) GetIsShared() bool

func (*SpaceStatusPayload) GetLimits added in v0.3.33

func (m *SpaceStatusPayload) GetLimits() *SpaceLimits

func (*SpaceStatusPayload) GetPermissions added in v0.3.21

func (m *SpaceStatusPayload) GetPermissions() SpacePermissions

func (*SpaceStatusPayload) GetStatus

func (m *SpaceStatusPayload) GetStatus() SpaceStatus

func (*SpaceStatusPayload) Marshal

func (m *SpaceStatusPayload) Marshal() (dAtA []byte, err error)

func (*SpaceStatusPayload) MarshalTo

func (m *SpaceStatusPayload) MarshalTo(dAtA []byte) (int, error)

func (*SpaceStatusPayload) MarshalToSizedBuffer

func (m *SpaceStatusPayload) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SpaceStatusPayload) ProtoMessage

func (*SpaceStatusPayload) ProtoMessage()

func (*SpaceStatusPayload) Reset

func (m *SpaceStatusPayload) Reset()

func (*SpaceStatusPayload) Size

func (m *SpaceStatusPayload) Size() (n int)

func (*SpaceStatusPayload) String

func (m *SpaceStatusPayload) String() string

func (*SpaceStatusPayload) Unmarshal

func (m *SpaceStatusPayload) Unmarshal(dAtA []byte) error

func (*SpaceStatusPayload) XXX_DiscardUnknown

func (m *SpaceStatusPayload) XXX_DiscardUnknown()

func (*SpaceStatusPayload) XXX_Marshal

func (m *SpaceStatusPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpaceStatusPayload) XXX_Merge

func (m *SpaceStatusPayload) XXX_Merge(src proto.Message)

func (*SpaceStatusPayload) XXX_Size

func (m *SpaceStatusPayload) XXX_Size() int

func (*SpaceStatusPayload) XXX_Unmarshal

func (m *SpaceStatusPayload) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL