aclrecordproto

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AclInviteType_name = map[int32]string{
		0: "RequestToJoin",
		1: "AnyoneCanJoin",
	}
	AclInviteType_value = map[string]int32{
		"RequestToJoin": 0,
		"AnyoneCanJoin": 1,
	}
)

Enum value maps for AclInviteType.

View Source
var (
	AclUserPermissions_name = map[int32]string{
		0: "None",
		1: "Owner",
		2: "Admin",
		3: "Writer",
		4: "Reader",
		5: "Guest",
	}
	AclUserPermissions_value = map[string]int32{
		"None":   0,
		"Owner":  1,
		"Admin":  2,
		"Writer": 3,
		"Reader": 4,
		"Guest":  5,
	}
)

Enum value maps for AclUserPermissions.

View Source
var File_aclrecord_proto protoreflect.FileDescriptor

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"`
	// contains filtered or unexported fields
}

AclAccountAdd contains new account to be added

func (*AclAccountAdd) Descriptor deprecated added in v0.3.18

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

Deprecated: Use AclAccountAdd.ProtoReflect.Descriptor instead.

func (*AclAccountAdd) GetEncryptedReadKey added in v0.3.18

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

func (*AclAccountAdd) GetIdentity added in v0.3.18

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

func (*AclAccountAdd) GetMetadata added in v0.3.18

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

func (*AclAccountAdd) GetPermissions added in v0.3.18

func (x *AclAccountAdd) GetPermissions() AclUserPermissions

func (*AclAccountAdd) MarshalToSizedBufferVT added in v0.9.0

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

func (*AclAccountAdd) MarshalToVT added in v0.9.0

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

func (*AclAccountAdd) MarshalVT added in v0.9.0

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

func (*AclAccountAdd) ProtoMessage added in v0.3.18

func (*AclAccountAdd) ProtoMessage()

func (*AclAccountAdd) ProtoReflect added in v0.9.0

func (x *AclAccountAdd) ProtoReflect() protoreflect.Message

func (*AclAccountAdd) Reset added in v0.3.18

func (x *AclAccountAdd) Reset()

func (*AclAccountAdd) SizeVT added in v0.9.0

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

func (*AclAccountAdd) String added in v0.3.18

func (x *AclAccountAdd) String() string

func (*AclAccountAdd) UnmarshalVT added in v0.9.0

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

type AclAccountInvite added in v0.2.11

type AclAccountInvite struct {
	InviteKey        []byte             `protobuf:"bytes,1,opt,name=inviteKey,proto3" json:"inviteKey,omitempty"`
	InviteType       AclInviteType      `protobuf:"varint,2,opt,name=inviteType,proto3,enum=aclrecord.AclInviteType" json:"inviteType,omitempty"`
	Permissions      AclUserPermissions `protobuf:"varint,3,opt,name=permissions,proto3,enum=aclrecord.AclUserPermissions" json:"permissions,omitempty"`
	EncryptedReadKey []byte             `protobuf:"bytes,4,opt,name=encryptedReadKey,proto3" json:"encryptedReadKey,omitempty"`
	// contains filtered or unexported fields
}

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

func (*AclAccountInvite) Descriptor deprecated added in v0.2.11

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

Deprecated: Use AclAccountInvite.ProtoReflect.Descriptor instead.

func (*AclAccountInvite) GetEncryptedReadKey added in v0.8.0

func (x *AclAccountInvite) GetEncryptedReadKey() []byte

func (*AclAccountInvite) GetInviteKey added in v0.2.11

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

func (*AclAccountInvite) GetInviteType added in v0.8.0

func (x *AclAccountInvite) GetInviteType() AclInviteType

func (*AclAccountInvite) GetPermissions added in v0.8.0

func (x *AclAccountInvite) GetPermissions() AclUserPermissions

func (*AclAccountInvite) MarshalToSizedBufferVT added in v0.9.0

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

func (*AclAccountInvite) MarshalToVT added in v0.9.0

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

func (*AclAccountInvite) MarshalVT added in v0.9.0

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

func (*AclAccountInvite) ProtoMessage added in v0.2.11

func (*AclAccountInvite) ProtoMessage()

func (*AclAccountInvite) ProtoReflect added in v0.9.0

func (x *AclAccountInvite) ProtoReflect() protoreflect.Message

func (*AclAccountInvite) Reset added in v0.2.11

func (x *AclAccountInvite) Reset()

func (*AclAccountInvite) SizeVT added in v0.9.0

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

func (*AclAccountInvite) String added in v0.2.11

func (x *AclAccountInvite) String() string

func (*AclAccountInvite) UnmarshalVT added in v0.9.0

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

type AclAccountInviteChange added in v0.8.0

