aclrecordproto

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 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: "Admin",
	1: "Writer",
	2: "Reader",
}
View Source
var AclUserPermissions_value = map[string]int32{
	"Admin":  0,
	"Writer": 1,
	"Reader": 2,
}

Functions

This section is empty.

Types

type AclAddRecords

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

func (*AclAddRecords) Descriptor

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

func (*AclAddRecords) GetRecords

func (m *AclAddRecords) GetRecords() []*RawAclRecordWithId

func (*AclAddRecords) Marshal

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

func (*AclAddRecords) MarshalTo

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

func (*AclAddRecords) MarshalToSizedBuffer

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

func (*AclAddRecords) ProtoMessage

func (*AclAddRecords) ProtoMessage()

func (*AclAddRecords) Reset

func (m *AclAddRecords) Reset()

func (*AclAddRecords) Size

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

func (*AclAddRecords) String

func (m *AclAddRecords) String() string

func (*AclAddRecords) Unmarshal

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

func (*AclAddRecords) XXX_DiscardUnknown

func (m *AclAddRecords) XXX_DiscardUnknown()

func (*AclAddRecords) XXX_Marshal

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

func (*AclAddRecords) XXX_Merge

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

func (*AclAddRecords) XXX_Size

func (m *AclAddRecords) XXX_Size() int

func (*AclAddRecords) XXX_Unmarshal

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

type AclContentValue

type AclContentValue struct {
	// Types that are valid to be assigned to Value:
	//
	//	*AclContentValue_UserAdd
	//	*AclContentValue_UserRemove
	//	*AclContentValue_UserPermissionChange
	//	*AclContentValue_UserInvite
	//	*AclContentValue_UserJoin
	Value isAclContentValue_Value `protobuf_oneof:"value"`
}

func (*AclContentValue) Descriptor

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

func (*AclContentValue) GetUserAdd

func (m *AclContentValue) GetUserAdd() *AclUserAdd

func (*AclContentValue) GetUserInvite

func (m *AclContentValue) GetUserInvite() *AclUserInvite

func (*AclContentValue) GetUserJoin

func (m *AclContentValue) GetUserJoin() *AclUserJoin

func (*AclContentValue) GetUserPermissionChange

func (m *AclContentValue) GetUserPermissionChange() *AclUserPermissionChange

func (*AclContentValue) GetUserRemove

func (m *AclContentValue) GetUserRemove() *AclUserRemove

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_UserAdd

type AclContentValue_UserAdd struct {
	UserAdd *AclUserAdd `protobuf:"bytes,1,opt,name=userAdd,proto3,oneof" json:"userAdd,omitempty"`
}

func (*AclContentValue_UserAdd) MarshalTo

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

func (*AclContentValue_UserAdd) MarshalToSizedBuffer

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

func (*AclContentValue_UserAdd) Size

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

type AclContentValue_UserInvite

type AclContentValue_UserInvite struct {
	UserInvite *AclUserInvite `protobuf:"bytes,4,opt,name=userInvite,proto3,oneof" json:"userInvite,omitempty"`
}

func (*AclContentValue_UserInvite) MarshalTo

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

func (*AclContentValue_UserInvite) MarshalToSizedBuffer

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

func (*AclContentValue_UserInvite) Size

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

type AclContentValue_UserJoin

type AclContentValue_UserJoin struct {
	UserJoin *AclUserJoin `protobuf:"bytes,5,opt,name=userJoin,proto3,oneof" json:"userJoin,omitempty"`
}

func (*AclContentValue_UserJoin) MarshalTo

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

func (*AclContentValue_UserJoin) MarshalToSizedBuffer

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

func (*AclContentValue_UserJoin) Size

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

type AclContentValue_UserPermissionChange

type AclContentValue_UserPermissionChange struct {
	UserPermissionChange *AclUserPermissionChange `protobuf:"bytes,3,opt,name=userPermissionChange,proto3,oneof" json:"userPermissionChange,omitempty"`
}

func (*AclContentValue_UserPermissionChange) MarshalTo

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

func (*AclContentValue_UserPermissionChange) MarshalToSizedBuffer

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

