aclrecordproto

package
v0.4.22-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthAclrecord        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAclrecord          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAclrecord = fmt.Errorf("proto: unexpected end of group")
)
View Source
var AclUserPermissions_name = map[int32]string{
	0: "None",
	1: "Owner",
	2: "Admin",
	3: "Writer",
	4: "Reader",
}
View Source
var AclUserPermissions_value = map[string]int32{
	"None":   0,
	"Owner":  1,
	"Admin":  2,
	"Writer": 3,
	"Reader": 4,
}

Functions

This section is empty.

Types

type AclAccountAdd added in v0.3.18

type AclAccountAdd struct {
	Identity         []byte             `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	Permissions      AclUserPermissions `protobuf:"varint,2,opt,name=permissions,proto3,enum=aclrecord.AclUserPermissions" json:"permissions,omitempty"`
	Metadata         []byte             `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	EncryptedReadKey []byte             `protobuf:"bytes,4,opt,name=encryptedReadKey,proto3" json:"encryptedReadKey,omitempty"`
}

AclAccountAdd contains new account to be added

func (*AclAccountAdd) Descriptor added in v0.3.18

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

func (*AclAccountAdd) GetEncryptedReadKey added in v0.3.18

func (m *AclAccountAdd) GetEncryptedReadKey() []byte

func (*AclAccountAdd) GetIdentity added in v0.3.18

func (m *AclAccountAdd) GetIdentity() []byte

func (*AclAccountAdd) GetMetadata added in v0.3.18

func (m *AclAccountAdd) GetMetadata() []byte

func (*AclAccountAdd) GetPermissions added in v0.3.18

func (m *AclAccountAdd) GetPermissions() AclUserPermissions

func (*AclAccountAdd) Marshal added in v0.3.18

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

func (*AclAccountAdd) MarshalTo added in v0.3.18

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

func (*AclAccountAdd) MarshalToSizedBuffer added in v0.3.18

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

func (*AclAccountAdd) ProtoMessage added in v0.3.18

func (*AclAccountAdd) ProtoMessage()

func (*AclAccountAdd) Reset added in v0.3.18

func (m *AclAccountAdd) Reset()

func (*AclAccountAdd) Size added in v0.3.18

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

func (*AclAccountAdd) String added in v0.3.18

func (m *AclAccountAdd) String() string

func (*AclAccountAdd) Unmarshal added in v0.3.18

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

func (*AclAccountAdd) XXX_DiscardUnknown added in v0.3.18

func (m *AclAccountAdd) XXX_DiscardUnknown()

func (*AclAccountAdd) XXX_Marshal added in v0.3.18

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

func (*AclAccountAdd) XXX_Merge added in v0.3.18

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

func (*AclAccountAdd) XXX_Size added in v0.3.18

func (m *AclAccountAdd) XXX_Size() int

func (*AclAccountAdd) XXX_Unmarshal added in v0.3.18

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

type AclAccountInvite added in v0.2.11

type AclAccountInvite struct {
	InviteKey []byte `protobuf:"bytes,1,opt,name=inviteKey,proto3" json:"inviteKey,omitempty"`
}

AclAccountInvite contains the public invite key, the private part of which is sent to the user directly

func (*AclAccountInvite) Descriptor added in v0.2.11

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

func (*AclAccountInvite) GetInviteKey added in v0.2.11

func (m *AclAccountInvite) GetInviteKey() []byte

func (*AclAccountInvite) Marshal added in v0.2.11

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

func (*AclAccountInvite) MarshalTo added in v0.2.11

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

func (*AclAccountInvite) MarshalToSizedBuffer added in v0.2.11

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

func (*AclAccountInvite) ProtoMessage added in v0.2.11

func (*AclAccountInvite) ProtoMessage()

func (*AclAccountInvite) Reset added in v0.2.11

func (m *AclAccountInvite) Reset()

func (*AclAccountInvite) Size added in v0.2.11

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

func (*AclAccountInvite) String added in v0.2.11

func (m *AclAccountInvite) String() string

func (*AclAccountInvite) Unmarshal added in v0.2.11

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

func (*AclAccountInvite) XXX_DiscardUnknown added in v0.2.11

func (m *AclAccountInvite) XXX_DiscardUnknown()

func (*AclAccountInvite) XXX_Marshal added in v0.2.11

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

func (*AclAccountInvite) XXX_Merge added in v0.2.11

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

func (*AclAccountInvite) XXX_Size added in v0.2.11

func (m *AclAccountInvite) XXX_Size() int

func (*AclAccountInvite) XXX_Unmarshal added in v0.2.11

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

type AclAccountInviteRevoke added in v0.2.11

type AclAccountInviteRevoke struct {
	InviteRecordId string `protobuf:"bytes,1,opt,name=inviteRecordId,proto3" json:"inviteRecordId,omitempty"`
}

AclAccountInviteRevoke revokes the invite record

func (*AclAccountInviteRevoke) Descriptor added in v0.2.11

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

func (*AclAccountInviteRevoke) GetInviteRecordId added in v0.2.11

func (m *AclAccountInviteRevoke) GetInviteRecordId() string

func (*AclAccountInviteRevoke) Marshal added in v0.2.11

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

func (*AclAccountInviteRevoke) MarshalTo added in v0.2.11

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

func (*AclAccountInviteRevoke) MarshalToSizedBuffer added in v0.2.11

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

func (*AclAccountInviteRevoke) ProtoMessage added in v0.2.11

func (*AclAccountInviteRevoke) ProtoMessage()

func (*AclAccountInviteRevoke) Reset added in v0.2.11