type AclAccountInviteChange struct {
	InviteRecordId string             `protobuf:"bytes,1,opt,name=inviteRecordId,proto3" json:"inviteRecordId,omitempty"`
	Permissions    AclUserPermissions `protobuf:"varint,2,opt,name=permissions,proto3,enum=aclrecord.AclUserPermissions" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

func (*AclAccountInviteChange) Descriptor deprecated added in v0.8.0

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

Deprecated: Use AclAccountInviteChange.ProtoReflect.Descriptor instead.

func (*AclAccountInviteChange) GetInviteRecordId added in v0.8.0

func (x *AclAccountInviteChange) GetInviteRecordId() string

func (*AclAccountInviteChange) GetPermissions added in v0.8.0

func (x *AclAccountInviteChange) GetPermissions() AclUserPermissions

func (*AclAccountInviteChange) MarshalToSizedBufferVT added in v0.9.0

func (m *AclAccountInviteChange) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AclAccountInviteChange) MarshalToVT added in v0.9.0

func (m *AclAccountInviteChange) MarshalToVT(dAtA []byte) (int, error)

func (*AclAccountInviteChange) MarshalVT added in v0.9.0

func (m *AclAccountInviteChange) MarshalVT() (dAtA []byte, err error)

func (*AclAccountInviteChange) ProtoMessage added in v0.8.0

func (*AclAccountInviteChange) ProtoMessage()

func (*AclAccountInviteChange) ProtoReflect added in v0.9.0

func (x *AclAccountInviteChange) ProtoReflect() protoreflect.Message

func (*AclAccountInviteChange) Reset added in v0.8.0

func (x *AclAccountInviteChange) Reset()

func (*AclAccountInviteChange) SizeVT added in v0.9.0

func (m *AclAccountInviteChange) SizeVT() (n int)

func (*AclAccountInviteChange) String added in v0.8.0

func (x *AclAccountInviteChange) String() string

func (*AclAccountInviteChange) UnmarshalVT added in v0.9.0

func (m *AclAccountInviteChange) UnmarshalVT(dAtA []byte) error

type AclAccountInviteJoin added in v0.8.0

type AclAccountInviteJoin struct {
	Identity                []byte `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,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"`
	EncryptedReadKey []byte `protobuf:"bytes,5,opt,name=encryptedReadKey,proto3" json:"encryptedReadKey,omitempty"`
	// contains filtered or unexported fields
}

AclInviteJoin contains the reference to the invite record and the data of the person who wants to join, confirmed by the private invite key The person must encrypt the key with its own public key

func (*AclAccountInviteJoin) Descriptor deprecated added in v0.8.0

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

Deprecated: Use AclAccountInviteJoin.ProtoReflect.Descriptor instead.

func (*AclAccountInviteJoin) GetEncryptedReadKey added in v0.8.0

func (x *AclAccountInviteJoin) GetEncryptedReadKey() []byte

func (*AclAccountInviteJoin) GetIdentity added in v0.8.0

func (x *AclAccountInviteJoin) GetIdentity() []byte

func (*AclAccountInviteJoin) GetInviteIdentitySignature added in v0.8.0

func (x *AclAccountInviteJoin) GetInviteIdentitySignature() []byte

func (*AclAccountInviteJoin) GetInviteRecordId added in v0.8.0

func (x *AclAccountInviteJoin) GetInviteRecordId() string

func (*AclAccountInviteJoin) GetMetadata added in v0.8.0

func (x *AclAccountInviteJoin) GetMetadata() []byte

func (*AclAccountInviteJoin) MarshalToSizedBufferVT added in v0.9.0

func (m *AclAccountInviteJoin) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AclAccountInviteJoin) MarshalToVT added in v0.9.0

func (m *AclAccountInviteJoin) MarshalToVT(dAtA []byte) (int, error)

func (*AclAccountInviteJoin) MarshalVT added in v0.9.0

func (m *AclAccountInviteJoin) MarshalVT() (dAtA []byte, err error)

func (*AclAccountInviteJoin) ProtoMessage added in v0.8.0

func (*AclAccountInviteJoin) ProtoMessage()

func (*AclAccountInviteJoin) ProtoReflect added in v0.9.0

func (x *AclAccountInviteJoin) ProtoReflect() protoreflect.Message

func (*AclAccountInviteJoin) Reset added in v0.8.0

func (x *AclAccountInviteJoin) Reset()

func (*AclAccountInviteJoin) SizeVT added in v0.9.0

func (m *AclAccountInviteJoin) SizeVT() (n int)

func (*AclAccountInviteJoin) String added in v0.8.0

func (x *AclAccountInviteJoin) String() string

func (*AclAccountInviteJoin) UnmarshalVT added in v0.9.0

func (m *AclAccountInviteJoin) UnmarshalVT(dAtA []byte) error

type AclAccountInviteRevoke added in v0.2.11

type AclAccountInviteRevoke struct {
	InviteRecordId string `protobuf:"bytes,1,opt,name=inviteRecordId,proto3" json:"inviteRecordId,omitempty"`
	// contains filtered or unexported fields
}

AclAccountInviteRevoke revokes the invite record

func (*AclAccountInviteRevoke) Descriptor deprecated added in v0.2.11

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

Deprecated: Use AclAccountInviteRevoke.ProtoReflect.Descriptor instead.

func (*AclAccountInviteRevoke) GetInviteRecordId added in v0.2.11