func (*AclContentValue_UserPermissionChange) Size

type AclContentValue_UserRemove

type AclContentValue_UserRemove struct {
	UserRemove *AclUserRemove `protobuf:"bytes,2,opt,name=userRemove,proto3,oneof" json:"userRemove,omitempty"`
}

func (*AclContentValue_UserRemove) MarshalTo

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

func (*AclContentValue_UserRemove) MarshalToSizedBuffer

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

func (*AclContentValue_UserRemove) Size

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

type AclData

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

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 AclReadKeyReplace

type AclReadKeyReplace 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"`
}

func (*AclReadKeyReplace) Descriptor

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

func (*AclReadKeyReplace) GetEncryptedReadKey

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

func (*AclReadKeyReplace) GetIdentity

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

func (*AclReadKeyReplace) Marshal

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

func (*AclReadKeyReplace) MarshalTo

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

func (*AclReadKeyReplace) MarshalToSizedBuffer

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

func (*AclReadKeyReplace) ProtoMessage

func (*AclReadKeyReplace) ProtoMessage()

func (*AclReadKeyReplace) Reset

func (m *AclReadKeyReplace) Reset()

func (*AclReadKeyReplace) Size

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

func (*AclReadKeyReplace) String

func (m *AclReadKeyReplace) String() string

func (*AclReadKeyReplace) Unmarshal

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

func (*AclReadKeyReplace) XXX_DiscardUnknown

func (m *AclReadKeyReplace) XXX_DiscardUnknown()

func (*AclReadKeyReplace) XXX_Marshal

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

func (*AclReadKeyReplace) XXX_Merge

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

func (*AclReadKeyReplace) XXX_Size

func (m *AclReadKeyReplace) XXX_Size() int

func (*AclReadKeyReplace) XXX_Unmarshal

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

type AclRecord

type AclRecord struct {
	PrevId    string `protobuf:"bytes,1,opt,name=prevId,proto3" json:"prevId,omitempty"`
	Identity  []byte `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"`
	Data      []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	ReadKeyId string `protobuf:"bytes,4,opt,name=readKeyId,proto3" json:"readKeyId,omitempty"`
	Timestamp int64  `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}

func (*AclRecord) Descriptor

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

func (*AclRecord) GetData

func (m *AclRecord) GetData() []byte

func (*AclRecord) GetIdentity

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

func (*AclRecord) GetPrevId

func (m *AclRecord) GetPrevId() string

func (*AclRecord) GetReadKeyId

func (m *AclRecord) GetReadKeyId() string

func (*AclRecord) GetTimestamp

func (m *AclRecord) GetTimestamp() int64

func (*AclRecord) Marshal

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

func (*AclRecord) MarshalTo

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

func (*AclRecord) MarshalToSizedBuffer

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

func (*AclRecord) ProtoMessage

func (*AclRecord) ProtoMessage()

func (*AclRecord) Reset

func (m *AclRecord) Reset()

func (*AclRecord) Size

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

func (*AclRecord) String

func (m *AclRecord) String() string

func (*AclRecord) Unmarshal

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

func (*AclRecord) XXX_DiscardUnknown

func (m *AclRecord) XXX_DiscardUnknown()

func (*AclRecord) XXX_Marshal

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

func (*AclRecord) XXX_Merge

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

func (*AclRecord) XXX_Size

func (m *AclRecord) XXX_Size() int

func (*AclRecord) XXX_Unmarshal

func (m *AclRecord) 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"`
}

func (*AclRoot) Descriptor

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

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) 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 AclState

type AclState struct {
	ReadKeyIds []string                  `protobuf:"bytes,1,rep,name=readKeyIds,proto3" json:"readKeyIds,omitempty"`
	UserStates []*AclUserState           `protobuf:"bytes,2,rep,name=userStates,proto3" json:"userStates,omitempty"`
	Invites    map[string]*AclUserInvite `` /* 155-byte string literal not displayed */
}

func (*AclState) Descriptor

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

func (*AclState) GetInvites

func (m *AclState) GetInvites() map[string]*AclUserInvite

func (*AclState) GetReadKeyIds

