Documentation
¶
Overview ¶
Package pb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package pb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package pb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package pb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterAccessManagerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAccessManagerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AccessManagerClient) error
- func RegisterAccessManagerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAccessManagerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AccessManagerServer) error
- func RegisterAccessManagerServer(s *grpc.Server, srv AccessManagerServer)
- func RegisterFilesHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterFilesHandlerClient(ctx context.Context, mux *runtime.ServeMux, client FilesClient) error
- func RegisterFilesHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterFilesHandlerServer(ctx context.Context, mux *runtime.ServeMux, server FilesServer) error
- func RegisterFilesServer(s *grpc.Server, srv FilesServer)
- func RegisterObjectsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterObjectsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ObjectsClient) error
- func RegisterObjectsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterObjectsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ObjectsServer) error
- func RegisterObjectsServer(s *grpc.Server, srv ObjectsServer)
- func RegisterSearchEngineHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterSearchEngineHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SearchEngineClient) error
- func RegisterSearchEngineHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterSearchEngineHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SearchEngineServer) error
- func RegisterSearchEngineServer(s *grpc.Server, srv SearchEngineServer)
- func RegisterServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ServiceClient) error
- func RegisterServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ServiceServer) error
- func RegisterServiceServer(s *grpc.Server, srv ServiceServer)
- type ACL
- type ACLConfig
- func (*ACLConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ACLConfig) GetNamespace() string
- func (x *ACLConfig) GetRelationWithCreated() string
- func (*ACLConfig) ProtoMessage()
- func (x *ACLConfig) ProtoReflect() protoreflect.Message
- func (x *ACLConfig) Reset()
- func (x *ACLConfig) String() string
- type AccessActionRelation
- func (*AccessActionRelation) Descriptor() ([]byte, []int)deprecated
- func (x *AccessActionRelation) GetDelete() *FileActionAuthorizedUsers
- func (x *AccessActionRelation) GetEdit() *FileActionAuthorizedUsers
- func (x *AccessActionRelation) GetShare() *FileActionAuthorizedUsers
- func (x *AccessActionRelation) GetView() *FileActionAuthorizedUsers
- func (*AccessActionRelation) ProtoMessage()
- func (x *AccessActionRelation) ProtoReflect() protoreflect.Message
- func (x *AccessActionRelation) Reset()
- func (x *AccessActionRelation) String() string
- type AccessInfo
- func (*AccessInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AccessInfo) GetAccessId() string
- func (x *AccessInfo) GetFreeSpace() int64
- func (x *AccessInfo) GetTotalSpace() int64
- func (*AccessInfo) ProtoMessage()
- func (x *AccessInfo) ProtoReflect() protoreflect.Message
- func (x *AccessInfo) Reset()
- func (x *AccessInfo) String() string
- type AccessManagerClient
- type AccessManagerServer
- type AccessManager_DeleteAccessClient
- type AccessManager_DeleteAccessServer
- type AccessManager_GetAccessListClient
- type AccessManager_GetAccessListServer
- type AccessRules
- func (*AccessRules) Descriptor() ([]byte, []int)deprecated
- func (x *AccessRules) GetDeleteRelation() string
- func (x *AccessRules) GetDescription() string
- func (x *AccessRules) GetEditRelation() string
- func (x *AccessRules) GetLabel() string
- func (x *AccessRules) GetReadRelation() string
- func (*AccessRules) ProtoMessage()
- func (x *AccessRules) ProtoReflect() protoreflect.Message
- func (x *AccessRules) Reset()
- func (x *AccessRules) String() string
- type AccessType
- type And
- type CheckRequest
- type CheckResponse
- type ClientApp
- func (*ClientApp) Descriptor() ([]byte, []int)deprecated
- func (x *ClientApp) GetAdminApp() bool
- func (x *ClientApp) GetInfo() map[string]string
- func (x *ClientApp) GetKey() string
- func (x *ClientApp) GetSecret() string
- func (x *ClientApp) GetType() ClientType
- func (*ClientApp) ProtoMessage()
- func (x *ClientApp) ProtoReflect() protoreflect.Message
- func (x *ClientApp) Reset()
- func (x *ClientApp) String() string
- type ClientType
- type Collection
- func (*Collection) Descriptor() ([]byte, []int)deprecated
- func (x *Collection) GetAclConfig() *ACLConfig
- func (x *Collection) GetActionAuthorizedUsers() *PathAccessRules
- func (x *Collection) GetDescription() string
- func (x *Collection) GetFieldsIndex() *PropertiesIndex
- func (x *Collection) GetId() string
- func (x *Collection) GetLabel() string
- func (x *Collection) GetNumberIndex() *NumberIndex
- func (x *Collection) GetTextIndexes() []*TextIndex
- func (*Collection) ProtoMessage()
- func (x *Collection) ProtoReflect() protoreflect.Message
- func (x *Collection) Reset()
- func (x *Collection) String() string
- type Contains
- type CopyFileRequest
- func (*CopyFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CopyFileRequest) GetAccessId() string
- func (x *CopyFileRequest) GetPath() string
- func (x *CopyFileRequest) GetTargetDir() string
- func (*CopyFileRequest) ProtoMessage()
- func (x *CopyFileRequest) ProtoReflect() protoreflect.Message
- func (x *CopyFileRequest) Reset()
- func (x *CopyFileRequest) String() string
- type CopyFileResponse
- type CreateAccessRequest
- func (*CreateAccessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccessRequest) GetAccess() *FSAccess
- func (*CreateAccessRequest) ProtoMessage()
- func (x *CreateAccessRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAccessRequest) Reset()
- func (x *CreateAccessRequest) String() string
- type CreateAccessResponse
- type CreateCollectionRequest
- func (*CreateCollectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCollectionRequest) GetCollection() *Collection
- func (*CreateCollectionRequest) ProtoMessage()
- func (x *CreateCollectionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateCollectionRequest) Reset()
- func (x *CreateCollectionRequest) String() string
- type CreateCollectionResponse
- type CreateDirRequest
- func (*CreateDirRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDirRequest) GetAccessId() string
- func (x *CreateDirRequest) GetPath() string
- func (*CreateDirRequest) ProtoMessage()
- func (x *CreateDirRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDirRequest) Reset()
- func (x *CreateDirRequest) String() string
- type CreateDirResponse
- type DBEntry
- func (*DBEntry) Descriptor() ([]byte, []int)deprecated
- func (x *DBEntry) GetObject() string
- func (x *DBEntry) GetRelation() string
- func (x *DBEntry) GetSid() int64
- func (x *DBEntry) GetStateMinAge() int64
- func (x *DBEntry) GetSubject() string
- func (*DBEntry) ProtoMessage()
- func (x *DBEntry) ProtoReflect() protoreflect.Message
- func (x *DBEntry) Reset()
- func (x *DBEntry) String() string
- type DBObjectSetInfo
- func (*DBObjectSetInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DBObjectSetInfo) GetRelation() string
- func (x *DBObjectSetInfo) GetStateMinAge() int64
- func (x *DBObjectSetInfo) GetSubject() string
- func (*DBObjectSetInfo) ProtoMessage()
- func (x *DBObjectSetInfo) ProtoReflect() protoreflect.Message
- func (x *DBObjectSetInfo) Reset()
- func (x *DBObjectSetInfo) String() string
- type DBSubjectSetInfo
- func (*DBSubjectSetInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DBSubjectSetInfo) GetObject() string
- func (x *DBSubjectSetInfo) GetRelation() string
- func (x *DBSubjectSetInfo) GetStateMinAge() int64
- func (*DBSubjectSetInfo) ProtoMessage()
- func (x *DBSubjectSetInfo) ProtoReflect() protoreflect.Message
- func (x *DBSubjectSetInfo) Reset()
- func (x *DBSubjectSetInfo) String() string
- type DeleteACLRequest
- type DeleteACLResponse
- type DeleteAccessRequest
- func (*DeleteAccessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAccessRequest) GetAccessId() string
- func (*DeleteAccessRequest) ProtoMessage()
- func (x *DeleteAccessRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAccessRequest) Reset()
- func (x *DeleteAccessRequest) String() string
- type DeleteAccessResponse
- type DeleteCollectionRequest
- func (*DeleteCollectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCollectionRequest) GetId() string
- func (*DeleteCollectionRequest) ProtoMessage()
- func (x *DeleteCollectionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteCollectionRequest) Reset()
- func (x *DeleteCollectionRequest) String() string
- type DeleteCollectionResponse
- type DeleteFileRequest
- func (*DeleteFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFileRequest) GetAccessId() string
- func (x *DeleteFileRequest) GetPath() string
- func (*DeleteFileRequest) ProtoMessage()
- func (x *DeleteFileRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteFileRequest) Reset()
- func (x *DeleteFileRequest) String() string
- type DeleteFileResponse
- type DeleteNamespaceConfigRequest
- func (*DeleteNamespaceConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNamespaceConfigRequest) GetName() string
- func (*DeleteNamespaceConfigRequest) ProtoMessage()
- func (x *DeleteNamespaceConfigRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteNamespaceConfigRequest) Reset()
- func (x *DeleteNamespaceConfigRequest) String() string
- type DeleteNamespaceConfigResponse
- func (*DeleteNamespaceConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteNamespaceConfigResponse) ProtoMessage()
- func (x *DeleteNamespaceConfigResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteNamespaceConfigResponse) Reset()
- func (x *DeleteNamespaceConfigResponse) String() string
- type DeleteObjectRequest
- func (*DeleteObjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteObjectRequest) GetCollection() string
- func (x *DeleteObjectRequest) GetObjectId() string
- func (*DeleteObjectRequest) ProtoMessage()
- func (x *DeleteObjectRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteObjectRequest) Reset()
- func (x *DeleteObjectRequest) String() string
- type DeleteObjectResponse
- type DeleteSharesRequest
- func (*DeleteSharesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSharesRequest) GetInfo() []*ShareInfo
- func (*DeleteSharesRequest) ProtoMessage()
- func (x *DeleteSharesRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSharesRequest) Reset()
- func (x *DeleteSharesRequest) String() string
- type DeleteSharesResponse
- type DiskUsage
- func (*DiskUsage) Descriptor() ([]byte, []int)deprecated
- func (x *DiskUsage) GetAll() int64
- func (x *DiskUsage) GetFree() int64
- func (x *DiskUsage) GetUsed() int64
- func (*DiskUsage) ProtoMessage()
- func (x *DiskUsage) ProtoReflect() protoreflect.Message
- func (x *DiskUsage) Reset()
- func (x *DiskUsage) String() string
- type EncryptionInfo
- func (*EncryptionInfo) Descriptor() ([]byte, []int)deprecated
- func (x *EncryptionInfo) GetKeyUri() string
- func (x *EncryptionInfo) GetMaxBlockSize() int64
- func (*EncryptionInfo) ProtoMessage()
- func (x *EncryptionInfo) ProtoReflect() protoreflect.Message
- func (x *EncryptionInfo) Reset()
- func (x *EncryptionInfo) String() string
- type EndsWith
- type FSAccess
- func (*FSAccess) Descriptor() ([]byte, []int)deprecated
- func (x *FSAccess) GetCreatedBy() string
- func (x *FSAccess) GetDescription() string
- func (x *FSAccess) GetEncodedInfo() string
- func (x *FSAccess) GetEncryption() *EncryptionInfo
- func (x *FSAccess) GetExpireTime() int64
- func (x *FSAccess) GetId() string
- func (x *FSAccess) GetIsFolder() bool
- func (x *FSAccess) GetLabel() string
- func (x *FSAccess) GetType() AccessType
- func (x *FSAccess) GetUri() string
- func (*FSAccess) ProtoMessage()
- func (x *FSAccess) ProtoReflect() protoreflect.Message
- func (x *FSAccess) Reset()
- func (x *FSAccess) String() string
- type FeedResponse
- type FieldQuery
- func (*FieldQuery) Descriptor() ([]byte, []int)deprecated
- func (x *FieldQuery) GetAnd() *And
- func (m *FieldQuery) GetBool() isFieldQuery_Bool
- func (x *FieldQuery) GetContains() *Contains
- func (x *FieldQuery) GetEndsWith() *EndsWith
- func (x *FieldQuery) GetGt() *Gt
- func (x *FieldQuery) GetGte() *Gte
- func (x *FieldQuery) GetLt() *Lt
- func (x *FieldQuery) GetLte() *Lte
- func (x *FieldQuery) GetNumbEq() *NumbEq
- func (x *FieldQuery) GetOr() *Or
- func (x *FieldQuery) GetStartsWith() *StartsWith
- func (x *FieldQuery) GetStrEqual() *StrEqual
- func (*FieldQuery) ProtoMessage()
- func (x *FieldQuery) ProtoReflect() protoreflect.Message
- func (x *FieldQuery) Reset()
- func (x *FieldQuery) String() string
- type FieldQuery_And
- type FieldQuery_Contains
- type FieldQuery_EndsWith
- type FieldQuery_Gt
- type FieldQuery_Gte
- type FieldQuery_Lt
- type FieldQuery_Lte
- type FieldQuery_NumbEq
- type FieldQuery_Or
- type FieldQuery_StartsWith
- type FieldQuery_StrEqual
- type File
- func (*File) Descriptor() ([]byte, []int)deprecated
- func (x *File) GetAttributes() map[string]string
- func (x *File) GetCreateTime() int64
- func (x *File) GetEditTime() int64
- func (x *File) GetIsDir() bool
- func (x *File) GetName() string
- func (x *File) GetSize() int64
- func (x *File) GetUuid() string
- func (*File) ProtoMessage()
- func (x *File) ProtoReflect() protoreflect.Message
- func (x *File) Reset()
- func (x *File) String() string
- type FileActionAuthorizedUsers
- func (*FileActionAuthorizedUsers) Descriptor() ([]byte, []int)deprecated
- func (x *FileActionAuthorizedUsers) GetObject() string
- func (x *FileActionAuthorizedUsers) GetRelation() string
- func (x *FileActionAuthorizedUsers) GetRestricted() bool
- func (*FileActionAuthorizedUsers) ProtoMessage()
- func (x *FileActionAuthorizedUsers) ProtoReflect() protoreflect.Message
- func (x *FileActionAuthorizedUsers) Reset()
- func (x *FileActionAuthorizedUsers) String() string
- type FilesClient
- type FilesServer
- type GetAccessListRequest
- func (*GetAccessListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccessListRequest) GetUser() string
- func (*GetAccessListRequest) ProtoMessage()
- func (x *GetAccessListRequest) ProtoReflect() protoreflect.Message
- func (x *GetAccessListRequest) Reset()
- func (x *GetAccessListRequest) String() string
- type GetAccessRequest
- type GetAccessResponse
- type GetCollectionRequest
- func (*GetCollectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCollectionRequest) GetId() string
- func (*GetCollectionRequest) ProtoMessage()
- func (x *GetCollectionRequest) ProtoReflect() protoreflect.Message
- func (x *GetCollectionRequest) Reset()
- func (x *GetCollectionRequest) String() string
- type GetCollectionResponse
- func (*GetCollectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCollectionResponse) GetCollection() *Collection
- func (*GetCollectionResponse) ProtoMessage()
- func (x *GetCollectionResponse) ProtoReflect() protoreflect.Message
- func (x *GetCollectionResponse) Reset()
- func (x *GetCollectionResponse) String() string
- type GetFileAttributesRequest
- func (*GetFileAttributesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFileAttributesRequest) GetAccessId() string
- func (x *GetFileAttributesRequest) GetNames() []string
- func (x *GetFileAttributesRequest) GetPath() string
- func (*GetFileAttributesRequest) ProtoMessage()
- func (x *GetFileAttributesRequest) ProtoReflect() protoreflect.Message
- func (x *GetFileAttributesRequest) Reset()
- func (x *GetFileAttributesRequest) String() string
- type GetFileAttributesResponse
- func (*GetFileAttributesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetFileAttributesResponse) GetAttributes() map[string]string
- func (*GetFileAttributesResponse) ProtoMessage()
- func (x *GetFileAttributesResponse) ProtoReflect() protoreflect.Message
- func (x *GetFileAttributesResponse) Reset()
- func (x *GetFileAttributesResponse) String() string
- type GetFileRequest
- func (*GetFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFileRequest) GetAccessId() string
- func (x *GetFileRequest) GetPath() string
- func (x *GetFileRequest) GetWithAttributes() bool
- func (*GetFileRequest) ProtoMessage()
- func (x *GetFileRequest) ProtoReflect() protoreflect.Message
- func (x *GetFileRequest) Reset()
- func (x *GetFileRequest) String() string
- type GetFileResponse
- type GetNamespaceConfigRequest
- func (*GetNamespaceConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNamespaceConfigRequest) GetName() string
- func (*GetNamespaceConfigRequest) ProtoMessage()
- func (x *GetNamespaceConfigRequest) ProtoReflect() protoreflect.Message
- func (x *GetNamespaceConfigRequest) Reset()
- func (x *GetNamespaceConfigRequest) String() string
- type GetNamespaceConfigResponse
- type GetObjectRequest
- func (*GetObjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetObjectRequest) GetAt() string
- func (x *GetObjectRequest) GetCollection() string
- func (x *GetObjectRequest) GetInfoOnly() bool
- func (x *GetObjectRequest) GetObjectId() string
- func (*GetObjectRequest) ProtoMessage()
- func (x *GetObjectRequest) ProtoReflect() protoreflect.Message
- func (x *GetObjectRequest) Reset()
- func (x *GetObjectRequest) String() string
- type GetObjectResponse
- type GetSharesRequest
- type GetSharesResponse
- type Gt
- type Gte
- type Header
- func (*Header) Descriptor() ([]byte, []int)deprecated
- func (x *Header) GetActionAuthorizedUsersForPaths() map[string]*ObjectActionsUsers
- func (x *Header) GetCreatedAt() int64
- func (x *Header) GetCreatedBy() string
- func (x *Header) GetId() string
- func (x *Header) GetSize() int64
- func (*Header) ProtoMessage()
- func (x *Header) ProtoReflect() protoreflect.Message
- func (x *Header) Reset()
- func (x *Header) String() string
- type Index
- func (*Index) Descriptor() ([]byte, []int)deprecated
- func (m *Index) GetInfo() isIndex_Info
- func (x *Index) GetNumber() *NumberIndex
- func (x *Index) GetProperties() *PropertiesIndex
- func (x *Index) GetText() *TextIndex
- func (*Index) ProtoMessage()
- func (x *Index) ProtoReflect() protoreflect.Message
- func (x *Index) Reset()
- func (x *Index) String() string
- type Index_Number
- type Index_Properties
- type Index_Text
- type Like
- type ListCollectionsRequest
- type ListCollectionsResponse
- func (*ListCollectionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCollectionsResponse) GetCollections() []*Collection
- func (*ListCollectionsResponse) ProtoMessage()
- func (x *ListCollectionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListCollectionsResponse) Reset()
- func (x *ListCollectionsResponse) String() string
- type ListDirRequest
- func (*ListDirRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDirRequest) GetAccessId() string
- func (x *ListDirRequest) GetCount() uint32
- func (x *ListDirRequest) GetOffset() uint32
- func (x *ListDirRequest) GetPath() string
- func (*ListDirRequest) ProtoMessage()
- func (x *ListDirRequest) ProtoReflect() protoreflect.Message
- func (x *ListDirRequest) Reset()
- func (x *ListDirRequest) String() string
- type ListDirResponse
- func (*ListDirResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDirResponse) GetFiles() []*File
- func (x *ListDirResponse) GetOffset() uint32
- func (x *ListDirResponse) GetTotal() uint32
- func (*ListDirResponse) ProtoMessage()
- func (x *ListDirResponse) ProtoReflect() protoreflect.Message
- func (x *ListDirResponse) Reset()
- func (x *ListDirResponse) String() string
- type ListObjectsRequest
- func (*ListObjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListObjectsRequest) GetAt() string
- func (x *ListObjectsRequest) GetCollection() string
- func (x *ListObjectsRequest) GetOffset() int64
- func (*ListObjectsRequest) ProtoMessage()
- func (x *ListObjectsRequest) ProtoReflect() protoreflect.Message
- func (x *ListObjectsRequest) Reset()
- func (x *ListObjectsRequest) String() string
- type ListObjectsResponse
- func (*ListObjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListObjectsResponse) GetResult() *ObjectList
- func (*ListObjectsResponse) ProtoMessage()
- func (x *ListObjectsResponse) ProtoReflect() protoreflect.Message
- func (x *ListObjectsResponse) Reset()
- func (x *ListObjectsResponse) String() string
- type Lt
- type Lte
- type MessageFeed
- func (*MessageFeed) Descriptor() ([]byte, []int)deprecated
- func (x *MessageFeed) GetDelete() *ObjectDeletedNotification
- func (m *MessageFeed) GetMessage() isMessageFeed_Message
- func (x *MessageFeed) GetNumMapping() *NumberMapping
- func (x *MessageFeed) GetPropertiesMapping() *PropertiesMapping
- func (x *MessageFeed) GetTextMapping() *TextMapping
- func (*MessageFeed) ProtoMessage()
- func (x *MessageFeed) ProtoReflect() protoreflect.Message
- func (x *MessageFeed) Reset()
- func (x *MessageFeed) String() string
- type MessageFeed_Delete
- type MessageFeed_NumMapping
- type MessageFeed_PropertiesMapping
- type MessageFeed_TextMapping
- type MoveFileRequest
- func (*MoveFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MoveFileRequest) GetAccessId() string
- func (x *MoveFileRequest) GetPath() string
- func (x *MoveFileRequest) GetTargetDir() string
- func (*MoveFileRequest) ProtoMessage()
- func (x *MoveFileRequest) ProtoReflect() protoreflect.Message
- func (x *MoveFileRequest) Reset()
- func (x *MoveFileRequest) String() string
- type MoveFileResponse
- type MoveObjectRequest
- func (*MoveObjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MoveObjectRequest) GetAccessSecurityRules() *PathAccessRules
- func (x *MoveObjectRequest) GetObjectId() string
- func (x *MoveObjectRequest) GetSourceCollection() string
- func (x *MoveObjectRequest) GetTargetCollection() string
- func (*MoveObjectRequest) ProtoMessage()
- func (x *MoveObjectRequest) ProtoReflect() protoreflect.Message
- func (x *MoveObjectRequest) Reset()
- func (x *MoveObjectRequest) String() string
- type MoveObjectResponse
- type NamespaceConfig
- func (*NamespaceConfig) Descriptor() ([]byte, []int)deprecated
- func (x *NamespaceConfig) GetNamespace() string
- func (x *NamespaceConfig) GetRelations() map[string]*RelationDefinition
- func (x *NamespaceConfig) GetSid() int64
- func (*NamespaceConfig) ProtoMessage()
- func (x *NamespaceConfig) ProtoReflect() protoreflect.Message
- func (x *NamespaceConfig) Reset()
- func (x *NamespaceConfig) String() string
- type Not
- type NumAnd
- type NumOr
- type NumQuery
- func (*NumQuery) Descriptor() ([]byte, []int)deprecated
- func (x *NumQuery) GetAnd() *NumAnd
- func (m *NumQuery) GetBool() isNumQuery_Bool
- func (x *NumQuery) GetEq() *NumbEq
- func (x *NumQuery) GetGt() *Gt
- func (x *NumQuery) GetGte() *Gte
- func (x *NumQuery) GetLt() *Lt
- func (x *NumQuery) GetLte() *Lte
- func (x *NumQuery) GetOr() *NumOr
- func (*NumQuery) ProtoMessage()
- func (x *NumQuery) ProtoReflect() protoreflect.Message
- func (x *NumQuery) Reset()
- func (x *NumQuery) String() string
- type NumQuery_And
- type NumQuery_Eq
- type NumQuery_Gt
- type NumQuery_Gte
- type NumQuery_Lt
- type NumQuery_Lte
- type NumQuery_Or
- type NumbEq
- type NumberIndex
- type NumberMapping
- func (*NumberMapping) Descriptor() ([]byte, []int)deprecated
- func (x *NumberMapping) GetName() string
- func (x *NumberMapping) GetNumber() int64
- func (x *NumberMapping) GetObjectId() string
- func (*NumberMapping) ProtoMessage()
- func (x *NumberMapping) ProtoReflect() protoreflect.Message
- func (x *NumberMapping) Reset()
- func (x *NumberMapping) String() string
- type Object
- type ObjectActionsUsers
- func (*ObjectActionsUsers) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectActionsUsers) GetDelete() *SubjectSet
- func (x *ObjectActionsUsers) GetEdit() *SubjectSet
- func (x *ObjectActionsUsers) GetView() *SubjectSet
- func (*ObjectActionsUsers) ProtoMessage()
- func (x *ObjectActionsUsers) ProtoReflect() protoreflect.Message
- func (x *ObjectActionsUsers) Reset()
- func (x *ObjectActionsUsers) String() string
- type ObjectDeletedNotification
- func (*ObjectDeletedNotification) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectDeletedNotification) GetId() string
- func (*ObjectDeletedNotification) ProtoMessage()
- func (x *ObjectDeletedNotification) ProtoReflect() protoreflect.Message
- func (x *ObjectDeletedNotification) Reset()
- func (x *ObjectDeletedNotification) String() string
- type ObjectInfoRequest
- func (*ObjectInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectInfoRequest) GetCollection() string
- func (x *ObjectInfoRequest) GetObjectId() string
- func (*ObjectInfoRequest) ProtoMessage()
- func (x *ObjectInfoRequest) ProtoReflect() protoreflect.Message
- func (x *ObjectInfoRequest) Reset()
- func (x *ObjectInfoRequest) String() string
- type ObjectInfoResponse
- func (*ObjectInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectInfoResponse) GetHeader() *Header
- func (*ObjectInfoResponse) ProtoMessage()
- func (x *ObjectInfoResponse) ProtoReflect() protoreflect.Message
- func (x *ObjectInfoResponse) Reset()
- func (x *ObjectInfoResponse) String() string
- type ObjectList
- func (*ObjectList) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectList) GetObjects() []*Object
- func (x *ObjectList) GetOffset() int64
- func (x *ObjectList) GetTotal() uint32
- func (*ObjectList) ProtoMessage()
- func (x *ObjectList) ProtoReflect() protoreflect.Message
- func (x *ObjectList) Reset()
- func (x *ObjectList) String() string
- type ObjectSet
- type ObjectsClient
- type ObjectsServer
- type Objects_ListObjectsClient
- type Objects_ListObjectsServer
- type Objects_SearchObjectsClient
- type Objects_SearchObjectsServer
- type Or
- type Patch
- type PatchObjectRequest
- func (*PatchObjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PatchObjectRequest) GetCollection() string
- func (x *PatchObjectRequest) GetPatch() *Patch
- func (*PatchObjectRequest) ProtoMessage()
- func (x *PatchObjectRequest) ProtoReflect() protoreflect.Message
- func (x *PatchObjectRequest) Reset()
- func (x *PatchObjectRequest) String() string
- type PatchObjectResponse
- type PathAccessRules
- func (*PathAccessRules) Descriptor() ([]byte, []int)deprecated
- func (x *PathAccessRules) GetAccessRules() map[string]*ObjectActionsUsers
- func (*PathAccessRules) ProtoMessage()
- func (x *PathAccessRules) ProtoReflect() protoreflect.Message
- func (x *PathAccessRules) Reset()
- func (x *PathAccessRules) String() string
- type PropertiesIndex
- type PropertiesMapping
- func (*PropertiesMapping) Descriptor() ([]byte, []int)deprecated
- func (x *PropertiesMapping) GetJson() string
- func (x *PropertiesMapping) GetObjectId() string
- func (*PropertiesMapping) ProtoMessage()
- func (x *PropertiesMapping) ProtoReflect() protoreflect.Message
- func (x *PropertiesMapping) Reset()
- func (x *PropertiesMapping) String() string
- type PutObjectRequest
- func (*PutObjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PutObjectRequest) GetActionAuthorizedUsers() *PathAccessRules
- func (x *PutObjectRequest) GetCollection() string
- func (x *PutObjectRequest) GetIndexes() []*TextIndex
- func (x *PutObjectRequest) GetObject() *Object
- func (*PutObjectRequest) ProtoMessage()
- func (x *PutObjectRequest) ProtoReflect() protoreflect.Message
- func (x *PutObjectRequest) Reset()
- func (x *PutObjectRequest) String() string
- type PutObjectResponse
- type RelationDefinition
- func (*RelationDefinition) Descriptor() ([]byte, []int)deprecated
- func (x *RelationDefinition) GetName() string
- func (x *RelationDefinition) GetSubjectSetRewrite() []*SubjectSetDefinition
- func (*RelationDefinition) ProtoMessage()
- func (x *RelationDefinition) ProtoReflect() protoreflect.Message
- func (x *RelationDefinition) Reset()
- func (x *RelationDefinition) String() string
- type RelationSubjectInfo
- func (*RelationSubjectInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RelationSubjectInfo) GetCommitTime() int64
- func (x *RelationSubjectInfo) GetName() string
- func (x *RelationSubjectInfo) GetTarget() string
- func (*RelationSubjectInfo) ProtoMessage()
- func (x *RelationSubjectInfo) ProtoReflect() protoreflect.Message
- func (x *RelationSubjectInfo) Reset()
- func (x *RelationSubjectInfo) String() string
- type RenameFileRequest
- func (*RenameFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RenameFileRequest) GetAccessId() string
- func (x *RenameFileRequest) GetNewName() string
- func (x *RenameFileRequest) GetPath() string
- func (*RenameFileRequest) ProtoMessage()
- func (x *RenameFileRequest) ProtoReflect() protoreflect.Message
- func (x *RenameFileRequest) Reset()
- func (x *RenameFileRequest) String() string
- type RenameFileResponse
- type ResearchRequest
- type ResearchResponse
- type ResolveAccessRequest
- func (*ResolveAccessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResolveAccessRequest) GetAccess() *FSAccess
- func (*ResolveAccessRequest) ProtoMessage()
- func (x *ResolveAccessRequest) ProtoReflect() protoreflect.Message
- func (x *ResolveAccessRequest) Reset()
- func (x *ResolveAccessRequest) String() string
- type ResolveAccessResponse
- func (*ResolveAccessResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResolveAccessResponse) GetResolvedAccess() *FSAccess
- func (*ResolveAccessResponse) ProtoMessage()
- func (x *ResolveAccessResponse) ProtoReflect() protoreflect.Message
- func (x *ResolveAccessResponse) Reset()
- func (x *ResolveAccessResponse) String() string
- type SaveACLRequest
- type SaveACLResponse
- type SaveNamespaceConfigRequest
- func (*SaveNamespaceConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SaveNamespaceConfigRequest) GetConfig() *NamespaceConfig
- func (*SaveNamespaceConfigRequest) ProtoMessage()
- func (x *SaveNamespaceConfigRequest) ProtoReflect() protoreflect.Message
- func (x *SaveNamespaceConfigRequest) Reset()
- func (x *SaveNamespaceConfigRequest) String() string
- type SaveNamespaceConfigResponse
- type SearchEngineClient
- type SearchEngineServer
- type SearchEngine_FeedClient
- type SearchEngine_FeedServer
- type SearchEngine_SearchClient
- type SearchEngine_SearchServer
- type SearchObjectsRequest
- func (*SearchObjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchObjectsRequest) GetCollection() string
- func (x *SearchObjectsRequest) GetQuery() *SearchQuery
- func (*SearchObjectsRequest) ProtoMessage()
- func (x *SearchObjectsRequest) ProtoReflect() protoreflect.Message
- func (x *SearchObjectsRequest) Reset()
- func (x *SearchObjectsRequest) String() string
- type SearchQuery
- func (*SearchQuery) Descriptor() ([]byte, []int)deprecated
- func (x *SearchQuery) GetFields() *FieldQuery
- func (x *SearchQuery) GetNumber() *NumQuery
- func (m *SearchQuery) GetQuery() isSearchQuery_Query
- func (x *SearchQuery) GetText() *StrQuery
- func (*SearchQuery) ProtoMessage()
- func (x *SearchQuery) ProtoReflect() protoreflect.Message
- func (x *SearchQuery) Reset()
- func (x *SearchQuery) String() string
- type SearchQuery_Fields
- type SearchQuery_Number
- type SearchQuery_Text
- type SearchResult
- type ServiceClient
- type ServiceServer
- type SetFileAttributesRequest
- func (*SetFileAttributesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetFileAttributesRequest) GetAccessId() string
- func (x *SetFileAttributesRequest) GetAttributes() map[string]string
- func (x *SetFileAttributesRequest) GetPath() string
- func (*SetFileAttributesRequest) ProtoMessage()
- func (x *SetFileAttributesRequest) ProtoReflect() protoreflect.Message
- func (x *SetFileAttributesRequest) Reset()
- func (x *SetFileAttributesRequest) String() string
- type SetFileAttributesResponse
- type ShareInfo
- func (*ShareInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ShareInfo) GetAccessId() string
- func (x *ShareInfo) GetRole() string
- func (x *ShareInfo) GetUser() string
- func (*ShareInfo) ProtoMessage()
- func (x *ShareInfo) ProtoReflect() protoreflect.Message
- func (x *ShareInfo) Reset()
- func (x *ShareInfo) String() string
- type ShareRequest
- type ShareResponse
- type StartsWith
- type StrEqual
- type StrOr
- type StrQuery
- func (*StrQuery) Descriptor() ([]byte, []int)deprecated
- func (m *StrQuery) GetBool() isStrQuery_Bool
- func (x *StrQuery) GetContains() *Contains
- func (x *StrQuery) GetEndsWith() *EndsWith
- func (x *StrQuery) GetEq() *StrEqual
- func (x *StrQuery) GetOr() *StrOr
- func (x *StrQuery) GetStartsWith() *StartsWith
- func (*StrQuery) ProtoMessage()
- func (x *StrQuery) ProtoReflect() protoreflect.Message
- func (x *StrQuery) Reset()
- func (x *StrQuery) String() string
- type StrQuery_Contains
- type StrQuery_EndsWith
- type StrQuery_Eq
- type StrQuery_Or
- type StrQuery_StartsWith
- type SubjectSet
- type SubjectSetDefinition
- func (*SubjectSetDefinition) Descriptor() ([]byte, []int)deprecated
- func (x *SubjectSetDefinition) GetType() SubjectSetType
- func (x *SubjectSetDefinition) GetValue() string
- func (*SubjectSetDefinition) ProtoMessage()
- func (x *SubjectSetDefinition) ProtoReflect() protoreflect.Message
- func (x *SubjectSetDefinition) Reset()
- func (x *SubjectSetDefinition) String() string
- type SubjectSetType
- func (SubjectSetType) Descriptor() protoreflect.EnumDescriptor
- func (x SubjectSetType) Enum() *SubjectSetType
- func (SubjectSetType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SubjectSetType) Number() protoreflect.EnumNumber
- func (x SubjectSetType) String() string
- func (SubjectSetType) Type() protoreflect.EnumType
- type SubjectsInRelationWithObjectRelatedObject
- func (*SubjectsInRelationWithObjectRelatedObject) Descriptor() ([]byte, []int)deprecated
- func (x *SubjectsInRelationWithObjectRelatedObject) GetObjectRelation() string
- func (x *SubjectsInRelationWithObjectRelatedObject) GetSubjectRelation() string
- func (*SubjectsInRelationWithObjectRelatedObject) ProtoMessage()
- func (x *SubjectsInRelationWithObjectRelatedObject) ProtoReflect() protoreflect.Message
- func (x *SubjectsInRelationWithObjectRelatedObject) Reset()
- func (x *SubjectsInRelationWithObjectRelatedObject) String() string
- type TextIndex
- type TextMapping
- func (*TextMapping) Descriptor() ([]byte, []int)deprecated
- func (x *TextMapping) GetName() string
- func (x *TextMapping) GetObjectId() string
- func (x *TextMapping) GetPrefixMappingSize() uint32
- func (x *TextMapping) GetText() string
- func (*TextMapping) ProtoMessage()
- func (x *TextMapping) ProtoReflect() protoreflect.Message
- func (x *TextMapping) Reset()
- func (x *TextMapping) String() string
- type UnimplementedAccessManagerServer
- func (UnimplementedAccessManagerServer) CreateAccess(context.Context, *CreateAccessRequest) (*CreateAccessResponse, error)
- func (UnimplementedAccessManagerServer) DeleteAccess(AccessManager_DeleteAccessServer) error
- func (UnimplementedAccessManagerServer) GetAccess(context.Context, *GetAccessRequest) (*GetAccessResponse, error)
- func (UnimplementedAccessManagerServer) GetAccessList(*GetAccessListRequest, AccessManager_GetAccessListServer) error
- func (UnimplementedAccessManagerServer) ResolveAccess(context.Context, *ResolveAccessRequest) (*ResolveAccessResponse, error)
- type UnimplementedFilesServer
- func (UnimplementedFilesServer) CopyFile(context.Context, *CopyFileRequest) (*CopyFileResponse, error)
- func (UnimplementedFilesServer) CreateDir(context.Context, *CreateDirRequest) (*CreateDirResponse, error)
- func (UnimplementedFilesServer) DeleteFile(context.Context, *DeleteFileRequest) (*DeleteFileResponse, error)
- func (UnimplementedFilesServer) DeleteShares(context.Context, *DeleteSharesRequest) (*DeleteSharesResponse, error)
- func (UnimplementedFilesServer) GetFile(context.Context, *GetFileRequest) (*GetFileResponse, error)
- func (UnimplementedFilesServer) GetFileAttributes(context.Context, *GetFileAttributesRequest) (*GetFileAttributesResponse, error)
- func (UnimplementedFilesServer) GetShares(context.Context, *GetSharesRequest) (*GetSharesResponse, error)
- func (UnimplementedFilesServer) ListDir(context.Context, *ListDirRequest) (*ListDirResponse, error)
- func (UnimplementedFilesServer) MoveFile(context.Context, *MoveFileRequest) (*MoveFileResponse, error)
- func (UnimplementedFilesServer) RenameFile(context.Context, *RenameFileRequest) (*RenameFileResponse, error)
- func (UnimplementedFilesServer) SetFileAttributes(context.Context, *SetFileAttributesRequest) (*SetFileAttributesResponse, error)
- func (UnimplementedFilesServer) Share(context.Context, *ShareRequest) (*ShareResponse, error)
- type UnimplementedObjectsServer
- func (UnimplementedObjectsServer) CreateCollection(context.Context, *CreateCollectionRequest) (*CreateCollectionResponse, error)
- func (UnimplementedObjectsServer) DeleteCollection(context.Context, *DeleteCollectionRequest) (*DeleteCollectionResponse, error)
- func (UnimplementedObjectsServer) DeleteObject(context.Context, *DeleteObjectRequest) (*DeleteObjectResponse, error)
- func (UnimplementedObjectsServer) GetCollection(context.Context, *GetCollectionRequest) (*GetCollectionResponse, error)
- func (UnimplementedObjectsServer) GetObject(context.Context, *GetObjectRequest) (*GetObjectResponse, error)
- func (UnimplementedObjectsServer) ListCollections(context.Context, *ListCollectionsRequest) (*ListCollectionsResponse, error)
- func (UnimplementedObjectsServer) ListObjects(*ListObjectsRequest, Objects_ListObjectsServer) error
- func (UnimplementedObjectsServer) MoveObject(context.Context, *MoveObjectRequest) (*MoveObjectResponse, error)
- func (UnimplementedObjectsServer) ObjectInfo(context.Context, *ObjectInfoRequest) (*ObjectInfoResponse, error)
- func (UnimplementedObjectsServer) PatchObject(context.Context, *PatchObjectRequest) (*PatchObjectResponse, error)
- func (UnimplementedObjectsServer) PutObject(context.Context, *PutObjectRequest) (*PutObjectResponse, error)
- func (UnimplementedObjectsServer) SearchObjects(*SearchObjectsRequest, Objects_SearchObjectsServer) error
- type UnimplementedSearchEngineServer
- type UnimplementedServiceServer
- func (UnimplementedServiceServer) Check(context.Context, *CheckRequest) (*CheckResponse, error)
- func (UnimplementedServiceServer) DeleteNamespaceConfig(context.Context, *DeleteNamespaceConfigRequest) (*DeleteNamespaceConfigResponse, error)
- func (UnimplementedServiceServer) DeleteRelation(context.Context, *DeleteACLRequest) (*DeleteACLResponse, error)
- func (UnimplementedServiceServer) GetNamespaceConfig(context.Context, *GetNamespaceConfigRequest) (*GetNamespaceConfigResponse, error)
- func (UnimplementedServiceServer) SaveNamespaceConfig(context.Context, *SaveNamespaceConfigRequest) (*SaveNamespaceConfigResponse, error)
- func (UnimplementedServiceServer) SaveRelation(context.Context, *SaveACLRequest) (*SaveACLResponse, error)
- type UnsafeAccessManagerServer
- type UnsafeFilesServer
- type UnsafeObjectsServer
- type UnsafeSearchEngineServer
- type UnsafeServiceServer
- type User
- type UserCredentials
- func (*UserCredentials) Descriptor() ([]byte, []int)deprecated
- func (x *UserCredentials) GetPassword() string
- func (x *UserCredentials) GetUsername() string
- func (*UserCredentials) ProtoMessage()
- func (x *UserCredentials) ProtoReflect() protoreflect.Message
- func (x *UserCredentials) Reset()
- func (x *UserCredentials) String() string
Constants ¶
This section is empty.
Variables ¶
var ( SubjectSetType_name = map[int32]string{ 0: "This", 1: "Computed", 2: "TupleSubjectSet", 3: "FromTuple", } SubjectSetType_value = map[string]int32{ "This": 0, "Computed": 1, "TupleSubjectSet": 2, "FromTuple": 3, } )
Enum value maps for SubjectSetType.
var ( ClientType_name = map[int32]string{ 0: "web", 1: "mobile", 2: "desktop", } ClientType_value = map[string]int32{ "web": 0, "mobile": 1, "desktop": 2, } )
Enum value maps for ClientType.
var ( AccessType_name = map[int32]string{ 0: "Default", 1: "Reference", } AccessType_value = map[string]int32{ "Default": 0, "Reference": 1, } )
Enum value maps for AccessType.
var File_proto_acl_proto protoreflect.FileDescriptor
var File_proto_auth_proto protoreflect.FileDescriptor
var File_proto_files_proto protoreflect.FileDescriptor
var File_proto_objects_proto protoreflect.FileDescriptor
var File_proto_se_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAccessManagerHandler ¶
func RegisterAccessManagerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAccessManagerHandler registers the http handlers for service AccessManager to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAccessManagerHandlerClient ¶
func RegisterAccessManagerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AccessManagerClient) error
RegisterAccessManagerHandlerClient registers the http handlers for service AccessManager to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AccessManagerClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AccessManagerClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AccessManagerClient" to call the correct interceptors.
func RegisterAccessManagerHandlerFromEndpoint ¶
func RegisterAccessManagerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAccessManagerHandlerFromEndpoint is same as RegisterAccessManagerHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAccessManagerHandlerServer ¶
func RegisterAccessManagerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AccessManagerServer) error
RegisterAccessManagerHandlerServer registers the http handlers for service AccessManager to "mux". UnaryRPC :call AccessManagerServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAccessManagerHandlerFromEndpoint instead.
func RegisterAccessManagerServer ¶
func RegisterAccessManagerServer(s *grpc.Server, srv AccessManagerServer)
func RegisterFilesHandler ¶
RegisterFilesHandler registers the http handlers for service Files to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterFilesHandlerClient ¶
func RegisterFilesHandlerClient(ctx context.Context, mux *runtime.ServeMux, client FilesClient) error
RegisterFilesHandlerClient registers the http handlers for service Files to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "FilesClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "FilesClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "FilesClient" to call the correct interceptors.
func RegisterFilesHandlerFromEndpoint ¶
func RegisterFilesHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterFilesHandlerFromEndpoint is same as RegisterFilesHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterFilesHandlerServer ¶
func RegisterFilesHandlerServer(ctx context.Context, mux *runtime.ServeMux, server FilesServer) error
RegisterFilesHandlerServer registers the http handlers for service Files to "mux". UnaryRPC :call FilesServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterFilesHandlerFromEndpoint instead.
func RegisterFilesServer ¶
func RegisterFilesServer(s *grpc.Server, srv FilesServer)
func RegisterObjectsHandler ¶
func RegisterObjectsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterObjectsHandler registers the http handlers for service Objects to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterObjectsHandlerClient ¶
func RegisterObjectsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ObjectsClient) error
RegisterObjectsHandlerClient registers the http handlers for service Objects to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ObjectsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ObjectsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ObjectsClient" to call the correct interceptors.
func RegisterObjectsHandlerFromEndpoint ¶
func RegisterObjectsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterObjectsHandlerFromEndpoint is same as RegisterObjectsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterObjectsHandlerServer ¶
func RegisterObjectsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ObjectsServer) error
RegisterObjectsHandlerServer registers the http handlers for service Objects to "mux". UnaryRPC :call ObjectsServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterObjectsHandlerFromEndpoint instead.
func RegisterObjectsServer ¶
func RegisterObjectsServer(s *grpc.Server, srv ObjectsServer)
func RegisterSearchEngineHandler ¶
func RegisterSearchEngineHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterSearchEngineHandler registers the http handlers for service SearchEngine to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterSearchEngineHandlerClient ¶
func RegisterSearchEngineHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SearchEngineClient) error
RegisterSearchEngineHandlerClient registers the http handlers for service SearchEngine to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SearchEngineClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SearchEngineClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SearchEngineClient" to call the correct interceptors.
func RegisterSearchEngineHandlerFromEndpoint ¶
func RegisterSearchEngineHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterSearchEngineHandlerFromEndpoint is same as RegisterSearchEngineHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterSearchEngineHandlerServer ¶
func RegisterSearchEngineHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SearchEngineServer) error
RegisterSearchEngineHandlerServer registers the http handlers for service SearchEngine to "mux". UnaryRPC :call SearchEngineServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterSearchEngineHandlerFromEndpoint instead.
func RegisterSearchEngineServer ¶
func RegisterSearchEngineServer(s *grpc.Server, srv SearchEngineServer)
func RegisterServiceHandler ¶
func RegisterServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterServiceHandler registers the http handlers for service Service to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterServiceHandlerClient ¶
func RegisterServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ServiceClient) error
RegisterServiceHandlerClient registers the http handlers for service Service to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ServiceClient" to call the correct interceptors.
func RegisterServiceHandlerFromEndpoint ¶
func RegisterServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterServiceHandlerFromEndpoint is same as RegisterServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterServiceHandlerServer ¶
func RegisterServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ServiceServer) error
RegisterServiceHandlerServer registers the http handlers for service Service to "mux". UnaryRPC :call ServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterServiceHandlerFromEndpoint instead.
func RegisterServiceServer ¶
func RegisterServiceServer(s *grpc.Server, srv ServiceServer)
Types ¶
type ACL ¶
type ACL struct { Object string `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"` Relation string `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"` Subject string `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"` // contains filtered or unexported fields }
func (*ACL) Descriptor
deprecated
func (*ACL) GetRelation ¶
func (*ACL) GetSubject ¶
func (*ACL) ProtoMessage ¶
func (*ACL) ProtoMessage()
func (*ACL) ProtoReflect ¶
func (x *ACL) ProtoReflect() protoreflect.Message
type ACLConfig ¶
type ACLConfig struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` RelationWithCreated string `protobuf:"bytes,2,opt,name=relation_with_created,json=relationWithCreated,proto3" json:"relation_with_created,omitempty"` // contains filtered or unexported fields }
func (*ACLConfig) Descriptor
deprecated
func (*ACLConfig) GetNamespace ¶
func (*ACLConfig) GetRelationWithCreated ¶
func (*ACLConfig) ProtoMessage ¶
func (*ACLConfig) ProtoMessage()
func (*ACLConfig) ProtoReflect ¶
func (x *ACLConfig) ProtoReflect() protoreflect.Message
type AccessActionRelation ¶
type AccessActionRelation struct { View *FileActionAuthorizedUsers `protobuf:"bytes,1,opt,name=view,proto3" json:"view,omitempty"` Edit *FileActionAuthorizedUsers `protobuf:"bytes,2,opt,name=edit,proto3" json:"edit,omitempty"` Delete *FileActionAuthorizedUsers `protobuf:"bytes,4,opt,name=delete,proto3" json:"delete,omitempty"` // contains filtered or unexported fields }
func (*AccessActionRelation) Descriptor
deprecated
func (*AccessActionRelation) Descriptor() ([]byte, []int)
Deprecated: Use AccessActionRelation.ProtoReflect.Descriptor instead.
func (*AccessActionRelation) GetDelete ¶
func (x *AccessActionRelation) GetDelete() *FileActionAuthorizedUsers
func (*AccessActionRelation) GetEdit ¶
func (x *AccessActionRelation) GetEdit() *FileActionAuthorizedUsers
func (*AccessActionRelation) GetShare ¶
func (x *AccessActionRelation) GetShare() *FileActionAuthorizedUsers
func (*AccessActionRelation) GetView ¶
func (x *AccessActionRelation) GetView() *FileActionAuthorizedUsers
func (*AccessActionRelation) ProtoMessage ¶
func (*AccessActionRelation) ProtoMessage()
func (*AccessActionRelation) ProtoReflect ¶
func (x *AccessActionRelation) ProtoReflect() protoreflect.Message
func (*AccessActionRelation) Reset ¶
func (x *AccessActionRelation) Reset()
func (*AccessActionRelation) String ¶
func (x *AccessActionRelation) String() string
type AccessInfo ¶
type AccessInfo struct { AccessId string `protobuf:"bytes,1,opt,name=access_id,json=accessId,proto3" json:"access_id,omitempty"` FreeSpace int64 `protobuf:"varint,2,opt,name=free_space,json=freeSpace,proto3" json:"free_space,omitempty"` TotalSpace int64 `protobuf:"varint,3,opt,name=total_space,json=totalSpace,proto3" json:"total_space,omitempty"` // contains filtered or unexported fields }
func (*AccessInfo) Descriptor
deprecated
func (*AccessInfo) Descriptor() ([]byte, []int)
Deprecated: Use AccessInfo.ProtoReflect.Descriptor instead.
func (*AccessInfo) GetAccessId ¶
func (x *AccessInfo) GetAccessId() string
func (*AccessInfo) GetFreeSpace ¶
func (x *AccessInfo) GetFreeSpace() int64
func (*AccessInfo) GetTotalSpace ¶
func (x *AccessInfo) GetTotalSpace() int64
func (*AccessInfo) ProtoMessage ¶
func (*AccessInfo) ProtoMessage()
func (*AccessInfo) ProtoReflect ¶
func (x *AccessInfo) ProtoReflect() protoreflect.Message
func (*AccessInfo) Reset ¶
func (x *AccessInfo) Reset()
func (*AccessInfo) String ¶
func (x *AccessInfo) String() string
type AccessManagerClient ¶
type AccessManagerClient interface { CreateAccess(ctx context.Context, in *CreateAccessRequest, opts ...grpc.CallOption) (*CreateAccessResponse, error) GetAccess(ctx context.Context, in *GetAccessRequest, opts ...grpc.CallOption) (*GetAccessResponse, error) GetAccessList(ctx context.Context, in *GetAccessListRequest, opts ...grpc.CallOption) (AccessManager_GetAccessListClient, error) ResolveAccess(ctx context.Context, in *ResolveAccessRequest, opts ...grpc.CallOption) (*ResolveAccessResponse, error) DeleteAccess(ctx context.Context, opts ...grpc.CallOption) (AccessManager_DeleteAccessClient, error) }
AccessManagerClient is the client API for AccessManager service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAccessManagerClient ¶
func NewAccessManagerClient(cc grpc.ClientConnInterface) AccessManagerClient
type AccessManagerServer ¶
type AccessManagerServer interface { CreateAccess(context.Context, *CreateAccessRequest) (*CreateAccessResponse, error) GetAccess(context.Context, *GetAccessRequest) (*GetAccessResponse, error) GetAccessList(*GetAccessListRequest, AccessManager_GetAccessListServer) error ResolveAccess(context.Context, *ResolveAccessRequest) (*ResolveAccessResponse, error) DeleteAccess(AccessManager_DeleteAccessServer) error // contains filtered or unexported methods }
AccessManagerServer is the server API for AccessManager service. All implementations must embed UnimplementedAccessManagerServer for forward compatibility
type AccessManager_DeleteAccessClient ¶
type AccessManager_DeleteAccessClient interface { Send(*DeleteAccessRequest) error CloseAndRecv() (*DeleteAccessResponse, error) grpc.ClientStream }
type AccessManager_DeleteAccessServer ¶
type AccessManager_DeleteAccessServer interface { SendAndClose(*DeleteAccessResponse) error Recv() (*DeleteAccessRequest, error) grpc.ServerStream }
type AccessManager_GetAccessListClient ¶
type AccessManager_GetAccessListClient interface { Recv() (*FSAccess, error) grpc.ClientStream }
type AccessManager_GetAccessListServer ¶
type AccessManager_GetAccessListServer interface { Send(*FSAccess) error grpc.ServerStream }
type AccessRules ¶
type AccessRules struct { Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` ReadRelation string `protobuf:"bytes,3,opt,name=read_relation,json=readRelation,proto3" json:"read_relation,omitempty"` EditRelation string `protobuf:"bytes,4,opt,name=edit_relation,json=editRelation,proto3" json:"edit_relation,omitempty"` DeleteRelation string `protobuf:"bytes,5,opt,name=delete_relation,json=deleteRelation,proto3" json:"delete_relation,omitempty"` // contains filtered or unexported fields }
func (*AccessRules) Descriptor
deprecated
func (*AccessRules) Descriptor() ([]byte, []int)
Deprecated: Use AccessRules.ProtoReflect.Descriptor instead.
func (*AccessRules) GetDeleteRelation ¶
func (x *AccessRules) GetDeleteRelation() string
func (*AccessRules) GetDescription ¶
func (x *AccessRules) GetDescription() string
func (*AccessRules) GetEditRelation ¶
func (x *AccessRules) GetEditRelation() string
func (*AccessRules) GetLabel ¶
func (x *AccessRules) GetLabel() string
func (*AccessRules) GetReadRelation ¶
func (x *AccessRules) GetReadRelation() string
func (*AccessRules) ProtoMessage ¶
func (*AccessRules) ProtoMessage()
func (*AccessRules) ProtoReflect ¶
func (x *AccessRules) ProtoReflect() protoreflect.Message
func (*AccessRules) Reset ¶
func (x *AccessRules) Reset()
func (*AccessRules) String ¶
func (x *AccessRules) String() string
type AccessType ¶
type AccessType int32
const ( AccessType_Default AccessType = 0 AccessType_Reference AccessType = 1 )
func (AccessType) Descriptor ¶
func (AccessType) Descriptor() protoreflect.EnumDescriptor
func (AccessType) Enum ¶
func (x AccessType) Enum() *AccessType
func (AccessType) EnumDescriptor
deprecated
func (AccessType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccessType.Descriptor instead.
func (AccessType) Number ¶
func (x AccessType) Number() protoreflect.EnumNumber
func (AccessType) String ¶
func (x AccessType) String() string
func (AccessType) Type ¶
func (AccessType) Type() protoreflect.EnumType
type And ¶
type And struct { Queries []*FieldQuery `protobuf:"bytes,1,rep,name=queries,proto3" json:"queries,omitempty"` // contains filtered or unexported fields }
func (*And) Descriptor
deprecated
func (*And) GetQueries ¶
func (x *And) GetQueries() []*FieldQuery
func (*And) ProtoMessage ¶
func (*And) ProtoMessage()
func (*And) ProtoReflect ¶
func (x *And) ProtoReflect() protoreflect.Message
type CheckRequest ¶
type CheckRequest struct { SubjectSet *SubjectSet `protobuf:"bytes,1,opt,name=subject_set,json=subjectSet,proto3" json:"subject_set,omitempty"` // contains filtered or unexported fields }
func (*CheckRequest) Descriptor
deprecated
func (*CheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckRequest.ProtoReflect.Descriptor instead.
func (*CheckRequest) GetSubjectSet ¶
func (x *CheckRequest) GetSubjectSet() *SubjectSet
func (*CheckRequest) ProtoMessage ¶
func (*CheckRequest) ProtoMessage()
func (*CheckRequest) ProtoReflect ¶
func (x *CheckRequest) ProtoReflect() protoreflect.Message
func (*CheckRequest) Reset ¶
func (x *CheckRequest) Reset()
func (*CheckRequest) String ¶
func (x *CheckRequest) String() string
type CheckResponse ¶
type CheckResponse struct { Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"` // contains filtered or unexported fields }
func (*CheckResponse) Descriptor
deprecated
func (*CheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckResponse.ProtoReflect.Descriptor instead.
func (*CheckResponse) GetValid ¶
func (x *CheckResponse) GetValid() bool
func (*CheckResponse) ProtoMessage ¶
func (*CheckResponse) ProtoMessage()
func (*CheckResponse) ProtoReflect ¶
func (x *CheckResponse) ProtoReflect() protoreflect.Message
func (*CheckResponse) Reset ¶
func (x *CheckResponse) Reset()
func (*CheckResponse) String ¶
func (x *CheckResponse) String() string
type ClientApp ¶
type ClientApp struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` Type ClientType `protobuf:"varint,3,opt,name=type,proto3,enum=ClientType" json:"type,omitempty"` AdminApp bool `protobuf:"varint,4,opt,name=admin_app,json=adminApp,proto3" json:"admin_app,omitempty"` Info map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ClientApp) Descriptor
deprecated
func (*ClientApp) GetAdminApp ¶
func (*ClientApp) GetType ¶
func (x *ClientApp) GetType() ClientType
func (*ClientApp) ProtoMessage ¶
func (*ClientApp) ProtoMessage()
func (*ClientApp) ProtoReflect ¶
func (x *ClientApp) ProtoReflect() protoreflect.Message
type ClientType ¶
type ClientType int32
const ( ClientType_web ClientType = 0 ClientType_mobile ClientType = 1 ClientType_desktop ClientType = 2 )
func (ClientType) Descriptor ¶
func (ClientType) Descriptor() protoreflect.EnumDescriptor
func (ClientType) Enum ¶
func (x ClientType) Enum() *ClientType
func (ClientType) EnumDescriptor
deprecated
func (ClientType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClientType.Descriptor instead.
func (ClientType) Number ¶
func (x ClientType) Number() protoreflect.EnumNumber
func (ClientType) String ¶
func (x ClientType) String() string
func (ClientType) Type ¶
func (ClientType) Type() protoreflect.EnumType
type Collection ¶
type Collection struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` NumberIndex *NumberIndex `protobuf:"bytes,4,opt,name=number_index,json=numberIndex,proto3" json:"number_index,omitempty"` TextIndexes []*TextIndex `protobuf:"bytes,5,rep,name=text_indexes,json=textIndexes,proto3" json:"text_indexes,omitempty"` FieldsIndex *PropertiesIndex `protobuf:"bytes,6,opt,name=fields_index,json=fieldsIndex,proto3" json:"fields_index,omitempty"` ActionAuthorizedUsers *PathAccessRules `` /* 126-byte string literal not displayed */ AclConfig *ACLConfig `protobuf:"bytes,8,opt,name=acl_config,json=aclConfig,proto3" json:"acl_config,omitempty"` // contains filtered or unexported fields }
func (*Collection) Descriptor
deprecated
func (*Collection) Descriptor() ([]byte, []int)
Deprecated: Use Collection.ProtoReflect.Descriptor instead.
func (*Collection) GetAclConfig ¶
func (x *Collection) GetAclConfig() *ACLConfig
func (*Collection) GetActionAuthorizedUsers ¶
func (x *Collection) GetActionAuthorizedUsers() *PathAccessRules
func (*Collection) GetDescription ¶
func (x *Collection) GetDescription() string
func (*Collection) GetFieldsIndex ¶
func (x *Collection) GetFieldsIndex() *PropertiesIndex
func (*Collection) GetId ¶
func (x *Collection) GetId() string
func (*Collection) GetLabel ¶
func (x *Collection) GetLabel() string
func (*Collection) GetNumberIndex ¶
func (x *Collection) GetNumberIndex() *NumberIndex
func (*Collection) GetTextIndexes ¶
func (x *Collection) GetTextIndexes() []*TextIndex
func (*Collection) ProtoMessage ¶
func (*Collection) ProtoMessage()
func (*Collection) ProtoReflect ¶
func (x *Collection) ProtoReflect() protoreflect.Message
func (*Collection) Reset ¶
func (x *Collection) Reset()
func (*Collection) String ¶
func (x *Collection) String() string
type Contains ¶
type Contains struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Contains) Descriptor
deprecated
func (*Contains) ProtoMessage ¶
func (*Contains) ProtoMessage()
func (*Contains) ProtoReflect ¶
func (x *Contains) ProtoReflect() protoreflect.Message
type CopyFileRequest ¶
type CopyFileRequest struct { AccessId string `protobuf:"bytes,1,opt,name=access_id,json=accessId,proto3" json:"access_id,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` TargetDir string `protobuf:"bytes,3,opt,name=target_dir,json=targetDir,proto3" json:"target_dir,omitempty"` // contains filtered or unexported fields }
func (*CopyFileRequest) Descriptor
deprecated
func (*CopyFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use CopyFileRequest.ProtoReflect.Descriptor instead.
func (*CopyFileRequest) GetAccessId ¶
func (x *CopyFileRequest) GetAccessId() string
func (*CopyFileRequest) GetPath ¶
func (x *CopyFileRequest) GetPath() string
func (*CopyFileRequest) GetTargetDir ¶
func (x *CopyFileRequest) GetTargetDir() string
func (*CopyFileRequest) ProtoMessage ¶
func (*CopyFileRequest) ProtoMessage()
func (*CopyFileRequest) ProtoReflect ¶
func (x *CopyFileRequest) ProtoReflect() protoreflect.Message
func (*CopyFileRequest) Reset ¶
func (x *CopyFileRequest) Reset()
func (*CopyFileRequest) String ¶
func (x *CopyFileRequest) String() string
type CopyFileResponse ¶
type CopyFileResponse struct { CopyName string `protobuf:"bytes,1,opt,name=copy_name,json=copyName,proto3" json:"copy_name,omitempty"` // contains filtered or unexported fields }
func (*CopyFileResponse) Descriptor
deprecated
func (*CopyFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use CopyFileResponse.ProtoReflect.Descriptor instead.
func (*CopyFileResponse) GetCopyName ¶
func (x *CopyFileResponse) GetCopyName() string
func (*CopyFileResponse) ProtoMessage ¶
func (*CopyFileResponse) ProtoMessage()
func (*CopyFileResponse) ProtoReflect ¶
func (x *CopyFileResponse) ProtoReflect() protoreflect.Message
func (*CopyFileResponse) Reset ¶
func (x *CopyFileResponse) Reset()
func (*CopyFileResponse) String ¶
func (x *CopyFileResponse) String() string
type CreateAccessRequest ¶
type CreateAccessRequest struct { Access *FSAccess `protobuf:"bytes,1,opt,name=access,proto3" json:"access,omitempty"` // contains filtered or unexported fields }
func (*CreateAccessRequest) Descriptor
deprecated
func (*CreateAccessRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccessRequest.ProtoReflect.Descriptor instead.
func (*CreateAccessRequest) GetAccess ¶
func (x *CreateAccessRequest) GetAccess() *FSAccess
func (*CreateAccessRequest) ProtoMessage ¶
func (*CreateAccessRequest) ProtoMessage()
func (*CreateAccessRequest) ProtoReflect ¶
func (x *CreateAccessRequest) ProtoReflect() protoreflect.Message
func (*CreateAccessRequest) Reset ¶
func (x *CreateAccessRequest) Reset()
func (*CreateAccessRequest) String ¶
func (x *CreateAccessRequest) String() string
type CreateAccessResponse ¶
type CreateAccessResponse struct {
// contains filtered or unexported fields
}
func (*CreateAccessResponse) Descriptor
deprecated
func (*CreateAccessResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccessResponse.ProtoReflect.Descriptor instead.
func (*CreateAccessResponse) ProtoMessage ¶
func (*CreateAccessResponse) ProtoMessage()
func (*CreateAccessResponse) ProtoReflect ¶
func (x *CreateAccessResponse) ProtoReflect() protoreflect.Message
func (*CreateAccessResponse) Reset ¶
func (x *CreateAccessResponse) Reset()
func (*CreateAccessResponse) String ¶
func (x *CreateAccessResponse) String() string
type CreateCollectionRequest ¶
type CreateCollectionRequest struct { Collection *Collection `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"` // contains filtered or unexported fields }
func (*CreateCollectionRequest) Descriptor
deprecated
func (*CreateCollectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCollectionRequest.ProtoReflect.Descriptor instead.
func (*CreateCollectionRequest) GetCollection ¶
func (x *CreateCollectionRequest) GetCollection() *Collection
func (*CreateCollectionRequest) ProtoMessage ¶
func (*CreateCollectionRequest) ProtoMessage()
func (*CreateCollectionRequest) ProtoReflect ¶
func (x *CreateCollectionRequest) ProtoReflect() protoreflect.Message
func (*CreateCollectionRequest) Reset ¶
func (x *CreateCollectionRequest) Reset()
func (*CreateCollectionRequest) String ¶
func (x *CreateCollectionRequest) String() string
type CreateCollectionResponse ¶
type CreateCollectionResponse struct {
// contains filtered or unexported fields
}
func (*CreateCollectionResponse) Descriptor
deprecated
func (*CreateCollectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateCollectionResponse.ProtoReflect.Descriptor instead.
func (*CreateCollectionResponse) ProtoMessage ¶
func (*CreateCollectionResponse) ProtoMessage()
func (*CreateCollectionResponse) ProtoReflect ¶
func (x *CreateCollectionResponse) ProtoReflect() protoreflect.Message
func (*CreateCollectionResponse) Reset ¶
func (x *CreateCollectionResponse) Reset()
func (*CreateCollectionResponse) String ¶
func (x *CreateCollectionResponse) String() string
type CreateDirRequest ¶
type CreateDirRequest struct { AccessId string `protobuf:"bytes,1,opt,name=access_id,json=accessId,proto3" json:"access_id,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*CreateDirRequest) Descriptor
deprecated
func (*CreateDirRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDirRequest.ProtoReflect.Descriptor instead.
func (*CreateDirRequest) GetAccessId ¶
func (x *CreateDirRequest) GetAccessId() string
func (*CreateDirRequest) GetPath ¶
func (x *CreateDirRequest) GetPath() string
func (*CreateDirRequest) ProtoMessage ¶
func (*CreateDirRequest) ProtoMessage()
func (*CreateDirRequest) ProtoReflect ¶
func (x *CreateDirRequest) ProtoReflect() protoreflect.Message
func (*CreateDirRequest) Reset ¶
func (x *CreateDirRequest) Reset()
func (*CreateDirRequest) String ¶
func (x *CreateDirRequest) String() string
type CreateDirResponse ¶
type CreateDirResponse struct {
// contains filtered or unexported fields
}
func (*CreateDirResponse) Descriptor
deprecated
func (*CreateDirResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateDirResponse.ProtoReflect.Descriptor instead.
func (*CreateDirResponse) ProtoMessage ¶
func (*CreateDirResponse) ProtoMessage()
func (*CreateDirResponse) ProtoReflect ¶
func (x *CreateDirResponse) ProtoReflect() protoreflect.Message
func (*CreateDirResponse) Reset ¶
func (x *CreateDirResponse) Reset()
func (*CreateDirResponse) String ¶
func (x *CreateDirResponse) String() string
type DBEntry ¶
type DBEntry struct { Sid int64 `protobuf:"varint,1,opt,name=sid,proto3" json:"sid,omitempty"` Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` Relation string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"` Subject string `protobuf:"bytes,4,opt,name=subject,proto3" json:"subject,omitempty"` StateMinAge int64 `protobuf:"varint,5,opt,name=state_min_age,json=stateMinAge,proto3" json:"state_min_age,omitempty"` // contains filtered or unexported fields }
func (*DBEntry) Descriptor
deprecated
func (*DBEntry) GetRelation ¶
func (*DBEntry) GetStateMinAge ¶
func (*DBEntry) GetSubject ¶
func (*DBEntry) ProtoMessage ¶
func (*DBEntry) ProtoMessage()
func (*DBEntry) ProtoReflect ¶
func (x *DBEntry) ProtoReflect() protoreflect.Message
type DBObjectSetInfo ¶
type DBObjectSetInfo struct { Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` Relation string `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"` StateMinAge int64 `protobuf:"varint,3,opt,name=state_min_age,json=stateMinAge,proto3" json:"state_min_age,omitempty"` // contains filtered or unexported fields }
func (*DBObjectSetInfo) Descriptor
deprecated
func (*DBObjectSetInfo) Descriptor() ([]byte, []int)
Deprecated: Use DBObjectSetInfo.ProtoReflect.Descriptor instead.
func (*DBObjectSetInfo) GetRelation ¶
func (x *DBObjectSetInfo) GetRelation() string
func (*DBObjectSetInfo) GetStateMinAge ¶
func (x *DBObjectSetInfo) GetStateMinAge() int64
func (*DBObjectSetInfo) GetSubject ¶
func (x *DBObjectSetInfo) GetSubject() string
func (*DBObjectSetInfo) ProtoMessage ¶
func (*DBObjectSetInfo) ProtoMessage()
func (*DBObjectSetInfo) ProtoReflect ¶
func (x *DBObjectSetInfo) ProtoReflect() protoreflect.Message
func (*DBObjectSetInfo) Reset ¶
func (x *DBObjectSetInfo) Reset()
func (*DBObjectSetInfo) String ¶
func (x *DBObjectSetInfo) String() string
type DBSubjectSetInfo ¶
type DBSubjectSetInfo struct { Object string `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"` Relation string `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"` StateMinAge int64 `protobuf:"varint,3,opt,name=state_min_age,json=stateMinAge,proto3" json:"state_min_age,omitempty"` // contains filtered or unexported fields }
func (*DBSubjectSetInfo) Descriptor
deprecated
func (*DBSubjectSetInfo) Descriptor() ([]byte, []int)
Deprecated: Use DBSubjectSetInfo.ProtoReflect.Descriptor instead.
func (*DBSubjectSetInfo) GetObject ¶
func (x *DBSubjectSetInfo) GetObject() string
func (*DBSubjectSetInfo) GetRelation ¶
func (x *DBSubjectSetInfo) GetRelation() string
func (*DBSubjectSetInfo) GetStateMinAge ¶
func (x *DBSubjectSetInfo) GetStateMinAge() int64
func (*DBSubjectSetInfo) ProtoMessage ¶
func (*DBSubjectSetInfo) ProtoMessage()
func (*DBSubjectSetInfo) ProtoReflect ¶
func (x *DBSubjectSetInfo) ProtoReflect() protoreflect.Message
func (*DBSubjectSetInfo) Reset ¶
func (x *DBSubjectSetInfo) Reset()
func (*DBSubjectSetInfo) String ¶
func (x *DBSubjectSetInfo) String() string
type DeleteACLRequest ¶
type DeleteACLRequest struct { Acl *ACL `protobuf:"bytes,2,opt,name=acl,proto3" json:"acl,omitempty"` // contains filtered or unexported fields }
func (*DeleteACLRequest) Descriptor
deprecated
func (*DeleteACLRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteACLRequest.ProtoReflect.Descriptor instead.
func (*DeleteACLRequest) GetAcl ¶
func (x *DeleteACLRequest) GetAcl() *ACL
func (*DeleteACLRequest) ProtoMessage ¶
func (*DeleteACLRequest) ProtoMessage()
func (*DeleteACLRequest) ProtoReflect ¶
func (x *DeleteACLRequest) ProtoReflect() protoreflect.Message
func (*DeleteACLRequest) Reset ¶
func (x *DeleteACLRequest) Reset()
func (*DeleteACLRequest) String ¶
func (x *DeleteACLRequest) String() string
type DeleteACLResponse ¶
type DeleteACLResponse struct {
// contains filtered or unexported fields
}
func (*DeleteACLResponse) Descriptor
deprecated
func (*DeleteACLResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteACLResponse.ProtoReflect.Descriptor instead.
func (*DeleteACLResponse) ProtoMessage ¶
func (*DeleteACLResponse) ProtoMessage()
func (*DeleteACLResponse) ProtoReflect ¶
func (x *DeleteACLResponse) ProtoReflect() protoreflect.Message
func (*DeleteACLResponse) Reset ¶
func (x *DeleteACLResponse) Reset()
func (*DeleteACLResponse) String ¶
func (x *DeleteACLResponse) String() string
type DeleteAccessRequest ¶
type DeleteAccessRequest struct { AccessId string `protobuf:"bytes,1,opt,name=access_id,json=accessId,proto3" json:"access_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteAccessRequest) Descriptor
deprecated
func (*DeleteAccessRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAccessRequest.ProtoReflect.Descriptor instead.
func (*DeleteAccessRequest) GetAccessId ¶
func (x *DeleteAccessRequest) GetAccessId() string
func (*DeleteAccessRequest) ProtoMessage ¶
func (*DeleteAccessRequest) ProtoMessage()
func (*DeleteAccessRequest) ProtoReflect ¶
func (x *DeleteAccessRequest) ProtoReflect() protoreflect.Message
func (*DeleteAccessRequest) Reset ¶
func (x *DeleteAccessRequest) Reset()
func (*DeleteAccessRequest) String ¶
func (x *DeleteAccessRequest) String() string
type DeleteAccessResponse ¶
type DeleteAccessResponse struct {
// contains filtered or unexported fields
}
func (*DeleteAccessResponse) Descriptor
deprecated
func (*DeleteAccessResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAccessResponse.ProtoReflect.Descriptor instead.
func (*DeleteAccessResponse) ProtoMessage ¶
func (*DeleteAccessResponse) ProtoMessage()
func (*DeleteAccessResponse) ProtoReflect ¶
func (x *DeleteAccessResponse) ProtoReflect() protoreflect.Message
func (*DeleteAccessResponse) Reset ¶
func (x *DeleteAccessResponse) Reset()
func (*DeleteAccessResponse) String ¶
func (x *DeleteAccessResponse) String() string
type DeleteCollectionRequest ¶
type DeleteCollectionRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteCollectionRequest) Descriptor
deprecated
func (*DeleteCollectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCollectionRequest.ProtoReflect.Descriptor instead.
func (*DeleteCollectionRequest) GetId ¶
func (x *DeleteCollectionRequest) GetId() string
func (*DeleteCollectionRequest) ProtoMessage ¶
func (*DeleteCollectionRequest) ProtoMessage()
func (*DeleteCollectionRequest) ProtoReflect ¶
func (x *DeleteCollectionRequest) ProtoReflect() protoreflect.Message
func (*DeleteCollectionRequest) Reset ¶
func (x *DeleteCollectionRequest) Reset()
func (*DeleteCollectionRequest) String ¶
func (x *DeleteCollectionRequest) String() string
type DeleteCollectionResponse ¶
type DeleteCollectionResponse struct {
// contains filtered or unexported fields
}
func (*DeleteCollectionResponse) Descriptor
deprecated
func (*DeleteCollectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCollectionResponse.ProtoReflect.Descriptor instead.
func (*DeleteCollectionResponse) ProtoMessage ¶
func (*DeleteCollectionResponse) ProtoMessage()
func (*DeleteCollectionResponse) ProtoReflect ¶
func (x *DeleteCollectionResponse) ProtoReflect() protoreflect.Message
func (*DeleteCollectionResponse) Reset ¶
func (x *DeleteCollectionResponse) Reset()
func (*DeleteCollectionResponse) String ¶
func (x *DeleteCollectionResponse) String() string
type DeleteFileRequest ¶
type DeleteFileRequest struct { AccessId string `protobuf:"bytes,1,opt,name=access_id,json=accessId,proto3" json:"access_id,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*DeleteFileRequest) Descriptor
deprecated
func (*DeleteFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFileRequest.ProtoReflect.Descriptor instead.
func (*DeleteFileRequest) GetAccessId ¶
func (x *DeleteFileRequest) GetAccessId() string
func (*DeleteFileRequest) GetPath ¶
func (x *DeleteFileRequest) GetPath() string
func (*DeleteFileRequest) ProtoMessage ¶
func (*DeleteFileRequest) ProtoMessage()
func (*DeleteFileRequest) ProtoReflect ¶
func (x *DeleteFileRequest) ProtoReflect() protoreflect.Message
func (*DeleteFileRequest) Reset ¶
func (x *DeleteFileRequest) Reset()
func (*DeleteFileRequest) String ¶
func (x *DeleteFileRequest) String() string
type DeleteFileResponse ¶
type DeleteFileResponse struct {
// contains filtered or unexported fields
}
func (*DeleteFileResponse) Descriptor
deprecated
func (*DeleteFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFileResponse.ProtoReflect.Descriptor instead.
func (*DeleteFileResponse) ProtoMessage ¶
func (*DeleteFileResponse) ProtoMessage()
func (*DeleteFileResponse) ProtoReflect ¶
func (x *DeleteFileResponse) ProtoReflect() protoreflect.Message
func (*DeleteFileResponse) Reset ¶
func (x *DeleteFileResponse) Reset()
func (*DeleteFileResponse) String ¶
func (x *DeleteFileResponse) String() string
type DeleteNamespaceConfigRequest ¶
type DeleteNamespaceConfigRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteNamespaceConfigRequest) Descriptor
deprecated
func (*DeleteNamespaceConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNamespaceConfigRequest.ProtoReflect.Descriptor instead.
func (*DeleteNamespaceConfigRequest) GetName ¶
func (x *DeleteNamespaceConfigRequest) GetName() string
func (*DeleteNamespaceConfigRequest) ProtoMessage ¶
func (*DeleteNamespaceConfigRequest) ProtoMessage()
func (*DeleteNamespaceConfigRequest) ProtoReflect ¶
func (x *DeleteNamespaceConfigRequest) ProtoReflect() protoreflect.Message
func (*DeleteNamespaceConfigRequest) Reset ¶
func (x *DeleteNamespaceConfigRequest) Reset()
func (*DeleteNamespaceConfigRequest) String ¶
func (x *DeleteNamespaceConfigRequest) String() string
type DeleteNamespaceConfigResponse ¶
type DeleteNamespaceConfigResponse struct {
// contains filtered or unexported fields
}
func (*DeleteNamespaceConfigResponse) Descriptor
deprecated
func (*DeleteNamespaceConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNamespaceConfigResponse.ProtoReflect.Descriptor instead.
func (*DeleteNamespaceConfigResponse) ProtoMessage ¶
func (*DeleteNamespaceConfigResponse) ProtoMessage()
func (*DeleteNamespaceConfigResponse) ProtoReflect ¶
func (x *DeleteNamespaceConfigResponse) ProtoReflect() protoreflect.Message
func (*DeleteNamespaceConfigResponse) Reset ¶
func (x *DeleteNamespaceConfigResponse) Reset()
func (*DeleteNamespaceConfigResponse) String ¶
func (x *DeleteNamespaceConfigResponse) String() string
type DeleteObjectRequest ¶
type DeleteObjectRequest struct { Collection string `protobuf:"bytes,1,opt,name=Collection,proto3" json:"Collection,omitempty"` ObjectId string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteObjectRequest) Descriptor
deprecated
func (*DeleteObjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteObjectRequest.ProtoReflect.Descriptor instead.
func (*DeleteObjectRequest) GetCollection ¶
func (x *DeleteObjectRequest) GetCollection() string
func (*DeleteObjectRequest) GetObjectId ¶
func (x *DeleteObjectRequest) GetObjectId() string
func (*DeleteObjectRequest) ProtoMessage ¶
func (*DeleteObjectRequest) ProtoMessage()
func (*DeleteObjectRequest) ProtoReflect ¶
func (x *DeleteObjectRequest) ProtoReflect() protoreflect.Message
func (*DeleteObjectRequest) Reset ¶
func (x *DeleteObjectRequest) Reset()
func (*DeleteObjectRequest) String ¶
func (x *DeleteObjectRequest) String() string
type DeleteObjectResponse ¶
type DeleteObjectResponse struct {
// contains filtered or unexported fields
}
func (*DeleteObjectResponse) Descriptor
deprecated
func (*DeleteObjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteObjectResponse.ProtoReflect.Descriptor instead.
func (*DeleteObjectResponse) ProtoMessage ¶
func (*DeleteObjectResponse) ProtoMessage()
func (*DeleteObjectResponse) ProtoReflect ¶
func (x *DeleteObjectResponse) ProtoReflect() protoreflect.Message
func (*DeleteObjectResponse) Reset ¶
func (x *DeleteObjectResponse) Reset()
func (*DeleteObjectResponse) String ¶
func (x *DeleteObjectResponse) String() string
type DeleteSharesRequest ¶
type DeleteSharesRequest struct { // contains filtered or unexported fields }
func (*DeleteSharesRequest) Descriptor
deprecated
func (*DeleteSharesRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSharesRequest.ProtoReflect.Descriptor instead.
func (*DeleteSharesRequest) GetInfo ¶
func (x *DeleteSharesRequest) GetInfo() []*ShareInfo
func (*DeleteSharesRequest) ProtoMessage ¶
func (*DeleteSharesRequest) ProtoMessage()
func (*DeleteSharesRequest) ProtoReflect ¶
func (x *DeleteSharesRequest) ProtoReflect() protoreflect.Message
func (*DeleteSharesRequest) Reset ¶
func (x *DeleteSharesRequest) Reset()
func (*DeleteSharesRequest) String ¶
func (x *DeleteSharesRequest) String() string
type DeleteSharesResponse ¶
type DeleteSharesResponse struct {
// contains filtered or unexported fields
}
func (*DeleteSharesResponse) Descriptor
deprecated
func (*DeleteSharesResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSharesResponse.ProtoReflect.Descriptor instead.
func (*DeleteSharesResponse) ProtoMessage ¶
func (*DeleteSharesResponse) ProtoMessage()
func (*DeleteSharesResponse) ProtoReflect ¶
func (x *DeleteSharesResponse) ProtoReflect() protoreflect.Message
func (*DeleteSharesResponse) Reset ¶
func (x *DeleteSharesResponse) Reset()
func (*DeleteSharesResponse) String ¶
func (x *DeleteSharesResponse) String() string
type DiskUsage ¶
type DiskUsage struct { All int64 `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"` Used int64 `protobuf:"varint,2,opt,name=used,proto3" json:"used,omitempty"` Free int64 `protobuf:"varint,3,opt,name=free,proto3" json:"free,omitempty"` // contains filtered or unexported fields }
func (*DiskUsage) Descriptor
deprecated
func (*DiskUsage) ProtoMessage ¶
func (*DiskUsage) ProtoMessage()
func (*DiskUsage) ProtoReflect ¶
func (x *DiskUsage) ProtoReflect() protoreflect.Message
type EncryptionInfo ¶
type EncryptionInfo struct { KeyUri string `protobuf:"bytes,1,opt,name=key_uri,json=keyUri,proto3" json:"key_uri,omitempty"` MaxBlockSize int64 `protobuf:"varint,2,opt,name=max_block_size,json=maxBlockSize,proto3" json:"max_block_size,omitempty"` // contains filtered or unexported fields }
func (*EncryptionInfo) Descriptor
deprecated
func (*EncryptionInfo) Descriptor() ([]byte, []int)
Deprecated: Use EncryptionInfo.ProtoReflect.Descriptor instead.
func (*EncryptionInfo) GetKeyUri ¶
func (x *EncryptionInfo) GetKeyUri() string
func (*EncryptionInfo) GetMaxBlockSize ¶
func (x *EncryptionInfo) GetMaxBlockSize() int64
func (*EncryptionInfo) ProtoMessage ¶
func (*EncryptionInfo) ProtoMessage()
func (*EncryptionInfo) ProtoReflect ¶
func (x *EncryptionInfo) ProtoReflect() protoreflect.Message
func (*EncryptionInfo) Reset ¶
func (x *EncryptionInfo) Reset()
func (*EncryptionInfo) String ¶
func (x *EncryptionInfo) String() string
type EndsWith ¶
type EndsWith struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*EndsWith) Descriptor
deprecated
func (*EndsWith) ProtoMessage ¶
func (*EndsWith) ProtoMessage()
func (*EndsWith) ProtoReflect ¶
func (x *EndsWith) ProtoReflect() protoreflect.Message
type FSAccess ¶
type FSAccess struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` CreatedBy string `protobuf:"bytes,4,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` Type AccessType `protobuf:"varint,5,opt,name=type,proto3,enum=AccessType" json:"type,omitempty"` Uri string `protobuf:"bytes,6,opt,name=uri,proto3" json:"uri,omitempty"` Encryption *EncryptionInfo `protobuf:"bytes,7,opt,name=encryption,proto3" json:"encryption,omitempty"` IsFolder bool `protobuf:"varint,10,opt,name=isFolder,proto3" json:"isFolder,omitempty"` ExpireTime int64 `protobuf:"varint,11,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` EncodedInfo string `protobuf:"bytes,12,opt,name=encoded_info,json=encodedInfo,proto3" json:"encoded_info,omitempty"` // contains filtered or unexported fields }
func (*FSAccess) Descriptor
deprecated
func (*FSAccess) GetCreatedBy ¶
func (*FSAccess) GetDescription ¶
func (*FSAccess) GetEncodedInfo ¶
func (*FSAccess) GetEncryption ¶
func (x *FSAccess) GetEncryption() *EncryptionInfo
func (*FSAccess) GetExpireTime ¶
func (*FSAccess) GetIsFolder ¶
func (*FSAccess) GetType ¶
func (x *FSAccess) GetType() AccessType
func (*FSAccess) ProtoMessage ¶
func (*FSAccess) ProtoMessage()
func (*FSAccess) ProtoReflect ¶
func (x *FSAccess) ProtoReflect() protoreflect.Message
type FeedResponse ¶
type FeedResponse struct {
// contains filtered or unexported fields
}
func (*FeedResponse) Descriptor
deprecated
func (*FeedResponse) Descriptor() ([]byte, []int)
Deprecated: Use FeedResponse.ProtoReflect.Descriptor instead.
func (*FeedResponse) ProtoMessage ¶
func (*FeedResponse) ProtoMessage()
func (*FeedResponse) ProtoReflect ¶
func (x *FeedResponse) ProtoReflect() protoreflect.Message
func (*FeedResponse) Reset ¶
func (x *FeedResponse) Reset()
func (*FeedResponse) String ¶
func (x *FeedResponse) String() string
type FieldQuery ¶
type FieldQuery struct { // Types that are assignable to Bool: // *FieldQuery_And // *FieldQuery_Or // *FieldQuery_StartsWith // *FieldQuery_EndsWith // *FieldQuery_Contains // *FieldQuery_StrEqual // *FieldQuery_Lt // *FieldQuery_Lte // *FieldQuery_Gt // *FieldQuery_Gte // *FieldQuery_NumbEq Bool isFieldQuery_Bool `protobuf_oneof:"bool"` // contains filtered or unexported fields }
func (*FieldQuery) Descriptor
deprecated
func (*FieldQuery) Descriptor() ([]byte, []int)
Deprecated: Use FieldQuery.ProtoReflect.Descriptor instead.
func (*FieldQuery) GetAnd ¶
func (x *FieldQuery) GetAnd() *And
func (*FieldQuery) GetBool ¶
func (m *FieldQuery) GetBool() isFieldQuery_Bool
func (*FieldQuery) GetContains ¶
func (x *FieldQuery) GetContains() *Contains
func (*FieldQuery) GetEndsWith ¶
func (x *FieldQuery) GetEndsWith() *EndsWith
func (*FieldQuery) GetGt ¶
func (x *FieldQuery) GetGt() *Gt
func (*FieldQuery) GetGte ¶
func (x *FieldQuery) GetGte() *Gte
func (*FieldQuery) GetLt ¶
func (x *FieldQuery) GetLt() *Lt
func (*FieldQuery) GetLte ¶
func (x *FieldQuery) GetLte() *Lte
func (*FieldQuery) GetNumbEq ¶
func (x *FieldQuery) GetNumbEq() *NumbEq
func (*FieldQuery) GetOr ¶
func (x *FieldQuery) GetOr() *Or
func (*FieldQuery) GetStartsWith ¶
func (x *FieldQuery) GetStartsWith() *StartsWith
func (*FieldQuery) GetStrEqual ¶
func (x *FieldQuery) GetStrEqual() *StrEqual
func (*FieldQuery) ProtoMessage ¶
func (*FieldQuery) ProtoMessage()
func (*FieldQuery) ProtoReflect ¶
func (x *FieldQuery) ProtoReflect() protoreflect.Message
func (*FieldQuery) Reset ¶
func (x *FieldQuery) Reset()
func (*FieldQuery) String ¶
func (x *FieldQuery) String() string
type FieldQuery_And ¶
type FieldQuery_And struct {
And *And `protobuf:"bytes,1,opt,name=and,proto3,oneof"`
}
type FieldQuery_Contains ¶
type FieldQuery_Contains struct {
Contains *Contains `protobuf:"bytes,5,opt,name=contains,proto3,oneof"`
}
type FieldQuery_EndsWith ¶
type FieldQuery_EndsWith struct {
EndsWith *EndsWith `protobuf:"bytes,4,opt,name=ends_with,json=endsWith,proto3,oneof"`
}
type FieldQuery_Gt ¶
type FieldQuery_Gt struct {
Gt *Gt `protobuf:"bytes,9,opt,name=gt,proto3,oneof"`
}
type FieldQuery_Gte ¶
type FieldQuery_Gte struct {
Gte *Gte `protobuf:"bytes,10,opt,name=gte,proto3,oneof"`
}
type FieldQuery_Lt ¶
type FieldQuery_Lt struct {
Lt *Lt `protobuf:"bytes,7,opt,name=lt,proto3,oneof"`
}
type FieldQuery_Lte ¶
type FieldQuery_Lte struct {
Lte *Lte `protobuf:"bytes,8,opt,name=lte,proto3,oneof"`
}
type FieldQuery_NumbEq ¶
type FieldQuery_NumbEq struct {
NumbEq *NumbEq `protobuf:"bytes,11,opt,name=numb_eq,json=numbEq,proto3,oneof"`
}
type FieldQuery_Or ¶
type FieldQuery_Or struct {
Or *Or `protobuf:"bytes,2,opt,name=or,proto3,oneof"`
}
type FieldQuery_StartsWith ¶
type FieldQuery_StartsWith struct {
StartsWith *StartsWith `protobuf:"bytes,3,opt,name=starts_with,json=startsWith,proto3,oneof"`
}
type FieldQuery_StrEqual ¶
type FieldQuery_StrEqual struct {
StrEqual *StrEqual `protobuf:"bytes,6,opt,name=str_equal,json=strEqual,proto3,oneof"`
}
type File ¶
type File struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` IsDir bool `protobuf:"varint,3,opt,name=is_dir,json=isDir,proto3" json:"is_dir,omitempty"` Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` CreateTime int64 `protobuf:"varint,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` EditTime int64 `protobuf:"varint,6,opt,name=edit_time,json=editTime,proto3" json:"edit_time,omitempty"` Attributes map[string]string `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
func (*File) Descriptor
deprecated
func (*File) GetAttributes ¶
func (*File) GetCreateTime ¶
func (*File) GetEditTime ¶
func (*File) ProtoMessage ¶
func (*File) ProtoMessage()
func (*File) ProtoReflect ¶
func (x *File) ProtoReflect() protoreflect.Message
type FileActionAuthorizedUsers ¶
type FileActionAuthorizedUsers struct { Restricted bool `protobuf:"varint,1,opt,name=restricted,proto3" json:"restricted,omitempty"` Relation string `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"` Object string `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"` // contains filtered or unexported fields }
func (*FileActionAuthorizedUsers) Descriptor
deprecated
func (*FileActionAuthorizedUsers) Descriptor() ([]byte, []int)
Deprecated: Use FileActionAuthorizedUsers.ProtoReflect.Descriptor instead.
func (*FileActionAuthorizedUsers) GetObject ¶
func (x *FileActionAuthorizedUsers) GetObject() string
func (*FileActionAuthorizedUsers) GetRelation ¶
func (x *FileActionAuthorizedUsers) GetRelation() string
func (*FileActionAuthorizedUsers) GetRestricted ¶
func (x *FileActionAuthorizedUsers) GetRestricted() bool
func (*FileActionAuthorizedUsers) ProtoMessage ¶
func (*FileActionAuthorizedUsers) ProtoMessage()
func (*FileActionAuthorizedUsers) ProtoReflect ¶
func (x *FileActionAuthorizedUsers) ProtoReflect() protoreflect.Message
func (*FileActionAuthorizedUsers) Reset ¶
func (x *FileActionAuthorizedUsers) Reset()
func (*FileActionAuthorizedUsers) String ¶
func (x *FileActionAuthorizedUsers) String() string
type FilesClient ¶
type FilesClient interface { CreateDir(ctx context.Context, in *CreateDirRequest, opts ...grpc.CallOption) (*CreateDirResponse, error) ListDir(ctx context.Context, in *ListDirRequest, opts ...grpc.CallOption) (*ListDirResponse, error) GetFile(ctx context.Context, in *GetFileRequest, opts ...grpc.CallOption) (*GetFileResponse, error) DeleteFile(ctx context.Context, in *DeleteFileRequest, opts ...grpc.CallOption) (*DeleteFileResponse, error) SetFileAttributes(ctx context.Context, in *SetFileAttributesRequest, opts ...grpc.CallOption) (*SetFileAttributesResponse, error) GetFileAttributes(ctx context.Context, in *GetFileAttributesRequest, opts ...grpc.CallOption) (*GetFileAttributesResponse, error) RenameFile(ctx context.Context, in *RenameFileRequest, opts ...grpc.CallOption) (*RenameFileResponse, error) MoveFile(ctx context.Context, in *MoveFileRequest, opts ...grpc.CallOption) (*MoveFileResponse, error) CopyFile(ctx context.Context, in *CopyFileRequest, opts ...grpc.CallOption) (*CopyFileResponse, error) }
FilesClient is the client API for Files service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewFilesClient ¶
func NewFilesClient(cc grpc.ClientConnInterface) FilesClient
type FilesServer ¶
type FilesServer interface { CreateDir(context.Context, *CreateDirRequest) (*CreateDirResponse, error) ListDir(context.Context, *ListDirRequest) (*ListDirResponse, error) GetFile(context.Context, *GetFileRequest) (*GetFileResponse, error) DeleteFile(context.Context, *DeleteFileRequest) (*DeleteFileResponse, error) SetFileAttributes(context.Context, *SetFileAttributesRequest) (*SetFileAttributesResponse, error) GetFileAttributes(context.Context, *GetFileAttributesRequest) (*GetFileAttributesResponse, error) RenameFile(context.Context, *RenameFileRequest) (*RenameFileResponse, error) MoveFile(context.Context, *MoveFileRequest) (*MoveFileResponse, error) CopyFile(context.Context, *CopyFileRequest) (*CopyFileResponse, error) // contains filtered or unexported methods }
FilesServer is the server API for Files service. All implementations must embed UnimplementedFilesServer for forward compatibility
type GetAccessListRequest ¶
type GetAccessListRequest struct { User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetAccessListRequest) Descriptor
deprecated
func (*GetAccessListRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAccessListRequest.ProtoReflect.Descriptor instead.
func (*GetAccessListRequest) GetUser ¶
func (x *GetAccessListRequest) GetUser() string
func (*GetAccessListRequest) ProtoMessage ¶
func (*GetAccessListRequest) ProtoMessage()
func (*GetAccessListRequest) ProtoReflect ¶
func (x *GetAccessListRequest) ProtoReflect() protoreflect.Message
func (*GetAccessListRequest) Reset ¶
func (x *GetAccessListRequest) Reset()
func (*GetAccessListRequest) String ¶
func (x *GetAccessListRequest) String() string
type GetAccessRequest ¶
type GetAccessRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetAccessRequest) Descriptor
deprecated
func (*GetAccessRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAccessRequest.ProtoReflect.Descriptor instead.
func (*GetAccessRequest) GetId ¶
func (x *GetAccessRequest) GetId() string
func (*GetAccessRequest) ProtoMessage ¶
func (*GetAccessRequest) ProtoMessage()
func (*GetAccessRequest) ProtoReflect ¶
func (x *GetAccessRequest) ProtoReflect() protoreflect.Message
func (*GetAccessRequest) Reset ¶
func (x *GetAccessRequest) Reset()
func (*GetAccessRequest) String ¶
func (x *GetAccessRequest) String() string
type GetAccessResponse ¶
type GetAccessResponse struct { Access *FSAccess `protobuf:"bytes,1,opt,name=access,proto3" json:"access,omitempty"` // contains filtered or unexported fields }
func (*GetAccessResponse) Descriptor
deprecated
func (*GetAccessResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAccessResponse.ProtoReflect.Descriptor instead.
func (*GetAccessResponse) GetAccess ¶
func (x *GetAccessResponse) GetAccess() *FSAccess
func (*GetAccessResponse) ProtoMessage ¶
func (*GetAccessResponse) ProtoMessage()
func (*GetAccessResponse) ProtoReflect ¶
func (x *GetAccessResponse) ProtoReflect() protoreflect.Message
func (*GetAccessResponse) Reset ¶
func (x *GetAccessResponse) Reset()
func (*GetAccessResponse) String ¶
func (x *GetAccessResponse) String() string
type GetCollectionRequest ¶
type GetCollectionRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetCollectionRequest) Descriptor
deprecated
func (*GetCollectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCollectionRequest.ProtoReflect.Descriptor instead.
func (*GetCollectionRequest) GetId ¶
func (x *GetCollectionRequest) GetId() string
func (*GetCollectionRequest) ProtoMessage ¶
func (*GetCollectionRequest) ProtoMessage()
func (*GetCollectionRequest) ProtoReflect ¶
func (x *GetCollectionRequest) ProtoReflect() protoreflect.Message
func (*GetCollectionRequest) Reset ¶
func (x *GetCollectionRequest) Reset()
func (*GetCollectionRequest) String ¶
func (x *GetCollectionRequest) String() string
type GetCollectionResponse ¶
type GetCollectionResponse struct { Collection *Collection `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"` // contains filtered or unexported fields }
func (*GetCollectionResponse) Descriptor
deprecated
func (*GetCollectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCollectionResponse.ProtoReflect.Descriptor instead.
func (*GetCollectionResponse) GetCollection ¶
func (x *GetCollectionResponse) GetCollection() *Collection
func (*GetCollectionResponse) ProtoMessage ¶
func (*GetCollectionResponse) ProtoMessage()
func (*GetCollectionResponse) ProtoReflect ¶
func (x *GetCollectionResponse) ProtoReflect() protoreflect.Message
func (*GetCollectionResponse) Reset ¶
func (x *GetCollectionResponse) Reset()
func (*GetCollectionResponse) String ¶
func (x *GetCollectionResponse) String() string
type GetFileAttributesRequest ¶
type GetFileAttributesRequest struct { AccessId string `protobuf:"bytes,1,opt,name=access_id,json=accessId,proto3" json:"access_id,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` Names []string `protobuf:"bytes,3,rep,name=names,proto3" json:"names,omitempty"` // contains filtered or unexported fields }
func (*GetFileAttributesRequest) Descriptor
deprecated
func (*GetFileAttributesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFileAttributesRequest.ProtoReflect.Descriptor instead.
func (*GetFileAttributesRequest) GetAccessId ¶
func (x *GetFileAttributesRequest) GetAccessId() string
func (*GetFileAttributesRequest) GetNames ¶
func (x *GetFileAttributesRequest) GetNames() []string
func (*GetFileAttributesRequest) GetPath ¶
func (x *GetFileAttributesRequest) GetPath() string
func (*GetFileAttributesRequest) ProtoMessage ¶
func (*GetFileAttributesRequest) ProtoMessage()
func (*GetFileAttributesRequest) ProtoReflect ¶
func (x *GetFileAttributesRequest) ProtoReflect() protoreflect.Message
func (*GetFileAttributesRequest) Reset ¶
func (x *GetFileAttributesRequest) Reset()
func (*GetFileAttributesRequest) String ¶
func (x *GetFileAttributesRequest) String() string
type GetFileAttributesResponse ¶
type GetFileAttributesResponse struct { Attributes map[string]string `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetFileAttributesResponse) Descriptor
deprecated
func (*GetFileAttributesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFileAttributesResponse.ProtoReflect.Descriptor instead.
func (*GetFileAttributesResponse) GetAttributes ¶
func (x *GetFileAttributesResponse) GetAttributes() map[string]string
func (*GetFileAttributesResponse) ProtoMessage ¶
func (*GetFileAttributesResponse) ProtoMessage()
func (*GetFileAttributesResponse) ProtoReflect ¶
func (x *GetFileAttributesResponse) ProtoReflect() protoreflect.Message
func (*GetFileAttributesResponse) Reset ¶
func (x *GetFileAttributesResponse) Reset()
func (*GetFileAttributesResponse) String ¶
func (x *GetFileAttributesResponse) String() string
type GetFileRequest ¶
type GetFileRequest struct { AccessId string `protobuf:"bytes,1,opt,name=access_id,json=accessId,proto3" json:"access_id,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` WithAttributes bool `protobuf:"varint,3,opt,name=with_attributes,json=withAttributes,proto3" json:"with_attributes,omitempty"` // contains filtered or unexported fields }
func (*GetFileRequest) Descriptor
deprecated
func (*GetFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFileRequest.ProtoReflect.Descriptor instead.
func (*GetFileRequest) GetAccessId ¶
func (x *GetFileRequest) GetAccessId() string
func (*GetFileRequest) GetPath ¶
func (x *GetFileRequest) GetPath() string
func (*GetFileRequest) GetWithAttributes ¶
func (x *GetFileRequest) GetWithAttributes() bool
func (*GetFileRequest) ProtoMessage ¶
func (*GetFileRequest) ProtoMessage()
func (*GetFileRequest) ProtoReflect ¶
func (x *GetFileRequest) ProtoReflect() protoreflect.Message
func (*GetFileRequest) Reset ¶
func (x *GetFileRequest) Reset()
func (*GetFileRequest) String ¶
func (x *GetFileRequest) String() string
type GetFileResponse ¶
type GetFileResponse struct { File *File `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` // contains filtered or unexported fields }
func (*GetFileResponse) Descriptor
deprecated
func (*GetFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFileResponse.ProtoReflect.Descriptor instead.
func (*GetFileResponse) GetFile ¶
func (x *GetFileResponse) GetFile() *File
func (*GetFileResponse) ProtoMessage ¶
func (*GetFileResponse) ProtoMessage()
func (*GetFileResponse) ProtoReflect ¶
func (x *GetFileResponse) ProtoReflect() protoreflect.Message
func (*GetFileResponse) Reset ¶
func (x *GetFileResponse) Reset()
func (*GetFileResponse) String ¶
func (x *GetFileResponse) String() string
type GetNamespaceConfigRequest ¶
type GetNamespaceConfigRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetNamespaceConfigRequest) Descriptor
deprecated
func (*GetNamespaceConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNamespaceConfigRequest.ProtoReflect.Descriptor instead.
func (*GetNamespaceConfigRequest) GetName ¶
func (x *GetNamespaceConfigRequest) GetName() string
func (*GetNamespaceConfigRequest) ProtoMessage ¶
func (*GetNamespaceConfigRequest) ProtoMessage()
func (*GetNamespaceConfigRequest) ProtoReflect ¶
func (x *GetNamespaceConfigRequest) ProtoReflect() protoreflect.Message
func (*GetNamespaceConfigRequest) Reset ¶
func (x *GetNamespaceConfigRequest) Reset()
func (*GetNamespaceConfigRequest) String ¶
func (x *GetNamespaceConfigRequest) String() string
type GetNamespaceConfigResponse ¶
type GetNamespaceConfigResponse struct {
// contains filtered or unexported fields
}
func (*GetNamespaceConfigResponse) Descriptor
deprecated
func (*GetNamespaceConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNamespaceConfigResponse.ProtoReflect.Descriptor instead.
func (*GetNamespaceConfigResponse) ProtoMessage ¶
func (*GetNamespaceConfigResponse) ProtoMessage()
func (*GetNamespaceConfigResponse) ProtoReflect ¶
func (x *GetNamespaceConfigResponse) ProtoReflect() protoreflect.Message
func (*GetNamespaceConfigResponse) Reset ¶
func (x *GetNamespaceConfigResponse) Reset()
func (*GetNamespaceConfigResponse) String ¶
func (x *GetNamespaceConfigResponse) String() string
type GetObjectRequest ¶
type GetObjectRequest struct { Collection string `protobuf:"bytes,1,opt,name=Collection,proto3" json:"Collection,omitempty"` ObjectId string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` At string `protobuf:"bytes,3,opt,name=at,proto3" json:"at,omitempty"` InfoOnly bool `protobuf:"varint,4,opt,name=info_only,json=infoOnly,proto3" json:"info_only,omitempty"` // contains filtered or unexported fields }
func (*GetObjectRequest) Descriptor
deprecated
func (*GetObjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetObjectRequest.ProtoReflect.Descriptor instead.
func (*GetObjectRequest) GetAt ¶
func (x *GetObjectRequest) GetAt() string
func (*GetObjectRequest) GetCollection ¶
func (x *GetObjectRequest) GetCollection() string
func (*GetObjectRequest) GetInfoOnly ¶
func (x *GetObjectRequest) GetInfoOnly() bool
func (*GetObjectRequest) GetObjectId ¶
func (x *GetObjectRequest) GetObjectId() string
func (*GetObjectRequest) ProtoMessage ¶
func (*GetObjectRequest) ProtoMessage()
func (*GetObjectRequest) ProtoReflect ¶
func (x *GetObjectRequest) ProtoReflect() protoreflect.Message
func (*GetObjectRequest) Reset ¶
func (x *GetObjectRequest) Reset()
func (*GetObjectRequest) String ¶
func (x *GetObjectRequest) String() string
type GetObjectResponse ¶
type GetObjectResponse struct { Object *Object `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"` // contains filtered or unexported fields }
func (*GetObjectResponse) Descriptor
deprecated
func (*GetObjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetObjectResponse.ProtoReflect.Descriptor instead.
func (*GetObjectResponse) GetObject ¶
func (x *GetObjectResponse) GetObject() *Object
func (*GetObjectResponse) ProtoMessage ¶
func (*GetObjectResponse) ProtoMessage()
func (*GetObjectResponse) ProtoReflect ¶
func (x *GetObjectResponse) ProtoReflect() protoreflect.Message
func (*GetObjectResponse) Reset ¶
func (x *GetObjectResponse) Reset()
func (*GetObjectResponse) String ¶
func (x *GetObjectResponse) String() string
type GetSharesRequest ¶
type GetSharesRequest struct { // contains filtered or unexported fields }
func (*GetSharesRequest) Descriptor
deprecated
func (*GetSharesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSharesRequest.ProtoReflect.Descriptor instead.
func (*GetSharesRequest) GetUserRoles ¶
func (x *GetSharesRequest) GetUserRoles() []*UserRole
func (*GetSharesRequest) ProtoMessage ¶
func (*GetSharesRequest) ProtoMessage()
func (*GetSharesRequest) ProtoReflect ¶
func (x *GetSharesRequest) ProtoReflect() protoreflect.Message
func (*GetSharesRequest) Reset ¶
func (x *GetSharesRequest) Reset()
func (*GetSharesRequest) String ¶
func (x *GetSharesRequest) String() string
type GetSharesResponse ¶
type GetSharesResponse struct {
// contains filtered or unexported fields
}
func (*GetSharesResponse) Descriptor
deprecated
func (*GetSharesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSharesResponse.ProtoReflect.Descriptor instead.
func (*GetSharesResponse) ProtoMessage ¶
func (*GetSharesResponse) ProtoMessage()
func (*GetSharesResponse) ProtoReflect ¶
func (x *GetSharesResponse) ProtoReflect() protoreflect.Message
func (*GetSharesResponse) Reset ¶
func (x *GetSharesResponse) Reset()
func (*GetSharesResponse) String ¶
func (x *GetSharesResponse) String() string
type Gt ¶
type Gt struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Gt) Descriptor
deprecated
func (*Gt) ProtoMessage ¶
func (*Gt) ProtoMessage()
func (*Gt) ProtoReflect ¶
func (x *Gt) ProtoReflect() protoreflect.Message
type Gte ¶
type Gte struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Gte) Descriptor
deprecated
func (*Gte) ProtoMessage ¶
func (*Gte) ProtoMessage()
func (*Gte) ProtoReflect ¶
func (x *Gte) ProtoReflect() protoreflect.Message
type Header ¶
type Header struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` CreatedBy string `protobuf:"bytes,2,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` CreatedAt int64 `protobuf:"varint,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` ActionAuthorizedUsersForPaths map[string]*ObjectActionsUsers `` /* 242-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Header) Descriptor
deprecated
func (*Header) GetActionAuthorizedUsersForPaths ¶
func (x *Header) GetActionAuthorizedUsersForPaths() map[string]*ObjectActionsUsers
func (*Header) GetCreatedAt ¶
func (*Header) GetCreatedBy ¶
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) ProtoReflect ¶
func (x *Header) ProtoReflect() protoreflect.Message
type Index ¶
type Index struct { // Types that are assignable to Info: // *Index_Text // *Index_Number // *Index_Properties Info isIndex_Info `protobuf_oneof:"info"` // contains filtered or unexported fields }
SEARCH ENGINE
func (*Index) Descriptor
deprecated
func (*Index) GetNumber ¶
func (x *Index) GetNumber() *NumberIndex
func (*Index) GetProperties ¶
func (x *Index) GetProperties() *PropertiesIndex
func (*Index) ProtoMessage ¶
func (*Index) ProtoMessage()
func (*Index) ProtoReflect ¶
func (x *Index) ProtoReflect() protoreflect.Message
type Index_Number ¶
type Index_Number struct {
Number *NumberIndex `protobuf:"bytes,2,opt,name=number,proto3,oneof"`
}
type Index_Properties ¶
type Index_Properties struct {
Properties *PropertiesIndex `protobuf:"bytes,3,opt,name=properties,proto3,oneof"`
}
type Index_Text ¶
type Index_Text struct {
Text *TextIndex `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}
type Like ¶
type Like struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Like) Descriptor
deprecated
func (*Like) ProtoMessage ¶
func (*Like) ProtoMessage()
func (*Like) ProtoReflect ¶
func (x *Like) ProtoReflect() protoreflect.Message
type ListCollectionsRequest ¶
type ListCollectionsRequest struct {
// contains filtered or unexported fields
}
func (*ListCollectionsRequest) Descriptor
deprecated
func (*ListCollectionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCollectionsRequest.ProtoReflect.Descriptor instead.
func (*ListCollectionsRequest) ProtoMessage ¶
func (*ListCollectionsRequest) ProtoMessage()
func (*ListCollectionsRequest) ProtoReflect ¶
func (x *ListCollectionsRequest) ProtoReflect() protoreflect.Message
func (*ListCollectionsRequest) Reset ¶
func (x *ListCollectionsRequest) Reset()
func (*ListCollectionsRequest) String ¶
func (x *ListCollectionsRequest) String() string
type ListCollectionsResponse ¶
type ListCollectionsResponse struct { Collections []*Collection `protobuf:"bytes,1,rep,name=collections,proto3" json:"collections,omitempty"` // contains filtered or unexported fields }
func (*ListCollectionsResponse) Descriptor
deprecated
func (*ListCollectionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCollectionsResponse.ProtoReflect.Descriptor instead.
func (*ListCollectionsResponse) GetCollections ¶
func (x *ListCollectionsResponse) GetCollections() []*Collection
func (*ListCollectionsResponse) ProtoMessage ¶
func (*ListCollectionsResponse) ProtoMessage()
func (*ListCollectionsResponse) ProtoReflect ¶
func (x *ListCollectionsResponse) ProtoReflect() protoreflect.Message
func (*ListCollectionsResponse) Reset ¶
func (x *ListCollectionsResponse) Reset()
func (*ListCollectionsResponse) String ¶
func (x *ListCollectionsResponse) String() string
type ListDirRequest ¶
type ListDirRequest struct { AccessId string `protobuf:"bytes,1,opt,name=access_id,json=accessId,proto3" json:"access_id,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` Offset uint32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` Count uint32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*ListDirRequest) Descriptor
deprecated
func (*ListDirRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDirRequest.ProtoReflect.Descriptor instead.
func (*ListDirRequest) GetAccessId ¶
func (x *ListDirRequest) GetAccessId() string
func (*ListDirRequest) GetCount ¶
func (x *ListDirRequest) GetCount() uint32
func (*ListDirRequest) GetOffset ¶
func (x *ListDirRequest) GetOffset() uint32
func (*ListDirRequest) GetPath ¶
func (x *ListDirRequest) GetPath() string
func (*ListDirRequest) ProtoMessage ¶
func (*ListDirRequest) ProtoMessage()
func (*ListDirRequest) ProtoReflect ¶
func (x *ListDirRequest) ProtoReflect() protoreflect.Message
func (*ListDirRequest) Reset ¶
func (x *ListDirRequest) Reset()
func (*ListDirRequest) String ¶
func (x *ListDirRequest) String() string
type ListDirResponse ¶
type ListDirResponse struct { Files []*File `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` Offset uint32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` Total uint32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*ListDirResponse) Descriptor
deprecated
func (*ListDirResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDirResponse.ProtoReflect.Descriptor instead.
func (*ListDirResponse) GetFiles ¶
func (x *ListDirResponse) GetFiles() []*File
func (*ListDirResponse) GetOffset ¶
func (x *ListDirResponse) GetOffset() uint32
func (*ListDirResponse) GetTotal ¶
func (x *ListDirResponse) GetTotal() uint32
func (*ListDirResponse) ProtoMessage ¶
func (*ListDirResponse) ProtoMessage()
func (*ListDirResponse) ProtoReflect ¶
func (x *ListDirResponse) ProtoReflect() protoreflect.Message
func (*ListDirResponse) Reset ¶
func (x *ListDirResponse) Reset()
func (*ListDirResponse) String ¶
func (x *ListDirResponse) String() string
type ListObjectsRequest ¶
type ListObjectsRequest struct { Collection string `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"` Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` At string `protobuf:"bytes,3,opt,name=at,proto3" json:"at,omitempty"` // contains filtered or unexported fields }
func (*ListObjectsRequest) Descriptor
deprecated
func (*ListObjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListObjectsRequest.ProtoReflect.Descriptor instead.
func (*ListObjectsRequest) GetAt ¶
func (x *ListObjectsRequest) GetAt() string
func (*ListObjectsRequest) GetCollection ¶
func (x *ListObjectsRequest) GetCollection() string
func (*ListObjectsRequest) GetOffset ¶
func (x *ListObjectsRequest) GetOffset() int64
func (*ListObjectsRequest) ProtoMessage ¶
func (*ListObjectsRequest) ProtoMessage()
func (*ListObjectsRequest) ProtoReflect ¶
func (x *ListObjectsRequest) ProtoReflect() protoreflect.Message
func (*ListObjectsRequest) Reset ¶
func (x *ListObjectsRequest) Reset()
func (*ListObjectsRequest) String ¶
func (x *ListObjectsRequest) String() string
type ListObjectsResponse ¶
type ListObjectsResponse struct { Result *ObjectList `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*ListObjectsResponse) Descriptor
deprecated
func (*ListObjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListObjectsResponse.ProtoReflect.Descriptor instead.
func (*ListObjectsResponse) GetResult ¶
func (x *ListObjectsResponse) GetResult() *ObjectList
func (*ListObjectsResponse) ProtoMessage ¶
func (*ListObjectsResponse) ProtoMessage()
func (*ListObjectsResponse) ProtoReflect ¶
func (x *ListObjectsResponse) ProtoReflect() protoreflect.Message
func (*ListObjectsResponse) Reset ¶
func (x *ListObjectsResponse) Reset()
func (*ListObjectsResponse) String ¶
func (x *ListObjectsResponse) String() string
type Lt ¶
type Lt struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Lt) Descriptor
deprecated
func (*Lt) ProtoMessage ¶
func (*Lt) ProtoMessage()
func (*Lt) ProtoReflect ¶
func (x *Lt) ProtoReflect() protoreflect.Message
type Lte ¶
type Lte struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Lte) Descriptor
deprecated
func (*Lte) ProtoMessage ¶
func (*Lte) ProtoMessage()
func (*Lte) ProtoReflect ¶
func (x *Lte) ProtoReflect() protoreflect.Message
type MessageFeed ¶
type MessageFeed struct { // Types that are assignable to Message: // *MessageFeed_NumMapping // *MessageFeed_TextMapping // *MessageFeed_PropertiesMapping // *MessageFeed_Delete Message isMessageFeed_Message `protobuf_oneof:"message"` // contains filtered or unexported fields }
func (*MessageFeed) Descriptor
deprecated
func (*MessageFeed) Descriptor() ([]byte, []int)
Deprecated: Use MessageFeed.ProtoReflect.Descriptor instead.
func (*MessageFeed) GetDelete ¶
func (x *MessageFeed) GetDelete() *ObjectDeletedNotification
func (*MessageFeed) GetMessage ¶
func (m *MessageFeed) GetMessage() isMessageFeed_Message
func (*MessageFeed) GetNumMapping ¶
func (x *MessageFeed) GetNumMapping() *NumberMapping
func (*MessageFeed) GetPropertiesMapping ¶
func (x *MessageFeed) GetPropertiesMapping() *PropertiesMapping
func (*MessageFeed) GetTextMapping ¶
func (x *MessageFeed) GetTextMapping() *TextMapping
func (*MessageFeed) ProtoMessage ¶
func (*MessageFeed) ProtoMessage()
func (*MessageFeed) ProtoReflect ¶
func (x *MessageFeed) ProtoReflect() protoreflect.Message
func (*MessageFeed) Reset ¶
func (x *MessageFeed) Reset()
func (*MessageFeed) String ¶
func (x *MessageFeed) String() string
type MessageFeed_Delete ¶
type MessageFeed_Delete struct {
Delete *ObjectDeletedNotification `protobuf:"bytes,4,opt,name=delete,proto3,oneof"`
}
type MessageFeed_NumMapping ¶
type MessageFeed_NumMapping struct {
NumMapping *NumberMapping `protobuf:"bytes,1,opt,name=num_mapping,json=numMapping,proto3,oneof"`
}
type MessageFeed_PropertiesMapping ¶
type MessageFeed_PropertiesMapping struct {
PropertiesMapping *PropertiesMapping `protobuf:"bytes,3,opt,name=properties_mapping,json=propertiesMapping,proto3,oneof"`
}
type MessageFeed_TextMapping ¶
type MessageFeed_TextMapping struct {
TextMapping *TextMapping `protobuf:"bytes,2,opt,name=text_mapping,json=textMapping,proto3,oneof"`
}
type MoveFileRequest ¶
type MoveFileRequest struct { AccessId string `protobuf:"bytes,1,opt,name=access_id,json=accessId,proto3" json:"access_id,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` TargetDir string `protobuf:"bytes,3,opt,name=target_dir,json=targetDir,proto3" json:"target_dir,omitempty"` // contains filtered or unexported fields }
func (*MoveFileRequest) Descriptor
deprecated
func (*MoveFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use MoveFileRequest.ProtoReflect.Descriptor instead.
func (*MoveFileRequest) GetAccessId ¶
func (x *MoveFileRequest) GetAccessId() string
func (*MoveFileRequest) GetPath ¶
func (x *MoveFileRequest) GetPath() string
func (*MoveFileRequest) GetTargetDir ¶
func (x *MoveFileRequest) GetTargetDir() string
func (*MoveFileRequest) ProtoMessage ¶
func (*MoveFileRequest) ProtoMessage()
func (*MoveFileRequest) ProtoReflect ¶
func (x *MoveFileRequest) ProtoReflect() protoreflect.Message
func (*MoveFileRequest) Reset ¶
func (x *MoveFileRequest) Reset()
func (*MoveFileRequest) String ¶
func (x *MoveFileRequest) String() string
type MoveFileResponse ¶
type MoveFileResponse struct { NewName string `protobuf:"bytes,3,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"` // contains filtered or unexported fields }
func (*MoveFileResponse) Descriptor
deprecated
func (*MoveFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use MoveFileResponse.ProtoReflect.Descriptor instead.
func (*MoveFileResponse) GetNewName ¶
func (x *MoveFileResponse) GetNewName() string
func (*MoveFileResponse) ProtoMessage ¶
func (*MoveFileResponse) ProtoMessage()
func (*MoveFileResponse) ProtoReflect ¶
func (x *MoveFileResponse) ProtoReflect() protoreflect.Message
func (*MoveFileResponse) Reset ¶
func (x *MoveFileResponse) Reset()
func (*MoveFileResponse) String ¶
func (x *MoveFileResponse) String() string
type MoveObjectRequest ¶
type MoveObjectRequest struct { SourceCollection string `protobuf:"bytes,1,opt,name=source_collection,json=sourceCollection,proto3" json:"source_collection,omitempty"` ObjectId string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` TargetCollection string `protobuf:"bytes,3,opt,name=target_collection,json=targetCollection,proto3" json:"target_collection,omitempty"` AccessSecurityRules *PathAccessRules `protobuf:"bytes,4,opt,name=access_security_rules,json=accessSecurityRules,proto3" json:"access_security_rules,omitempty"` // contains filtered or unexported fields }
func (*MoveObjectRequest) Descriptor
deprecated
func (*MoveObjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use MoveObjectRequest.ProtoReflect.Descriptor instead.
func (*MoveObjectRequest) GetAccessSecurityRules ¶
func (x *MoveObjectRequest) GetAccessSecurityRules() *PathAccessRules
func (*MoveObjectRequest) GetObjectId ¶
func (x *MoveObjectRequest) GetObjectId() string
func (*MoveObjectRequest) GetSourceCollection ¶
func (x *MoveObjectRequest) GetSourceCollection() string
func (*MoveObjectRequest) GetTargetCollection ¶
func (x *MoveObjectRequest) GetTargetCollection() string
func (*MoveObjectRequest) ProtoMessage ¶
func (*MoveObjectRequest) ProtoMessage()
func (*MoveObjectRequest) ProtoReflect ¶
func (x *MoveObjectRequest) ProtoReflect() protoreflect.Message
func (*MoveObjectRequest) Reset ¶
func (x *MoveObjectRequest) Reset()
func (*MoveObjectRequest) String ¶
func (x *MoveObjectRequest) String() string
type MoveObjectResponse ¶
type MoveObjectResponse struct {
// contains filtered or unexported fields
}
func (*MoveObjectResponse) Descriptor
deprecated
func (*MoveObjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use MoveObjectResponse.ProtoReflect.Descriptor instead.
func (*MoveObjectResponse) ProtoMessage ¶
func (*MoveObjectResponse) ProtoMessage()
func (*MoveObjectResponse) ProtoReflect ¶
func (x *MoveObjectResponse) ProtoReflect() protoreflect.Message
func (*MoveObjectResponse) Reset ¶
func (x *MoveObjectResponse) Reset()
func (*MoveObjectResponse) String ¶
func (x *MoveObjectResponse) String() string
type NamespaceConfig ¶
type NamespaceConfig struct { Sid int64 `protobuf:"varint,1,opt,name=sid,proto3" json:"sid,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` Relations map[string]*RelationDefinition `` /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
func (*NamespaceConfig) Descriptor
deprecated
func (*NamespaceConfig) Descriptor() ([]byte, []int)
Deprecated: Use NamespaceConfig.ProtoReflect.Descriptor instead.
func (*NamespaceConfig) GetNamespace ¶
func (x *NamespaceConfig) GetNamespace() string
func (*NamespaceConfig) GetRelations ¶
func (x *NamespaceConfig) GetRelations() map[string]*RelationDefinition
func (*NamespaceConfig) GetSid ¶
func (x *NamespaceConfig) GetSid() int64
func (*NamespaceConfig) ProtoMessage ¶
func (*NamespaceConfig) ProtoMessage()
func (*NamespaceConfig) ProtoReflect ¶
func (x *NamespaceConfig) ProtoReflect() protoreflect.Message
func (*NamespaceConfig) Reset ¶
func (x *NamespaceConfig) Reset()
func (*NamespaceConfig) String ¶
func (x *NamespaceConfig) String() string
type Not ¶
type Not struct { Expressions *FieldQuery `protobuf:"bytes,1,opt,name=expressions,proto3" json:"expressions,omitempty"` // contains filtered or unexported fields }
func (*Not) Descriptor
deprecated
func (*Not) GetExpressions ¶
func (x *Not) GetExpressions() *FieldQuery
func (*Not) ProtoMessage ¶
func (*Not) ProtoMessage()
func (*Not) ProtoReflect ¶
func (x *Not) ProtoReflect() protoreflect.Message
type NumAnd ¶
type NumAnd struct { Queries []*NumQuery `protobuf:"bytes,1,rep,name=queries,proto3" json:"queries,omitempty"` // contains filtered or unexported fields }
func (*NumAnd) Descriptor
deprecated
func (*NumAnd) GetQueries ¶
func (*NumAnd) ProtoMessage ¶
func (*NumAnd) ProtoMessage()
func (*NumAnd) ProtoReflect ¶
func (x *NumAnd) ProtoReflect() protoreflect.Message
type NumOr ¶
type NumOr struct { Queries []*NumQuery `protobuf:"bytes,1,rep,name=queries,proto3" json:"queries,omitempty"` // contains filtered or unexported fields }
func (*NumOr) Descriptor
deprecated
func (*NumOr) GetQueries ¶
func (*NumOr) ProtoMessage ¶
func (*NumOr) ProtoMessage()
func (*NumOr) ProtoReflect ¶
func (x *NumOr) ProtoReflect() protoreflect.Message
type NumQuery ¶
type NumQuery struct { // Types that are assignable to Bool: // *NumQuery_And // *NumQuery_Or // *NumQuery_Gt // *NumQuery_Gte // *NumQuery_Lt // *NumQuery_Lte // *NumQuery_Eq Bool isNumQuery_Bool `protobuf_oneof:"bool"` // contains filtered or unexported fields }
func (*NumQuery) Descriptor
deprecated
func (*NumQuery) ProtoMessage ¶
func (*NumQuery) ProtoMessage()
func (*NumQuery) ProtoReflect ¶
func (x *NumQuery) ProtoReflect() protoreflect.Message
type NumQuery_And ¶
type NumQuery_And struct {
And *NumAnd `protobuf:"bytes,1,opt,name=and,proto3,oneof"`
}
type NumQuery_Eq ¶
type NumQuery_Eq struct {
Eq *NumbEq `protobuf:"bytes,7,opt,name=eq,proto3,oneof"`
}
type NumQuery_Gt ¶
type NumQuery_Gt struct {
Gt *Gt `protobuf:"bytes,3,opt,name=gt,proto3,oneof"`
}
type NumQuery_Gte ¶
type NumQuery_Gte struct {
Gte *Gte `protobuf:"bytes,4,opt,name=gte,proto3,oneof"`
}
type NumQuery_Lt ¶
type NumQuery_Lt struct {
Lt *Lt `protobuf:"bytes,5,opt,name=lt,proto3,oneof"`
}
type NumQuery_Lte ¶
type NumQuery_Lte struct {
Lte *Lte `protobuf:"bytes,6,opt,name=lte,proto3,oneof"`
}
type NumQuery_Or ¶
type NumQuery_Or struct {
Or *NumOr `protobuf:"bytes,2,opt,name=or,proto3,oneof"`
}
type NumbEq ¶
type NumbEq struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*NumbEq) Descriptor
deprecated
func (*NumbEq) ProtoMessage ¶
func (*NumbEq) ProtoMessage()
func (*NumbEq) ProtoReflect ¶
func (x *NumbEq) ProtoReflect() protoreflect.Message
type NumberIndex ¶
type NumberIndex struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Alias string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"` // contains filtered or unexported fields }
func (*NumberIndex) Descriptor
deprecated
func (*NumberIndex) Descriptor() ([]byte, []int)
Deprecated: Use NumberIndex.ProtoReflect.Descriptor instead.
func (*NumberIndex) GetAlias ¶
func (x *NumberIndex) GetAlias() string
func (*NumberIndex) GetPath ¶
func (x *NumberIndex) GetPath() string
func (*NumberIndex) ProtoMessage ¶
func (*NumberIndex) ProtoMessage()
func (*NumberIndex) ProtoReflect ¶
func (x *NumberIndex) ProtoReflect() protoreflect.Message
func (*NumberIndex) Reset ¶
func (x *NumberIndex) Reset()
func (*NumberIndex) String ¶
func (x *NumberIndex) String() string
type NumberMapping ¶
type NumberMapping struct { Number int64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ObjectId string `protobuf:"bytes,4,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` // contains filtered or unexported fields }
func (*NumberMapping) Descriptor
deprecated
func (*NumberMapping) Descriptor() ([]byte, []int)
Deprecated: Use NumberMapping.ProtoReflect.Descriptor instead.
func (*NumberMapping) GetName ¶
func (x *NumberMapping) GetName() string
func (*NumberMapping) GetNumber ¶
func (x *NumberMapping) GetNumber() int64
func (*NumberMapping) GetObjectId ¶
func (x *NumberMapping) GetObjectId() string
func (*NumberMapping) ProtoMessage ¶
func (*NumberMapping) ProtoMessage()
func (*NumberMapping) ProtoReflect ¶
func (x *NumberMapping) ProtoReflect() protoreflect.Message
func (*NumberMapping) Reset ¶
func (x *NumberMapping) Reset()
func (*NumberMapping) String ¶
func (x *NumberMapping) String() string
type Object ¶
type Object struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Data string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*Object) Descriptor
deprecated
func (*Object) ProtoMessage ¶
func (*Object) ProtoMessage()
func (*Object) ProtoReflect ¶
func (x *Object) ProtoReflect() protoreflect.Message
type ObjectActionsUsers ¶
type ObjectActionsUsers struct { View *SubjectSet `protobuf:"bytes,1,opt,name=view,proto3" json:"view,omitempty"` Edit *SubjectSet `protobuf:"bytes,2,opt,name=edit,proto3" json:"edit,omitempty"` Delete *SubjectSet `protobuf:"bytes,3,opt,name=delete,proto3" json:"delete,omitempty"` // contains filtered or unexported fields }
func (*ObjectActionsUsers) Descriptor
deprecated
func (*ObjectActionsUsers) Descriptor() ([]byte, []int)
Deprecated: Use ObjectActionsUsers.ProtoReflect.Descriptor instead.
func (*ObjectActionsUsers) GetDelete ¶
func (x *ObjectActionsUsers) GetDelete() *SubjectSet
func (*ObjectActionsUsers) GetEdit ¶
func (x *ObjectActionsUsers) GetEdit() *SubjectSet
func (*ObjectActionsUsers) GetView ¶
func (x *ObjectActionsUsers) GetView() *SubjectSet
func (*ObjectActionsUsers) ProtoMessage ¶
func (*ObjectActionsUsers) ProtoMessage()
func (*ObjectActionsUsers) ProtoReflect ¶
func (x *ObjectActionsUsers) ProtoReflect() protoreflect.Message
func (*ObjectActionsUsers) Reset ¶
func (x *ObjectActionsUsers) Reset()
func (*ObjectActionsUsers) String ¶
func (x *ObjectActionsUsers) String() string
type ObjectDeletedNotification ¶
type ObjectDeletedNotification struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ObjectDeletedNotification) Descriptor
deprecated
func (*ObjectDeletedNotification) Descriptor() ([]byte, []int)
Deprecated: Use ObjectDeletedNotification.ProtoReflect.Descriptor instead.
func (*ObjectDeletedNotification) GetId ¶
func (x *ObjectDeletedNotification) GetId() string
func (*ObjectDeletedNotification) ProtoMessage ¶
func (*ObjectDeletedNotification) ProtoMessage()
func (*ObjectDeletedNotification) ProtoReflect ¶
func (x *ObjectDeletedNotification) ProtoReflect() protoreflect.Message
func (*ObjectDeletedNotification) Reset ¶
func (x *ObjectDeletedNotification) Reset()
func (*ObjectDeletedNotification) String ¶
func (x *ObjectDeletedNotification) String() string
type ObjectInfoRequest ¶
type ObjectInfoRequest struct { Collection string `protobuf:"bytes,1,opt,name=Collection,proto3" json:"Collection,omitempty"` ObjectId string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` // contains filtered or unexported fields }
func (*ObjectInfoRequest) Descriptor
deprecated
func (*ObjectInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use ObjectInfoRequest.ProtoReflect.Descriptor instead.
func (*ObjectInfoRequest) GetCollection ¶
func (x *ObjectInfoRequest) GetCollection() string
func (*ObjectInfoRequest) GetObjectId ¶
func (x *ObjectInfoRequest) GetObjectId() string
func (*ObjectInfoRequest) ProtoMessage ¶
func (*ObjectInfoRequest) ProtoMessage()
func (*ObjectInfoRequest) ProtoReflect ¶
func (x *ObjectInfoRequest) ProtoReflect() protoreflect.Message
func (*ObjectInfoRequest) Reset ¶
func (x *ObjectInfoRequest) Reset()
func (*ObjectInfoRequest) String ¶
func (x *ObjectInfoRequest) String() string
type ObjectInfoResponse ¶
type ObjectInfoResponse struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` // contains filtered or unexported fields }
func (*ObjectInfoResponse) Descriptor
deprecated
func (*ObjectInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use ObjectInfoResponse.ProtoReflect.Descriptor instead.
func (*ObjectInfoResponse) GetHeader ¶
func (x *ObjectInfoResponse) GetHeader() *Header
func (*ObjectInfoResponse) ProtoMessage ¶
func (*ObjectInfoResponse) ProtoMessage()
func (*ObjectInfoResponse) ProtoReflect ¶
func (x *ObjectInfoResponse) ProtoReflect() protoreflect.Message
func (*ObjectInfoResponse) Reset ¶
func (x *ObjectInfoResponse) Reset()
func (*ObjectInfoResponse) String ¶
func (x *ObjectInfoResponse) String() string
type ObjectList ¶
type ObjectList struct { Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` Total uint32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` Objects []*Object `protobuf:"bytes,3,rep,name=objects,proto3" json:"objects,omitempty"` // contains filtered or unexported fields }
func (*ObjectList) Descriptor
deprecated
func (*ObjectList) Descriptor() ([]byte, []int)
Deprecated: Use ObjectList.ProtoReflect.Descriptor instead.
func (*ObjectList) GetObjects ¶
func (x *ObjectList) GetObjects() []*Object
func (*ObjectList) GetOffset ¶
func (x *ObjectList) GetOffset() int64
func (*ObjectList) GetTotal ¶
func (x *ObjectList) GetTotal() uint32
func (*ObjectList) ProtoMessage ¶
func (*ObjectList) ProtoMessage()
func (*ObjectList) ProtoReflect ¶
func (x *ObjectList) ProtoReflect() protoreflect.Message
func (*ObjectList) Reset ¶
func (x *ObjectList) Reset()
func (*ObjectList) String ¶
func (x *ObjectList) String() string
type ObjectSet ¶
type ObjectSet struct { Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` Relation string `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"` // contains filtered or unexported fields }
func (*ObjectSet) Descriptor
deprecated
func (*ObjectSet) GetRelation ¶
func (*ObjectSet) GetSubject ¶
func (*ObjectSet) ProtoMessage ¶
func (*ObjectSet) ProtoMessage()
func (*ObjectSet) ProtoReflect ¶
func (x *ObjectSet) ProtoReflect() protoreflect.Message
type ObjectsClient ¶
type ObjectsClient interface { CreateCollection(ctx context.Context, in *CreateCollectionRequest, opts ...grpc.CallOption) (*CreateCollectionResponse, error) GetCollection(ctx context.Context, in *GetCollectionRequest, opts ...grpc.CallOption) (*GetCollectionResponse, error) ListCollections(ctx context.Context, in *ListCollectionsRequest, opts ...grpc.CallOption) (*ListCollectionsResponse, error) DeleteCollection(ctx context.Context, in *DeleteCollectionRequest, opts ...grpc.CallOption) (*DeleteCollectionResponse, error) PutObject(ctx context.Context, in *PutObjectRequest, opts ...grpc.CallOption) (*PutObjectResponse, error) PatchObject(ctx context.Context, in *PatchObjectRequest, opts ...grpc.CallOption) (*PatchObjectResponse, error) MoveObject(ctx context.Context, in *MoveObjectRequest, opts ...grpc.CallOption) (*MoveObjectResponse, error) GetObject(ctx context.Context, in *GetObjectRequest, opts ...grpc.CallOption) (*GetObjectResponse, error) DeleteObject(ctx context.Context, in *DeleteObjectRequest, opts ...grpc.CallOption) (*DeleteObjectResponse, error) ObjectInfo(ctx context.Context, in *ObjectInfoRequest, opts ...grpc.CallOption) (*ObjectInfoResponse, error) ListObjects(ctx context.Context, in *ListObjectsRequest, opts ...grpc.CallOption) (Objects_ListObjectsClient, error) SearchObjects(ctx context.Context, in *SearchObjectsRequest, opts ...grpc.CallOption) (Objects_SearchObjectsClient, error) }
ObjectsClient is the client API for Objects service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewObjectsClient ¶
func NewObjectsClient(cc grpc.ClientConnInterface) ObjectsClient
type ObjectsServer ¶
type ObjectsServer interface { CreateCollection(context.Context, *CreateCollectionRequest) (*CreateCollectionResponse, error) GetCollection(context.Context, *GetCollectionRequest) (*GetCollectionResponse, error) ListCollections(context.Context, *ListCollectionsRequest) (*ListCollectionsResponse, error) DeleteCollection(context.Context, *DeleteCollectionRequest) (*DeleteCollectionResponse, error) PutObject(context.Context, *PutObjectRequest) (*PutObjectResponse, error) PatchObject(context.Context, *PatchObjectRequest) (*PatchObjectResponse, error) MoveObject(context.Context, *MoveObjectRequest) (*MoveObjectResponse, error) GetObject(context.Context, *GetObjectRequest) (*GetObjectResponse, error) DeleteObject(context.Context, *DeleteObjectRequest) (*DeleteObjectResponse, error) ObjectInfo(context.Context, *ObjectInfoRequest) (*ObjectInfoResponse, error) ListObjects(*ListObjectsRequest, Objects_ListObjectsServer) error SearchObjects(*SearchObjectsRequest, Objects_SearchObjectsServer) error // contains filtered or unexported methods }
ObjectsServer is the server API for Objects service. All implementations must embed UnimplementedObjectsServer for forward compatibility
type Objects_ListObjectsClient ¶
type Objects_ListObjectsClient interface { Recv() (*Object, error) grpc.ClientStream }
type Objects_ListObjectsServer ¶
type Objects_ListObjectsServer interface { Send(*Object) error grpc.ServerStream }
type Objects_SearchObjectsClient ¶
type Objects_SearchObjectsClient interface { Recv() (*Object, error) grpc.ClientStream }
type Objects_SearchObjectsServer ¶
type Objects_SearchObjectsServer interface { Send(*Object) error grpc.ServerStream }
type Or ¶
type Or struct { Queries []*FieldQuery `protobuf:"bytes,1,rep,name=queries,proto3" json:"queries,omitempty"` // contains filtered or unexported fields }
func (*Or) Descriptor
deprecated
func (*Or) GetQueries ¶
func (x *Or) GetQueries() []*FieldQuery
func (*Or) ProtoMessage ¶
func (*Or) ProtoMessage()
func (*Or) ProtoReflect ¶
func (x *Or) ProtoReflect() protoreflect.Message
type Patch ¶
type Patch struct { ObjectId string `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` At string `protobuf:"bytes,2,opt,name=at,proto3" json:"at,omitempty"` Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*Patch) Descriptor
deprecated
func (*Patch) GetObjectId ¶
func (*Patch) ProtoMessage ¶
func (*Patch) ProtoMessage()
func (*Patch) ProtoReflect ¶
func (x *Patch) ProtoReflect() protoreflect.Message
type PatchObjectRequest ¶
type PatchObjectRequest struct { Collection string `protobuf:"bytes,1,opt,name=Collection,proto3" json:"Collection,omitempty"` Patch *Patch `protobuf:"bytes,2,opt,name=patch,proto3" json:"patch,omitempty"` // contains filtered or unexported fields }
func (*PatchObjectRequest) Descriptor
deprecated
func (*PatchObjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use PatchObjectRequest.ProtoReflect.Descriptor instead.
func (*PatchObjectRequest) GetCollection ¶
func (x *PatchObjectRequest) GetCollection() string
func (*PatchObjectRequest) GetPatch ¶
func (x *PatchObjectRequest) GetPatch() *Patch
func (*PatchObjectRequest) ProtoMessage ¶
func (*PatchObjectRequest) ProtoMessage()
func (*PatchObjectRequest) ProtoReflect ¶
func (x *PatchObjectRequest) ProtoReflect() protoreflect.Message
func (*PatchObjectRequest) Reset ¶
func (x *PatchObjectRequest) Reset()
func (*PatchObjectRequest) String ¶
func (x *PatchObjectRequest) String() string
type PatchObjectResponse ¶
type PatchObjectResponse struct {
// contains filtered or unexported fields
}
func (*PatchObjectResponse) Descriptor
deprecated
func (*PatchObjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use PatchObjectResponse.ProtoReflect.Descriptor instead.
func (*PatchObjectResponse) ProtoMessage ¶
func (*PatchObjectResponse) ProtoMessage()
func (*PatchObjectResponse) ProtoReflect ¶
func (x *PatchObjectResponse) ProtoReflect() protoreflect.Message
func (*PatchObjectResponse) Reset ¶
func (x *PatchObjectResponse) Reset()
func (*PatchObjectResponse) String ¶
func (x *PatchObjectResponse) String() string
type PathAccessRules ¶
type PathAccessRules struct { AccessRules map[string]*ObjectActionsUsers `` /* 182-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PathAccessRules) Descriptor
deprecated
func (*PathAccessRules) Descriptor() ([]byte, []int)
Deprecated: Use PathAccessRules.ProtoReflect.Descriptor instead.
func (*PathAccessRules) GetAccessRules ¶
func (x *PathAccessRules) GetAccessRules() map[string]*ObjectActionsUsers
func (*PathAccessRules) ProtoMessage ¶
func (*PathAccessRules) ProtoMessage()
func (*PathAccessRules) ProtoReflect ¶
func (x *PathAccessRules) ProtoReflect() protoreflect.Message
func (*PathAccessRules) Reset ¶
func (x *PathAccessRules) Reset()
func (*PathAccessRules) String ¶
func (x *PathAccessRules) String() string
type PropertiesIndex ¶
type PropertiesIndex struct { Aliases map[string]string `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PropertiesIndex) Descriptor
deprecated
func (*PropertiesIndex) Descriptor() ([]byte, []int)
Deprecated: Use PropertiesIndex.ProtoReflect.Descriptor instead.
func (*PropertiesIndex) GetAliases ¶
func (x *PropertiesIndex) GetAliases() map[string]string
func (*PropertiesIndex) ProtoMessage ¶
func (*PropertiesIndex) ProtoMessage()
func (*PropertiesIndex) ProtoReflect ¶
func (x *PropertiesIndex) ProtoReflect() protoreflect.Message
func (*PropertiesIndex) Reset ¶
func (x *PropertiesIndex) Reset()
func (*PropertiesIndex) String ¶
func (x *PropertiesIndex) String() string
type PropertiesMapping ¶
type PropertiesMapping struct { ObjectId string `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` Json string `protobuf:"bytes,2,opt,name=json,proto3" json:"json,omitempty"` // contains filtered or unexported fields }
func (*PropertiesMapping) Descriptor
deprecated
func (*PropertiesMapping) Descriptor() ([]byte, []int)
Deprecated: Use PropertiesMapping.ProtoReflect.Descriptor instead.
func (*PropertiesMapping) GetJson ¶
func (x *PropertiesMapping) GetJson() string
func (*PropertiesMapping) GetObjectId ¶
func (x *PropertiesMapping) GetObjectId() string
func (*PropertiesMapping) ProtoMessage ¶
func (*PropertiesMapping) ProtoMessage()
func (*PropertiesMapping) ProtoReflect ¶
func (x *PropertiesMapping) ProtoReflect() protoreflect.Message
func (*PropertiesMapping) Reset ¶
func (x *PropertiesMapping) Reset()
func (*PropertiesMapping) String ¶
func (x *PropertiesMapping) String() string
type PutObjectRequest ¶
type PutObjectRequest struct { Collection string `protobuf:"bytes,1,opt,name=Collection,proto3" json:"Collection,omitempty"` Object *Object `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` Indexes []*TextIndex `protobuf:"bytes,3,rep,name=indexes,proto3" json:"indexes,omitempty"` ActionAuthorizedUsers *PathAccessRules `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PutObjectRequest) Descriptor
deprecated
func (*PutObjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use PutObjectRequest.ProtoReflect.Descriptor instead.
func (*PutObjectRequest) GetActionAuthorizedUsers ¶
func (x *PutObjectRequest) GetActionAuthorizedUsers() *PathAccessRules
func (*PutObjectRequest) GetCollection ¶
func (x *PutObjectRequest) GetCollection() string
func (*PutObjectRequest) GetIndexes ¶
func (x *PutObjectRequest) GetIndexes() []*TextIndex
func (*PutObjectRequest) GetObject ¶
func (x *PutObjectRequest) GetObject() *Object
func (*PutObjectRequest) ProtoMessage ¶
func (*PutObjectRequest) ProtoMessage()
func (*PutObjectRequest) ProtoReflect ¶
func (x *PutObjectRequest) ProtoReflect() protoreflect.Message
func (*PutObjectRequest) Reset ¶
func (x *PutObjectRequest) Reset()
func (*PutObjectRequest) String ¶
func (x *PutObjectRequest) String() string
type PutObjectResponse ¶
type PutObjectResponse struct { ObjectId string `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` // contains filtered or unexported fields }
func (*PutObjectResponse) Descriptor
deprecated
func (*PutObjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use PutObjectResponse.ProtoReflect.Descriptor instead.
func (*PutObjectResponse) GetObjectId ¶
func (x *PutObjectResponse) GetObjectId() string
func (*PutObjectResponse) ProtoMessage ¶
func (*PutObjectResponse) ProtoMessage()
func (*PutObjectResponse) ProtoReflect ¶
func (x *PutObjectResponse) ProtoReflect() protoreflect.Message
func (*PutObjectResponse) Reset ¶
func (x *PutObjectResponse) Reset()
func (*PutObjectResponse) String ¶
func (x *PutObjectResponse) String() string
type RelationDefinition ¶
type RelationDefinition struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` SubjectSetRewrite []*SubjectSetDefinition `protobuf:"bytes,2,rep,name=subject_set_rewrite,json=subjectSetRewrite,proto3" json:"subject_set_rewrite,omitempty"` // contains filtered or unexported fields }
func (*RelationDefinition) Descriptor
deprecated
func (*RelationDefinition) Descriptor() ([]byte, []int)
Deprecated: Use RelationDefinition.ProtoReflect.Descriptor instead.
func (*RelationDefinition) GetName ¶
func (x *RelationDefinition) GetName() string
func (*RelationDefinition) GetSubjectSetRewrite ¶
func (x *RelationDefinition) GetSubjectSetRewrite() []*SubjectSetDefinition
func (*RelationDefinition) ProtoMessage ¶
func (*RelationDefinition) ProtoMessage()
func (*RelationDefinition) ProtoReflect ¶
func (x *RelationDefinition) ProtoReflect() protoreflect.Message
func (*RelationDefinition) Reset ¶
func (x *RelationDefinition) Reset()
func (*RelationDefinition) String ¶
func (x *RelationDefinition) String() string
type RelationSubjectInfo ¶
type RelationSubjectInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` CommitTime int64 `protobuf:"varint,3,opt,name=commit_time,json=commitTime,proto3" json:"commit_time,omitempty"` // contains filtered or unexported fields }
func (*RelationSubjectInfo) Descriptor
deprecated
func (*RelationSubjectInfo) Descriptor() ([]byte, []int)
Deprecated: Use RelationSubjectInfo.ProtoReflect.Descriptor instead.
func (*RelationSubjectInfo) GetCommitTime ¶
func (x *RelationSubjectInfo) GetCommitTime() int64
func (*RelationSubjectInfo) GetName ¶
func (x *RelationSubjectInfo) GetName() string
func (*RelationSubjectInfo) GetTarget ¶
func (x *RelationSubjectInfo) GetTarget() string
func (*RelationSubjectInfo) ProtoMessage ¶
func (*RelationSubjectInfo) ProtoMessage()
func (*RelationSubjectInfo) ProtoReflect ¶
func (x *RelationSubjectInfo) ProtoReflect() protoreflect.Message
func (*RelationSubjectInfo) Reset ¶
func (x *RelationSubjectInfo) Reset()
func (*RelationSubjectInfo) String ¶
func (x *RelationSubjectInfo) String() string
type RenameFileRequest ¶
type RenameFileRequest struct { AccessId string `protobuf:"bytes,1,opt,name=access_id,json=accessId,proto3" json:"access_id,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` NewName string `protobuf:"bytes,3,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"` // contains filtered or unexported fields }
func (*RenameFileRequest) Descriptor
deprecated
func (*RenameFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use RenameFileRequest.ProtoReflect.Descriptor instead.
func (*RenameFileRequest) GetAccessId ¶
func (x *RenameFileRequest) GetAccessId() string
func (*RenameFileRequest) GetNewName ¶
func (x *RenameFileRequest) GetNewName() string
func (*RenameFileRequest) GetPath ¶
func (x *RenameFileRequest) GetPath() string
func (*RenameFileRequest) ProtoMessage ¶
func (*RenameFileRequest) ProtoMessage()
func (*RenameFileRequest) ProtoReflect ¶
func (x *RenameFileRequest) ProtoReflect() protoreflect.Message
func (*RenameFileRequest) Reset ¶
func (x *RenameFileRequest) Reset()
func (*RenameFileRequest) String ¶
func (x *RenameFileRequest) String() string
type RenameFileResponse ¶
type RenameFileResponse struct {
// contains filtered or unexported fields
}
func (*RenameFileResponse) Descriptor
deprecated
func (*RenameFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use RenameFileResponse.ProtoReflect.Descriptor instead.
func (*RenameFileResponse) ProtoMessage ¶
func (*RenameFileResponse) ProtoMessage()
func (*RenameFileResponse) ProtoReflect ¶
func (x *RenameFileResponse) ProtoReflect() protoreflect.Message
func (*RenameFileResponse) Reset ¶
func (x *RenameFileResponse) Reset()
func (*RenameFileResponse) String ¶
func (x *RenameFileResponse) String() string
type ResearchRequest ¶
type ResearchRequest struct { Query *SearchQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` // contains filtered or unexported fields }
func (*ResearchRequest) Descriptor
deprecated
func (*ResearchRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResearchRequest.ProtoReflect.Descriptor instead.
func (*ResearchRequest) GetQuery ¶
func (x *ResearchRequest) GetQuery() *SearchQuery
func (*ResearchRequest) ProtoMessage ¶
func (*ResearchRequest) ProtoMessage()
func (*ResearchRequest) ProtoReflect ¶
func (x *ResearchRequest) ProtoReflect() protoreflect.Message
func (*ResearchRequest) Reset ¶
func (x *ResearchRequest) Reset()
func (*ResearchRequest) String ¶
func (x *ResearchRequest) String() string
type ResearchResponse ¶
type ResearchResponse struct { Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*ResearchResponse) Descriptor
deprecated
func (*ResearchResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResearchResponse.ProtoReflect.Descriptor instead.
func (*ResearchResponse) GetIds ¶
func (x *ResearchResponse) GetIds() []string
func (*ResearchResponse) ProtoMessage ¶
func (*ResearchResponse) ProtoMessage()
func (*ResearchResponse) ProtoReflect ¶
func (x *ResearchResponse) ProtoReflect() protoreflect.Message
func (*ResearchResponse) Reset ¶
func (x *ResearchResponse) Reset()
func (*ResearchResponse) String ¶
func (x *ResearchResponse) String() string
type ResolveAccessRequest ¶
type ResolveAccessRequest struct { Access *FSAccess `protobuf:"bytes,1,opt,name=access,proto3" json:"access,omitempty"` // contains filtered or unexported fields }
func (*ResolveAccessRequest) Descriptor
deprecated
func (*ResolveAccessRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResolveAccessRequest.ProtoReflect.Descriptor instead.
func (*ResolveAccessRequest) GetAccess ¶
func (x *ResolveAccessRequest) GetAccess() *FSAccess
func (*ResolveAccessRequest) ProtoMessage ¶
func (*ResolveAccessRequest) ProtoMessage()
func (*ResolveAccessRequest) ProtoReflect ¶
func (x *ResolveAccessRequest) ProtoReflect() protoreflect.Message
func (*ResolveAccessRequest) Reset ¶
func (x *ResolveAccessRequest) Reset()
func (*ResolveAccessRequest) String ¶
func (x *ResolveAccessRequest) String() string
type ResolveAccessResponse ¶
type ResolveAccessResponse struct { ResolvedAccess *FSAccess `protobuf:"bytes,2,opt,name=resolved_access,json=resolvedAccess,proto3" json:"resolved_access,omitempty"` // contains filtered or unexported fields }
func (*ResolveAccessResponse) Descriptor
deprecated
func (*ResolveAccessResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResolveAccessResponse.ProtoReflect.Descriptor instead.
func (*ResolveAccessResponse) GetResolvedAccess ¶
func (x *ResolveAccessResponse) GetResolvedAccess() *FSAccess
func (*ResolveAccessResponse) ProtoMessage ¶
func (*ResolveAccessResponse) ProtoMessage()
func (*ResolveAccessResponse) ProtoReflect ¶
func (x *ResolveAccessResponse) ProtoReflect() protoreflect.Message
func (*ResolveAccessResponse) Reset ¶
func (x *ResolveAccessResponse) Reset()
func (*ResolveAccessResponse) String ¶
func (x *ResolveAccessResponse) String() string
type SaveACLRequest ¶
type SaveACLRequest struct { Acl *ACL `protobuf:"bytes,1,opt,name=acl,proto3" json:"acl,omitempty"` // contains filtered or unexported fields }
func (*SaveACLRequest) Descriptor
deprecated
func (*SaveACLRequest) Descriptor() ([]byte, []int)
Deprecated: Use SaveACLRequest.ProtoReflect.Descriptor instead.
func (*SaveACLRequest) GetAcl ¶
func (x *SaveACLRequest) GetAcl() *ACL
func (*SaveACLRequest) ProtoMessage ¶
func (*SaveACLRequest) ProtoMessage()
func (*SaveACLRequest) ProtoReflect ¶
func (x *SaveACLRequest) ProtoReflect() protoreflect.Message
func (*SaveACLRequest) Reset ¶
func (x *SaveACLRequest) Reset()
func (*SaveACLRequest) String ¶
func (x *SaveACLRequest) String() string
type SaveACLResponse ¶
type SaveACLResponse struct {
// contains filtered or unexported fields
}
func (*SaveACLResponse) Descriptor
deprecated
func (*SaveACLResponse) Descriptor() ([]byte, []int)
Deprecated: Use SaveACLResponse.ProtoReflect.Descriptor instead.
func (*SaveACLResponse) ProtoMessage ¶
func (*SaveACLResponse) ProtoMessage()
func (*SaveACLResponse) ProtoReflect ¶
func (x *SaveACLResponse) ProtoReflect() protoreflect.Message
func (*SaveACLResponse) Reset ¶
func (x *SaveACLResponse) Reset()
func (*SaveACLResponse) String ¶
func (x *SaveACLResponse) String() string
type SaveNamespaceConfigRequest ¶
type SaveNamespaceConfigRequest struct { Config *NamespaceConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*SaveNamespaceConfigRequest) Descriptor
deprecated
func (*SaveNamespaceConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use SaveNamespaceConfigRequest.ProtoReflect.Descriptor instead.
func (*SaveNamespaceConfigRequest) GetConfig ¶
func (x *SaveNamespaceConfigRequest) GetConfig() *NamespaceConfig
func (*SaveNamespaceConfigRequest) ProtoMessage ¶
func (*SaveNamespaceConfigRequest) ProtoMessage()
func (*SaveNamespaceConfigRequest) ProtoReflect ¶
func (x *SaveNamespaceConfigRequest) ProtoReflect() protoreflect.Message
func (*SaveNamespaceConfigRequest) Reset ¶
func (x *SaveNamespaceConfigRequest) Reset()
func (*SaveNamespaceConfigRequest) String ¶
func (x *SaveNamespaceConfigRequest) String() string
type SaveNamespaceConfigResponse ¶
type SaveNamespaceConfigResponse struct {
// contains filtered or unexported fields
}
func (*SaveNamespaceConfigResponse) Descriptor
deprecated
func (*SaveNamespaceConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use SaveNamespaceConfigResponse.ProtoReflect.Descriptor instead.
func (*SaveNamespaceConfigResponse) ProtoMessage ¶
func (*SaveNamespaceConfigResponse) ProtoMessage()
func (*SaveNamespaceConfigResponse) ProtoReflect ¶
func (x *SaveNamespaceConfigResponse) ProtoReflect() protoreflect.Message
func (*SaveNamespaceConfigResponse) Reset ¶
func (x *SaveNamespaceConfigResponse) Reset()
func (*SaveNamespaceConfigResponse) String ¶
func (x *SaveNamespaceConfigResponse) String() string
type SearchEngineClient ¶
type SearchEngineClient interface { Feed(ctx context.Context, opts ...grpc.CallOption) (SearchEngine_FeedClient, error) Search(ctx context.Context, in *ResearchRequest, opts ...grpc.CallOption) (SearchEngine_SearchClient, error) }
SearchEngineClient is the client API for SearchEngine service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSearchEngineClient ¶
func NewSearchEngineClient(cc grpc.ClientConnInterface) SearchEngineClient
type SearchEngineServer ¶
type SearchEngineServer interface { Feed(SearchEngine_FeedServer) error Search(*ResearchRequest, SearchEngine_SearchServer) error // contains filtered or unexported methods }
SearchEngineServer is the server API for SearchEngine service. All implementations must embed UnimplementedSearchEngineServer for forward compatibility
type SearchEngine_FeedClient ¶
type SearchEngine_FeedClient interface { Send(*MessageFeed) error CloseAndRecv() (*FeedResponse, error) grpc.ClientStream }
type SearchEngine_FeedServer ¶
type SearchEngine_FeedServer interface { SendAndClose(*FeedResponse) error Recv() (*MessageFeed, error) grpc.ServerStream }
type SearchEngine_SearchClient ¶
type SearchEngine_SearchClient interface { Recv() (*SearchResult, error) grpc.ClientStream }
type SearchEngine_SearchServer ¶
type SearchEngine_SearchServer interface { Send(*SearchResult) error grpc.ServerStream }
type SearchObjectsRequest ¶
type SearchObjectsRequest struct { Collection string `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"` Query *SearchQuery `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` // contains filtered or unexported fields }
func (*SearchObjectsRequest) Descriptor
deprecated
func (*SearchObjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchObjectsRequest.ProtoReflect.Descriptor instead.
func (*SearchObjectsRequest) GetCollection ¶
func (x *SearchObjectsRequest) GetCollection() string
func (*SearchObjectsRequest) GetQuery ¶
func (x *SearchObjectsRequest) GetQuery() *SearchQuery
func (*SearchObjectsRequest) ProtoMessage ¶
func (*SearchObjectsRequest) ProtoMessage()
func (*SearchObjectsRequest) ProtoReflect ¶
func (x *SearchObjectsRequest) ProtoReflect() protoreflect.Message
func (*SearchObjectsRequest) Reset ¶
func (x *SearchObjectsRequest) Reset()
func (*SearchObjectsRequest) String ¶
func (x *SearchObjectsRequest) String() string
type SearchQuery ¶
type SearchQuery struct { // Types that are assignable to Query: // *SearchQuery_Text // *SearchQuery_Number // *SearchQuery_Fields Query isSearchQuery_Query `protobuf_oneof:"query"` // contains filtered or unexported fields }
func (*SearchQuery) Descriptor
deprecated
func (*SearchQuery) Descriptor() ([]byte, []int)
Deprecated: Use SearchQuery.ProtoReflect.Descriptor instead.
func (*SearchQuery) GetFields ¶
func (x *SearchQuery) GetFields() *FieldQuery
func (*SearchQuery) GetNumber ¶
func (x *SearchQuery) GetNumber() *NumQuery
func (*SearchQuery) GetQuery ¶
func (m *SearchQuery) GetQuery() isSearchQuery_Query
func (*SearchQuery) GetText ¶
func (x *SearchQuery) GetText() *StrQuery
func (*SearchQuery) ProtoMessage ¶
func (*SearchQuery) ProtoMessage()
func (*SearchQuery) ProtoReflect ¶
func (x *SearchQuery) ProtoReflect() protoreflect.Message
func (*SearchQuery) Reset ¶
func (x *SearchQuery) Reset()
func (*SearchQuery) String ¶
func (x *SearchQuery) String() string
type SearchQuery_Fields ¶
type SearchQuery_Fields struct {
Fields *FieldQuery `protobuf:"bytes,3,opt,name=fields,proto3,oneof"`
}
type SearchQuery_Number ¶
type SearchQuery_Number struct {
Number *NumQuery `protobuf:"bytes,2,opt,name=number,proto3,oneof"`
}
type SearchQuery_Text ¶
type SearchQuery_Text struct {
Text *StrQuery `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}
type SearchResult ¶
type SearchResult struct { Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*SearchResult) Descriptor
deprecated
func (*SearchResult) Descriptor() ([]byte, []int)
Deprecated: Use SearchResult.ProtoReflect.Descriptor instead.
func (*SearchResult) GetIds ¶
func (x *SearchResult) GetIds() []string
func (*SearchResult) ProtoMessage ¶
func (*SearchResult) ProtoMessage()
func (*SearchResult) ProtoReflect ¶
func (x *SearchResult) ProtoReflect() protoreflect.Message
func (*SearchResult) Reset ¶
func (x *SearchResult) Reset()
func (*SearchResult) String ¶
func (x *SearchResult) String() string
type ServiceClient ¶
type ServiceClient interface { SaveNamespaceConfig(ctx context.Context, in *SaveNamespaceConfigRequest, opts ...grpc.CallOption) (*SaveNamespaceConfigResponse, error) GetNamespaceConfig(ctx context.Context, in *GetNamespaceConfigRequest, opts ...grpc.CallOption) (*GetNamespaceConfigResponse, error) DeleteNamespaceConfig(ctx context.Context, in *DeleteNamespaceConfigRequest, opts ...grpc.CallOption) (*DeleteNamespaceConfigResponse, error) Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error) SaveRelation(ctx context.Context, in *SaveACLRequest, opts ...grpc.CallOption) (*SaveACLResponse, error) DeleteRelation(ctx context.Context, in *DeleteACLRequest, opts ...grpc.CallOption) (*DeleteACLResponse, error) }
ServiceClient is the client API for Service service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewServiceClient ¶
func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient
type ServiceServer ¶
type ServiceServer interface { SaveNamespaceConfig(context.Context, *SaveNamespaceConfigRequest) (*SaveNamespaceConfigResponse, error) GetNamespaceConfig(context.Context, *GetNamespaceConfigRequest) (*GetNamespaceConfigResponse, error) DeleteNamespaceConfig(context.Context, *DeleteNamespaceConfigRequest) (*DeleteNamespaceConfigResponse, error) Check(context.Context, *CheckRequest) (*CheckResponse, error) SaveRelation(context.Context, *SaveACLRequest) (*SaveACLResponse, error) DeleteRelation(context.Context, *DeleteACLRequest) (*DeleteACLResponse, error) // contains filtered or unexported methods }
ServiceServer is the server API for Service service. All implementations must embed UnimplementedServiceServer for forward compatibility
type SetFileAttributesRequest ¶
type SetFileAttributesRequest struct { AccessId string `protobuf:"bytes,1,opt,name=access_id,json=accessId,proto3" json:"access_id,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` Attributes map[string]string `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SetFileAttributesRequest) Descriptor
deprecated
func (*SetFileAttributesRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetFileAttributesRequest.ProtoReflect.Descriptor instead.
func (*SetFileAttributesRequest) GetAccessId ¶
func (x *SetFileAttributesRequest) GetAccessId() string
func (*SetFileAttributesRequest) GetAttributes ¶
func (x *SetFileAttributesRequest) GetAttributes() map[string]string
func (*SetFileAttributesRequest) GetPath ¶
func (x *SetFileAttributesRequest) GetPath() string
func (*SetFileAttributesRequest) ProtoMessage ¶
func (*SetFileAttributesRequest) ProtoMessage()
func (*SetFileAttributesRequest) ProtoReflect ¶
func (x *SetFileAttributesRequest) ProtoReflect() protoreflect.Message
func (*SetFileAttributesRequest) Reset ¶
func (x *SetFileAttributesRequest) Reset()
func (*SetFileAttributesRequest) String ¶
func (x *SetFileAttributesRequest) String() string
type SetFileAttributesResponse ¶
type SetFileAttributesResponse struct {
// contains filtered or unexported fields
}
func (*SetFileAttributesResponse) Descriptor
deprecated
func (*SetFileAttributesResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetFileAttributesResponse.ProtoReflect.Descriptor instead.
func (*SetFileAttributesResponse) ProtoMessage ¶
func (*SetFileAttributesResponse) ProtoMessage()
func (*SetFileAttributesResponse) ProtoReflect ¶
func (x *SetFileAttributesResponse) ProtoReflect() protoreflect.Message
func (*SetFileAttributesResponse) Reset ¶
func (x *SetFileAttributesResponse) Reset()
func (*SetFileAttributesResponse) String ¶
func (x *SetFileAttributesResponse) String() string
type ShareInfo ¶
type ShareInfo struct { // contains filtered or unexported fields }
func (*ShareInfo) Descriptor
deprecated
func (*ShareInfo) GetAccessId ¶
func (*ShareInfo) ProtoMessage ¶
func (*ShareInfo) ProtoMessage()
func (*ShareInfo) ProtoReflect ¶
func (x *ShareInfo) ProtoReflect() protoreflect.Message
type ShareRequest ¶
type ShareRequest struct { // contains filtered or unexported fields }
func (*ShareRequest) Descriptor
deprecated
func (*ShareRequest) Descriptor() ([]byte, []int)
Deprecated: Use ShareRequest.ProtoReflect.Descriptor instead.
func (*ShareRequest) GetInfo ¶
func (x *ShareRequest) GetInfo() []*ShareInfo
func (*ShareRequest) ProtoMessage ¶
func (*ShareRequest) ProtoMessage()
func (*ShareRequest) ProtoReflect ¶
func (x *ShareRequest) ProtoReflect() protoreflect.Message
func (*ShareRequest) Reset ¶
func (x *ShareRequest) Reset()
func (*ShareRequest) String ¶
func (x *ShareRequest) String() string
type ShareResponse ¶
type ShareResponse struct {
// contains filtered or unexported fields
}
func (*ShareResponse) Descriptor
deprecated
func (*ShareResponse) Descriptor() ([]byte, []int)
Deprecated: Use ShareResponse.ProtoReflect.Descriptor instead.
func (*ShareResponse) ProtoMessage ¶
func (*ShareResponse) ProtoMessage()
func (*ShareResponse) ProtoReflect ¶
func (x *ShareResponse) ProtoReflect() protoreflect.Message
func (*ShareResponse) Reset ¶
func (x *ShareResponse) Reset()
func (*ShareResponse) String ¶
func (x *ShareResponse) String() string
type StartsWith ¶
type StartsWith struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
CONDITION
func (*StartsWith) Descriptor
deprecated
func (*StartsWith) Descriptor() ([]byte, []int)
Deprecated: Use StartsWith.ProtoReflect.Descriptor instead.
func (*StartsWith) GetField ¶
func (x *StartsWith) GetField() string
func (*StartsWith) GetValue ¶
func (x *StartsWith) GetValue() string
func (*StartsWith) ProtoMessage ¶
func (*StartsWith) ProtoMessage()
func (*StartsWith) ProtoReflect ¶
func (x *StartsWith) ProtoReflect() protoreflect.Message
func (*StartsWith) Reset ¶
func (x *StartsWith) Reset()
func (*StartsWith) String ¶
func (x *StartsWith) String() string
type StrEqual ¶
type StrEqual struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*StrEqual) Descriptor
deprecated
func (*StrEqual) ProtoMessage ¶
func (*StrEqual) ProtoMessage()
func (*StrEqual) ProtoReflect ¶
func (x *StrEqual) ProtoReflect() protoreflect.Message
type StrOr ¶
type StrOr struct { Queries []*StrQuery `protobuf:"bytes,1,rep,name=queries,proto3" json:"queries,omitempty"` // contains filtered or unexported fields }
func (*StrOr) Descriptor
deprecated
func (*StrOr) GetQueries ¶
func (*StrOr) ProtoMessage ¶
func (*StrOr) ProtoMessage()
func (*StrOr) ProtoReflect ¶
func (x *StrOr) ProtoReflect() protoreflect.Message
type StrQuery ¶
type StrQuery struct { // Types that are assignable to Bool: // *StrQuery_Or // *StrQuery_Eq // *StrQuery_Contains // *StrQuery_StartsWith // *StrQuery_EndsWith Bool isStrQuery_Bool `protobuf_oneof:"bool"` // contains filtered or unexported fields }
func (*StrQuery) Descriptor
deprecated
func (*StrQuery) GetContains ¶
func (*StrQuery) GetEndsWith ¶
func (*StrQuery) GetStartsWith ¶
func (x *StrQuery) GetStartsWith() *StartsWith
func (*StrQuery) ProtoMessage ¶
func (*StrQuery) ProtoMessage()
func (*StrQuery) ProtoReflect ¶
func (x *StrQuery) ProtoReflect() protoreflect.Message
type StrQuery_Contains ¶
type StrQuery_Contains struct {
Contains *Contains `protobuf:"bytes,3,opt,name=contains,proto3,oneof"`
}
type StrQuery_EndsWith ¶
type StrQuery_EndsWith struct {
EndsWith *EndsWith `protobuf:"bytes,5,opt,name=ends_with,json=endsWith,proto3,oneof"`
}
type StrQuery_Eq ¶
type StrQuery_Eq struct {
Eq *StrEqual `protobuf:"bytes,2,opt,name=eq,proto3,oneof"`
}
type StrQuery_Or ¶
type StrQuery_Or struct {
Or *StrOr `protobuf:"bytes,1,opt,name=or,proto3,oneof"`
}
type StrQuery_StartsWith ¶
type StrQuery_StartsWith struct {
StartsWith *StartsWith `protobuf:"bytes,4,opt,name=starts_with,json=startsWith,proto3,oneof"`
}
type SubjectSet ¶
type SubjectSet struct { Object string `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"` Relation string `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"` // contains filtered or unexported fields }
func (*SubjectSet) Descriptor
deprecated
func (*SubjectSet) Descriptor() ([]byte, []int)
Deprecated: Use SubjectSet.ProtoReflect.Descriptor instead.
func (*SubjectSet) GetObject ¶
func (x *SubjectSet) GetObject() string
func (*SubjectSet) GetRelation ¶
func (x *SubjectSet) GetRelation() string
func (*SubjectSet) ProtoMessage ¶
func (*SubjectSet) ProtoMessage()
func (*SubjectSet) ProtoReflect ¶
func (x *SubjectSet) ProtoReflect() protoreflect.Message
func (*SubjectSet) Reset ¶
func (x *SubjectSet) Reset()
func (*SubjectSet) String ¶
func (x *SubjectSet) String() string
type SubjectSetDefinition ¶
type SubjectSetDefinition struct { Type SubjectSetType `protobuf:"varint,1,opt,name=type,proto3,enum=SubjectSetType" json:"type,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*SubjectSetDefinition) Descriptor
deprecated
func (*SubjectSetDefinition) Descriptor() ([]byte, []int)
Deprecated: Use SubjectSetDefinition.ProtoReflect.Descriptor instead.
func (*SubjectSetDefinition) GetType ¶
func (x *SubjectSetDefinition) GetType() SubjectSetType
func (*SubjectSetDefinition) GetValue ¶
func (x *SubjectSetDefinition) GetValue() string
func (*SubjectSetDefinition) ProtoMessage ¶
func (*SubjectSetDefinition) ProtoMessage()
func (*SubjectSetDefinition) ProtoReflect ¶
func (x *SubjectSetDefinition) ProtoReflect() protoreflect.Message
func (*SubjectSetDefinition) Reset ¶
func (x *SubjectSetDefinition) Reset()
func (*SubjectSetDefinition) String ¶
func (x *SubjectSetDefinition) String() string
type SubjectSetType ¶
type SubjectSetType int32
const ( SubjectSetType_This SubjectSetType = 0 SubjectSetType_Computed SubjectSetType = 1 SubjectSetType_TupleSubjectSet SubjectSetType = 2 SubjectSetType_FromTuple SubjectSetType = 3 )
func (SubjectSetType) Descriptor ¶
func (SubjectSetType) Descriptor() protoreflect.EnumDescriptor
func (SubjectSetType) Enum ¶
func (x SubjectSetType) Enum() *SubjectSetType
func (SubjectSetType) EnumDescriptor
deprecated
func (SubjectSetType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SubjectSetType.Descriptor instead.
func (SubjectSetType) Number ¶
func (x SubjectSetType) Number() protoreflect.EnumNumber
func (SubjectSetType) String ¶
func (x SubjectSetType) String() string
func (SubjectSetType) Type ¶
func (SubjectSetType) Type() protoreflect.EnumType
type SubjectsInRelationWithObjectRelatedObject ¶
type SubjectsInRelationWithObjectRelatedObject struct { ObjectRelation string `protobuf:"bytes,1,opt,name=object_relation,json=objectRelation,proto3" json:"object_relation,omitempty"` SubjectRelation string `protobuf:"bytes,2,opt,name=subject_relation,json=subjectRelation,proto3" json:"subject_relation,omitempty"` // contains filtered or unexported fields }
func (*SubjectsInRelationWithObjectRelatedObject) Descriptor
deprecated
func (*SubjectsInRelationWithObjectRelatedObject) Descriptor() ([]byte, []int)
Deprecated: Use SubjectsInRelationWithObjectRelatedObject.ProtoReflect.Descriptor instead.
func (*SubjectsInRelationWithObjectRelatedObject) GetObjectRelation ¶
func (x *SubjectsInRelationWithObjectRelatedObject) GetObjectRelation() string
func (*SubjectsInRelationWithObjectRelatedObject) GetSubjectRelation ¶
func (x *SubjectsInRelationWithObjectRelatedObject) GetSubjectRelation() string
func (*SubjectsInRelationWithObjectRelatedObject) ProtoMessage ¶
func (*SubjectsInRelationWithObjectRelatedObject) ProtoMessage()
func (*SubjectsInRelationWithObjectRelatedObject) ProtoReflect ¶
func (x *SubjectsInRelationWithObjectRelatedObject) ProtoReflect() protoreflect.Message
func (*SubjectsInRelationWithObjectRelatedObject) Reset ¶
func (x *SubjectsInRelationWithObjectRelatedObject) Reset()
func (*SubjectsInRelationWithObjectRelatedObject) String ¶
func (x *SubjectsInRelationWithObjectRelatedObject) String() string
type TextIndex ¶
type TextIndex struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Alias string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"` // contains filtered or unexported fields }
func (*TextIndex) Descriptor
deprecated
func (*TextIndex) ProtoMessage ¶
func (*TextIndex) ProtoMessage()
func (*TextIndex) ProtoReflect ¶
func (x *TextIndex) ProtoReflect() protoreflect.Message
type TextMapping ¶
type TextMapping struct { Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ObjectId string `protobuf:"bytes,3,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` PrefixMappingSize uint32 `protobuf:"varint,4,opt,name=prefix_mapping_size,json=prefixMappingSize,proto3" json:"prefix_mapping_size,omitempty"` // contains filtered or unexported fields }
func (*TextMapping) Descriptor
deprecated
func (*TextMapping) Descriptor() ([]byte, []int)
Deprecated: Use TextMapping.ProtoReflect.Descriptor instead.
func (*TextMapping) GetName ¶
func (x *TextMapping) GetName() string
func (*TextMapping) GetObjectId ¶
func (x *TextMapping) GetObjectId() string
func (*TextMapping) GetPrefixMappingSize ¶
func (x *TextMapping) GetPrefixMappingSize() uint32
func (*TextMapping) GetText ¶
func (x *TextMapping) GetText() string
func (*TextMapping) ProtoMessage ¶
func (*TextMapping) ProtoMessage()
func (*TextMapping) ProtoReflect ¶
func (x *TextMapping) ProtoReflect() protoreflect.Message
func (*TextMapping) Reset ¶
func (x *TextMapping) Reset()
func (*TextMapping) String ¶
func (x *TextMapping) String() string
type UnimplementedAccessManagerServer ¶
type UnimplementedAccessManagerServer struct { }
UnimplementedAccessManagerServer must be embedded to have forward compatible implementations.
func (UnimplementedAccessManagerServer) CreateAccess ¶
func (UnimplementedAccessManagerServer) CreateAccess(context.Context, *CreateAccessRequest) (*CreateAccessResponse, error)
func (UnimplementedAccessManagerServer) DeleteAccess ¶
func (UnimplementedAccessManagerServer) DeleteAccess(AccessManager_DeleteAccessServer) error
func (UnimplementedAccessManagerServer) GetAccess ¶
func (UnimplementedAccessManagerServer) GetAccess(context.Context, *GetAccessRequest) (*GetAccessResponse, error)
func (UnimplementedAccessManagerServer) GetAccessList ¶
func (UnimplementedAccessManagerServer) GetAccessList(*GetAccessListRequest, AccessManager_GetAccessListServer) error
func (UnimplementedAccessManagerServer) ResolveAccess ¶
func (UnimplementedAccessManagerServer) ResolveAccess(context.Context, *ResolveAccessRequest) (*ResolveAccessResponse, error)
type UnimplementedFilesServer ¶
type UnimplementedFilesServer struct { }
UnimplementedFilesServer must be embedded to have forward compatible implementations.
func (UnimplementedFilesServer) CopyFile ¶
func (UnimplementedFilesServer) CopyFile(context.Context, *CopyFileRequest) (*CopyFileResponse, error)
func (UnimplementedFilesServer) CreateDir ¶
func (UnimplementedFilesServer) CreateDir(context.Context, *CreateDirRequest) (*CreateDirResponse, error)
func (UnimplementedFilesServer) DeleteFile ¶
func (UnimplementedFilesServer) DeleteFile(context.Context, *DeleteFileRequest) (*DeleteFileResponse, error)
func (UnimplementedFilesServer) DeleteShares ¶
func (UnimplementedFilesServer) DeleteShares(context.Context, *DeleteSharesRequest) (*DeleteSharesResponse, error)
func (UnimplementedFilesServer) GetFile ¶
func (UnimplementedFilesServer) GetFile(context.Context, *GetFileRequest) (*GetFileResponse, error)
func (UnimplementedFilesServer) GetFileAttributes ¶
func (UnimplementedFilesServer) GetFileAttributes(context.Context, *GetFileAttributesRequest) (*GetFileAttributesResponse, error)
func (UnimplementedFilesServer) GetShares ¶
func (UnimplementedFilesServer) GetShares(context.Context, *GetSharesRequest) (*GetSharesResponse, error)
func (UnimplementedFilesServer) ListDir ¶
func (UnimplementedFilesServer) ListDir(context.Context, *ListDirRequest) (*ListDirResponse, error)
func (UnimplementedFilesServer) MoveFile ¶
func (UnimplementedFilesServer) MoveFile(context.Context, *MoveFileRequest) (*MoveFileResponse, error)
func (UnimplementedFilesServer) RenameFile ¶
func (UnimplementedFilesServer) RenameFile(context.Context, *RenameFileRequest) (*RenameFileResponse, error)
func (UnimplementedFilesServer) SetFileAttributes ¶
func (UnimplementedFilesServer) SetFileAttributes(context.Context, *SetFileAttributesRequest) (*SetFileAttributesResponse, error)
func (UnimplementedFilesServer) Share ¶
func (UnimplementedFilesServer) Share(context.Context, *ShareRequest) (*ShareResponse, error)
type UnimplementedObjectsServer ¶
type UnimplementedObjectsServer struct { }
UnimplementedObjectsServer must be embedded to have forward compatible implementations.
func (UnimplementedObjectsServer) CreateCollection ¶
func (UnimplementedObjectsServer) CreateCollection(context.Context, *CreateCollectionRequest) (*CreateCollectionResponse, error)
func (UnimplementedObjectsServer) DeleteCollection ¶
func (UnimplementedObjectsServer) DeleteCollection(context.Context, *DeleteCollectionRequest) (*DeleteCollectionResponse, error)
func (UnimplementedObjectsServer) DeleteObject ¶
func (UnimplementedObjectsServer) DeleteObject(context.Context, *DeleteObjectRequest) (*DeleteObjectResponse, error)
func (UnimplementedObjectsServer) GetCollection ¶
func (UnimplementedObjectsServer) GetCollection(context.Context, *GetCollectionRequest) (*GetCollectionResponse, error)
func (UnimplementedObjectsServer) GetObject ¶
func (UnimplementedObjectsServer) GetObject(context.Context, *GetObjectRequest) (*GetObjectResponse, error)
func (UnimplementedObjectsServer) ListCollections ¶
func (UnimplementedObjectsServer) ListCollections(context.Context, *ListCollectionsRequest) (*ListCollectionsResponse, error)
func (UnimplementedObjectsServer) ListObjects ¶
func (UnimplementedObjectsServer) ListObjects(*ListObjectsRequest, Objects_ListObjectsServer) error
func (UnimplementedObjectsServer) MoveObject ¶
func (UnimplementedObjectsServer) MoveObject(context.Context, *MoveObjectRequest) (*MoveObjectResponse, error)
func (UnimplementedObjectsServer) ObjectInfo ¶
func (UnimplementedObjectsServer) ObjectInfo(context.Context, *ObjectInfoRequest) (*ObjectInfoResponse, error)
func (UnimplementedObjectsServer) PatchObject ¶
func (UnimplementedObjectsServer) PatchObject(context.Context, *PatchObjectRequest) (*PatchObjectResponse, error)
func (UnimplementedObjectsServer) PutObject ¶
func (UnimplementedObjectsServer) PutObject(context.Context, *PutObjectRequest) (*PutObjectResponse, error)
func (UnimplementedObjectsServer) SearchObjects ¶
func (UnimplementedObjectsServer) SearchObjects(*SearchObjectsRequest, Objects_SearchObjectsServer) error
type UnimplementedSearchEngineServer ¶
type UnimplementedSearchEngineServer struct { }
UnimplementedSearchEngineServer must be embedded to have forward compatible implementations.
func (UnimplementedSearchEngineServer) Feed ¶
func (UnimplementedSearchEngineServer) Feed(SearchEngine_FeedServer) error
func (UnimplementedSearchEngineServer) Search ¶
func (UnimplementedSearchEngineServer) Search(*ResearchRequest, SearchEngine_SearchServer) error
type UnimplementedServiceServer ¶
type UnimplementedServiceServer struct { }
UnimplementedServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedServiceServer) Check ¶
func (UnimplementedServiceServer) Check(context.Context, *CheckRequest) (*CheckResponse, error)
func (UnimplementedServiceServer) DeleteNamespaceConfig ¶
func (UnimplementedServiceServer) DeleteNamespaceConfig(context.Context, *DeleteNamespaceConfigRequest) (*DeleteNamespaceConfigResponse, error)
func (UnimplementedServiceServer) DeleteRelation ¶
func (UnimplementedServiceServer) DeleteRelation(context.Context, *DeleteACLRequest) (*DeleteACLResponse, error)
func (UnimplementedServiceServer) GetNamespaceConfig ¶
func (UnimplementedServiceServer) GetNamespaceConfig(context.Context, *GetNamespaceConfigRequest) (*GetNamespaceConfigResponse, error)
func (UnimplementedServiceServer) SaveNamespaceConfig ¶
func (UnimplementedServiceServer) SaveNamespaceConfig(context.Context, *SaveNamespaceConfigRequest) (*SaveNamespaceConfigResponse, error)
func (UnimplementedServiceServer) SaveRelation ¶
func (UnimplementedServiceServer) SaveRelation(context.Context, *SaveACLRequest) (*SaveACLResponse, error)
type UnsafeAccessManagerServer ¶
type UnsafeAccessManagerServer interface {
// contains filtered or unexported methods
}
UnsafeAccessManagerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AccessManagerServer will result in compilation errors.
type UnsafeFilesServer ¶
type UnsafeFilesServer interface {
// contains filtered or unexported methods
}
UnsafeFilesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FilesServer will result in compilation errors.
type UnsafeObjectsServer ¶
type UnsafeObjectsServer interface {
// contains filtered or unexported methods
}
UnsafeObjectsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ObjectsServer will result in compilation errors.
type UnsafeSearchEngineServer ¶
type UnsafeSearchEngineServer interface {
// contains filtered or unexported methods
}
UnsafeSearchEngineServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SearchEngineServer will result in compilation errors.
type UnsafeServiceServer ¶
type UnsafeServiceServer interface {
// contains filtered or unexported methods
}
UnsafeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServiceServer will result in compilation errors.
type User ¶
type User struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UserCredentials ¶
type UserCredentials struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*UserCredentials) Descriptor
deprecated
func (*UserCredentials) Descriptor() ([]byte, []int)
Deprecated: Use UserCredentials.ProtoReflect.Descriptor instead.
func (*UserCredentials) GetPassword ¶
func (x *UserCredentials) GetPassword() string
func (*UserCredentials) GetUsername ¶
func (x *UserCredentials) GetUsername() string
func (*UserCredentials) ProtoMessage ¶
func (*UserCredentials) ProtoMessage()
func (*UserCredentials) ProtoReflect ¶
func (x *UserCredentials) ProtoReflect() protoreflect.Message
func (*UserCredentials) Reset ¶
func (x *UserCredentials) Reset()
func (*UserCredentials) String ¶
func (x *UserCredentials) String() string