func (x *AclAccountInviteRevoke) GetInviteRecordId() string

func (*AclAccountInviteRevoke) MarshalToSizedBufferVT added in v0.9.0

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

func (*AclAccountInviteRevoke) MarshalToVT added in v0.9.0

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

func (*AclAccountInviteRevoke) MarshalVT added in v0.9.0

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

func (*AclAccountInviteRevoke) ProtoMessage added in v0.2.11

func (*AclAccountInviteRevoke) ProtoMessage()

func (*AclAccountInviteRevoke) ProtoReflect added in v0.9.0

func (x *AclAccountInviteRevoke) ProtoReflect() protoreflect.Message

func (*AclAccountInviteRevoke) Reset added in v0.2.11

func (x *AclAccountInviteRevoke) Reset()

func (*AclAccountInviteRevoke) SizeVT added in v0.9.0

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

func (*AclAccountInviteRevoke) String added in v0.2.11

func (x *AclAccountInviteRevoke) String() string

func (*AclAccountInviteRevoke) UnmarshalVT added in v0.9.0

func (m *AclAccountInviteRevoke) UnmarshalVT(dAtA []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"`
	// contains filtered or unexported fields
}

AclAccountPermissionChange changes permissions of specific account

func (*AclAccountPermissionChange) Descriptor deprecated added in v0.2.11

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

Deprecated: Use AclAccountPermissionChange.ProtoReflect.Descriptor instead.

func (*AclAccountPermissionChange) GetIdentity added in v0.2.11

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

func (*AclAccountPermissionChange) GetPermissions added in v0.2.11

func (x *AclAccountPermissionChange) GetPermissions() AclUserPermissions

func (*AclAccountPermissionChange) MarshalToSizedBufferVT added in v0.9.0

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

func (*AclAccountPermissionChange) MarshalToVT added in v0.9.0

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

func (*AclAccountPermissionChange) MarshalVT added in v0.9.0

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

func (*AclAccountPermissionChange) ProtoMessage added in v0.2.11

func (*AclAccountPermissionChange) ProtoMessage()

func (*AclAccountPermissionChange) ProtoReflect added in v0.9.0

func (*AclAccountPermissionChange) Reset added in v0.2.11

func (x *AclAccountPermissionChange) Reset()

func (*AclAccountPermissionChange) SizeVT added in v0.9.0

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

func (*AclAccountPermissionChange) String added in v0.2.11

func (x *AclAccountPermissionChange) String() string

func (*AclAccountPermissionChange) UnmarshalVT added in v0.9.0

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

type AclAccountPermissionChanges added in v0.3.18

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

AclAccountPermissionChanges contains permission changes for certain identities

func (*AclAccountPermissionChanges) Descriptor deprecated added in v0.3.18

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

Deprecated: Use AclAccountPermissionChanges.ProtoReflect.Descriptor instead.

func (*AclAccountPermissionChanges) GetChanges added in v0.3.18

func (*AclAccountPermissionChanges) MarshalToSizedBufferVT added in v0.9.0

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

func (*AclAccountPermissionChanges) MarshalToVT added in v0.9.0

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

func (*AclAccountPermissionChanges) MarshalVT added in v0.9.0

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

func (*AclAccountPermissionChanges) ProtoMessage added in v0.3.18

func (*AclAccountPermissionChanges) ProtoMessage()

func (*AclAccountPermissionChanges) ProtoReflect added in v0.9.0

func (*AclAccountPermissionChanges) Reset added in v0.3.18

func (x *AclAccountPermissionChanges) Reset()

func (*AclAccountPermissionChanges) SizeVT added in v0.9.0

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

func (*AclAccountPermissionChanges) String added in v0.3.18

func (x *AclAccountPermissionChanges) String() string

func (*AclAccountPermissionChanges) UnmarshalVT added in v0.9.0

func (m *AclAccountPermissionChanges) UnmarshalVT(dAtA []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"`
	// contains filtered or unexported fields
}

AclAccountRemove removes an account and changes read key for space

func (*AclAccountRemove) Descriptor deprecated added in v0.2.11

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

Deprecated: Use AclAccountRemove.ProtoReflect.Descriptor instead.

func (*AclAccountRemove) GetIdentities added in v0.2.11

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

func (*AclAccountRemove) GetReadKeyChange added in v0.2.15

func (x *AclAccountRemove) GetReadKeyChange() *AclReadKeyChange

func (*AclAccountRemove) MarshalToSizedBufferVT added in v0.9.0

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

func (*AclAccountRemove) MarshalToVT added in v0.9.0

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

func (*AclAccountRemove) MarshalVT added in v0.9.0

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

func (*AclAccountRemove) ProtoMessage added in v0.2.11

func (*AclAccountRemove) ProtoMessage()

func (*AclAccountRemove) ProtoReflect added in v0.9.0

func (x *AclAccountRemove) ProtoReflect() protoreflect.Message

func (*AclAccountRemove) Reset added in v0.2.11

func (x *AclAccountRemove) Reset()

func (*AclAccountRemove) SizeVT added in v0.9.0

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