func (m *AclState) GetReadKeyIds() []string

func (*AclState) GetUserStates

func (m *AclState) GetUserStates() []*AclUserState

func (*AclState) Marshal

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

func (*AclState) MarshalTo

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

func (*AclState) MarshalToSizedBuffer

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

func (*AclState) ProtoMessage

func (*AclState) ProtoMessage()

func (*AclState) Reset

func (m *AclState) Reset()

func (*AclState) Size

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

func (*AclState) String

func (m *AclState) String() string

func (*AclState) Unmarshal

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

func (*AclState) XXX_DiscardUnknown

func (m *AclState) XXX_DiscardUnknown()

func (*AclState) XXX_Marshal

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

func (*AclState) XXX_Merge

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

func (*AclState) XXX_Size

func (m *AclState) XXX_Size() int

func (*AclState) XXX_Unmarshal

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

type AclSyncContentValue

type AclSyncContentValue struct {
	// Types that are valid to be assigned to Value:
	//
	//	*AclSyncContentValue_AddRecords
	Value isAclSyncContentValue_Value `protobuf_oneof:"value"`
}

AclSyncContentValue provides different types for acl sync

func (*AclSyncContentValue) Descriptor

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

func (*AclSyncContentValue) GetAddRecords

func (m *AclSyncContentValue) GetAddRecords() *AclAddRecords

func (*AclSyncContentValue) GetValue

func (m *AclSyncContentValue) GetValue() isAclSyncContentValue_Value

func (*AclSyncContentValue) Marshal

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

func (*AclSyncContentValue) MarshalTo

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

func (*AclSyncContentValue) MarshalToSizedBuffer

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

func (*AclSyncContentValue) ProtoMessage

func (*AclSyncContentValue) ProtoMessage()

func (*AclSyncContentValue) Reset

func (m *AclSyncContentValue) Reset()

func (*AclSyncContentValue) Size

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

func (*AclSyncContentValue) String

func (m *AclSyncContentValue) String() string

func (*AclSyncContentValue) Unmarshal

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

func (*AclSyncContentValue) XXX_DiscardUnknown

func (m *AclSyncContentValue) XXX_DiscardUnknown()

func (*AclSyncContentValue) XXX_Marshal

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

func (*AclSyncContentValue) XXX_Merge

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

func (*AclSyncContentValue) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*AclSyncContentValue) XXX_Size

func (m *AclSyncContentValue) XXX_Size() int

func (*AclSyncContentValue) XXX_Unmarshal

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

type AclSyncContentValue_AddRecords

type AclSyncContentValue_AddRecords struct {
	AddRecords *AclAddRecords `protobuf:"bytes,1,opt,name=addRecords,proto3,oneof" json:"addRecords,omitempty"`
}

func (*AclSyncContentValue_AddRecords) MarshalTo

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

func (*AclSyncContentValue_AddRecords) MarshalToSizedBuffer

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

func (*AclSyncContentValue_AddRecords) Size

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

type AclSyncMessage