func (m *AclAccountInviteRevoke) Reset()

func (*AclAccountInviteRevoke) Size added in v0.2.11

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

func (*AclAccountInviteRevoke) String added in v0.2.11

func (m *AclAccountInviteRevoke) String() string

func (*AclAccountInviteRevoke) Unmarshal added in v0.2.11

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

func (*AclAccountInviteRevoke) XXX_DiscardUnknown added in v0.2.11

func (m *AclAccountInviteRevoke) XXX_DiscardUnknown()

func (*AclAccountInviteRevoke) XXX_Marshal added in v0.2.11

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

func (*AclAccountInviteRevoke) XXX_Merge added in v0.2.11

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

func (*AclAccountInviteRevoke) XXX_Size added in v0.2.11

func (m *AclAccountInviteRevoke) XXX_Size() int

func (*AclAccountInviteRevoke) XXX_Unmarshal added in v0.2.11

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

type AclAccountPermissionChange added in v0.2.11

type AclAccountPermissionChange struct {
	Identity    []byte             `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	Permissions AclUserPermissions `protobuf:"varint,2,opt,name=permissions,proto3,enum=aclrecord.AclUserPermissions" json:"permissions,omitempty"`
}

AclAccountPermissionChange changes permissions of specific account

func (*AclAccountPermissionChange) Descriptor added in v0.2.11

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

func (*AclAccountPermissionChange) GetIdentity added in v0.2.11

func (m *AclAccountPermissionChange) GetIdentity() []byte

func (*AclAccountPermissionChange) GetPermissions added in v0.2.11

func (m *AclAccountPermissionChange) GetPermissions() AclUserPermissions

func (*AclAccountPermissionChange) Marshal added in v0.2.11

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

func (*AclAccountPermissionChange) MarshalTo added in v0.2.11

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

func (*AclAccountPermissionChange) MarshalToSizedBuffer added in v0.2.11

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

func (*AclAccountPermissionChange) ProtoMessage added in v0.2.11

func (*AclAccountPermissionChange) ProtoMessage()

func (*AclAccountPermissionChange) Reset added in v0.2.11

func (m *AclAccountPermissionChange) Reset()

func (*AclAccountPermissionChange) Size added in v0.2.11

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

func (*AclAccountPermissionChange) String added in v0.2.11

func (m *AclAccountPermissionChange) String() string

func (*AclAccountPermissionChange) Unmarshal added in v0.2.11

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

func (*AclAccountPermissionChange) XXX_DiscardUnknown added in v0.2.11

func (m *AclAccountPermissionChange) XXX_DiscardUnknown()

func (*AclAccountPermissionChange) XXX_Marshal added in v0.2.11

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

func (*AclAccountPermissionChange) XXX_Merge added in v0.2.11

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

func (*AclAccountPermissionChange) XXX_Size added in v0.2.11

func (m *AclAccountPermissionChange) XXX_Size() int

func (*AclAccountPermissionChange) XXX_Unmarshal added in v0.2.11

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

type AclAccountPermissionChanges added in v0.3.18

type AclAccountPermissionChanges struct {
	Changes []*AclAccountPermissionChange `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
}

AclAccountPermissionChanges contains permission changes for certain identities

func (*AclAccountPermissionChanges) Descriptor added in v0.3.18

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

func (*AclAccountPermissionChanges) GetChanges added in v0.3.18

func (*AclAccountPermissionChanges) Marshal added in v0.3.18

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

func (*AclAccountPermissionChanges) MarshalTo added in v0.3.18

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

func (*AclAccountPermissionChanges) MarshalToSizedBuffer added in v0.3.18

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

func (*AclAccountPermissionChanges) ProtoMessage added in v0.3.18

func (*AclAccountPermissionChanges) ProtoMessage()

func (*AclAccountPermissionChanges) Reset added in v0.3.18

func (m *AclAccountPermissionChanges) Reset()

func (*AclAccountPermissionChanges) Size added in v0.3.18

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

func (*AclAccountPermissionChanges) String added in v0.3.18

func (m *AclAccountPermissionChanges) String() string

func (*AclAccountPermissionChanges) Unmarshal added in v0.3.18

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

func (*AclAccountPermissionChanges) XXX_DiscardUnknown added in v0.3.18

func (m *AclAccountPermissionChanges) XXX_DiscardUnknown()

func (*AclAccountPermissionChanges) XXX_Marshal added in v0.3.18

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

func (*AclAccountPermissionChanges) XXX_Merge added in v0.3.18

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

func (*AclAccountPermissionChanges) XXX_Size added in v0.3.18

func (m *AclAccountPermissionChanges) XXX_Size() int

func (*AclAccountPermissionChanges) XXX_Unmarshal added in v0.3.18

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

type AclAccountRemove added in v0.2.11

type AclAccountRemove struct {
	Identities    [][]byte          `protobuf:"bytes,1,rep,name=identities,proto3" json:"identities,omitempty"`
	ReadKeyChange *AclReadKeyChange `protobuf:"bytes,2,opt,name=readKeyChange,proto3" json:"readKeyChange,omitempty"`
}

AclAccountRemove removes an account and changes read key for space

func (*AclAccountRemove) Descriptor added in v0.2.11

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

func (*AclAccountRemove) GetIdentities added in v0.2.11

func (m *AclAccountRemove) GetIdentities() [][]byte

func (*AclAccountRemove) GetReadKeyChange added in v0.2.15

func (m *AclAccountRemove) GetReadKeyChange() *AclReadKeyChange

func (*AclAccountRemove) Marshal added in v0.2.11

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