func (*AclAccountRemove) String added in v0.2.11

func (x *AclAccountRemove) String() string

func (*AclAccountRemove) UnmarshalVT added in v0.9.0

func (m *AclAccountRemove) UnmarshalVT(dAtA []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"`
	// contains filtered or unexported fields
}

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

func (*AclAccountRequestAccept) Descriptor deprecated added in v0.2.11

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

Deprecated: Use AclAccountRequestAccept.ProtoReflect.Descriptor instead.

func (*AclAccountRequestAccept) GetEncryptedReadKey added in v0.2.15

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

func (*AclAccountRequestAccept) GetIdentity added in v0.2.11

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

func (*AclAccountRequestAccept) GetPermissions added in v0.2.11

func (x *AclAccountRequestAccept) GetPermissions() AclUserPermissions

func (*AclAccountRequestAccept) GetRequestRecordId added in v0.2.11

func (x *AclAccountRequestAccept) GetRequestRecordId() string

func (*AclAccountRequestAccept) MarshalToSizedBufferVT added in v0.9.0

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

func (*AclAccountRequestAccept) MarshalToVT added in v0.9.0

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

func (*AclAccountRequestAccept) MarshalVT added in v0.9.0

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

func (*AclAccountRequestAccept) ProtoMessage added in v0.2.11

func (*AclAccountRequestAccept) ProtoMessage()

func (*AclAccountRequestAccept) ProtoReflect added in v0.9.0

func (x *AclAccountRequestAccept) ProtoReflect() protoreflect.Message

func (*AclAccountRequestAccept) Reset added in v0.2.11

func (x *AclAccountRequestAccept) Reset()

func (*AclAccountRequestAccept) SizeVT added in v0.9.0

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

func (*AclAccountRequestAccept) String added in v0.2.11

func (x *AclAccountRequestAccept) String() string

func (*AclAccountRequestAccept) UnmarshalVT added in v0.9.0

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

type AclAccountRequestCancel added in v0.3.20

type AclAccountRequestCancel struct {
	RecordId string `protobuf:"bytes,1,opt,name=recordId,proto3" json:"recordId,omitempty"`
	// contains filtered or unexported fields
}

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

func (*AclAccountRequestCancel) Descriptor deprecated added in v0.3.20

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

Deprecated: Use AclAccountRequestCancel.ProtoReflect.Descriptor instead.

func (*AclAccountRequestCancel) GetRecordId added in v0.3.20

func (x *AclAccountRequestCancel) GetRecordId() string

func (*AclAccountRequestCancel) MarshalToSizedBufferVT added in v0.9.0

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

func (*AclAccountRequestCancel) MarshalToVT added in v0.9.0

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

func (*AclAccountRequestCancel) MarshalVT added in v0.9.0

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

func (*AclAccountRequestCancel) ProtoMessage added in v0.3.20

func (*AclAccountRequestCancel) ProtoMessage()

func (*AclAccountRequestCancel) ProtoReflect added in v0.9.0

func (x *AclAccountRequestCancel) ProtoReflect() protoreflect.Message

func (*AclAccountRequestCancel) Reset added in v0.3.20

func (x *AclAccountRequestCancel) Reset()

func (*AclAccountRequestCancel) SizeVT added in v0.9.0

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

func (*AclAccountRequestCancel) String added in v0.3.20

func (x *AclAccountRequestCancel) String() string

func (*AclAccountRequestCancel) UnmarshalVT added in v0.9.0

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

type AclAccountRequestDecline added in v0.2.11

type AclAccountRequestDecline struct {
	RequestRecordId string `protobuf:"bytes,1,opt,name=requestRecordId,proto3" json:"requestRecordId,omitempty"`
	// contains filtered or unexported fields
}

AclAccountRequestDecline contains the reference to join record

func (*AclAccountRequestDecline) Descriptor deprecated added in v0.2.11

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

Deprecated: Use AclAccountRequestDecline.ProtoReflect.Descriptor instead.

func (*AclAccountRequestDecline) GetRequestRecordId added in v0.2.11

func (x *AclAccountRequestDecline) GetRequestRecordId() string

func (*AclAccountRequestDecline) MarshalToSizedBufferVT added in v0.9.0

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

func (*AclAccountRequestDecline) MarshalToVT added in v0.9.0

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

func (*AclAccountRequestDecline) MarshalVT added in v0.9.0

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

func (*AclAccountRequestDecline) ProtoMessage added in v0.2.11

func (*AclAccountRequestDecline) ProtoMessage()

func (*AclAccountRequestDecline) ProtoReflect added in v0.9.0

func (x *AclAccountRequestDecline) ProtoReflect() protoreflect.Message

func (*AclAccountRequestDecline) Reset added in v0.2.11

func (x *AclAccountRequestDecline) Reset()

func (*AclAccountRequestDecline) SizeVT added in v0.9.0

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

func (*AclAccountRequestDecline) String added in v0.2.11

func (x *AclAccountRequestDecline) String() string

func (*AclAccountRequestDecline) UnmarshalVT added in v0.9.0