type AclSyncMessage struct {
	Content *AclSyncContentValue `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
}

func (*AclSyncMessage) Descriptor

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

func (*AclSyncMessage) GetContent

func (m *AclSyncMessage) GetContent() *AclSyncContentValue

func (*AclSyncMessage) Marshal

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

func (*AclSyncMessage) MarshalTo

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

func (*AclSyncMessage) MarshalToSizedBuffer

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

func (*AclSyncMessage) ProtoMessage

func (*AclSyncMessage) ProtoMessage()

func (*AclSyncMessage) Reset

func (m *AclSyncMessage) Reset()

func (*AclSyncMessage) Size

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

func (*AclSyncMessage) String

func (m *AclSyncMessage) String() string

func (*AclSyncMessage) Unmarshal

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

func (*AclSyncMessage) XXX_DiscardUnknown

func (m *AclSyncMessage) XXX_DiscardUnknown()

func (*AclSyncMessage) XXX_Marshal

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

func (*AclSyncMessage) XXX_Merge

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

func (*AclSyncMessage) XXX_Size

func (m *AclSyncMessage) XXX_Size() int

func (*AclSyncMessage) XXX_Unmarshal

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

type AclUserAdd

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

func (*AclUserAdd) Descriptor

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

func (*AclUserAdd) GetEncryptedReadKeys

func (m *AclUserAdd) GetEncryptedReadKeys() [][]byte

func (*AclUserAdd) GetIdentity

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

func (*AclUserAdd) GetPermissions

func (m *AclUserAdd) GetPermissions() AclUserPermissions

func (*AclUserAdd) Marshal

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

func (*AclUserAdd) MarshalTo

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

func (*AclUserAdd) MarshalToSizedBuffer

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

func (*AclUserAdd) ProtoMessage

func (*AclUserAdd) ProtoMessage()

func (*AclUserAdd) Reset

func (m *AclUserAdd) Reset()

func (*AclUserAdd) Size

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

func (*AclUserAdd) String

func (m *AclUserAdd) String() string

func (*AclUserAdd) Unmarshal

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

func (*AclUserAdd) XXX_DiscardUnknown

func (m *AclUserAdd) XXX_DiscardUnknown()

func (*AclUserAdd) XXX_Marshal

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

func (*AclUserAdd) XXX_Merge

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

func (*AclUserAdd) XXX_Size

func (m *AclUserAdd) XXX_Size() int

func (*AclUserAdd) XXX_Unmarshal

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

type AclUserInvite

type AclUserInvite struct {
	AcceptPublicKey   []byte             `protobuf:"bytes,1,opt,name=acceptPublicKey,proto3" json:"acceptPublicKey,omitempty"`
	EncryptedReadKeys [][]byte           `protobuf:"bytes,2,rep,name=encryptedReadKeys,proto3" json:"encryptedReadKeys,omitempty"`
	Permissions       AclUserPermissions `protobuf:"varint,3,opt,name=permissions,proto3,enum=aclrecord.AclUserPermissions" json:"permissions,omitempty"`
}

func (*AclUserInvite) Descriptor

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

func (*AclUserInvite) GetAcceptPublicKey

func (m *AclUserInvite) GetAcceptPublicKey() []byte

func (*AclUserInvite) GetEncryptedReadKeys

func (m *AclUserInvite) GetEncryptedReadKeys() [][]byte

func (*AclUserInvite) GetPermissions

func (m *AclUserInvite) GetPermissions() AclUserPermissions

func (*AclUserInvite) Marshal

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

func (*AclUserInvite) MarshalTo

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

func (*AclUserInvite) MarshalToSizedBuffer

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

func (*AclUserInvite) ProtoMessage

func (*AclUserInvite) ProtoMessage()

func (*AclUserInvite) Reset

func (m *AclUserInvite) Reset()

func (*AclUserInvite) Size

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

func (*AclUserInvite) String

func (m *AclUserInvite) String() string

func (*AclUserInvite) Unmarshal

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

func (*AclUserInvite) XXX_DiscardUnknown

func (m *AclUserInvite) XXX_DiscardUnknown()

func (*AclUserInvite) XXX_Marshal

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

func (*AclUserInvite) XXX_Merge

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

func (*AclUserInvite) XXX_Size

func (m *AclUserInvite) XXX_Size() int

func (*AclUserInvite) XXX_Unmarshal

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

type AclUserJoin

type AclUserJoin struct {
	Identity          []byte   `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	AcceptSignature   []byte   `protobuf:"bytes,2,opt,name=acceptSignature,proto3" json:"acceptSignature,omitempty"`
	AcceptPubKey      []byte   `protobuf:"bytes,3,opt,name=acceptPubKey,proto3" json:"acceptPubKey,omitempty"`
	EncryptedReadKeys [][]byte `protobuf:"bytes,4,rep,name=encryptedReadKeys,proto3" json:"encryptedReadKeys,omitempty"`
}

func (*AclUserJoin) Descriptor

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

func (*AclUserJoin) GetAcceptPubKey

func (m *AclUserJoin) GetAcceptPubKey() []byte

func (*AclUserJoin) GetAcceptSignature

func (m *AclUserJoin) GetAcceptSignature() []byte