func (*AclAccountRemove) MarshalTo added in v0.2.11

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

func (*AclAccountRemove) MarshalToSizedBuffer added in v0.2.11

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

func (*AclAccountRemove) ProtoMessage added in v0.2.11

func (*AclAccountRemove) ProtoMessage()

func (*AclAccountRemove) Reset added in v0.2.11

func (m *AclAccountRemove) Reset()

func (*AclAccountRemove) Size added in v0.2.11

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

func (*AclAccountRemove) String added in v0.2.11

func (m *AclAccountRemove) String() string

func (*AclAccountRemove) Unmarshal added in v0.2.11

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

func (*AclAccountRemove) XXX_DiscardUnknown added in v0.2.11

func (m *AclAccountRemove) XXX_DiscardUnknown()

func (*AclAccountRemove) XXX_Marshal added in v0.2.11

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

func (*AclAccountRemove) XXX_Merge added in v0.2.11

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

func (*AclAccountRemove) XXX_Size added in v0.2.11

func (m *AclAccountRemove) XXX_Size() int

func (*AclAccountRemove) XXX_Unmarshal added in v0.2.11

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

type AclAccountRequestAccept added in v0.2.11

type AclAccountRequestAccept struct {
	Identity         []byte             `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	RequestRecordId  string             `protobuf:"bytes,2,opt,name=requestRecordId,proto3" json:"requestRecordId,omitempty"`
	EncryptedReadKey []byte             `protobuf:"bytes,3,opt,name=encryptedReadKey,proto3" json:"encryptedReadKey,omitempty"`
	Permissions      AclUserPermissions `protobuf:"varint,4,opt,name=permissions,proto3,enum=aclrecord.AclUserPermissions" json:"permissions,omitempty"`
}

AclAccountRequestAccept contains the reference to join record and all read keys, encrypted with the identity of the requestor

func (*AclAccountRequestAccept) Descriptor added in v0.2.11

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

func (*AclAccountRequestAccept) GetEncryptedReadKey added in v0.2.15

func (m *AclAccountRequestAccept) GetEncryptedReadKey() []byte

func (*AclAccountRequestAccept) GetIdentity added in v0.2.11

func (m *AclAccountRequestAccept) GetIdentity() []byte

func (*AclAccountRequestAccept) GetPermissions added in v0.2.11

func (m *AclAccountRequestAccept) GetPermissions() AclUserPermissions

func (*AclAccountRequestAccept) GetRequestRecordId added in v0.2.11

func (m *AclAccountRequestAccept) GetRequestRecordId() string

func (*AclAccountRequestAccept) Marshal added in v0.2.11

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

func (*AclAccountRequestAccept) MarshalTo added in v0.2.11

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

func (*AclAccountRequestAccept) MarshalToSizedBuffer added in v0.2.11

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

func (*AclAccountRequestAccept) ProtoMessage added in v0.2.11

func (*AclAccountRequestAccept) ProtoMessage()

func (*AclAccountRequestAccept) Reset added in v0.2.11

func (m *AclAccountRequestAccept) Reset()

func (*AclAccountRequestAccept) Size added in v0.2.11

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

func (*AclAccountRequestAccept) String added in v0.2.11

func (m *AclAccountRequestAccept) String() string

func (*AclAccountRequestAccept) Unmarshal added in v0.2.11

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

func (*AclAccountRequestAccept) XXX_DiscardUnknown added in v0.2.11

func (m *AclAccountRequestAccept) XXX_DiscardUnknown()

func (*AclAccountRequestAccept) XXX_Marshal added in v0.2.11

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

func (*AclAccountRequestAccept) XXX_Merge added in v0.2.11

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

func (*AclAccountRequestAccept) XXX_Size added in v0.2.11

func (m *AclAccountRequestAccept) XXX_Size() int

func (*AclAccountRequestAccept) XXX_Unmarshal added in v0.2.11

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

type AclAccountRequestCancel added in v0.3.20

type AclAccountRequestCancel struct {
	RecordId string `protobuf:"bytes,1,opt,name=recordId,proto3" json:"recordId,omitempty"`
}

AclRequestCancel contains reference to the request that is canceled by the account

func (*AclAccountRequestCancel) Descriptor added in v0.3.20

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

func (*AclAccountRequestCancel) GetRecordId added in v0.3.20

func (m *AclAccountRequestCancel) GetRecordId() string

func (*AclAccountRequestCancel) Marshal added in v0.3.20

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

func (*AclAccountRequestCancel) MarshalTo added in v0.3.20

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

func (*AclAccountRequestCancel) MarshalToSizedBuffer added in v0.3.20

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

func (*AclAccountRequestCancel) ProtoMessage added in v0.3.20

func (*AclAccountRequestCancel) ProtoMessage()

func (*AclAccountRequestCancel) Reset added in v0.3.20

func (m *AclAccountRequestCancel) Reset()

func (*AclAccountRequestCancel) Size added in v0.3.20

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

func (*AclAccountRequestCancel) String added in v0.3.20

func (m *AclAccountRequestCancel) String() string

func (*AclAccountRequestCancel) Unmarshal added in v0.3.20

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

func (*AclAccountRequestCancel) XXX_DiscardUnknown added in v0.3.20

func (m *AclAccountRequestCancel) XXX_DiscardUnknown()

func (*AclAccountRequestCancel) XXX_Marshal added in v0.3.20

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

func (*AclAccountRequestCancel) XXX_Merge added in v0.3.20

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

func (*AclAccountRequestCancel) XXX_Size added in v0.3.20

func (m *AclAccountRequestCancel) XXX_Size() int

func (*AclAccountRequestCancel) XXX_Unmarshal added in v0.3.20

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

type AclAccountRequestDecline added in v0.2.11

type AclAccountRequestDecline struct {
	RequestRecordId string `protobuf:"bytes,1,opt,name=requestRecordId,proto3" json:"requestRecordId,omitempty"`
}

AclAccountRequestDecline contains the reference to join record

func (*AclAccountRequestDecline) Descriptor added in v0.2.11

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

func (*AclAccountRequestDecline) GetRequestRecordId added in v0.2.11

func (m *AclAccountRequestDecline) GetRequestRecordId() string

func (*AclAccountRequestDecline) Marshal added in v0.2.11

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

func (*AclAccountRequestDecline) MarshalTo added in v0.2.11

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

func (*AclAccountRequestDecline) MarshalToSizedBuffer added in v0.2.11

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

func (*AclAccountRequestDecline) ProtoMessage added in v0.2.11

func (*AclAccountRequestDecline) ProtoMessage()

func (*AclAccountRequestDecline) Reset added in v0.2.11

func (m *AclAccountRequestDecline) Reset()

func (*AclAccountRequestDecline) Size added in v0.2.11

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

func (*AclAccountRequestDecline) String added in v0.2.11

func (m *AclAccountRequestDecline) String() string

func (*AclAccountRequestDecline) Unmarshal added in v0.2.11

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

func (*AclAccountRequestDecline) XXX_DiscardUnknown added in v0.2.11

func (m *AclAccountRequestDecline) XXX_DiscardUnknown()

func (*AclAccountRequestDecline) XXX_Marshal added in v0.2.11

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

func (*AclAccountRequestDecline) XXX_Merge added in v0.2.11

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

func (*AclAccountRequestDecline) XXX_Size added in v0.2.11

func (m *AclAccountRequestDecline) XXX_Size() int

func (*AclAccountRequestDecline) XXX_Unmarshal added in v0.2.11

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

type AclAccountRequestJoin added in v0.2.11

type AclAccountRequestJoin struct {
	InviteIdentity          []byte `protobuf:"bytes,1,opt,name=inviteIdentity,proto3" json:"inviteIdentity,omitempty"`
	InviteRecordId          string `protobuf:"bytes,2,opt,name=inviteRecordId,proto3" json:"inviteRecordId,omitempty"`
	InviteIdentitySignature []byte `protobuf:"bytes,3,opt,name=inviteIdentitySignature,proto3" json:"inviteIdentitySignature,omitempty"`
	// Metadata is encrypted with metadata key of the space
	Metadata []byte `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
}