func (m *AclAccountRequestDecline) UnmarshalVT(dAtA []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"`
	// contains filtered or unexported fields
}

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 deprecated added in v0.2.11

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

Deprecated: Use AclAccountRequestJoin.ProtoReflect.Descriptor instead.

func (*AclAccountRequestJoin) GetInviteIdentity added in v0.2.11

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

func (*AclAccountRequestJoin) GetInviteIdentitySignature added in v0.2.11

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

func (*AclAccountRequestJoin) GetInviteRecordId added in v0.2.11

func (x *AclAccountRequestJoin) GetInviteRecordId() string

func (*AclAccountRequestJoin) GetMetadata added in v0.2.11

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

func (*AclAccountRequestJoin) MarshalToSizedBufferVT added in v0.9.0

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

func (*AclAccountRequestJoin) MarshalToVT added in v0.9.0

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

func (*AclAccountRequestJoin) MarshalVT added in v0.9.0

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

func (*AclAccountRequestJoin) ProtoMessage added in v0.2.11

func (*AclAccountRequestJoin) ProtoMessage()

func (*AclAccountRequestJoin) ProtoReflect added in v0.9.0

func (x *AclAccountRequestJoin) ProtoReflect() protoreflect.Message

func (*AclAccountRequestJoin) Reset added in v0.2.11

func (x *AclAccountRequestJoin) Reset()

func (*AclAccountRequestJoin) SizeVT added in v0.9.0

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

func (*AclAccountRequestJoin) String added in v0.2.11

func (x *AclAccountRequestJoin) String() string

func (*AclAccountRequestJoin) UnmarshalVT added in v0.9.0

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

type AclAccountRequestRemove added in v0.2.11

type AclAccountRequestRemove struct {
	// contains filtered or unexported fields
}

AclAccountRequestRemove adds a request to remove an account

func (*AclAccountRequestRemove) Descriptor deprecated added in v0.2.11

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

Deprecated: Use AclAccountRequestRemove.ProtoReflect.Descriptor instead.

func (*AclAccountRequestRemove) MarshalToSizedBufferVT added in v0.9.0

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

func (*AclAccountRequestRemove) MarshalToVT added in v0.9.0

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

func (*AclAccountRequestRemove) MarshalVT added in v0.9.0

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

func (*AclAccountRequestRemove) ProtoMessage added in v0.2.11

func (*AclAccountRequestRemove) ProtoMessage()

func (*AclAccountRequestRemove) ProtoReflect added in v0.9.0

func (x *AclAccountRequestRemove) ProtoReflect() protoreflect.Message

func (*AclAccountRequestRemove) Reset added in v0.2.11

func (x *AclAccountRequestRemove) Reset()

func (*AclAccountRequestRemove) SizeVT added in v0.9.0

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

func (*AclAccountRequestRemove) String added in v0.2.11

func (x *AclAccountRequestRemove) String() string

func (*AclAccountRequestRemove) UnmarshalVT added in v0.9.0

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

type AclAccountsAdd added in v0.3.18

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

AclAccountsAdd contains new accounts to be added

func (*AclAccountsAdd) Descriptor deprecated added in v0.3.18

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

Deprecated: Use AclAccountsAdd.ProtoReflect.Descriptor instead.

func (*AclAccountsAdd) GetAdditions added in v0.3.18

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

func (*AclAccountsAdd) MarshalToSizedBufferVT added in v0.9.0

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

func (*AclAccountsAdd) MarshalToVT added in v0.9.0

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

func (*AclAccountsAdd) MarshalVT added in v0.9.0

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

func (*AclAccountsAdd) ProtoMessage added in v0.3.18

func (*AclAccountsAdd) ProtoMessage()

func (*AclAccountsAdd) ProtoReflect added in v0.9.0

func (x *AclAccountsAdd) ProtoReflect() protoreflect.Message

func (*AclAccountsAdd) Reset added in v0.3.18

func (x *AclAccountsAdd) Reset()

func (*AclAccountsAdd) SizeVT added in v0.9.0

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

func (*AclAccountsAdd) String added in v0.3.18

func (x *AclAccountsAdd) String() string

func (*AclAccountsAdd) UnmarshalVT added in v0.9.0