func (*AclUserJoin) GetEncryptedReadKeys

func (m *AclUserJoin) GetEncryptedReadKeys() [][]byte

func (*AclUserJoin) GetIdentity

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

func (*AclUserJoin) Marshal

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

func (*AclUserJoin) MarshalTo

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

func (*AclUserJoin) MarshalToSizedBuffer

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

func (*AclUserJoin) ProtoMessage

func (*AclUserJoin) ProtoMessage()

func (*AclUserJoin) Reset

func (m *AclUserJoin) Reset()

func (*AclUserJoin) Size

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

func (*AclUserJoin) String

func (m *AclUserJoin) String() string

func (*AclUserJoin) Unmarshal

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

func (*AclUserJoin) XXX_DiscardUnknown

func (m *AclUserJoin) XXX_DiscardUnknown()

func (*AclUserJoin) XXX_Marshal

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

func (*AclUserJoin) XXX_Merge

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

func (*AclUserJoin) XXX_Size

func (m *AclUserJoin) XXX_Size() int

func (*AclUserJoin) XXX_Unmarshal

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

type AclUserPermissionChange

type AclUserPermissionChange 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"`
}

func (*AclUserPermissionChange) Descriptor

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

func (*AclUserPermissionChange) GetIdentity

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

func (*AclUserPermissionChange) GetPermissions

func (m *AclUserPermissionChange) GetPermissions() AclUserPermissions

func (*AclUserPermissionChange) Marshal

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

func (*AclUserPermissionChange) MarshalTo

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

func (*AclUserPermissionChange) MarshalToSizedBuffer

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

func (*AclUserPermissionChange) ProtoMessage

func (*AclUserPermissionChange) ProtoMessage()

func (*AclUserPermissionChange) Reset

func (m *AclUserPermissionChange) Reset()

func (*AclUserPermissionChange) Size

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

func (*AclUserPermissionChange) String

func (m *AclUserPermissionChange) String() string

func (*AclUserPermissionChange) Unmarshal

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

func (*AclUserPermissionChange) XXX_DiscardUnknown

func (m *AclUserPermissionChange) XXX_DiscardUnknown()

func (*AclUserPermissionChange) XXX_Marshal

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

func (*AclUserPermissionChange) XXX_Merge

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

func (*AclUserPermissionChange) XXX_Size

func (m *AclUserPermissionChange) XXX_Size() int

func (*AclUserPermissionChange) XXX_Unmarshal

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

type AclUserPermissions

type AclUserPermissions int32
const (
	AclUserPermissions_Admin  AclUserPermissions = 0
	AclUserPermissions_Writer AclUserPermissions = 1
	AclUserPermissions_Reader AclUserPermissions = 2
)

func (AclUserPermissions) EnumDescriptor

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

func (AclUserPermissions) String

func (x AclUserPermissions) String() string

type AclUserRemove

type AclUserRemove struct {
	Identity        []byte               `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	ReadKeyReplaces []*AclReadKeyReplace `protobuf:"bytes,2,rep,name=readKeyReplaces,proto3" json:"readKeyReplaces,omitempty"`
}

func (*AclUserRemove) Descriptor

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

func (*AclUserRemove) GetIdentity

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

func (*AclUserRemove) GetReadKeyReplaces

func (m *AclUserRemove) GetReadKeyReplaces() []*AclReadKeyReplace

func (*AclUserRemove) Marshal

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

func (*AclUserRemove) MarshalTo

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

func (*AclUserRemove) MarshalToSizedBuffer

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

func (*AclUserRemove) ProtoMessage

func (*AclUserRemove) ProtoMessage()

func (*AclUserRemove) Reset

func (m *AclUserRemove) Reset()

func (*AclUserRemove) Size

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

func (*AclUserRemove) String

func (m *AclUserRemove) String() string

func (*AclUserRemove) Unmarshal

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

func (*AclUserRemove) XXX_DiscardUnknown

func (m *AclUserRemove) XXX_DiscardUnknown()

func (*AclUserRemove) XXX_Marshal

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

func (*AclUserRemove) XXX_Merge

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

func (*AclUserRemove) XXX_Size

func (m *AclUserRemove) XXX_Size() int

func (*AclUserRemove) XXX_Unmarshal

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

type AclUserState

type AclUserState 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"`
}