AclAccountRequestJoin contains the reference to the invite record and the data of the person who wants to join, confirmed by the private invite key

func (*AclAccountRequestJoin) Descriptor added in v0.2.11

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

func (*AclAccountRequestJoin) GetInviteIdentity added in v0.2.11

func (m *AclAccountRequestJoin) GetInviteIdentity() []byte

func (*AclAccountRequestJoin) GetInviteIdentitySignature added in v0.2.11

func (m *AclAccountRequestJoin) GetInviteIdentitySignature() []byte

func (*AclAccountRequestJoin) GetInviteRecordId added in v0.2.11

func (m *AclAccountRequestJoin) GetInviteRecordId() string

func (*AclAccountRequestJoin) GetMetadata added in v0.2.11

func (m *AclAccountRequestJoin) GetMetadata() []byte

func (*AclAccountRequestJoin) Marshal added in v0.2.11

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

func (*AclAccountRequestJoin) MarshalTo added in v0.2.11

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

func (*AclAccountRequestJoin) MarshalToSizedBuffer added in v0.2.11

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

func (*AclAccountRequestJoin) ProtoMessage added in v0.2.11

func (*AclAccountRequestJoin) ProtoMessage()

func (*AclAccountRequestJoin) Reset added in v0.2.11

func (m *AclAccountRequestJoin) Reset()

func (*AclAccountRequestJoin) Size added in v0.2.11

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

func (*AclAccountRequestJoin) String added in v0.2.11

func (m *AclAccountRequestJoin) String() string

func (*AclAccountRequestJoin) Unmarshal added in v0.2.11

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

func (*AclAccountRequestJoin) XXX_DiscardUnknown added in v0.2.11

func (m *AclAccountRequestJoin) XXX_DiscardUnknown()

func (*AclAccountRequestJoin) XXX_Marshal added in v0.2.11

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

func (*AclAccountRequestJoin) XXX_Merge added in v0.2.11

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

func (*AclAccountRequestJoin) XXX_Size added in v0.2.11

func (m *AclAccountRequestJoin) XXX_Size() int

func (*AclAccountRequestJoin) XXX_Unmarshal added in v0.2.11

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

type AclAccountRequestRemove added in v0.2.11

type AclAccountRequestRemove struct {
}

AclAccountRequestRemove adds a request to remove an account

func (*AclAccountRequestRemove) Descriptor added in v0.2.11

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

func (*AclAccountRequestRemove) Marshal added in v0.2.11

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

func (*AclAccountRequestRemove) MarshalTo added in v0.2.11

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

func (*AclAccountRequestRemove) MarshalToSizedBuffer added in v0.2.11

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

func (*AclAccountRequestRemove) ProtoMessage added in v0.2.11

func (*AclAccountRequestRemove) ProtoMessage()

func (*AclAccountRequestRemove) Reset added in v0.2.11

func (m *AclAccountRequestRemove) Reset()

func (*AclAccountRequestRemove) Size added in v0.2.11

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

func (*AclAccountRequestRemove) String added in v0.2.11