func (m *AclAccountsAdd) UnmarshalVT(dAtA []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
	//	*AclContentValue_InviteJoin
	//	*AclContentValue_InviteChange
	Value isAclContentValue_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

AclContentValue contains possible values for Acl

func (*AclContentValue) Descriptor deprecated

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

Deprecated: Use AclContentValue.ProtoReflect.Descriptor instead.

func (*AclContentValue) GetAccountRemove added in v0.2.11

func (x *AclContentValue) GetAccountRemove() *AclAccountRemove

func (*AclContentValue) GetAccountRequestRemove added in v0.2.11

func (x *AclContentValue) GetAccountRequestRemove() *AclAccountRequestRemove

func (*AclContentValue) GetAccountsAdd added in v0.3.18

func (x *AclContentValue) GetAccountsAdd() *AclAccountsAdd

func (*AclContentValue) GetInvite added in v0.2.11

func (x *AclContentValue) GetInvite() *AclAccountInvite

func (*AclContentValue) GetInviteChange added in v0.8.0

func (x *AclContentValue) GetInviteChange() *AclAccountInviteChange

func (*AclContentValue) GetInviteJoin added in v0.8.0

func (x *AclContentValue) GetInviteJoin() *AclAccountInviteJoin

func (*AclContentValue) GetInviteRevoke added in v0.2.11

func (x *AclContentValue) GetInviteRevoke() *AclAccountInviteRevoke

func (*AclContentValue) GetPermissionChange added in v0.2.11

func (x *AclContentValue) GetPermissionChange() *AclAccountPermissionChange

func (*AclContentValue) GetPermissionChanges added in v0.3.18

func (x *AclContentValue) GetPermissionChanges() *AclAccountPermissionChanges

func (*AclContentValue) GetReadKeyChange added in v0.2.11

func (x *AclContentValue) GetReadKeyChange() *AclReadKeyChange

func (*AclContentValue) GetRequestAccept added in v0.2.11

func (x *AclContentValue) GetRequestAccept() *AclAccountRequestAccept

func (*AclContentValue) GetRequestCancel added in v0.3.20

func (x *AclContentValue) GetRequestCancel() *AclAccountRequestCancel

func (*AclContentValue) GetRequestDecline added in v0.2.11

func (x *AclContentValue) GetRequestDecline() *AclAccountRequestDecline

func (*AclContentValue) GetRequestJoin added in v0.2.11

func (x *AclContentValue) GetRequestJoin() *AclAccountRequestJoin

func (*AclContentValue) GetValue

func (x *AclContentValue) GetValue() isAclContentValue_Value

func (*AclContentValue) MarshalToSizedBufferVT added in v0.9.0

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

func (*AclContentValue) MarshalToVT added in v0.9.0

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

func (*AclContentValue) MarshalVT added in v0.9.0

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

func (*AclContentValue) ProtoMessage

func (*AclContentValue) ProtoMessage()

func (*AclContentValue) ProtoReflect added in v0.9.0

func (x *AclContentValue) ProtoReflect() protoreflect.Message

func (*AclContentValue) Reset

func (x *AclContentValue) Reset()

func (*AclContentValue) SizeVT added in v0.9.0

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

func (*AclContentValue) String

func (x *AclContentValue) String() string

func (*AclContentValue) UnmarshalVT added in v0.9.0

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

type AclContentValue_AccountRemove added in v0.2.11

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

func (*AclContentValue_AccountRemove) MarshalToSizedBufferVT added in v0.9.0

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

func (*AclContentValue_AccountRemove) MarshalToVT added in v0.9.0

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

func (*AclContentValue_AccountRemove) SizeVT added in v0.9.0

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

type AclContentValue_AccountRequestRemove added in v0.2.11

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

func (*AclContentValue_AccountRequestRemove) MarshalToSizedBufferVT added in v0.9.0

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

func (*AclContentValue_AccountRequestRemove) MarshalToVT added in v0.9.0

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

func (*AclContentValue_AccountRequestRemove) SizeVT added in v0.9.0

func (m *AclContentValue_AccountRequestRemove) SizeVT() (n int)

type AclContentValue_AccountsAdd added in v0.3.18

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

func (*AclContentValue_AccountsAdd) MarshalToSizedBufferVT added in v0.9.0

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

func (*AclContentValue_AccountsAdd) MarshalToVT added in v0.9.0

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

func (*AclContentValue_AccountsAdd) SizeVT added in v0.9.0

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

type AclContentValue_Invite added in v0.2.11

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

func (*AclContentValue_Invite) MarshalToSizedBufferVT added in v0.9.0

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

func (*AclContentValue_Invite) MarshalToVT added in v0.9.0

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

func (*AclContentValue_Invite) SizeVT added in v0.9.0

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

type AclContentValue_InviteChange added in v0.8.0

type AclContentValue_InviteChange struct {
	InviteChange *AclAccountInviteChange `protobuf:"bytes,14,opt,name=inviteChange,proto3,oneof"`
}

func (*AclContentValue_InviteChange) MarshalToSizedBufferVT added in v0.9.0

func (m *AclContentValue_InviteChange) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AclContentValue_InviteChange) MarshalToVT added in v0.9.0

func (m *AclContentValue_InviteChange) MarshalToVT(dAtA []byte) (int, error)

func (*AclContentValue_InviteChange) SizeVT added in v0.9.0

func (m *AclContentValue_InviteChange) SizeVT() (n int)

type AclContentValue_InviteJoin added in v0.8.0

type AclContentValue_InviteJoin struct {
	InviteJoin *AclAccountInviteJoin `protobuf:"bytes,13,opt,name=inviteJoin,proto3,oneof"`
}

func (*AclContentValue_InviteJoin) MarshalToSizedBufferVT added in v0.9.0

func (m *AclContentValue_InviteJoin) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AclContentValue_InviteJoin) MarshalToVT added in v0.9.0