func (*AclUserState) Descriptor

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

func (*AclUserState) GetIdentity

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

func (*AclUserState) GetPermissions

func (m *AclUserState) GetPermissions() AclUserPermissions

func (*AclUserState) Marshal

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

func (*AclUserState) MarshalTo

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

func (*AclUserState) MarshalToSizedBuffer

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

func (*AclUserState) ProtoMessage

func (*AclUserState) ProtoMessage()

func (*AclUserState) Reset

func (m *AclUserState) Reset()

func (*AclUserState) Size

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

func (*AclUserState) String

func (m *AclUserState) String() string

func (*AclUserState) Unmarshal

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

func (*AclUserState) XXX_DiscardUnknown

func (m *AclUserState) XXX_DiscardUnknown()

func (*AclUserState) XXX_Marshal

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

func (*AclUserState) XXX_Merge

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

func (*AclUserState) XXX_Size

func (m *AclUserState) XXX_Size() int

func (*AclUserState) XXX_Unmarshal

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

type RawAclRecord

type RawAclRecord struct {
	Payload           []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	Signature         []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	AcceptorIdentity  []byte `protobuf:"bytes,3,opt,name=acceptorIdentity,proto3" json:"acceptorIdentity,omitempty"`
	AcceptorSignature []byte `protobuf:"bytes,4,opt,name=acceptorSignature,proto3" json:"acceptorSignature,omitempty"`
}

func (*RawAclRecord) Descriptor

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

func (*RawAclRecord) GetAcceptorIdentity

func (m *RawAclRecord) GetAcceptorIdentity() []byte

func (*RawAclRecord) GetAcceptorSignature

func (m *RawAclRecord) GetAcceptorSignature() []byte

func (*RawAclRecord) GetPayload

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

func (*RawAclRecord) GetSignature

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

func (*RawAclRecord) Marshal

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

func (*RawAclRecord) MarshalTo

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

func (*RawAclRecord) MarshalToSizedBuffer

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

func (*RawAclRecord) ProtoMessage

func (*RawAclRecord) ProtoMessage()

func (*RawAclRecord) Reset

func (m *RawAclRecord) Reset()

func (*RawAclRecord) Size

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

func (*RawAclRecord) String

func (m *RawAclRecord) String() string

func (*RawAclRecord) Unmarshal

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

func (*RawAclRecord) XXX_DiscardUnknown

func (m *RawAclRecord) XXX_DiscardUnknown()

func (*RawAclRecord) XXX_Marshal

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

func (*RawAclRecord) XXX_Merge

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

func (*RawAclRecord) XXX_Size

func (m *RawAclRecord) XXX_Size() int

func (*RawAclRecord) XXX_Unmarshal

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

type RawAclRecordWithId

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

func (*RawAclRecordWithId) Descriptor

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

func (*RawAclRecordWithId) GetId

func (m *RawAclRecordWithId) GetId() string

func (*RawAclRecordWithId) GetPayload

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

func (*RawAclRecordWithId) Marshal

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

func (*RawAclRecordWithId) MarshalTo

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

func (*RawAclRecordWithId) MarshalToSizedBuffer

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

func (*RawAclRecordWithId) ProtoMessage

func (*RawAclRecordWithId) ProtoMessage()

func (*RawAclRecordWithId) Reset

func (m *RawAclRecordWithId) Reset()

func (*RawAclRecordWithId) Size

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

func (*RawAclRecordWithId) String

func (m *RawAclRecordWithId) String() string

func (*RawAclRecordWithId) Unmarshal

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

func (*RawAclRecordWithId) XXX_DiscardUnknown

func (m *RawAclRecordWithId) XXX_DiscardUnknown()

func (*RawAclRecordWithId) XXX_Marshal

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

func (*RawAclRecordWithId) XXX_Merge

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

func (*RawAclRecordWithId) XXX_Size

func (m *RawAclRecordWithId) XXX_Size() int

func (*RawAclRecordWithId) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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