func (m *AclAccountRequestRemove) String() string

func (*AclAccountRequestRemove) Unmarshal added in v0.2.11

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

func (*AclAccountRequestRemove) XXX_DiscardUnknown added in v0.2.11

func (m *AclAccountRequestRemove) XXX_DiscardUnknown()

func (*AclAccountRequestRemove) XXX_Marshal added in v0.2.11

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

func (*AclAccountRequestRemove) XXX_Merge added in v0.2.11

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

func (*AclAccountRequestRemove) XXX_Size added in v0.2.11

func (m *AclAccountRequestRemove) XXX_Size() int

func (*AclAccountRequestRemove) XXX_Unmarshal added in v0.2.11

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

type AclAccountsAdd added in v0.3.18

type AclAccountsAdd struct {
	Additions []*AclAccountAdd `protobuf:"bytes,1,rep,name=additions,proto3" json:"additions,omitempty"`
}

AclAccountsAdd contains new accounts to be added

func (*AclAccountsAdd) Descriptor added in v0.3.18

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

func (*AclAccountsAdd) GetAdditions added in v0.3.18

func (m *AclAccountsAdd) GetAdditions() []*AclAccountAdd

func (*AclAccountsAdd) Marshal added in v0.3.18

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

func (*AclAccountsAdd) MarshalTo added in v0.3.18

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

func (*AclAccountsAdd) MarshalToSizedBuffer added in v0.3.18

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

func (*AclAccountsAdd) ProtoMessage added in v0.3.18

func (*AclAccountsAdd) ProtoMessage()

func (*AclAccountsAdd) Reset added in v0.3.18

func (m *AclAccountsAdd) Reset()

func (*AclAccountsAdd) Size added in v0.3.18

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

func (*AclAccountsAdd) String added in v0.3.18

func (m *AclAccountsAdd) String() string

func (*AclAccountsAdd) Unmarshal added in v0.3.18

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

func (*AclAccountsAdd) XXX_DiscardUnknown added in v0.3.18

func (m *AclAccountsAdd) XXX_DiscardUnknown()

func (*AclAccountsAdd) XXX_Marshal added in v0.3.18

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

func (*AclAccountsAdd) XXX_Merge added in v0.3.18

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

func (*AclAccountsAdd) XXX_Size added in v0.3.18

func (m *AclAccountsAdd) XXX_Size() int

func (*AclAccountsAdd) XXX_Unmarshal added in v0.3.18

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

type AclContentValue

type AclContentValue struct {
	// Types that are valid to be assigned to Value:
	//
	//	*AclContentValue_Invite
	//	*AclContentValue_InviteRevoke
	//	*AclContentValue_RequestJoin
	//	*AclContentValue_RequestAccept
	//	*AclContentValue_PermissionChange
	//	*AclContentValue_AccountRemove
	//	*AclContentValue_ReadKeyChange
	//	*AclContentValue_RequestDecline
	//	*AclContentValue_AccountRequestRemove
	//	*AclContentValue_PermissionChanges
	//	*AclContentValue_AccountsAdd
	//	*AclContentValue_RequestCancel
	Value isAclContentValue_Value `protobuf_oneof:"value"`
}

AclContentValue contains possible values for Acl

func (*AclContentValue) Descriptor

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

func (*AclContentValue) GetAccountRemove added in v0.2.11

func (m *AclContentValue) GetAccountRemove() *AclAccountRemove

func (*AclContentValue) GetAccountRequestRemove added in v0.2.11

func (m *AclContentValue) GetAccountRequestRemove() *AclAccountRequestRemove

func (*AclContentValue) GetAccountsAdd added in v0.3.18

func (m *AclContentValue) GetAccountsAdd() *AclAccountsAdd

func (*AclContentValue) GetInvite added in v0.2.11

func (m *AclContentValue) GetInvite() *AclAccountInvite

func (*AclContentValue) GetInviteRevoke added in v0.2.11

func (m *AclContentValue) GetInviteRevoke() *AclAccountInviteRevoke

func (*AclContentValue) GetPermissionChange added in v0.2.11

func (m *AclContentValue) GetPermissionChange() *AclAccountPermissionChange

func (*AclContentValue) GetPermissionChanges added in v0.3.18

func (m *AclContentValue) GetPermissionChanges() *AclAccountPermissionChanges

func (*AclContentValue) GetReadKeyChange added in v0.2.11

func (m *AclContentValue) GetReadKeyChange() *AclReadKeyChange

func (*AclContentValue) GetRequestAccept added in v0.2.11

func (m *AclContentValue) GetRequestAccept() *AclAccountRequestAccept

func (*AclContentValue) GetRequestCancel added in v0.3.20

func (m *AclContentValue) GetRequestCancel() *AclAccountRequestCancel

func (*AclContentValue) GetRequestDecline added in v0.2.11

func (m *AclContentValue) GetRequestDecline() *AclAccountRequestDecline

func (*AclContentValue) GetRequestJoin added in v0.2.11

func (m *AclContentValue) GetRequestJoin() *AclAccountRequestJoin

func (*AclContentValue) GetValue

func (m *AclContentValue) GetValue() isAclContentValue_Value

func (*AclContentValue) Marshal

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

func (*AclContentValue) MarshalTo

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

func (*AclContentValue) MarshalToSizedBuffer

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

func (*AclContentValue) ProtoMessage

func (*AclContentValue) ProtoMessage()

func (*AclContentValue) Reset

func (m *AclContentValue) Reset()

func (*AclContentValue) Size

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

func (*AclContentValue) String

func (m *AclContentValue) String() string