func (m *AclContentValue_InviteJoin) MarshalToVT(dAtA []byte) (int, error)

func (*AclContentValue_InviteJoin) SizeVT added in v0.9.0

func (m *AclContentValue_InviteJoin) SizeVT() (n int)

type AclContentValue_InviteRevoke added in v0.2.11

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

func (*AclContentValue_InviteRevoke) MarshalToSizedBufferVT added in v0.9.0

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

func (*AclContentValue_InviteRevoke) MarshalToVT added in v0.9.0

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

func (*AclContentValue_InviteRevoke) SizeVT added in v0.9.0

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

type AclContentValue_PermissionChange added in v0.2.11

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

func (*AclContentValue_PermissionChange) MarshalToSizedBufferVT added in v0.9.0

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

func (*AclContentValue_PermissionChange) MarshalToVT added in v0.9.0

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

func (*AclContentValue_PermissionChange) SizeVT added in v0.9.0

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

type AclContentValue_PermissionChanges added in v0.3.18

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

func (*AclContentValue_PermissionChanges) MarshalToSizedBufferVT added in v0.9.0

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

func (*AclContentValue_PermissionChanges) MarshalToVT added in v0.9.0

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

func (*AclContentValue_PermissionChanges) SizeVT added in v0.9.0

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

type AclContentValue_ReadKeyChange added in v0.2.11

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

func (*AclContentValue_ReadKeyChange) MarshalToSizedBufferVT added in v0.9.0

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

func (*AclContentValue_ReadKeyChange) MarshalToVT added in v0.9.0

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

func (*AclContentValue_ReadKeyChange) SizeVT added in v0.9.0

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

type AclContentValue_RequestAccept added in v0.2.11

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

func (*AclContentValue_RequestAccept) MarshalToSizedBufferVT added in v0.9.0

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

func (*AclContentValue_RequestAccept) MarshalToVT added in v0.9.0

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

func (*AclContentValue_RequestAccept) SizeVT added in v0.9.0

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

type AclContentValue_RequestCancel added in v0.3.20

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

func (*AclContentValue_RequestCancel) MarshalToSizedBufferVT added in v0.9.0

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

func (*AclContentValue_RequestCancel) MarshalToVT added in v0.9.0

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

func (*AclContentValue_RequestCancel) SizeVT added in v0.9.0

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

type AclContentValue_RequestDecline added in v0.2.11

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

func (*AclContentValue_RequestDecline) MarshalToSizedBufferVT added in v0.9.0

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

func (*AclContentValue_RequestDecline) MarshalToVT added in v0.9.0

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

func (*AclContentValue_RequestDecline) SizeVT added in v0.9.0

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

type AclContentValue_RequestJoin added in v0.2.11

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

func (*AclContentValue_RequestJoin) MarshalToSizedBufferVT added in v0.9.0

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

func (*AclContentValue_RequestJoin) MarshalToVT added in v0.9.0

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

func (*AclContentValue_RequestJoin) SizeVT added in v0.9.0

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

type AclData

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

AclData contains different acl content

func (*AclData) Descriptor deprecated

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

Deprecated: Use AclData.ProtoReflect.Descriptor instead.

func (*AclData) GetAclContent

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

func (*AclData) MarshalToSizedBufferVT added in v0.9.0

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

func (*AclData) MarshalToVT added in v0.9.0

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

func (*AclData) MarshalVT added in v0.9.0

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

func (*AclData) ProtoMessage

func (*AclData) ProtoMessage()

func (*AclData) ProtoReflect added in v0.9.0

func (x *AclData) ProtoReflect() protoreflect.Message

func (*AclData) Reset

func (x *AclData) Reset()

func (*AclData) SizeVT added in v0.9.0

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

func (*AclData) String

func (x *AclData) String() string

func (*AclData) UnmarshalVT added in v0.9.0

func (m *AclData) UnmarshalVT(dAtA []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"`
	// contains filtered or unexported fields
}

AclEncryptedReadKeys are new key for specific identity

func (*AclEncryptedReadKey) Descriptor deprecated added in v0.2.11

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

Deprecated: Use AclEncryptedReadKey.ProtoReflect.Descriptor instead.

func (*AclEncryptedReadKey) GetEncryptedReadKey added in v0.2.11

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

func (*AclEncryptedReadKey) GetIdentity added in v0.2.11

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

func (*AclEncryptedReadKey) MarshalToSizedBufferVT added in v0.9.0

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

func (*AclEncryptedReadKey) MarshalToVT added in v0.9.0

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

func (*AclEncryptedReadKey) MarshalVT added in v0.9.0

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

func (*AclEncryptedReadKey) ProtoMessage added in v0.2.11

func (*AclEncryptedReadKey) ProtoMessage()

func (*AclEncryptedReadKey) ProtoReflect added in v0.9.0

func (x *AclEncryptedReadKey) ProtoReflect() protoreflect.Message

func (*AclEncryptedReadKey) Reset added in v0.2.11

func (x *AclEncryptedReadKey) Reset()

func (*AclEncryptedReadKey) SizeVT added in v0.9.0

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

func (*AclEncryptedReadKey) String added in v0.2.11

func (x *AclEncryptedReadKey) String() string

func (*AclEncryptedReadKey) UnmarshalVT added in v0.9.0

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

type AclInviteType added in v0.8.0

type AclInviteType int32
const (
	AclInviteType_RequestToJoin AclInviteType = 0
	AclInviteType_AnyoneCanJoin AclInviteType = 1
)

func (AclInviteType) Descriptor added in v0.9.0

func (AclInviteType) Enum added in v0.9.0

func (x AclInviteType) Enum() *AclInviteType

func (AclInviteType) EnumDescriptor deprecated added in v0.8.0

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

Deprecated: Use AclInviteType.Descriptor instead.

func (AclInviteType) Number added in v0.9.0

func (AclInviteType) String added in v0.8.0

func (x AclInviteType) String() string

func (AclInviteType) Type added in v0.9.0

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"`
	InviteKeys          []*AclEncryptedReadKey `protobuf:"bytes,5,rep,name=inviteKeys,proto3" json:"inviteKeys,omitempty"`
	// contains filtered or unexported fields
}

AclReadKeyChange changes the key for a space

func (*AclReadKeyChange) Descriptor deprecated added in v0.2.11

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

Deprecated: Use AclReadKeyChange.ProtoReflect.Descriptor instead.

func (*AclReadKeyChange) GetAccountKeys added in v0.2.11

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

func (*AclReadKeyChange) GetEncryptedMetadataPrivKey added in v0.2.15

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

func (*AclReadKeyChange) GetEncryptedOldReadKey added in v0.2.15

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

func (*AclReadKeyChange) GetInviteKeys added in v0.8.0

func (x *AclReadKeyChange) GetInviteKeys() []*AclEncryptedReadKey

func (*AclReadKeyChange) GetMetadataPubKey added in v0.2.15

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

func (*AclReadKeyChange) MarshalToSizedBufferVT added in v0.9.0

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

func (*AclReadKeyChange) MarshalToVT added in v0.9.0

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

func (*AclReadKeyChange) MarshalVT added in v0.9.0

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

func (*AclReadKeyChange) ProtoMessage added in v0.2.11

func (*AclReadKeyChange) ProtoMessage()

func (*AclReadKeyChange) ProtoReflect added in v0.9.0

func (x *AclReadKeyChange) ProtoReflect() protoreflect.Message

func (*AclReadKeyChange) Reset added in v0.2.11

func (x *AclReadKeyChange) Reset()

func (*AclReadKeyChange) SizeVT added in v0.9.0

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

func (*AclReadKeyChange) String added in v0.2.11

func (x *AclReadKeyChange) String() string

func (*AclReadKeyChange) UnmarshalVT added in v0.9.0

func (m *AclReadKeyChange) UnmarshalVT(dAtA []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"`
	// contains filtered or unexported fields
}

AclRoot is a root of access control list

func (*AclRoot) Descriptor deprecated

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

Deprecated: Use AclRoot.ProtoReflect.Descriptor instead.

func (*AclRoot) GetEncryptedMetadataPrivKey added in v0.2.15

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

func (*AclRoot) GetEncryptedOwnerMetadata added in v0.3.3

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

func (*AclRoot) GetEncryptedReadKey

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

func (*AclRoot) GetIdentity

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

func (*AclRoot) GetIdentitySignature

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

func (*AclRoot) GetMasterKey

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

func (*AclRoot) GetMetadataPubKey added in v0.2.15

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

func (*AclRoot) GetSpaceId

func (x *AclRoot) GetSpaceId() string

func (*AclRoot) GetTimestamp

func (x *AclRoot) GetTimestamp() int64

func (*AclRoot) MarshalToSizedBufferVT added in v0.9.0

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

func (*AclRoot) MarshalToVT added in v0.9.0

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

func (*AclRoot) MarshalVT added in v0.9.0

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

func (*AclRoot) ProtoMessage

func (*AclRoot) ProtoMessage()

func (*AclRoot) ProtoReflect added in v0.9.0

func (x *AclRoot) ProtoReflect() protoreflect.Message

func (*AclRoot) Reset

func (x *AclRoot) Reset()

func (*AclRoot) SizeVT added in v0.9.0

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

func (*AclRoot) String

func (x *AclRoot) String() string

func (*AclRoot) UnmarshalVT added in v0.9.0

func (m *AclRoot) UnmarshalVT(dAtA []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
	AclUserPermissions_Guest  AclUserPermissions = 5
)

func (AclUserPermissions) Descriptor added in v0.9.0

func (AclUserPermissions) Enum added in v0.9.0

func (AclUserPermissions) EnumDescriptor deprecated

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

Deprecated: Use AclUserPermissions.Descriptor instead.

func (AclUserPermissions) Number added in v0.9.0

func (AclUserPermissions) String

func (x AclUserPermissions) String() string

func (AclUserPermissions) Type added in v0.9.0

Jump to

Keyboard shortcuts

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