func (*AclContentValue) Unmarshal

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

func (*AclContentValue) XXX_DiscardUnknown

func (m *AclContentValue) XXX_DiscardUnknown()

func (*AclContentValue) XXX_Marshal

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

func (*AclContentValue) XXX_Merge

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

func (*AclContentValue) XXX_OneofWrappers

func (*AclContentValue) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*AclContentValue) XXX_Size

func (m *AclContentValue) XXX_Size() int

func (*AclContentValue) XXX_Unmarshal

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

type AclContentValue_AccountRemove added in v0.2.11

type AclContentValue_AccountRemove struct {
	AccountRemove *AclAccountRemove `protobuf:"bytes,6,opt,name=accountRemove,proto3,oneof" json:"accountRemove,omitempty"`
}

func (*AclContentValue_AccountRemove) MarshalTo added in v0.2.11

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

func (*AclContentValue_AccountRemove) MarshalToSizedBuffer added in v0.2.11

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

func (*AclContentValue_AccountRemove) Size added in v0.2.11

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

type AclContentValue_AccountRequestRemove added in v0.2.11

type AclContentValue_AccountRequestRemove struct {
	AccountRequestRemove *AclAccountRequestRemove `protobuf:"bytes,9,opt,name=accountRequestRemove,proto3,oneof" json:"accountRequestRemove,omitempty"`
}

func (*AclContentValue_AccountRequestRemove) MarshalTo added in v0.2.11

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

func (*AclContentValue_AccountRequestRemove) MarshalToSizedBuffer added in v0.2.11

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

func (*AclContentValue_AccountRequestRemove) Size added in v0.2.11

type AclContentValue_AccountsAdd added in v0.3.18

type AclContentValue_AccountsAdd struct {
	AccountsAdd *AclAccountsAdd `protobuf:"bytes,11,opt,name=accountsAdd,proto3,oneof" json:"accountsAdd,omitempty"`
}

func (*AclContentValue_AccountsAdd) MarshalTo added in v0.3.18

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

func (*AclContentValue_AccountsAdd) MarshalToSizedBuffer added in v0.3.18

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

func (*AclContentValue_AccountsAdd) Size added in v0.3.18

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

type AclContentValue_Invite added in v0.2.11

type AclContentValue_Invite struct {
	Invite *AclAccountInvite `protobuf:"bytes,1,opt,name=invite,proto3,oneof" json:"invite,omitempty"`
}

func (*AclContentValue_Invite) MarshalTo added in v0.2.11

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

func (*AclContentValue_Invite) MarshalToSizedBuffer added in v0.2.11

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

func (*AclContentValue_Invite) Size added in v0.2.11

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

type AclContentValue_InviteRevoke added in v0.2.11

type AclContentValue_InviteRevoke struct {
	InviteRevoke *AclAccountInviteRevoke `protobuf:"bytes,2,opt,name=inviteRevoke,proto3,oneof" json:"inviteRevoke,omitempty"`
}

func (*AclContentValue_InviteRevoke) MarshalTo added in v0.2.11

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

func (*AclContentValue_InviteRevoke) MarshalToSizedBuffer added in v0.2.11

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

func (*AclContentValue_InviteRevoke) Size added in v0.2.11

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

type AclContentValue_PermissionChange added in v0.2.11

type AclContentValue_PermissionChange struct {
	PermissionChange *AclAccountPermissionChange `protobuf:"bytes,5,opt,name=permissionChange,proto3,oneof" json:"permissionChange,omitempty"`
}

func (*AclContentValue_PermissionChange) MarshalTo added in v0.2.11

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

func (*AclContentValue_PermissionChange) MarshalToSizedBuffer added in v0.2.11

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

func (*AclContentValue_PermissionChange) Size added in v0.2.11

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

type AclContentValue_PermissionChanges added in v0.3.18

type AclContentValue_PermissionChanges struct {
	PermissionChanges *AclAccountPermissionChanges `protobuf:"bytes,10,opt,name=permissionChanges,proto3,oneof" json:"permissionChanges,omitempty"`
}

func (*AclContentValue_PermissionChanges) MarshalTo added in v0.3.18

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

func (*AclContentValue_PermissionChanges) MarshalToSizedBuffer added in v0.3.18

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

func (*AclContentValue_PermissionChanges) Size added in v0.3.18

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

type AclContentValue_ReadKeyChange added in v0.2.11

type AclContentValue_ReadKeyChange struct {
	ReadKeyChange *AclReadKeyChange `protobuf:"bytes,7,opt,name=readKeyChange,proto3,oneof" json:"readKeyChange,omitempty"`
}

func (*AclContentValue_ReadKeyChange) MarshalTo added in v0.2.11

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

func (*AclContentValue_ReadKeyChange) MarshalToSizedBuffer added in v0.2.11

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

func (*AclContentValue_ReadKeyChange) Size added in v0.2.11

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

type AclContentValue_RequestAccept added in v0.2.11

type AclContentValue_RequestAccept struct {
	RequestAccept *AclAccountRequestAccept `protobuf:"bytes,4,opt,name=requestAccept,proto3,oneof" json:"requestAccept,omitempty"`
}

func (*AclContentValue_RequestAccept) MarshalTo added in v0.2.11

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

func (*AclContentValue_RequestAccept) MarshalToSizedBuffer added in v0.2.11

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

func (*AclContentValue_RequestAccept) Size added in v0.2.11

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

type AclContentValue_RequestCancel added in v0.3.20

type AclContentValue_RequestCancel struct {
	RequestCancel *AclAccountRequestCancel `protobuf:"bytes,12,opt,name=requestCancel,proto3,oneof" json:"requestCancel,omitempty"`
}

func (*AclContentValue_RequestCancel) MarshalTo added in v0.3.20

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

func (*AclContentValue_RequestCancel) MarshalToSizedBuffer added in v0.3.20

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

func (*AclContentValue_RequestCancel) Size added in v0.3.20

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

type AclContentValue_RequestDecline added in v0.2.11

type AclContentValue_RequestDecline struct {
	RequestDecline *AclAccountRequestDecline `protobuf:"bytes,8,opt,name=requestDecline,proto3,oneof" json:"requestDecline,omitempty"`
}

func (*AclContentValue_RequestDecline) MarshalTo added in v0.2.11

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

func (*AclContentValue_RequestDecline) MarshalToSizedBuffer added in v0.2.11

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

func (*AclContentValue_RequestDecline) Size added in v0.2.11

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

type AclContentValue_RequestJoin added in v0.2.11

type AclContentValue_RequestJoin struct {
	RequestJoin *AclAccountRequestJoin `protobuf:"bytes,3,opt,name=requestJoin,proto3,oneof" json:"requestJoin,omitempty"`
}

func (*AclContentValue_RequestJoin) MarshalTo added in v0.2.11

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

func (*AclContentValue_RequestJoin) MarshalToSizedBuffer added in v0.2.11

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

func (*AclContentValue_RequestJoin) Size added in v0.2.11

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

type AclData

type AclData struct {
	AclContent []*AclContentValue `protobuf:"bytes,1,rep,name=aclContent,proto3" json:"aclContent,omitempty"`
}

AclData contains different acl content

func (*AclData) Descriptor

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

func (*AclData) GetAclContent

func (m *AclData) GetAclContent() []*AclContentValue

func (*AclData) Marshal

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

func (*AclData) MarshalTo

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

func (*AclData) MarshalToSizedBuffer

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

func (*AclData) ProtoMessage

func (*AclData) ProtoMessage()

func (*AclData) Reset

func (m *AclData) Reset()

func (*AclData) Size

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

func (*AclData) String

func (m *AclData) String() string

func (*AclData) Unmarshal

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

func (*AclData) XXX_DiscardUnknown

func (m *AclData) XXX_DiscardUnknown()

func (*AclData) XXX_Marshal

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

func (*AclData) XXX_Merge

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

func (*AclData) XXX_Size

func (m *AclData) XXX_Size() int

func (*AclData) XXX_Unmarshal

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

type AclEncryptedReadKey added in v0.2.11

type AclEncryptedReadKey struct {
	Identity         []byte `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	EncryptedReadKey []byte `protobuf:"bytes,2,opt,name=encryptedReadKey,proto3" json:"encryptedReadKey,omitempty"`
}

AclEncryptedReadKeys are new key for specific identity

func (*AclEncryptedReadKey) Descriptor added in v0.2.11

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

func (*AclEncryptedReadKey) GetEncryptedReadKey added in v0.2.11

func (m *AclEncryptedReadKey) GetEncryptedReadKey() []byte

func (*AclEncryptedReadKey) GetIdentity added in v0.2.11

func (m *AclEncryptedReadKey) GetIdentity() []byte

func (*AclEncryptedReadKey) Marshal added in v0.2.11

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

func (*AclEncryptedReadKey) MarshalTo added in v0.2.11

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

func (*AclEncryptedReadKey) MarshalToSizedBuffer added in v0.2.11

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

func (*AclEncryptedReadKey) ProtoMessage added in v0.2.11

func (*AclEncryptedReadKey) ProtoMessage()

func (*AclEncryptedReadKey) Reset added in v0.2.11

func (m *AclEncryptedReadKey) Reset()

func (*AclEncryptedReadKey) Size added in v0.2.11

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

func (*AclEncryptedReadKey) String added in v0.2.11

func (m *AclEncryptedReadKey) String() string

func (*AclEncryptedReadKey) Unmarshal added in v0.2.11

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

func (*AclEncryptedReadKey) XXX_DiscardUnknown added in v0.2.11

func (m *AclEncryptedReadKey) XXX_DiscardUnknown()

func (*AclEncryptedReadKey) XXX_Marshal added in v0.2.11

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

func (*AclEncryptedReadKey) XXX_Merge added in v0.2.11

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

func (*AclEncryptedReadKey) XXX_Size added in v0.2.11

func (m *AclEncryptedReadKey) XXX_Size() int

func (*AclEncryptedReadKey) XXX_Unmarshal added in v0.2.11

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

type AclReadKeyChange added in v0.2.11

type AclReadKeyChange struct {
	AccountKeys    []*AclEncryptedReadKey `protobuf:"bytes,1,rep,name=accountKeys,proto3" json:"accountKeys,omitempty"`
	MetadataPubKey []byte                 `protobuf:"bytes,2,opt,name=metadataPubKey,proto3" json:"metadataPubKey,omitempty"`
	// EncryptedMetadataPrivKey is encrypted with new read key
	EncryptedMetadataPrivKey []byte `protobuf:"bytes,3,opt,name=encryptedMetadataPrivKey,proto3" json:"encryptedMetadataPrivKey,omitempty"`
	// EncryptedOldReadKey is encrypted with new read key
	EncryptedOldReadKey []byte `protobuf:"bytes,4,opt,name=encryptedOldReadKey,proto3" json:"encryptedOldReadKey,omitempty"`
}

AclReadKeyChange changes the key for a space

func (*AclReadKeyChange) Descriptor added in v0.2.11

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

func (*AclReadKeyChange) GetAccountKeys added in v0.2.11

func (m *AclReadKeyChange) GetAccountKeys() []*AclEncryptedReadKey

func (*AclReadKeyChange) GetEncryptedMetadataPrivKey added in v0.2.15

func (m *AclReadKeyChange) GetEncryptedMetadataPrivKey() []byte

func (*AclReadKeyChange) GetEncryptedOldReadKey added in v0.2.15

func (m *AclReadKeyChange) GetEncryptedOldReadKey() []byte

func (*AclReadKeyChange) GetMetadataPubKey added in v0.2.15

func (m *AclReadKeyChange) GetMetadataPubKey() []byte

func (*AclReadKeyChange) Marshal added in v0.2.11

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

func (*AclReadKeyChange) MarshalTo added in v0.2.11

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

func (*AclReadKeyChange) MarshalToSizedBuffer added in v0.2.11

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

func (*AclReadKeyChange) ProtoMessage added in v0.2.11

func (*AclReadKeyChange) ProtoMessage()

func (*AclReadKeyChange) Reset added in v0.2.11

func (m *AclReadKeyChange) Reset()

func (*AclReadKeyChange) Size added in v0.2.11

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

func (*AclReadKeyChange) String added in v0.2.11

func (m *AclReadKeyChange) String() string

func (*AclReadKeyChange) Unmarshal added in v0.2.11

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

func (*AclReadKeyChange) XXX_DiscardUnknown added in v0.2.11

func (m *AclReadKeyChange) XXX_DiscardUnknown()

func (*AclReadKeyChange) XXX_Marshal added in v0.2.11

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

func (*AclReadKeyChange) XXX_Merge added in v0.2.11

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

func (*AclReadKeyChange) XXX_Size added in v0.2.11

func (m *AclReadKeyChange) XXX_Size() int

func (*AclReadKeyChange) XXX_Unmarshal added in v0.2.11

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

type AclRoot

type AclRoot struct {
	Identity                 []byte `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	MasterKey                []byte `protobuf:"bytes,2,opt,name=masterKey,proto3" json:"masterKey,omitempty"`
	SpaceId                  string `protobuf:"bytes,3,opt,name=spaceId,proto3" json:"spaceId,omitempty"`
	EncryptedReadKey         []byte `protobuf:"bytes,4,opt,name=encryptedReadKey,proto3" json:"encryptedReadKey,omitempty"`
	Timestamp                int64  `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	IdentitySignature        []byte `protobuf:"bytes,6,opt,name=identitySignature,proto3" json:"identitySignature,omitempty"`
	MetadataPubKey           []byte `protobuf:"bytes,7,opt,name=metadataPubKey,proto3" json:"metadataPubKey,omitempty"`
	EncryptedMetadataPrivKey []byte `protobuf:"bytes,8,opt,name=encryptedMetadataPrivKey,proto3" json:"encryptedMetadataPrivKey,omitempty"`
	EncryptedOwnerMetadata   []byte `protobuf:"bytes,9,opt,name=encryptedOwnerMetadata,proto3" json:"encryptedOwnerMetadata,omitempty"`
}

AclRoot is a root of access control list

func (*AclRoot) Descriptor

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

func (*AclRoot) GetEncryptedMetadataPrivKey added in v0.2.15

func (m *AclRoot) GetEncryptedMetadataPrivKey() []byte

func (*AclRoot) GetEncryptedOwnerMetadata added in v0.3.3

func (m *AclRoot) GetEncryptedOwnerMetadata() []byte

func (*AclRoot) GetEncryptedReadKey

func (m *AclRoot) GetEncryptedReadKey() []byte

func (*AclRoot) GetIdentity

func (m *AclRoot) GetIdentity() []byte

func (*AclRoot) GetIdentitySignature

func (m *AclRoot) GetIdentitySignature() []byte

func (*AclRoot) GetMasterKey

func (m *AclRoot) GetMasterKey() []byte

func (*AclRoot) GetMetadataPubKey added in v0.2.15

func (m *AclRoot) GetMetadataPubKey() []byte

func (*AclRoot) GetSpaceId

func (m *AclRoot) GetSpaceId() string

func (*AclRoot) GetTimestamp

func (m *AclRoot) GetTimestamp() int64

func (*AclRoot) Marshal

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

func (*AclRoot) MarshalTo

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

func (*AclRoot) MarshalToSizedBuffer

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

func (*AclRoot) ProtoMessage

func (*AclRoot) ProtoMessage()

func (*AclRoot) Reset

func (m *AclRoot) Reset()

func (*AclRoot) Size

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

func (*AclRoot) String

func (m *AclRoot) String() string

func (*AclRoot) Unmarshal

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

func (*AclRoot) XXX_DiscardUnknown

func (m *AclRoot) XXX_DiscardUnknown()

func (*AclRoot) XXX_Marshal

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

func (*AclRoot) XXX_Merge

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

func (*AclRoot) XXX_Size

func (m *AclRoot) XXX_Size() int

func (*AclRoot) XXX_Unmarshal

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

type AclUserPermissions

type AclUserPermissions int32

AclUserPermissions contains different possible user roles

const (
	AclUserPermissions_None   AclUserPermissions = 0
	AclUserPermissions_Owner  AclUserPermissions = 1
	AclUserPermissions_Admin  AclUserPermissions = 2
	AclUserPermissions_Writer AclUserPermissions = 3
	AclUserPermissions_Reader AclUserPermissions = 4
)

func (AclUserPermissions) EnumDescriptor

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

func (AclUserPermissions) String

func (x AclUserPermissions) String() string

Jump to

Keyboard shortcuts

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