Documentation ¶
Index ¶
- type OpenTracingLayer
- func (s *OpenTracingLayer) Audit() store.AuditStore
- func (s *OpenTracingLayer) Bot() store.BotStore
- func (s *OpenTracingLayer) Channel() store.ChannelStore
- func (s *OpenTracingLayer) ChannelMemberHistory() store.ChannelMemberHistoryStore
- func (s *OpenTracingLayer) Close()
- func (s *OpenTracingLayer) ClusterDiscovery() store.ClusterDiscoveryStore
- func (s *OpenTracingLayer) Command() store.CommandStore
- func (s *OpenTracingLayer) CommandWebhook() store.CommandWebhookStore
- func (s *OpenTracingLayer) Compliance() store.ComplianceStore
- func (s *OpenTracingLayer) DropAllTables()
- func (s *OpenTracingLayer) Emoji() store.EmojiStore
- func (s *OpenTracingLayer) FileInfo() store.FileInfoStore
- func (s *OpenTracingLayer) GetCurrentSchemaVersion() string
- func (s *OpenTracingLayer) Group() store.GroupStore
- func (s *OpenTracingLayer) Job() store.JobStore
- func (s *OpenTracingLayer) License() store.LicenseStore
- func (s *OpenTracingLayer) LinkMetadata() store.LinkMetadataStore
- func (s *OpenTracingLayer) LockToMaster()
- func (s *OpenTracingLayer) MarkSystemRanUnitTests()
- func (s *OpenTracingLayer) OAuth() store.OAuthStore
- func (s *OpenTracingLayer) Plugin() store.PluginStore
- func (s *OpenTracingLayer) Post() store.PostStore
- func (s *OpenTracingLayer) Preference() store.PreferenceStore
- func (s *OpenTracingLayer) ProductNotices() store.ProductNoticesStore
- func (s *OpenTracingLayer) Reaction() store.ReactionStore
- func (s *OpenTracingLayer) RemoteCluster() store.RemoteClusterStore
- func (s *OpenTracingLayer) RetentionPolicy() store.RetentionPolicyStore
- func (s *OpenTracingLayer) Role() store.RoleStore
- func (s *OpenTracingLayer) Scheme() store.SchemeStore
- func (s *OpenTracingLayer) Session() store.SessionStore
- func (s *OpenTracingLayer) SetContext(context context.Context)
- func (s *OpenTracingLayer) SharedChannel() store.SharedChannelStore
- func (s *OpenTracingLayer) Status() store.StatusStore
- func (s *OpenTracingLayer) System() store.SystemStore
- func (s *OpenTracingLayer) Team() store.TeamStore
- func (s *OpenTracingLayer) TermsOfService() store.TermsOfServiceStore
- func (s *OpenTracingLayer) Thread() store.ThreadStore
- func (s *OpenTracingLayer) Token() store.TokenStore
- func (s *OpenTracingLayer) TotalMasterDbConnections() int
- func (s *OpenTracingLayer) TotalReadDbConnections() int
- func (s *OpenTracingLayer) TotalSearchDbConnections() int
- func (s *OpenTracingLayer) UnlockFromMaster()
- func (s *OpenTracingLayer) UploadSession() store.UploadSessionStore
- func (s *OpenTracingLayer) User() store.UserStore
- func (s *OpenTracingLayer) UserAccessToken() store.UserAccessTokenStore
- func (s *OpenTracingLayer) UserTermsOfService() store.UserTermsOfServiceStore
- func (s *OpenTracingLayer) Webhook() store.WebhookStore
- type OpenTracingLayerAuditStore
- type OpenTracingLayerBotStore
- func (s *OpenTracingLayerBotStore) Get(userID string, includeDeleted bool) (*model.Bot, error)
- func (s *OpenTracingLayerBotStore) GetAll(options *model.BotGetOptions) ([]*model.Bot, error)
- func (s *OpenTracingLayerBotStore) PermanentDelete(userID string) error
- func (s *OpenTracingLayerBotStore) Save(bot *model.Bot) (*model.Bot, error)
- func (s *OpenTracingLayerBotStore) Update(bot *model.Bot) (*model.Bot, error)
- type OpenTracingLayerChannelMemberHistoryStore
- func (s *OpenTracingLayerChannelMemberHistoryStore) DeleteOrphanedRows(limit int) (int64, error)
- func (s *OpenTracingLayerChannelMemberHistoryStore) GetUsersInChannelDuring(startTime int64, endTime int64, channelID string) ([]*model.ChannelMemberHistoryResult, error)
- func (s *OpenTracingLayerChannelMemberHistoryStore) LogJoinEvent(userID string, channelID string, joinTime int64) error
- func (s *OpenTracingLayerChannelMemberHistoryStore) LogLeaveEvent(userID string, channelID string, leaveTime int64) error
- func (s *OpenTracingLayerChannelMemberHistoryStore) PermanentDeleteBatch(endTime int64, limit int64) (int64, error)
- func (s *OpenTracingLayerChannelMemberHistoryStore) PermanentDeleteBatchForRetentionPolicies(now int64, globalPolicyEndTime int64, limit int64, ...) (int64, model.RetentionPolicyCursor, error)
- type OpenTracingLayerChannelStore
- func (s *OpenTracingLayerChannelStore) AnalyticsDeletedTypeCount(teamID string, channelType string) (int64, error)
- func (s *OpenTracingLayerChannelStore) AnalyticsTypeCount(teamID string, channelType model.ChannelType) (int64, error)
- func (s *OpenTracingLayerChannelStore) Autocomplete(userID string, term string, includeDeleted bool) (model.ChannelListWithTeamData, error)
- func (s *OpenTracingLayerChannelStore) AutocompleteInTeam(teamID string, userID string, term string, includeDeleted bool) (model.ChannelList, error)
- func (s *OpenTracingLayerChannelStore) AutocompleteInTeamForSearch(teamID string, userID string, term string, includeDeleted bool) (model.ChannelList, error)
- func (s *OpenTracingLayerChannelStore) ClearAllCustomRoleAssignments() error
- func (s *OpenTracingLayerChannelStore) ClearCaches()
- func (s *OpenTracingLayerChannelStore) ClearSidebarOnTeamLeave(userID string, teamID string) error
- func (s *OpenTracingLayerChannelStore) CountPostsAfter(channelID string, timestamp int64, userID string) (int, int, error)
- func (s *OpenTracingLayerChannelStore) CreateDirectChannel(userID *model.User, otherUserID *model.User, ...) (*model.Channel, error)
- func (s *OpenTracingLayerChannelStore) CreateInitialSidebarCategories(userID string, teamID string) (*model.OrderedSidebarCategories, error)
- func (s *OpenTracingLayerChannelStore) CreateSidebarCategory(userID string, teamID string, newCategory *model.SidebarCategoryWithChannels) (*model.SidebarCategoryWithChannels, error)
- func (s *OpenTracingLayerChannelStore) Delete(channelID string, time int64) error
- func (s *OpenTracingLayerChannelStore) DeleteSidebarCategory(categoryID string) error
- func (s *OpenTracingLayerChannelStore) DeleteSidebarChannelsByPreferences(preferences model.Preferences) error
- func (s *OpenTracingLayerChannelStore) Get(id string, allowFromCache bool) (*model.Channel, error)
- func (s *OpenTracingLayerChannelStore) GetAll(teamID string) ([]*model.Channel, error)
- func (s *OpenTracingLayerChannelStore) GetAllChannelMembersById(id string) ([]string, error)
- func (s *OpenTracingLayerChannelStore) GetAllChannelMembersForUser(userID string, allowFromCache bool, includeDeleted bool) (map[string]string, error)
- func (s *OpenTracingLayerChannelStore) GetAllChannelMembersNotifyPropsForChannel(channelID string, allowFromCache bool) (map[string]model.StringMap, error)
- func (s *OpenTracingLayerChannelStore) GetAllChannels(page int, perPage int, opts store.ChannelSearchOpts) (model.ChannelListWithTeamData, error)
- func (s *OpenTracingLayerChannelStore) GetAllChannelsCount(opts store.ChannelSearchOpts) (int64, error)
- func (s *OpenTracingLayerChannelStore) GetAllChannelsForExportAfter(limit int, afterID string) ([]*model.ChannelForExport, error)
- func (s *OpenTracingLayerChannelStore) GetAllDirectChannelsForExportAfter(limit int, afterID string) ([]*model.DirectChannelForExport, error)
- func (s *OpenTracingLayerChannelStore) GetByName(team_id string, name string, allowFromCache bool) (*model.Channel, error)
- func (s *OpenTracingLayerChannelStore) GetByNameIncludeDeleted(team_id string, name string, allowFromCache bool) (*model.Channel, error)
- func (s *OpenTracingLayerChannelStore) GetByNames(team_id string, names []string, allowFromCache bool) ([]*model.Channel, error)
- func (s *OpenTracingLayerChannelStore) GetChannelCounts(teamID string, userID string) (*model.ChannelCounts, error)
- func (s *OpenTracingLayerChannelStore) GetChannelMembersForExport(userID string, teamID string) ([]*model.ChannelMemberForExport, error)
- func (s *OpenTracingLayerChannelStore) GetChannelMembersTimezones(channelID string) ([]model.StringMap, error)
- func (s *OpenTracingLayerChannelStore) GetChannelUnread(channelID string, userID string) (*model.ChannelUnread, error)
- func (s *OpenTracingLayerChannelStore) GetChannels(teamID string, userID string, includeDeleted bool, lastDeleteAt int) (model.ChannelList, error)
- func (s *OpenTracingLayerChannelStore) GetChannelsBatchForIndexing(startTime int64, endTime int64, limit int) ([]*model.Channel, error)
- func (s *OpenTracingLayerChannelStore) GetChannelsByIds(channelIds []string, includeDeleted bool) ([]*model.Channel, error)
- func (s *OpenTracingLayerChannelStore) GetChannelsByScheme(schemeID string, offset int, limit int) (model.ChannelList, error)
- func (s *OpenTracingLayerChannelStore) GetChannelsByUser(userID string, includeDeleted bool, lastDeleteAt int, pageSize int, ...) (model.ChannelList, error)
- func (s *OpenTracingLayerChannelStore) GetChannelsWithTeamDataByIds(channelIds []string, includeDeleted bool) ([]*model.ChannelWithTeamData, error)
- func (s *OpenTracingLayerChannelStore) GetDeleted(team_id string, offset int, limit int, userID string) (model.ChannelList, error)
- func (s *OpenTracingLayerChannelStore) GetDeletedByName(team_id string, name string) (*model.Channel, error)
- func (s *OpenTracingLayerChannelStore) GetForPost(postID string) (*model.Channel, error)
- func (s *OpenTracingLayerChannelStore) GetFromMaster(id string) (*model.Channel, error)
- func (s *OpenTracingLayerChannelStore) GetGuestCount(channelID string, allowFromCache bool) (int64, error)
- func (s *OpenTracingLayerChannelStore) GetMember(ctx context.Context, channelID string, userID string) (*model.ChannelMember, error)
- func (s *OpenTracingLayerChannelStore) GetMemberCount(channelID string, allowFromCache bool) (int64, error)
- func (s *OpenTracingLayerChannelStore) GetMemberCountFromCache(channelID string) int64
- func (s *OpenTracingLayerChannelStore) GetMemberCountsByGroup(ctx context.Context, channelID string, includeTimezones bool) ([]*model.ChannelMemberCountByGroup, error)
- func (s *OpenTracingLayerChannelStore) GetMemberForPost(postID string, userID string) (*model.ChannelMember, error)
- func (s *OpenTracingLayerChannelStore) GetMembers(channelID string, offset int, limit int) (model.ChannelMembers, error)
- func (s *OpenTracingLayerChannelStore) GetMembersByChannelIds(channelIds []string, userID string) (model.ChannelMembers, error)
- func (s *OpenTracingLayerChannelStore) GetMembersByIds(channelID string, userIds []string) (model.ChannelMembers, error)
- func (s *OpenTracingLayerChannelStore) GetMembersForUser(teamID string, userID string) (model.ChannelMembers, error)
- func (s *OpenTracingLayerChannelStore) GetMembersForUserWithPagination(userID string, page int, perPage int) (model.ChannelMembersWithTeamData, error)
- func (s *OpenTracingLayerChannelStore) GetMoreChannels(teamID string, userID string, offset int, limit int) (model.ChannelList, error)
- func (s *OpenTracingLayerChannelStore) GetPinnedPostCount(channelID string, allowFromCache bool) (int64, error)
- func (s *OpenTracingLayerChannelStore) GetPinnedPosts(channelID string) (*model.PostList, error)
- func (s *OpenTracingLayerChannelStore) GetPrivateChannelsForTeam(teamID string, offset int, limit int) (model.ChannelList, error)
- func (s *OpenTracingLayerChannelStore) GetPublicChannelsByIdsForTeam(teamID string, channelIds []string) (model.ChannelList, error)
- func (s *OpenTracingLayerChannelStore) GetPublicChannelsForTeam(teamID string, offset int, limit int) (model.ChannelList, error)
- func (s *OpenTracingLayerChannelStore) GetSidebarCategories(userID string, teamID string) (*model.OrderedSidebarCategories, error)
- func (s *OpenTracingLayerChannelStore) GetSidebarCategory(categoryID string) (*model.SidebarCategoryWithChannels, error)
- func (s *OpenTracingLayerChannelStore) GetSidebarCategoryOrder(userID string, teamID string) ([]string, error)
- func (s *OpenTracingLayerChannelStore) GetTeamChannels(teamID string) (model.ChannelList, error)
- func (s *OpenTracingLayerChannelStore) GetTeamForChannel(channelID string) (*model.Team, error)
- func (s *OpenTracingLayerChannelStore) GetTeamMembersForChannel(channelID string) ([]string, error)
- func (s *OpenTracingLayerChannelStore) GroupSyncedChannelCount() (int64, error)
- func (s *OpenTracingLayerChannelStore) IncrementMentionCount(channelID string, userID string, updateThreads bool, isRoot bool) error
- func (s *OpenTracingLayerChannelStore) InvalidateAllChannelMembersForUser(userID string)
- func (s *OpenTracingLayerChannelStore) InvalidateCacheForChannelMembersNotifyProps(channelID string)
- func (s *OpenTracingLayerChannelStore) InvalidateChannel(id string)
- func (s *OpenTracingLayerChannelStore) InvalidateChannelByName(teamID string, name string)
- func (s *OpenTracingLayerChannelStore) InvalidateGuestCount(channelID string)
- func (s *OpenTracingLayerChannelStore) InvalidateMemberCount(channelID string)
- func (s *OpenTracingLayerChannelStore) InvalidatePinnedPostCount(channelID string)
- func (s *OpenTracingLayerChannelStore) IsUserInChannelUseCache(userID string, channelID string) bool
- func (s *OpenTracingLayerChannelStore) MigrateChannelMembers(fromChannelID string, fromUserID string) (map[string]string, error)
- func (s *OpenTracingLayerChannelStore) MigratePublicChannels() error
- func (s *OpenTracingLayerChannelStore) PermanentDelete(channelID string) error
- func (s *OpenTracingLayerChannelStore) PermanentDeleteByTeam(teamID string) error
- func (s *OpenTracingLayerChannelStore) PermanentDeleteMembersByChannel(channelID string) error
- func (s *OpenTracingLayerChannelStore) PermanentDeleteMembersByUser(userID string) error
- func (s *OpenTracingLayerChannelStore) RemoveAllDeactivatedMembers(channelID string) error
- func (s *OpenTracingLayerChannelStore) RemoveMember(channelID string, userID string) error
- func (s *OpenTracingLayerChannelStore) RemoveMembers(channelID string, userIds []string) error
- func (s *OpenTracingLayerChannelStore) ResetAllChannelSchemes() error
- func (s *OpenTracingLayerChannelStore) Restore(channelID string, time int64) error
- func (s *OpenTracingLayerChannelStore) Save(channel *model.Channel, maxChannelsPerTeam int64) (*model.Channel, error)
- func (s *OpenTracingLayerChannelStore) SaveDirectChannel(channel *model.Channel, member1 *model.ChannelMember, ...) (*model.Channel, error)
- func (s *OpenTracingLayerChannelStore) SaveMember(member *model.ChannelMember) (*model.ChannelMember, error)
- func (s *OpenTracingLayerChannelStore) SaveMultipleMembers(members []*model.ChannelMember) ([]*model.ChannelMember, error)
- func (s *OpenTracingLayerChannelStore) SearchAllChannels(term string, opts store.ChannelSearchOpts) (model.ChannelListWithTeamData, int64, error)
- func (s *OpenTracingLayerChannelStore) SearchArchivedInTeam(teamID string, term string, userID string) (model.ChannelList, error)
- func (s *OpenTracingLayerChannelStore) SearchForUserInTeam(userID string, teamID string, term string, includeDeleted bool) (model.ChannelList, error)
- func (s *OpenTracingLayerChannelStore) SearchGroupChannels(userID string, term string) (model.ChannelList, error)
- func (s *OpenTracingLayerChannelStore) SearchInTeam(teamID string, term string, includeDeleted bool) (model.ChannelList, error)
- func (s *OpenTracingLayerChannelStore) SearchMore(userID string, teamID string, term string) (model.ChannelList, error)
- func (s *OpenTracingLayerChannelStore) SetDeleteAt(channelID string, deleteAt int64, updateAt int64) error
- func (s *OpenTracingLayerChannelStore) SetShared(channelId string, shared bool) error
- func (s *OpenTracingLayerChannelStore) Update(channel *model.Channel) (*model.Channel, error)
- func (s *OpenTracingLayerChannelStore) UpdateLastViewedAt(channelIds []string, userID string, updateThreads bool) (map[string]int64, error)
- func (s *OpenTracingLayerChannelStore) UpdateLastViewedAtPost(unreadPost *model.Post, userID string, mentionCount int, mentionCountRoot int, ...) (*model.ChannelUnreadAt, error)
- func (s *OpenTracingLayerChannelStore) UpdateMember(member *model.ChannelMember) (*model.ChannelMember, error)
- func (s *OpenTracingLayerChannelStore) UpdateMemberNotifyProps(channelID string, userID string, props map[string]string) (*model.ChannelMember, error)
- func (s *OpenTracingLayerChannelStore) UpdateMembersRole(channelID string, userIDs []string) error
- func (s *OpenTracingLayerChannelStore) UpdateMultipleMembers(members []*model.ChannelMember) ([]*model.ChannelMember, error)
- func (s *OpenTracingLayerChannelStore) UpdateSidebarCategories(userID string, teamID string, categories []*model.SidebarCategoryWithChannels) ([]*model.SidebarCategoryWithChannels, []*model.SidebarCategoryWithChannels, ...)
- func (s *OpenTracingLayerChannelStore) UpdateSidebarCategoryOrder(userID string, teamID string, categoryOrder []string) error
- func (s *OpenTracingLayerChannelStore) UpdateSidebarChannelCategoryOnMove(channel *model.Channel, newTeamID string) error
- func (s *OpenTracingLayerChannelStore) UpdateSidebarChannelsByPreferences(preferences model.Preferences) error
- func (s *OpenTracingLayerChannelStore) UserBelongsToChannels(userID string, channelIds []string) (bool, error)
- type OpenTracingLayerClusterDiscoveryStore
- func (s *OpenTracingLayerClusterDiscoveryStore) Cleanup() error
- func (s *OpenTracingLayerClusterDiscoveryStore) Delete(discovery *model.ClusterDiscovery) (bool, error)
- func (s *OpenTracingLayerClusterDiscoveryStore) Exists(discovery *model.ClusterDiscovery) (bool, error)
- func (s *OpenTracingLayerClusterDiscoveryStore) GetAll(discoveryType string, clusterName string) ([]*model.ClusterDiscovery, error)
- func (s *OpenTracingLayerClusterDiscoveryStore) Save(discovery *model.ClusterDiscovery) error
- func (s *OpenTracingLayerClusterDiscoveryStore) SetLastPingAt(discovery *model.ClusterDiscovery) error
- type OpenTracingLayerCommandStore
- func (s *OpenTracingLayerCommandStore) AnalyticsCommandCount(teamID string) (int64, error)
- func (s *OpenTracingLayerCommandStore) Delete(commandID string, time int64) error
- func (s *OpenTracingLayerCommandStore) Get(id string) (*model.Command, error)
- func (s *OpenTracingLayerCommandStore) GetByTeam(teamID string) ([]*model.Command, error)
- func (s *OpenTracingLayerCommandStore) GetByTrigger(teamID string, trigger string) (*model.Command, error)
- func (s *OpenTracingLayerCommandStore) PermanentDeleteByTeam(teamID string) error
- func (s *OpenTracingLayerCommandStore) PermanentDeleteByUser(userID string) error
- func (s *OpenTracingLayerCommandStore) Save(webhook *model.Command) (*model.Command, error)
- func (s *OpenTracingLayerCommandStore) Update(hook *model.Command) (*model.Command, error)
- type OpenTracingLayerCommandWebhookStore
- func (s *OpenTracingLayerCommandWebhookStore) Cleanup()
- func (s *OpenTracingLayerCommandWebhookStore) Get(id string) (*model.CommandWebhook, error)
- func (s *OpenTracingLayerCommandWebhookStore) Save(webhook *model.CommandWebhook) (*model.CommandWebhook, error)
- func (s *OpenTracingLayerCommandWebhookStore) TryUse(id string, limit int) error
- type OpenTracingLayerComplianceStore
- func (s *OpenTracingLayerComplianceStore) ComplianceExport(compliance *model.Compliance, cursor model.ComplianceExportCursor, limit int) ([]*model.CompliancePost, model.ComplianceExportCursor, error)
- func (s *OpenTracingLayerComplianceStore) Get(id string) (*model.Compliance, error)
- func (s *OpenTracingLayerComplianceStore) GetAll(offset int, limit int) (model.Compliances, error)
- func (s *OpenTracingLayerComplianceStore) MessageExport(cursor model.MessageExportCursor, limit int) ([]*model.MessageExport, model.MessageExportCursor, error)
- func (s *OpenTracingLayerComplianceStore) Save(compliance *model.Compliance) (*model.Compliance, error)
- func (s *OpenTracingLayerComplianceStore) Update(compliance *model.Compliance) (*model.Compliance, error)
- type OpenTracingLayerEmojiStore
- func (s *OpenTracingLayerEmojiStore) Delete(emoji *model.Emoji, time int64) error
- func (s *OpenTracingLayerEmojiStore) Get(ctx context.Context, id string, allowFromCache bool) (*model.Emoji, error)
- func (s *OpenTracingLayerEmojiStore) GetByName(ctx context.Context, name string, allowFromCache bool) (*model.Emoji, error)
- func (s *OpenTracingLayerEmojiStore) GetList(offset int, limit int, sort string) ([]*model.Emoji, error)
- func (s *OpenTracingLayerEmojiStore) GetMultipleByName(names []string) ([]*model.Emoji, error)
- func (s *OpenTracingLayerEmojiStore) Save(emoji *model.Emoji) (*model.Emoji, error)
- func (s *OpenTracingLayerEmojiStore) Search(name string, prefixOnly bool, limit int) ([]*model.Emoji, error)
- type OpenTracingLayerFileInfoStore
- func (s *OpenTracingLayerFileInfoStore) AttachToPost(fileID string, postID string, creatorID string) error
- func (s *OpenTracingLayerFileInfoStore) ClearCaches()
- func (s *OpenTracingLayerFileInfoStore) CountAll() (int64, error)
- func (s *OpenTracingLayerFileInfoStore) DeleteForPost(postID string) (string, error)
- func (s *OpenTracingLayerFileInfoStore) Get(id string) (*model.FileInfo, error)
- func (s *OpenTracingLayerFileInfoStore) GetByIds(ids []string) ([]*model.FileInfo, error)
- func (s *OpenTracingLayerFileInfoStore) GetByPath(path string) (*model.FileInfo, error)
- func (s *OpenTracingLayerFileInfoStore) GetFilesBatchForIndexing(startTime int64, endTime int64, limit int) ([]*model.FileForIndexing, error)
- func (s *OpenTracingLayerFileInfoStore) GetForPost(postID string, readFromMaster bool, includeDeleted bool, allowFromCache bool) ([]*model.FileInfo, error)
- func (s *OpenTracingLayerFileInfoStore) GetForUser(userID string) ([]*model.FileInfo, error)
- func (s *OpenTracingLayerFileInfoStore) GetFromMaster(id string) (*model.FileInfo, error)
- func (s *OpenTracingLayerFileInfoStore) GetWithOptions(page int, perPage int, opt *model.GetFileInfosOptions) ([]*model.FileInfo, error)
- func (s *OpenTracingLayerFileInfoStore) InvalidateFileInfosForPostCache(postID string, deleted bool)
- func (s *OpenTracingLayerFileInfoStore) PermanentDelete(fileID string) error
- func (s *OpenTracingLayerFileInfoStore) PermanentDeleteBatch(endTime int64, limit int64) (int64, error)
- func (s *OpenTracingLayerFileInfoStore) PermanentDeleteByUser(userID string) (int64, error)
- func (s *OpenTracingLayerFileInfoStore) Save(info *model.FileInfo) (*model.FileInfo, error)
- func (s *OpenTracingLayerFileInfoStore) Search(paramsList []*model.SearchParams, userID string, teamID string, page int, ...) (*model.FileInfoList, error)
- func (s *OpenTracingLayerFileInfoStore) SetContent(fileID string, content string) error
- func (s *OpenTracingLayerFileInfoStore) Upsert(info *model.FileInfo) (*model.FileInfo, error)
- type OpenTracingLayerGroupStore
- func (s *OpenTracingLayerGroupStore) AdminRoleGroupsForSyncableMember(userID string, syncableID string, syncableType model.GroupSyncableType) ([]string, error)
- func (s *OpenTracingLayerGroupStore) ChannelMembersMinusGroupMembers(channelID string, groupIDs []string, page int, perPage int) ([]*model.UserWithGroups, error)
- func (s *OpenTracingLayerGroupStore) ChannelMembersToAdd(since int64, channelID *string, includeRemovedMembers bool) ([]*model.UserChannelIDPair, error)
- func (s *OpenTracingLayerGroupStore) ChannelMembersToRemove(channelID *string) ([]*model.ChannelMember, error)
- func (s *OpenTracingLayerGroupStore) CountChannelMembersMinusGroupMembers(channelID string, groupIDs []string) (int64, error)
- func (s *OpenTracingLayerGroupStore) CountGroupsByChannel(channelID string, opts model.GroupSearchOpts) (int64, error)
- func (s *OpenTracingLayerGroupStore) CountGroupsByTeam(teamID string, opts model.GroupSearchOpts) (int64, error)
- func (s *OpenTracingLayerGroupStore) CountTeamMembersMinusGroupMembers(teamID string, groupIDs []string) (int64, error)
- func (s *OpenTracingLayerGroupStore) Create(group *model.Group) (*model.Group, error)
- func (s *OpenTracingLayerGroupStore) CreateGroupSyncable(groupSyncable *model.GroupSyncable) (*model.GroupSyncable, error)
- func (s *OpenTracingLayerGroupStore) Delete(groupID string) (*model.Group, error)
- func (s *OpenTracingLayerGroupStore) DeleteGroupSyncable(groupID string, syncableID string, syncableType model.GroupSyncableType) (*model.GroupSyncable, error)
- func (s *OpenTracingLayerGroupStore) DeleteMember(groupID string, userID string) (*model.GroupMember, error)
- func (s *OpenTracingLayerGroupStore) DistinctGroupMemberCount() (int64, error)
- func (s *OpenTracingLayerGroupStore) Get(groupID string) (*model.Group, error)
- func (s *OpenTracingLayerGroupStore) GetAllBySource(groupSource model.GroupSource) ([]*model.Group, error)
- func (s *OpenTracingLayerGroupStore) GetAllGroupSyncablesByGroupId(groupID string, syncableType model.GroupSyncableType) ([]*model.GroupSyncable, error)
- func (s *OpenTracingLayerGroupStore) GetByIDs(groupIDs []string) ([]*model.Group, error)
- func (s *OpenTracingLayerGroupStore) GetByName(name string, opts model.GroupSearchOpts) (*model.Group, error)
- func (s *OpenTracingLayerGroupStore) GetByRemoteID(remoteID string, groupSource model.GroupSource) (*model.Group, error)
- func (s *OpenTracingLayerGroupStore) GetByUser(userID string) ([]*model.Group, error)
- func (s *OpenTracingLayerGroupStore) GetGroupSyncable(groupID string, syncableID string, syncableType model.GroupSyncableType) (*model.GroupSyncable, error)
- func (s *OpenTracingLayerGroupStore) GetGroups(page int, perPage int, opts model.GroupSearchOpts) ([]*model.Group, error)
- func (s *OpenTracingLayerGroupStore) GetGroupsAssociatedToChannelsByTeam(teamID string, opts model.GroupSearchOpts) (map[string][]*model.GroupWithSchemeAdmin, error)
- func (s *OpenTracingLayerGroupStore) GetGroupsByChannel(channelID string, opts model.GroupSearchOpts) ([]*model.GroupWithSchemeAdmin, error)
- func (s *OpenTracingLayerGroupStore) GetGroupsByTeam(teamID string, opts model.GroupSearchOpts) ([]*model.GroupWithSchemeAdmin, error)
- func (s *OpenTracingLayerGroupStore) GetMemberCount(groupID string) (int64, error)
- func (s *OpenTracingLayerGroupStore) GetMemberUsers(groupID string) ([]*model.User, error)
- func (s *OpenTracingLayerGroupStore) GetMemberUsersInTeam(groupID string, teamID string) ([]*model.User, error)
- func (s *OpenTracingLayerGroupStore) GetMemberUsersNotInChannel(groupID string, channelID string) ([]*model.User, error)
- func (s *OpenTracingLayerGroupStore) GetMemberUsersPage(groupID string, page int, perPage int) ([]*model.User, error)
- func (s *OpenTracingLayerGroupStore) GroupChannelCount() (int64, error)
- func (s *OpenTracingLayerGroupStore) GroupCount() (int64, error)
- func (s *OpenTracingLayerGroupStore) GroupCountWithAllowReference() (int64, error)
- func (s *OpenTracingLayerGroupStore) GroupMemberCount() (int64, error)
- func (s *OpenTracingLayerGroupStore) GroupTeamCount() (int64, error)
- func (s *OpenTracingLayerGroupStore) PermanentDeleteMembersByUser(userID string) error
- func (s *OpenTracingLayerGroupStore) PermittedSyncableAdmins(syncableID string, syncableType model.GroupSyncableType) ([]string, error)
- func (s *OpenTracingLayerGroupStore) TeamMembersMinusGroupMembers(teamID string, groupIDs []string, page int, perPage int) ([]*model.UserWithGroups, error)
- func (s *OpenTracingLayerGroupStore) TeamMembersToAdd(since int64, teamID *string, includeRemovedMembers bool) ([]*model.UserTeamIDPair, error)
- func (s *OpenTracingLayerGroupStore) TeamMembersToRemove(teamID *string) ([]*model.TeamMember, error)
- func (s *OpenTracingLayerGroupStore) Update(group *model.Group) (*model.Group, error)
- func (s *OpenTracingLayerGroupStore) UpdateGroupSyncable(groupSyncable *model.GroupSyncable) (*model.GroupSyncable, error)
- func (s *OpenTracingLayerGroupStore) UpsertMember(groupID string, userID string) (*model.GroupMember, error)
- type OpenTracingLayerJobStore
- func (s *OpenTracingLayerJobStore) Cleanup(expiryTime int64, batchSize int) error
- func (s *OpenTracingLayerJobStore) Delete(id string) (string, error)
- func (s *OpenTracingLayerJobStore) Get(id string) (*model.Job, error)
- func (s *OpenTracingLayerJobStore) GetAllByStatus(status string) ([]*model.Job, error)
- func (s *OpenTracingLayerJobStore) GetAllByType(jobType string) ([]*model.Job, error)
- func (s *OpenTracingLayerJobStore) GetAllByTypePage(jobType string, offset int, limit int) ([]*model.Job, error)
- func (s *OpenTracingLayerJobStore) GetAllByTypesPage(jobTypes []string, offset int, limit int) ([]*model.Job, error)
- func (s *OpenTracingLayerJobStore) GetAllPage(offset int, limit int) ([]*model.Job, error)
- func (s *OpenTracingLayerJobStore) GetCountByStatusAndType(status string, jobType string) (int64, error)
- func (s *OpenTracingLayerJobStore) GetNewestJobByStatusAndType(status string, jobType string) (*model.Job, error)
- func (s *OpenTracingLayerJobStore) GetNewestJobByStatusesAndType(statuses []string, jobType string) (*model.Job, error)
- func (s *OpenTracingLayerJobStore) Save(job *model.Job) (*model.Job, error)
- func (s *OpenTracingLayerJobStore) UpdateOptimistically(job *model.Job, currentStatus string) (bool, error)
- func (s *OpenTracingLayerJobStore) UpdateStatus(id string, status string) (*model.Job, error)
- func (s *OpenTracingLayerJobStore) UpdateStatusOptimistically(id string, currentStatus string, newStatus string) (bool, error)
- type OpenTracingLayerLicenseStore
- type OpenTracingLayerLinkMetadataStore
- type OpenTracingLayerOAuthStore
- func (s *OpenTracingLayerOAuthStore) DeleteApp(id string) error
- func (s *OpenTracingLayerOAuthStore) GetAccessData(token string) (*model.AccessData, error)
- func (s *OpenTracingLayerOAuthStore) GetAccessDataByRefreshToken(token string) (*model.AccessData, error)
- func (s *OpenTracingLayerOAuthStore) GetAccessDataByUserForApp(userID string, clientId string) ([]*model.AccessData, error)
- func (s *OpenTracingLayerOAuthStore) GetApp(id string) (*model.OAuthApp, error)
- func (s *OpenTracingLayerOAuthStore) GetAppByUser(userID string, offset int, limit int) ([]*model.OAuthApp, error)
- func (s *OpenTracingLayerOAuthStore) GetApps(offset int, limit int) ([]*model.OAuthApp, error)
- func (s *OpenTracingLayerOAuthStore) GetAuthData(code string) (*model.AuthData, error)
- func (s *OpenTracingLayerOAuthStore) GetAuthorizedApps(userID string, offset int, limit int) ([]*model.OAuthApp, error)
- func (s *OpenTracingLayerOAuthStore) GetPreviousAccessData(userID string, clientId string) (*model.AccessData, error)
- func (s *OpenTracingLayerOAuthStore) PermanentDeleteAuthDataByUser(userID string) error
- func (s *OpenTracingLayerOAuthStore) RemoveAccessData(token string) error
- func (s *OpenTracingLayerOAuthStore) RemoveAllAccessData() error
- func (s *OpenTracingLayerOAuthStore) RemoveAuthData(code string) error
- func (s *OpenTracingLayerOAuthStore) SaveAccessData(accessData *model.AccessData) (*model.AccessData, error)
- func (s *OpenTracingLayerOAuthStore) SaveApp(app *model.OAuthApp) (*model.OAuthApp, error)
- func (s *OpenTracingLayerOAuthStore) SaveAuthData(authData *model.AuthData) (*model.AuthData, error)
- func (s *OpenTracingLayerOAuthStore) UpdateAccessData(accessData *model.AccessData) (*model.AccessData, error)
- func (s *OpenTracingLayerOAuthStore) UpdateApp(app *model.OAuthApp) (*model.OAuthApp, error)
- type OpenTracingLayerPluginStore
- func (s *OpenTracingLayerPluginStore) CompareAndDelete(keyVal *model.PluginKeyValue, oldValue []byte) (bool, error)
- func (s *OpenTracingLayerPluginStore) CompareAndSet(keyVal *model.PluginKeyValue, oldValue []byte) (bool, error)
- func (s *OpenTracingLayerPluginStore) Delete(pluginID string, key string) error
- func (s *OpenTracingLayerPluginStore) DeleteAllExpired() error
- func (s *OpenTracingLayerPluginStore) DeleteAllForPlugin(PluginID string) error
- func (s *OpenTracingLayerPluginStore) Get(pluginID string, key string) (*model.PluginKeyValue, error)
- func (s *OpenTracingLayerPluginStore) List(pluginID string, page int, perPage int) ([]string, error)
- func (s *OpenTracingLayerPluginStore) SaveOrUpdate(keyVal *model.PluginKeyValue) (*model.PluginKeyValue, error)
- func (s *OpenTracingLayerPluginStore) SetWithOptions(pluginID string, key string, value []byte, options model.PluginKVSetOptions) (bool, error)
- type OpenTracingLayerPostStore
- func (s *OpenTracingLayerPostStore) AnalyticsPostCount(teamID string, mustHaveFile bool, mustHaveHashtag bool) (int64, error)
- func (s *OpenTracingLayerPostStore) AnalyticsPostCountsByDay(options *model.AnalyticsPostCountsOptions) (model.AnalyticsRows, error)
- func (s *OpenTracingLayerPostStore) AnalyticsUserCountsWithPostsByDay(teamID string) (model.AnalyticsRows, error)
- func (s *OpenTracingLayerPostStore) ClearCaches()
- func (s *OpenTracingLayerPostStore) Delete(postID string, time int64, deleteByID string) error
- func (s *OpenTracingLayerPostStore) DeleteOrphanedRows(limit int) (int64, error)
- func (s *OpenTracingLayerPostStore) Get(ctx context.Context, id string, skipFetchThreads bool, collapsedThreads bool, ...) (*model.PostList, error)
- func (s *OpenTracingLayerPostStore) GetDirectPostParentsForExportAfter(limit int, afterID string) ([]*model.DirectPostForExport, error)
- func (s *OpenTracingLayerPostStore) GetEtag(channelID string, allowFromCache bool, collapsedThreads bool) string
- func (s *OpenTracingLayerPostStore) GetFlaggedPosts(userID string, offset int, limit int) (*model.PostList, error)
- func (s *OpenTracingLayerPostStore) GetFlaggedPostsForChannel(userID string, channelID string, offset int, limit int) (*model.PostList, error)
- func (s *OpenTracingLayerPostStore) GetFlaggedPostsForTeam(userID string, teamID string, offset int, limit int) (*model.PostList, error)
- func (s *OpenTracingLayerPostStore) GetMaxPostSize() int
- func (s *OpenTracingLayerPostStore) GetOldest() (*model.Post, error)
- func (s *OpenTracingLayerPostStore) GetOldestEntityCreationTime() (int64, error)
- func (s *OpenTracingLayerPostStore) GetParentsForExportAfter(limit int, afterID string) ([]*model.PostForExport, error)
- func (s *OpenTracingLayerPostStore) GetPostAfterTime(channelID string, time int64, collapsedThreads bool) (*model.Post, error)
- func (s *OpenTracingLayerPostStore) GetPostIdAfterTime(channelID string, time int64, collapsedThreads bool) (string, error)
- func (s *OpenTracingLayerPostStore) GetPostIdBeforeTime(channelID string, time int64, collapsedThreads bool) (string, error)
- func (s *OpenTracingLayerPostStore) GetPosts(options model.GetPostsOptions, allowFromCache bool) (*model.PostList, error)
- func (s *OpenTracingLayerPostStore) GetPostsAfter(options model.GetPostsOptions) (*model.PostList, error)
- func (s *OpenTracingLayerPostStore) GetPostsBatchForIndexing(startTime int64, endTime int64, limit int) ([]*model.PostForIndexing, error)
- func (s *OpenTracingLayerPostStore) GetPostsBefore(options model.GetPostsOptions) (*model.PostList, error)
- func (s *OpenTracingLayerPostStore) GetPostsByIds(postIds []string) ([]*model.Post, error)
- func (s *OpenTracingLayerPostStore) GetPostsCreatedAt(channelID string, time int64) ([]*model.Post, error)
- func (s *OpenTracingLayerPostStore) GetPostsSince(options model.GetPostsSinceOptions, allowFromCache bool) (*model.PostList, error)
- func (s *OpenTracingLayerPostStore) GetPostsSinceForSync(options model.GetPostsSinceForSyncOptions, ...) ([]*model.Post, model.GetPostsSinceForSyncCursor, error)
- func (s *OpenTracingLayerPostStore) GetRepliesForExport(parentID string) ([]*model.ReplyForExport, error)
- func (s *OpenTracingLayerPostStore) GetSingle(id string, inclDeleted bool) (*model.Post, error)
- func (s *OpenTracingLayerPostStore) HasAutoResponsePostByUserSince(options model.GetPostsSinceOptions, userId string) (bool, error)
- func (s *OpenTracingLayerPostStore) InvalidateLastPostTimeCache(channelID string)
- func (s *OpenTracingLayerPostStore) Overwrite(post *model.Post) (*model.Post, error)
- func (s *OpenTracingLayerPostStore) OverwriteMultiple(posts []*model.Post) ([]*model.Post, int, error)
- func (s *OpenTracingLayerPostStore) PermanentDeleteBatch(endTime int64, limit int64) (int64, error)
- func (s *OpenTracingLayerPostStore) PermanentDeleteBatchForRetentionPolicies(now int64, globalPolicyEndTime int64, limit int64, ...) (int64, model.RetentionPolicyCursor, error)
- func (s *OpenTracingLayerPostStore) PermanentDeleteByChannel(channelID string) error
- func (s *OpenTracingLayerPostStore) PermanentDeleteByUser(userID string) error
- func (s *OpenTracingLayerPostStore) Save(post *model.Post) (*model.Post, error)
- func (s *OpenTracingLayerPostStore) SaveMultiple(posts []*model.Post) ([]*model.Post, int, error)
- func (s *OpenTracingLayerPostStore) Search(teamID string, userID string, params *model.SearchParams) (*model.PostList, error)
- func (s *OpenTracingLayerPostStore) SearchPostsForUser(paramsList []*model.SearchParams, userID string, teamID string, page int, ...) (*model.PostSearchResults, error)
- func (s *OpenTracingLayerPostStore) Update(newPost *model.Post, oldPost *model.Post) (*model.Post, error)
- type OpenTracingLayerPreferenceStore
- func (s *OpenTracingLayerPreferenceStore) CleanupFlagsBatch(limit int64) (int64, error)
- func (s *OpenTracingLayerPreferenceStore) Delete(userID string, category string, name string) error
- func (s *OpenTracingLayerPreferenceStore) DeleteCategory(userID string, category string) error
- func (s *OpenTracingLayerPreferenceStore) DeleteCategoryAndName(category string, name string) error
- func (s *OpenTracingLayerPreferenceStore) DeleteOrphanedRows(limit int) (int64, error)
- func (s *OpenTracingLayerPreferenceStore) Get(userID string, category string, name string) (*model.Preference, error)
- func (s *OpenTracingLayerPreferenceStore) GetAll(userID string) (model.Preferences, error)
- func (s *OpenTracingLayerPreferenceStore) GetCategory(userID string, category string) (model.Preferences, error)
- func (s *OpenTracingLayerPreferenceStore) PermanentDeleteByUser(userID string) error
- func (s *OpenTracingLayerPreferenceStore) Save(preferences model.Preferences) error
- type OpenTracingLayerProductNoticesStore
- func (s *OpenTracingLayerProductNoticesStore) Clear(notices []string) error
- func (s *OpenTracingLayerProductNoticesStore) ClearOldNotices(currentNotices model.ProductNotices) error
- func (s *OpenTracingLayerProductNoticesStore) GetViews(userID string) ([]model.ProductNoticeViewState, error)
- func (s *OpenTracingLayerProductNoticesStore) View(userID string, notices []string) error
- type OpenTracingLayerReactionStore
- func (s *OpenTracingLayerReactionStore) BulkGetForPosts(postIds []string) ([]*model.Reaction, error)
- func (s *OpenTracingLayerReactionStore) Delete(reaction *model.Reaction) (*model.Reaction, error)
- func (s *OpenTracingLayerReactionStore) DeleteAllWithEmojiName(emojiName string) error
- func (s *OpenTracingLayerReactionStore) DeleteOrphanedRows(limit int) (int64, error)
- func (s *OpenTracingLayerReactionStore) GetForPost(postID string, allowFromCache bool) ([]*model.Reaction, error)
- func (s *OpenTracingLayerReactionStore) GetForPostSince(postId string, since int64, excludeRemoteId string, inclDeleted bool) ([]*model.Reaction, error)
- func (s *OpenTracingLayerReactionStore) PermanentDeleteBatch(endTime int64, limit int64) (int64, error)
- func (s *OpenTracingLayerReactionStore) Save(reaction *model.Reaction) (*model.Reaction, error)
- type OpenTracingLayerRemoteClusterStore
- func (s *OpenTracingLayerRemoteClusterStore) Delete(remoteClusterId string) (bool, error)
- func (s *OpenTracingLayerRemoteClusterStore) Get(remoteClusterId string) (*model.RemoteCluster, error)
- func (s *OpenTracingLayerRemoteClusterStore) GetAll(filter model.RemoteClusterQueryFilter) ([]*model.RemoteCluster, error)
- func (s *OpenTracingLayerRemoteClusterStore) Save(rc *model.RemoteCluster) (*model.RemoteCluster, error)
- func (s *OpenTracingLayerRemoteClusterStore) SetLastPingAt(remoteClusterId string) error
- func (s *OpenTracingLayerRemoteClusterStore) Update(rc *model.RemoteCluster) (*model.RemoteCluster, error)
- func (s *OpenTracingLayerRemoteClusterStore) UpdateTopics(remoteClusterId string, topics string) (*model.RemoteCluster, error)
- type OpenTracingLayerRetentionPolicyStore
- func (s *OpenTracingLayerRetentionPolicyStore) AddChannels(policyId string, channelIds []string) error
- func (s *OpenTracingLayerRetentionPolicyStore) AddTeams(policyId string, teamIds []string) error
- func (s *OpenTracingLayerRetentionPolicyStore) Delete(id string) error
- func (s *OpenTracingLayerRetentionPolicyStore) DeleteOrphanedRows(limit int) (int64, error)
- func (s *OpenTracingLayerRetentionPolicyStore) Get(id string) (*model.RetentionPolicyWithTeamAndChannelCounts, error)
- func (s *OpenTracingLayerRetentionPolicyStore) GetAll(offset int, limit int) ([]*model.RetentionPolicyWithTeamAndChannelCounts, error)
- func (s *OpenTracingLayerRetentionPolicyStore) GetChannelPoliciesCountForUser(userID string) (int64, error)
- func (s *OpenTracingLayerRetentionPolicyStore) GetChannelPoliciesForUser(userID string, offset int, limit int) ([]*model.RetentionPolicyForChannel, error)
- func (s *OpenTracingLayerRetentionPolicyStore) GetChannels(policyId string, offset int, limit int) (model.ChannelListWithTeamData, error)
- func (s *OpenTracingLayerRetentionPolicyStore) GetChannelsCount(policyId string) (int64, error)
- func (s *OpenTracingLayerRetentionPolicyStore) GetCount() (int64, error)
- func (s *OpenTracingLayerRetentionPolicyStore) GetTeamPoliciesCountForUser(userID string) (int64, error)
- func (s *OpenTracingLayerRetentionPolicyStore) GetTeamPoliciesForUser(userID string, offset int, limit int) ([]*model.RetentionPolicyForTeam, error)
- func (s *OpenTracingLayerRetentionPolicyStore) GetTeams(policyId string, offset int, limit int) ([]*model.Team, error)
- func (s *OpenTracingLayerRetentionPolicyStore) GetTeamsCount(policyId string) (int64, error)
- func (s *OpenTracingLayerRetentionPolicyStore) Patch(patch *model.RetentionPolicyWithTeamAndChannelIDs) (*model.RetentionPolicyWithTeamAndChannelCounts, error)
- func (s *OpenTracingLayerRetentionPolicyStore) RemoveChannels(policyId string, channelIds []string) error
- func (s *OpenTracingLayerRetentionPolicyStore) RemoveTeams(policyId string, teamIds []string) error
- func (s *OpenTracingLayerRetentionPolicyStore) Save(policy *model.RetentionPolicyWithTeamAndChannelIDs) (*model.RetentionPolicyWithTeamAndChannelCounts, error)
- type OpenTracingLayerRoleStore
- func (s *OpenTracingLayerRoleStore) AllChannelSchemeRoles() ([]*model.Role, error)
- func (s *OpenTracingLayerRoleStore) ChannelHigherScopedPermissions(roleNames []string) (map[string]*model.RolePermissions, error)
- func (s *OpenTracingLayerRoleStore) ChannelRolesUnderTeamRole(roleName string) ([]*model.Role, error)
- func (s *OpenTracingLayerRoleStore) Delete(roleID string) (*model.Role, error)
- func (s *OpenTracingLayerRoleStore) Get(roleID string) (*model.Role, error)
- func (s *OpenTracingLayerRoleStore) GetAll() ([]*model.Role, error)
- func (s *OpenTracingLayerRoleStore) GetByName(ctx context.Context, name string) (*model.Role, error)
- func (s *OpenTracingLayerRoleStore) GetByNames(names []string) ([]*model.Role, error)
- func (s *OpenTracingLayerRoleStore) PermanentDeleteAll() error
- func (s *OpenTracingLayerRoleStore) Save(role *model.Role) (*model.Role, error)
- type OpenTracingLayerSchemeStore
- func (s *OpenTracingLayerSchemeStore) CountByScope(scope string) (int64, error)
- func (s *OpenTracingLayerSchemeStore) CountWithoutPermission(scope string, permissionID string, roleScope model.RoleScope, ...) (int64, error)
- func (s *OpenTracingLayerSchemeStore) Delete(schemeID string) (*model.Scheme, error)
- func (s *OpenTracingLayerSchemeStore) Get(schemeID string) (*model.Scheme, error)
- func (s *OpenTracingLayerSchemeStore) GetAllPage(scope string, offset int, limit int) ([]*model.Scheme, error)
- func (s *OpenTracingLayerSchemeStore) GetByName(schemeName string) (*model.Scheme, error)
- func (s *OpenTracingLayerSchemeStore) PermanentDeleteAll() error
- func (s *OpenTracingLayerSchemeStore) Save(scheme *model.Scheme) (*model.Scheme, error)
- type OpenTracingLayerSessionStore
- func (s *OpenTracingLayerSessionStore) AnalyticsSessionCount() (int64, error)
- func (s *OpenTracingLayerSessionStore) Cleanup(expiryTime int64, batchSize int64) error
- func (s *OpenTracingLayerSessionStore) Get(ctx context.Context, sessionIDOrToken string) (*model.Session, error)
- func (s *OpenTracingLayerSessionStore) GetSessions(userID string) ([]*model.Session, error)
- func (s *OpenTracingLayerSessionStore) GetSessionsExpired(thresholdMillis int64, mobileOnly bool, unnotifiedOnly bool) ([]*model.Session, error)
- func (s *OpenTracingLayerSessionStore) GetSessionsWithActiveDeviceIds(userID string) ([]*model.Session, error)
- func (s *OpenTracingLayerSessionStore) PermanentDeleteSessionsByUser(teamID string) error
- func (s *OpenTracingLayerSessionStore) Remove(sessionIDOrToken string) error
- func (s *OpenTracingLayerSessionStore) RemoveAllSessions() error
- func (s *OpenTracingLayerSessionStore) Save(session *model.Session) (*model.Session, error)
- func (s *OpenTracingLayerSessionStore) UpdateDeviceId(id string, deviceID string, expiresAt int64) (string, error)
- func (s *OpenTracingLayerSessionStore) UpdateExpiredNotify(sessionid string, notified bool) error
- func (s *OpenTracingLayerSessionStore) UpdateExpiresAt(sessionID string, time int64) error
- func (s *OpenTracingLayerSessionStore) UpdateLastActivityAt(sessionID string, time int64) error
- func (s *OpenTracingLayerSessionStore) UpdateProps(session *model.Session) error
- func (s *OpenTracingLayerSessionStore) UpdateRoles(userID string, roles string) (string, error)
- type OpenTracingLayerSharedChannelStore
- func (s *OpenTracingLayerSharedChannelStore) Delete(channelId string) (bool, error)
- func (s *OpenTracingLayerSharedChannelStore) DeleteRemote(remoteId string) (bool, error)
- func (s *OpenTracingLayerSharedChannelStore) Get(channelId string) (*model.SharedChannel, error)
- func (s *OpenTracingLayerSharedChannelStore) GetAll(offset int, limit int, opts model.SharedChannelFilterOpts) ([]*model.SharedChannel, error)
- func (s *OpenTracingLayerSharedChannelStore) GetAllCount(opts model.SharedChannelFilterOpts) (int64, error)
- func (s *OpenTracingLayerSharedChannelStore) GetAttachment(fileId string, remoteId string) (*model.SharedChannelAttachment, error)
- func (s *OpenTracingLayerSharedChannelStore) GetRemote(id string) (*model.SharedChannelRemote, error)
- func (s *OpenTracingLayerSharedChannelStore) GetRemoteByIds(channelId string, remoteId string) (*model.SharedChannelRemote, error)
- func (s *OpenTracingLayerSharedChannelStore) GetRemoteForUser(remoteId string, userId string) (*model.RemoteCluster, error)
- func (s *OpenTracingLayerSharedChannelStore) GetRemotes(opts model.SharedChannelRemoteFilterOpts) ([]*model.SharedChannelRemote, error)
- func (s *OpenTracingLayerSharedChannelStore) GetRemotesStatus(channelId string) ([]*model.SharedChannelRemoteStatus, error)
- func (s *OpenTracingLayerSharedChannelStore) GetSingleUser(userID string, channelID string, remoteID string) (*model.SharedChannelUser, error)
- func (s *OpenTracingLayerSharedChannelStore) GetUsersForSync(filter model.GetUsersForSyncFilter) ([]*model.User, error)
- func (s *OpenTracingLayerSharedChannelStore) GetUsersForUser(userID string) ([]*model.SharedChannelUser, error)
- func (s *OpenTracingLayerSharedChannelStore) HasChannel(channelID string) (bool, error)
- func (s *OpenTracingLayerSharedChannelStore) HasRemote(channelID string, remoteId string) (bool, error)
- func (s *OpenTracingLayerSharedChannelStore) Save(sc *model.SharedChannel) (*model.SharedChannel, error)
- func (s *OpenTracingLayerSharedChannelStore) SaveAttachment(remote *model.SharedChannelAttachment) (*model.SharedChannelAttachment, error)
- func (s *OpenTracingLayerSharedChannelStore) SaveRemote(remote *model.SharedChannelRemote) (*model.SharedChannelRemote, error)
- func (s *OpenTracingLayerSharedChannelStore) SaveUser(remote *model.SharedChannelUser) (*model.SharedChannelUser, error)
- func (s *OpenTracingLayerSharedChannelStore) Update(sc *model.SharedChannel) (*model.SharedChannel, error)
- func (s *OpenTracingLayerSharedChannelStore) UpdateAttachmentLastSyncAt(id string, syncTime int64) error
- func (s *OpenTracingLayerSharedChannelStore) UpdateRemote(remote *model.SharedChannelRemote) (*model.SharedChannelRemote, error)
- func (s *OpenTracingLayerSharedChannelStore) UpdateRemoteCursor(id string, cursor model.GetPostsSinceForSyncCursor) error
- func (s *OpenTracingLayerSharedChannelStore) UpdateUserLastSyncAt(userID string, channelID string, remoteID string) error
- func (s *OpenTracingLayerSharedChannelStore) UpsertAttachment(remote *model.SharedChannelAttachment) (string, error)
- type OpenTracingLayerStatusStore
- func (s *OpenTracingLayerStatusStore) Get(userID string) (*model.Status, error)
- func (s *OpenTracingLayerStatusStore) GetByIds(userIds []string) ([]*model.Status, error)
- func (s *OpenTracingLayerStatusStore) GetTotalActiveUsersCount() (int64, error)
- func (s *OpenTracingLayerStatusStore) ResetAll() error
- func (s *OpenTracingLayerStatusStore) SaveOrUpdate(status *model.Status) error
- func (s *OpenTracingLayerStatusStore) UpdateExpiredDNDStatuses() ([]*model.Status, error)
- func (s *OpenTracingLayerStatusStore) UpdateLastActivityAt(userID string, lastActivityAt int64) error
- type OpenTracingLayerSystemStore
- func (s *OpenTracingLayerSystemStore) Get() (model.StringMap, error)
- func (s *OpenTracingLayerSystemStore) GetByName(name string) (*model.System, error)
- func (s *OpenTracingLayerSystemStore) InsertIfExists(system *model.System) (*model.System, error)
- func (s *OpenTracingLayerSystemStore) PermanentDeleteByName(name string) (*model.System, error)
- func (s *OpenTracingLayerSystemStore) Save(system *model.System) error
- func (s *OpenTracingLayerSystemStore) SaveOrUpdate(system *model.System) error
- func (s *OpenTracingLayerSystemStore) SaveOrUpdateWithWarnMetricHandling(system *model.System) error
- func (s *OpenTracingLayerSystemStore) Update(system *model.System) error
- type OpenTracingLayerTeamStore
- func (s *OpenTracingLayerTeamStore) AnalyticsGetTeamCountForScheme(schemeID string) (int64, error)
- func (s *OpenTracingLayerTeamStore) AnalyticsTeamCount(opts *model.TeamSearch) (int64, error)
- func (s *OpenTracingLayerTeamStore) ClearAllCustomRoleAssignments() error
- func (s *OpenTracingLayerTeamStore) ClearCaches()
- func (s *OpenTracingLayerTeamStore) Get(id string) (*model.Team, error)
- func (s *OpenTracingLayerTeamStore) GetActiveMemberCount(teamID string, restrictions *model.ViewUsersRestrictions) (int64, error)
- func (s *OpenTracingLayerTeamStore) GetAll() ([]*model.Team, error)
- func (s *OpenTracingLayerTeamStore) GetAllForExportAfter(limit int, afterID string) ([]*model.TeamForExport, error)
- func (s *OpenTracingLayerTeamStore) GetAllPage(offset int, limit int, opts *model.TeamSearch) ([]*model.Team, error)
- func (s *OpenTracingLayerTeamStore) GetAllPrivateTeamListing() ([]*model.Team, error)
- func (s *OpenTracingLayerTeamStore) GetAllTeamListing() ([]*model.Team, error)
- func (s *OpenTracingLayerTeamStore) GetByInviteId(inviteID string) (*model.Team, error)
- func (s *OpenTracingLayerTeamStore) GetByName(name string) (*model.Team, error)
- func (s *OpenTracingLayerTeamStore) GetByNames(name []string) ([]*model.Team, error)
- func (s *OpenTracingLayerTeamStore) GetChannelUnreadsForAllTeams(excludeTeamID string, userID string) ([]*model.ChannelUnread, error)
- func (s *OpenTracingLayerTeamStore) GetChannelUnreadsForTeam(teamID string, userID string) ([]*model.ChannelUnread, error)
- func (s *OpenTracingLayerTeamStore) GetCommonTeamIDsForTwoUsers(userID string, otherUserID string) ([]string, error)
- func (s *OpenTracingLayerTeamStore) GetMember(ctx context.Context, teamID string, userID string) (*model.TeamMember, error)
- func (s *OpenTracingLayerTeamStore) GetMembers(teamID string, offset int, limit int, ...) ([]*model.TeamMember, error)
- func (s *OpenTracingLayerTeamStore) GetMembersByIds(teamID string, userIds []string, restrictions *model.ViewUsersRestrictions) ([]*model.TeamMember, error)
- func (s *OpenTracingLayerTeamStore) GetTeamMembersForExport(userID string) ([]*model.TeamMemberForExport, error)
- func (s *OpenTracingLayerTeamStore) GetTeamsByScheme(schemeID string, offset int, limit int) ([]*model.Team, error)
- func (s *OpenTracingLayerTeamStore) GetTeamsByUserId(userID string) ([]*model.Team, error)
- func (s *OpenTracingLayerTeamStore) GetTeamsForUser(ctx context.Context, userID string) ([]*model.TeamMember, error)
- func (s *OpenTracingLayerTeamStore) GetTeamsForUserWithPagination(userID string, page int, perPage int) ([]*model.TeamMember, error)
- func (s *OpenTracingLayerTeamStore) GetTotalMemberCount(teamID string, restrictions *model.ViewUsersRestrictions) (int64, error)
- func (s *OpenTracingLayerTeamStore) GetUserTeamIds(userID string, allowFromCache bool) ([]string, error)
- func (s *OpenTracingLayerTeamStore) GroupSyncedTeamCount() (int64, error)
- func (s *OpenTracingLayerTeamStore) InvalidateAllTeamIdsForUser(userID string)
- func (s *OpenTracingLayerTeamStore) MigrateTeamMembers(fromTeamID string, fromUserID string) (map[string]string, error)
- func (s *OpenTracingLayerTeamStore) PermanentDelete(teamID string) error
- func (s *OpenTracingLayerTeamStore) RemoveAllMembersByTeam(teamID string) error
- func (s *OpenTracingLayerTeamStore) RemoveAllMembersByUser(userID string) error
- func (s *OpenTracingLayerTeamStore) RemoveMember(teamID string, userID string) error
- func (s *OpenTracingLayerTeamStore) RemoveMembers(teamID string, userIds []string) error
- func (s *OpenTracingLayerTeamStore) ResetAllTeamSchemes() error
- func (s *OpenTracingLayerTeamStore) Save(team *model.Team) (*model.Team, error)
- func (s *OpenTracingLayerTeamStore) SaveMember(member *model.TeamMember, maxUsersPerTeam int) (*model.TeamMember, error)
- func (s *OpenTracingLayerTeamStore) SaveMultipleMembers(members []*model.TeamMember, maxUsersPerTeam int) ([]*model.TeamMember, error)
- func (s *OpenTracingLayerTeamStore) SearchAll(opts *model.TeamSearch) ([]*model.Team, error)
- func (s *OpenTracingLayerTeamStore) SearchAllPaged(opts *model.TeamSearch) ([]*model.Team, int64, error)
- func (s *OpenTracingLayerTeamStore) SearchOpen(opts *model.TeamSearch) ([]*model.Team, error)
- func (s *OpenTracingLayerTeamStore) SearchPrivate(opts *model.TeamSearch) ([]*model.Team, error)
- func (s *OpenTracingLayerTeamStore) Update(team *model.Team) (*model.Team, error)
- func (s *OpenTracingLayerTeamStore) UpdateLastTeamIconUpdate(teamID string, curTime int64) error
- func (s *OpenTracingLayerTeamStore) UpdateMember(member *model.TeamMember) (*model.TeamMember, error)
- func (s *OpenTracingLayerTeamStore) UpdateMembersRole(teamID string, userIDs []string) error
- func (s *OpenTracingLayerTeamStore) UpdateMultipleMembers(members []*model.TeamMember) ([]*model.TeamMember, error)
- func (s *OpenTracingLayerTeamStore) UserBelongsToTeams(userID string, teamIds []string) (bool, error)
- type OpenTracingLayerTermsOfServiceStore
- func (s *OpenTracingLayerTermsOfServiceStore) Get(id string, allowFromCache bool) (*model.TermsOfService, error)
- func (s *OpenTracingLayerTermsOfServiceStore) GetLatest(allowFromCache bool) (*model.TermsOfService, error)
- func (s *OpenTracingLayerTermsOfServiceStore) Save(termsOfService *model.TermsOfService) (*model.TermsOfService, error)
- type OpenTracingLayerThreadStore
- func (s *OpenTracingLayerThreadStore) CollectThreadsWithNewerReplies(userId string, channelIds []string, timestamp int64) ([]string, error)
- func (s *OpenTracingLayerThreadStore) Delete(postID string) error
- func (s *OpenTracingLayerThreadStore) DeleteMembershipForUser(userId string, postID string) error
- func (s *OpenTracingLayerThreadStore) DeleteOrphanedRows(limit int) (int64, error)
- func (s *OpenTracingLayerThreadStore) Get(id string) (*model.Thread, error)
- func (s *OpenTracingLayerThreadStore) GetMembershipForUser(userId string, postID string) (*model.ThreadMembership, error)
- func (s *OpenTracingLayerThreadStore) GetMembershipsForUser(userId string, teamID string) ([]*model.ThreadMembership, error)
- func (s *OpenTracingLayerThreadStore) GetPosts(threadID string, since int64) ([]*model.Post, error)
- func (s *OpenTracingLayerThreadStore) GetThreadFollowers(threadID string, fetchOnlyActive bool) ([]string, error)
- func (s *OpenTracingLayerThreadStore) GetThreadForUser(teamID string, threadMembership *model.ThreadMembership, extended bool) (*model.ThreadResponse, error)
- func (s *OpenTracingLayerThreadStore) GetThreadsForUser(userId string, teamID string, opts model.GetUserThreadsOpts) (*model.Threads, error)
- func (s *OpenTracingLayerThreadStore) MaintainMembership(userID string, postID string, opts store.ThreadMembershipOpts) (*model.ThreadMembership, error)
- func (s *OpenTracingLayerThreadStore) MarkAllAsRead(userID string, teamID string) error
- func (s *OpenTracingLayerThreadStore) MarkAllAsReadInChannels(userID string, channelIDs []string) error
- func (s *OpenTracingLayerThreadStore) MarkAsRead(userID string, threadID string, timestamp int64) error
- func (s *OpenTracingLayerThreadStore) PermanentDeleteBatchForRetentionPolicies(now int64, globalPolicyEndTime int64, limit int64, ...) (int64, model.RetentionPolicyCursor, error)
- func (s *OpenTracingLayerThreadStore) PermanentDeleteBatchThreadMembershipsForRetentionPolicies(now int64, globalPolicyEndTime int64, limit int64, ...) (int64, model.RetentionPolicyCursor, error)
- func (s *OpenTracingLayerThreadStore) Save(thread *model.Thread) (*model.Thread, error)
- func (s *OpenTracingLayerThreadStore) SaveMembership(membership *model.ThreadMembership) (*model.ThreadMembership, error)
- func (s *OpenTracingLayerThreadStore) SaveMultiple(thread []*model.Thread) ([]*model.Thread, int, error)
- func (s *OpenTracingLayerThreadStore) Update(thread *model.Thread) (*model.Thread, error)
- func (s *OpenTracingLayerThreadStore) UpdateMembership(membership *model.ThreadMembership) (*model.ThreadMembership, error)
- func (s *OpenTracingLayerThreadStore) UpdateUnreadsByChannel(userId string, changedThreads []string, timestamp int64, ...) error
- type OpenTracingLayerTokenStore
- func (s *OpenTracingLayerTokenStore) Cleanup()
- func (s *OpenTracingLayerTokenStore) Delete(token string) error
- func (s *OpenTracingLayerTokenStore) GetAllTokensByType(tokenType string) ([]*model.Token, error)
- func (s *OpenTracingLayerTokenStore) GetByToken(token string) (*model.Token, error)
- func (s *OpenTracingLayerTokenStore) RemoveAllTokensByType(tokenType string) error
- func (s *OpenTracingLayerTokenStore) Save(recovery *model.Token) error
- type OpenTracingLayerUploadSessionStore
- func (s *OpenTracingLayerUploadSessionStore) Delete(id string) error
- func (s *OpenTracingLayerUploadSessionStore) Get(id string) (*model.UploadSession, error)
- func (s *OpenTracingLayerUploadSessionStore) GetForUser(userID string) ([]*model.UploadSession, error)
- func (s *OpenTracingLayerUploadSessionStore) Save(session *model.UploadSession) (*model.UploadSession, error)
- func (s *OpenTracingLayerUploadSessionStore) Update(session *model.UploadSession) error
- type OpenTracingLayerUserAccessTokenStore
- func (s *OpenTracingLayerUserAccessTokenStore) Delete(tokenID string) error
- func (s *OpenTracingLayerUserAccessTokenStore) DeleteAllForUser(userID string) error
- func (s *OpenTracingLayerUserAccessTokenStore) Get(tokenID string) (*model.UserAccessToken, error)
- func (s *OpenTracingLayerUserAccessTokenStore) GetAll(offset int, limit int) ([]*model.UserAccessToken, error)
- func (s *OpenTracingLayerUserAccessTokenStore) GetByToken(tokenString string) (*model.UserAccessToken, error)
- func (s *OpenTracingLayerUserAccessTokenStore) GetByUser(userID string, page int, perPage int) ([]*model.UserAccessToken, error)
- func (s *OpenTracingLayerUserAccessTokenStore) Save(token *model.UserAccessToken) (*model.UserAccessToken, error)
- func (s *OpenTracingLayerUserAccessTokenStore) Search(term string) ([]*model.UserAccessToken, error)
- func (s *OpenTracingLayerUserAccessTokenStore) UpdateTokenDisable(tokenID string) error
- func (s *OpenTracingLayerUserAccessTokenStore) UpdateTokenEnable(tokenID string) error
- type OpenTracingLayerUserStore
- func (s *OpenTracingLayerUserStore) AnalyticsActiveCount(time int64, options model.UserCountOptions) (int64, error)
- func (s *OpenTracingLayerUserStore) AnalyticsActiveCountForPeriod(startTime int64, endTime int64, options model.UserCountOptions) (int64, error)
- func (s *OpenTracingLayerUserStore) AnalyticsGetExternalUsers(hostDomain string) (bool, error)
- func (s *OpenTracingLayerUserStore) AnalyticsGetGuestCount() (int64, error)
- func (s *OpenTracingLayerUserStore) AnalyticsGetInactiveUsersCount() (int64, error)
- func (s *OpenTracingLayerUserStore) AnalyticsGetSystemAdminCount() (int64, error)
- func (s *OpenTracingLayerUserStore) AutocompleteUsersInChannel(teamID string, channelID string, term string, options *model.UserSearchOptions) (*model.UserAutocompleteInChannel, error)
- func (s *OpenTracingLayerUserStore) ClearAllCustomRoleAssignments() error
- func (s *OpenTracingLayerUserStore) ClearCaches()
- func (s *OpenTracingLayerUserStore) Count(options model.UserCountOptions) (int64, error)
- func (s *OpenTracingLayerUserStore) DeactivateGuests() ([]string, error)
- func (s *OpenTracingLayerUserStore) DemoteUserToGuest(userID string) (*model.User, error)
- func (s *OpenTracingLayerUserStore) Get(ctx context.Context, id string) (*model.User, error)
- func (s *OpenTracingLayerUserStore) GetAll() ([]*model.User, error)
- func (s *OpenTracingLayerUserStore) GetAllAfter(limit int, afterID string) ([]*model.User, error)
- func (s *OpenTracingLayerUserStore) GetAllNotInAuthService(authServices []string) ([]*model.User, error)
- func (s *OpenTracingLayerUserStore) GetAllProfiles(options *model.UserGetOptions) ([]*model.User, error)
- func (s *OpenTracingLayerUserStore) GetAllProfilesInChannel(ctx context.Context, channelID string, allowFromCache bool) (map[string]*model.User, error)
- func (s *OpenTracingLayerUserStore) GetAllUsingAuthService(authService string) ([]*model.User, error)
- func (s *OpenTracingLayerUserStore) GetAnyUnreadPostCountForChannel(userID string, channelID string) (int64, error)
- func (s *OpenTracingLayerUserStore) GetByAuth(authData *string, authService string) (*model.User, error)
- func (s *OpenTracingLayerUserStore) GetByEmail(email string) (*model.User, error)
- func (s *OpenTracingLayerUserStore) GetByUsername(username string) (*model.User, error)
- func (s *OpenTracingLayerUserStore) GetChannelGroupUsers(channelID string) ([]*model.User, error)
- func (s *OpenTracingLayerUserStore) GetEtagForAllProfiles() string
- func (s *OpenTracingLayerUserStore) GetEtagForProfiles(teamID string) string
- func (s *OpenTracingLayerUserStore) GetEtagForProfilesNotInTeam(teamID string) string
- func (s *OpenTracingLayerUserStore) GetForLogin(loginID string, allowSignInWithUsername bool, allowSignInWithEmail bool) (*model.User, error)
- func (s *OpenTracingLayerUserStore) GetKnownUsers(userID string) ([]string, error)
- func (s *OpenTracingLayerUserStore) GetMany(ctx context.Context, ids []string) ([]*model.User, error)
- func (s *OpenTracingLayerUserStore) GetNewUsersForTeam(teamID string, offset int, limit int, ...) ([]*model.User, error)
- func (s *OpenTracingLayerUserStore) GetProfileByGroupChannelIdsForUser(userID string, channelIds []string) (map[string][]*model.User, error)
- func (s *OpenTracingLayerUserStore) GetProfileByIds(ctx context.Context, userIds []string, options *store.UserGetByIdsOpts, ...) ([]*model.User, error)
- func (s *OpenTracingLayerUserStore) GetProfiles(options *model.UserGetOptions) ([]*model.User, error)
- func (s *OpenTracingLayerUserStore) GetProfilesByUsernames(usernames []string, viewRestrictions *model.ViewUsersRestrictions) ([]*model.User, error)
- func (s *OpenTracingLayerUserStore) GetProfilesInChannel(options *model.UserGetOptions) ([]*model.User, error)
- func (s *OpenTracingLayerUserStore) GetProfilesInChannelByStatus(options *model.UserGetOptions) ([]*model.User, error)
- func (s *OpenTracingLayerUserStore) GetProfilesNotInChannel(teamID string, channelId string, groupConstrained bool, offset int, limit int, ...) ([]*model.User, error)
- func (s *OpenTracingLayerUserStore) GetProfilesNotInTeam(teamID string, groupConstrained bool, offset int, limit int, ...) ([]*model.User, error)
- func (s *OpenTracingLayerUserStore) GetProfilesWithoutTeam(options *model.UserGetOptions) ([]*model.User, error)
- func (s *OpenTracingLayerUserStore) GetRecentlyActiveUsersForTeam(teamID string, offset int, limit int, ...) ([]*model.User, error)
- func (s *OpenTracingLayerUserStore) GetSystemAdminProfiles() (map[string]*model.User, error)
- func (s *OpenTracingLayerUserStore) GetTeamGroupUsers(teamID string) ([]*model.User, error)
- func (s *OpenTracingLayerUserStore) GetUnreadCount(userID string) (int64, error)
- func (s *OpenTracingLayerUserStore) GetUnreadCountForChannel(userID string, channelID string) (int64, error)
- func (s *OpenTracingLayerUserStore) GetUsersBatchForIndexing(startTime int64, endTime int64, limit int) ([]*model.UserForIndexing, error)
- func (s *OpenTracingLayerUserStore) InferSystemInstallDate() (int64, error)
- func (s *OpenTracingLayerUserStore) InvalidateProfileCacheForUser(userID string)
- func (s *OpenTracingLayerUserStore) InvalidateProfilesInChannelCache(channelID string)
- func (s *OpenTracingLayerUserStore) InvalidateProfilesInChannelCacheByUser(userID string)
- func (s *OpenTracingLayerUserStore) IsEmpty(excludeBots bool) (bool, error)
- func (s *OpenTracingLayerUserStore) PermanentDelete(userID string) error
- func (s *OpenTracingLayerUserStore) PromoteGuestToUser(userID string) error
- func (s *OpenTracingLayerUserStore) ResetAuthDataToEmailForUsers(service string, userIDs []string, includeDeleted bool, dryRun bool) (int, error)
- func (s *OpenTracingLayerUserStore) ResetLastPictureUpdate(userID string) error
- func (s *OpenTracingLayerUserStore) Save(user *model.User) (*model.User, error)
- func (s *OpenTracingLayerUserStore) Search(teamID string, term string, options *model.UserSearchOptions) ([]*model.User, error)
- func (s *OpenTracingLayerUserStore) SearchInChannel(channelID string, term string, options *model.UserSearchOptions) ([]*model.User, error)
- func (s *OpenTracingLayerUserStore) SearchInGroup(groupID string, term string, options *model.UserSearchOptions) ([]*model.User, error)
- func (s *OpenTracingLayerUserStore) SearchNotInChannel(teamID string, channelID string, term string, options *model.UserSearchOptions) ([]*model.User, error)
- func (s *OpenTracingLayerUserStore) SearchNotInTeam(notInTeamID string, term string, options *model.UserSearchOptions) ([]*model.User, error)
- func (s *OpenTracingLayerUserStore) SearchWithoutTeam(term string, options *model.UserSearchOptions) ([]*model.User, error)
- func (s *OpenTracingLayerUserStore) Update(user *model.User, allowRoleUpdate bool) (*model.UserUpdate, error)
- func (s *OpenTracingLayerUserStore) UpdateAuthData(userID string, service string, authData *string, email string, resetMfa bool) (string, error)
- func (s *OpenTracingLayerUserStore) UpdateFailedPasswordAttempts(userID string, attempts int) error
- func (s *OpenTracingLayerUserStore) UpdateLastPictureUpdate(userID string) error
- func (s *OpenTracingLayerUserStore) UpdateMfaActive(userID string, active bool) error
- func (s *OpenTracingLayerUserStore) UpdateMfaSecret(userID string, secret string) error
- func (s *OpenTracingLayerUserStore) UpdateNotifyProps(userID string, props map[string]string) error
- func (s *OpenTracingLayerUserStore) UpdatePassword(userID string, newPassword string) error
- func (s *OpenTracingLayerUserStore) UpdateUpdateAt(userID string) (int64, error)
- func (s *OpenTracingLayerUserStore) VerifyEmail(userID string, email string) (string, error)
- type OpenTracingLayerUserTermsOfServiceStore
- func (s *OpenTracingLayerUserTermsOfServiceStore) Delete(userID string, termsOfServiceId string) error
- func (s *OpenTracingLayerUserTermsOfServiceStore) GetByUser(userID string) (*model.UserTermsOfService, error)
- func (s *OpenTracingLayerUserTermsOfServiceStore) Save(userTermsOfService *model.UserTermsOfService) (*model.UserTermsOfService, error)
- type OpenTracingLayerWebhookStore
- func (s *OpenTracingLayerWebhookStore) AnalyticsIncomingCount(teamID string) (int64, error)
- func (s *OpenTracingLayerWebhookStore) AnalyticsOutgoingCount(teamID string) (int64, error)
- func (s *OpenTracingLayerWebhookStore) ClearCaches()
- func (s *OpenTracingLayerWebhookStore) DeleteIncoming(webhookID string, time int64) error
- func (s *OpenTracingLayerWebhookStore) DeleteOutgoing(webhookID string, time int64) error
- func (s *OpenTracingLayerWebhookStore) GetIncoming(id string, allowFromCache bool) (*model.IncomingWebhook, error)
- func (s *OpenTracingLayerWebhookStore) GetIncomingByChannel(channelID string) ([]*model.IncomingWebhook, error)
- func (s *OpenTracingLayerWebhookStore) GetIncomingByTeam(teamID string, offset int, limit int) ([]*model.IncomingWebhook, error)
- func (s *OpenTracingLayerWebhookStore) GetIncomingByTeamByUser(teamID string, userID string, offset int, limit int) ([]*model.IncomingWebhook, error)
- func (s *OpenTracingLayerWebhookStore) GetIncomingList(offset int, limit int) ([]*model.IncomingWebhook, error)
- func (s *OpenTracingLayerWebhookStore) GetIncomingListByUser(userID string, offset int, limit int) ([]*model.IncomingWebhook, error)
- func (s *OpenTracingLayerWebhookStore) GetOutgoing(id string) (*model.OutgoingWebhook, error)
- func (s *OpenTracingLayerWebhookStore) GetOutgoingByChannel(channelID string, offset int, limit int) ([]*model.OutgoingWebhook, error)
- func (s *OpenTracingLayerWebhookStore) GetOutgoingByChannelByUser(channelID string, userID string, offset int, limit int) ([]*model.OutgoingWebhook, error)
- func (s *OpenTracingLayerWebhookStore) GetOutgoingByTeam(teamID string, offset int, limit int) ([]*model.OutgoingWebhook, error)
- func (s *OpenTracingLayerWebhookStore) GetOutgoingByTeamByUser(teamID string, userID string, offset int, limit int) ([]*model.OutgoingWebhook, error)
- func (s *OpenTracingLayerWebhookStore) GetOutgoingList(offset int, limit int) ([]*model.OutgoingWebhook, error)
- func (s *OpenTracingLayerWebhookStore) GetOutgoingListByUser(userID string, offset int, limit int) ([]*model.OutgoingWebhook, error)
- func (s *OpenTracingLayerWebhookStore) InvalidateWebhookCache(webhook string)
- func (s *OpenTracingLayerWebhookStore) PermanentDeleteIncomingByChannel(channelID string) error
- func (s *OpenTracingLayerWebhookStore) PermanentDeleteIncomingByUser(userID string) error
- func (s *OpenTracingLayerWebhookStore) PermanentDeleteOutgoingByChannel(channelID string) error
- func (s *OpenTracingLayerWebhookStore) PermanentDeleteOutgoingByUser(userID string) error
- func (s *OpenTracingLayerWebhookStore) SaveIncoming(webhook *model.IncomingWebhook) (*model.IncomingWebhook, error)
- func (s *OpenTracingLayerWebhookStore) SaveOutgoing(webhook *model.OutgoingWebhook) (*model.OutgoingWebhook, error)
- func (s *OpenTracingLayerWebhookStore) UpdateIncoming(webhook *model.IncomingWebhook) (*model.IncomingWebhook, error)
- func (s *OpenTracingLayerWebhookStore) UpdateOutgoing(hook *model.OutgoingWebhook) (*model.OutgoingWebhook, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenTracingLayer ¶
type OpenTracingLayer struct { store.Store AuditStore store.AuditStore BotStore store.BotStore ChannelStore store.ChannelStore ChannelMemberHistoryStore store.ChannelMemberHistoryStore ClusterDiscoveryStore store.ClusterDiscoveryStore CommandStore store.CommandStore CommandWebhookStore store.CommandWebhookStore ComplianceStore store.ComplianceStore EmojiStore store.EmojiStore FileInfoStore store.FileInfoStore GroupStore store.GroupStore JobStore store.JobStore LicenseStore store.LicenseStore LinkMetadataStore store.LinkMetadataStore OAuthStore store.OAuthStore PluginStore store.PluginStore PostStore store.PostStore PreferenceStore store.PreferenceStore ProductNoticesStore store.ProductNoticesStore ReactionStore store.ReactionStore RemoteClusterStore store.RemoteClusterStore RetentionPolicyStore store.RetentionPolicyStore RoleStore store.RoleStore SchemeStore store.SchemeStore SessionStore store.SessionStore StatusStore store.StatusStore SystemStore store.SystemStore TeamStore store.TeamStore TermsOfServiceStore store.TermsOfServiceStore ThreadStore store.ThreadStore TokenStore store.TokenStore UploadSessionStore store.UploadSessionStore UserStore store.UserStore UserAccessTokenStore store.UserAccessTokenStore UserTermsOfServiceStore store.UserTermsOfServiceStore WebhookStore store.WebhookStore }
func (*OpenTracingLayer) Audit ¶
func (s *OpenTracingLayer) Audit() store.AuditStore
func (*OpenTracingLayer) Bot ¶
func (s *OpenTracingLayer) Bot() store.BotStore
func (*OpenTracingLayer) Channel ¶
func (s *OpenTracingLayer) Channel() store.ChannelStore
func (*OpenTracingLayer) ChannelMemberHistory ¶
func (s *OpenTracingLayer) ChannelMemberHistory() store.ChannelMemberHistoryStore
func (*OpenTracingLayer) Close ¶
func (s *OpenTracingLayer) Close()
func (*OpenTracingLayer) ClusterDiscovery ¶
func (s *OpenTracingLayer) ClusterDiscovery() store.ClusterDiscoveryStore
func (*OpenTracingLayer) Command ¶
func (s *OpenTracingLayer) Command() store.CommandStore
func (*OpenTracingLayer) CommandWebhook ¶
func (s *OpenTracingLayer) CommandWebhook() store.CommandWebhookStore
func (*OpenTracingLayer) Compliance ¶
func (s *OpenTracingLayer) Compliance() store.ComplianceStore
func (*OpenTracingLayer) DropAllTables ¶
func (s *OpenTracingLayer) DropAllTables()
func (*OpenTracingLayer) Emoji ¶
func (s *OpenTracingLayer) Emoji() store.EmojiStore
func (*OpenTracingLayer) FileInfo ¶
func (s *OpenTracingLayer) FileInfo() store.FileInfoStore
func (*OpenTracingLayer) GetCurrentSchemaVersion ¶
func (s *OpenTracingLayer) GetCurrentSchemaVersion() string
func (*OpenTracingLayer) Group ¶
func (s *OpenTracingLayer) Group() store.GroupStore
func (*OpenTracingLayer) Job ¶
func (s *OpenTracingLayer) Job() store.JobStore
func (*OpenTracingLayer) License ¶
func (s *OpenTracingLayer) License() store.LicenseStore
func (*OpenTracingLayer) LinkMetadata ¶
func (s *OpenTracingLayer) LinkMetadata() store.LinkMetadataStore
func (*OpenTracingLayer) LockToMaster ¶
func (s *OpenTracingLayer) LockToMaster()
func (*OpenTracingLayer) MarkSystemRanUnitTests ¶
func (s *OpenTracingLayer) MarkSystemRanUnitTests()
func (*OpenTracingLayer) OAuth ¶
func (s *OpenTracingLayer) OAuth() store.OAuthStore
func (*OpenTracingLayer) Plugin ¶
func (s *OpenTracingLayer) Plugin() store.PluginStore
func (*OpenTracingLayer) Post ¶
func (s *OpenTracingLayer) Post() store.PostStore
func (*OpenTracingLayer) Preference ¶
func (s *OpenTracingLayer) Preference() store.PreferenceStore
func (*OpenTracingLayer) ProductNotices ¶
func (s *OpenTracingLayer) ProductNotices() store.ProductNoticesStore
func (*OpenTracingLayer) Reaction ¶
func (s *OpenTracingLayer) Reaction() store.ReactionStore
func (*OpenTracingLayer) RemoteCluster ¶
func (s *OpenTracingLayer) RemoteCluster() store.RemoteClusterStore
func (*OpenTracingLayer) RetentionPolicy ¶
func (s *OpenTracingLayer) RetentionPolicy() store.RetentionPolicyStore
func (*OpenTracingLayer) Role ¶
func (s *OpenTracingLayer) Role() store.RoleStore
func (*OpenTracingLayer) Scheme ¶
func (s *OpenTracingLayer) Scheme() store.SchemeStore
func (*OpenTracingLayer) Session ¶
func (s *OpenTracingLayer) Session() store.SessionStore
func (*OpenTracingLayer) SetContext ¶
func (s *OpenTracingLayer) SetContext(context context.Context)
func (*OpenTracingLayer) SharedChannel ¶
func (s *OpenTracingLayer) SharedChannel() store.SharedChannelStore
func (*OpenTracingLayer) Status ¶
func (s *OpenTracingLayer) Status() store.StatusStore
func (*OpenTracingLayer) System ¶
func (s *OpenTracingLayer) System() store.SystemStore
func (*OpenTracingLayer) Team ¶
func (s *OpenTracingLayer) Team() store.TeamStore
func (*OpenTracingLayer) TermsOfService ¶
func (s *OpenTracingLayer) TermsOfService() store.TermsOfServiceStore
func (*OpenTracingLayer) Thread ¶
func (s *OpenTracingLayer) Thread() store.ThreadStore
func (*OpenTracingLayer) Token ¶
func (s *OpenTracingLayer) Token() store.TokenStore
func (*OpenTracingLayer) TotalMasterDbConnections ¶
func (s *OpenTracingLayer) TotalMasterDbConnections() int
func (*OpenTracingLayer) TotalReadDbConnections ¶
func (s *OpenTracingLayer) TotalReadDbConnections() int
func (*OpenTracingLayer) TotalSearchDbConnections ¶
func (s *OpenTracingLayer) TotalSearchDbConnections() int
func (*OpenTracingLayer) UnlockFromMaster ¶
func (s *OpenTracingLayer) UnlockFromMaster()
func (*OpenTracingLayer) UploadSession ¶
func (s *OpenTracingLayer) UploadSession() store.UploadSessionStore
func (*OpenTracingLayer) User ¶
func (s *OpenTracingLayer) User() store.UserStore
func (*OpenTracingLayer) UserAccessToken ¶
func (s *OpenTracingLayer) UserAccessToken() store.UserAccessTokenStore
func (*OpenTracingLayer) UserTermsOfService ¶
func (s *OpenTracingLayer) UserTermsOfService() store.UserTermsOfServiceStore
func (*OpenTracingLayer) Webhook ¶
func (s *OpenTracingLayer) Webhook() store.WebhookStore
type OpenTracingLayerAuditStore ¶
type OpenTracingLayerAuditStore struct { store.AuditStore Root *OpenTracingLayer }
func (*OpenTracingLayerAuditStore) PermanentDeleteByUser ¶
func (s *OpenTracingLayerAuditStore) PermanentDeleteByUser(userID string) error
type OpenTracingLayerBotStore ¶
type OpenTracingLayerBotStore struct { store.BotStore Root *OpenTracingLayer }
func (*OpenTracingLayerBotStore) GetAll ¶
func (s *OpenTracingLayerBotStore) GetAll(options *model.BotGetOptions) ([]*model.Bot, error)
func (*OpenTracingLayerBotStore) PermanentDelete ¶
func (s *OpenTracingLayerBotStore) PermanentDelete(userID string) error
type OpenTracingLayerChannelMemberHistoryStore ¶
type OpenTracingLayerChannelMemberHistoryStore struct { store.ChannelMemberHistoryStore Root *OpenTracingLayer }
func (*OpenTracingLayerChannelMemberHistoryStore) DeleteOrphanedRows ¶
func (s *OpenTracingLayerChannelMemberHistoryStore) DeleteOrphanedRows(limit int) (int64, error)
func (*OpenTracingLayerChannelMemberHistoryStore) GetUsersInChannelDuring ¶
func (s *OpenTracingLayerChannelMemberHistoryStore) GetUsersInChannelDuring(startTime int64, endTime int64, channelID string) ([]*model.ChannelMemberHistoryResult, error)
func (*OpenTracingLayerChannelMemberHistoryStore) LogJoinEvent ¶
func (s *OpenTracingLayerChannelMemberHistoryStore) LogJoinEvent(userID string, channelID string, joinTime int64) error
func (*OpenTracingLayerChannelMemberHistoryStore) LogLeaveEvent ¶
func (s *OpenTracingLayerChannelMemberHistoryStore) LogLeaveEvent(userID string, channelID string, leaveTime int64) error
func (*OpenTracingLayerChannelMemberHistoryStore) PermanentDeleteBatch ¶
func (s *OpenTracingLayerChannelMemberHistoryStore) PermanentDeleteBatch(endTime int64, limit int64) (int64, error)
func (*OpenTracingLayerChannelMemberHistoryStore) PermanentDeleteBatchForRetentionPolicies ¶
func (s *OpenTracingLayerChannelMemberHistoryStore) PermanentDeleteBatchForRetentionPolicies(now int64, globalPolicyEndTime int64, limit int64, cursor model.RetentionPolicyCursor) (int64, model.RetentionPolicyCursor, error)
type OpenTracingLayerChannelStore ¶
type OpenTracingLayerChannelStore struct { store.ChannelStore Root *OpenTracingLayer }
func (*OpenTracingLayerChannelStore) AnalyticsDeletedTypeCount ¶
func (s *OpenTracingLayerChannelStore) AnalyticsDeletedTypeCount(teamID string, channelType string) (int64, error)
func (*OpenTracingLayerChannelStore) AnalyticsTypeCount ¶
func (s *OpenTracingLayerChannelStore) AnalyticsTypeCount(teamID string, channelType model.ChannelType) (int64, error)
func (*OpenTracingLayerChannelStore) Autocomplete ¶ added in v6.2.0
func (s *OpenTracingLayerChannelStore) Autocomplete(userID string, term string, includeDeleted bool) (model.ChannelListWithTeamData, error)
func (*OpenTracingLayerChannelStore) AutocompleteInTeam ¶
func (s *OpenTracingLayerChannelStore) AutocompleteInTeam(teamID string, userID string, term string, includeDeleted bool) (model.ChannelList, error)
func (*OpenTracingLayerChannelStore) AutocompleteInTeamForSearch ¶
func (s *OpenTracingLayerChannelStore) AutocompleteInTeamForSearch(teamID string, userID string, term string, includeDeleted bool) (model.ChannelList, error)
func (*OpenTracingLayerChannelStore) ClearAllCustomRoleAssignments ¶
func (s *OpenTracingLayerChannelStore) ClearAllCustomRoleAssignments() error
func (*OpenTracingLayerChannelStore) ClearCaches ¶
func (s *OpenTracingLayerChannelStore) ClearCaches()
func (*OpenTracingLayerChannelStore) ClearSidebarOnTeamLeave ¶
func (s *OpenTracingLayerChannelStore) ClearSidebarOnTeamLeave(userID string, teamID string) error
func (*OpenTracingLayerChannelStore) CountPostsAfter ¶
func (*OpenTracingLayerChannelStore) CreateDirectChannel ¶
func (s *OpenTracingLayerChannelStore) CreateDirectChannel(userID *model.User, otherUserID *model.User, channelOptions ...model.ChannelOption) (*model.Channel, error)
func (*OpenTracingLayerChannelStore) CreateInitialSidebarCategories ¶
func (s *OpenTracingLayerChannelStore) CreateInitialSidebarCategories(userID string, teamID string) (*model.OrderedSidebarCategories, error)
func (*OpenTracingLayerChannelStore) CreateSidebarCategory ¶
func (s *OpenTracingLayerChannelStore) CreateSidebarCategory(userID string, teamID string, newCategory *model.SidebarCategoryWithChannels) (*model.SidebarCategoryWithChannels, error)
func (*OpenTracingLayerChannelStore) Delete ¶
func (s *OpenTracingLayerChannelStore) Delete(channelID string, time int64) error
func (*OpenTracingLayerChannelStore) DeleteSidebarCategory ¶
func (s *OpenTracingLayerChannelStore) DeleteSidebarCategory(categoryID string) error
func (*OpenTracingLayerChannelStore) DeleteSidebarChannelsByPreferences ¶
func (s *OpenTracingLayerChannelStore) DeleteSidebarChannelsByPreferences(preferences model.Preferences) error
func (*OpenTracingLayerChannelStore) GetAll ¶
func (s *OpenTracingLayerChannelStore) GetAll(teamID string) ([]*model.Channel, error)
func (*OpenTracingLayerChannelStore) GetAllChannelMembersById ¶ added in v6.2.0
func (s *OpenTracingLayerChannelStore) GetAllChannelMembersById(id string) ([]string, error)
func (*OpenTracingLayerChannelStore) GetAllChannelMembersForUser ¶
func (*OpenTracingLayerChannelStore) GetAllChannelMembersNotifyPropsForChannel ¶
func (*OpenTracingLayerChannelStore) GetAllChannels ¶
func (s *OpenTracingLayerChannelStore) GetAllChannels(page int, perPage int, opts store.ChannelSearchOpts) (model.ChannelListWithTeamData, error)
func (*OpenTracingLayerChannelStore) GetAllChannelsCount ¶
func (s *OpenTracingLayerChannelStore) GetAllChannelsCount(opts store.ChannelSearchOpts) (int64, error)
func (*OpenTracingLayerChannelStore) GetAllChannelsForExportAfter ¶
func (s *OpenTracingLayerChannelStore) GetAllChannelsForExportAfter(limit int, afterID string) ([]*model.ChannelForExport, error)
func (*OpenTracingLayerChannelStore) GetAllDirectChannelsForExportAfter ¶
func (s *OpenTracingLayerChannelStore) GetAllDirectChannelsForExportAfter(limit int, afterID string) ([]*model.DirectChannelForExport, error)
func (*OpenTracingLayerChannelStore) GetByNameIncludeDeleted ¶
func (*OpenTracingLayerChannelStore) GetByNames ¶
func (*OpenTracingLayerChannelStore) GetChannelCounts ¶
func (s *OpenTracingLayerChannelStore) GetChannelCounts(teamID string, userID string) (*model.ChannelCounts, error)
func (*OpenTracingLayerChannelStore) GetChannelMembersForExport ¶
func (s *OpenTracingLayerChannelStore) GetChannelMembersForExport(userID string, teamID string) ([]*model.ChannelMemberForExport, error)
func (*OpenTracingLayerChannelStore) GetChannelMembersTimezones ¶
func (s *OpenTracingLayerChannelStore) GetChannelMembersTimezones(channelID string) ([]model.StringMap, error)
func (*OpenTracingLayerChannelStore) GetChannelUnread ¶
func (s *OpenTracingLayerChannelStore) GetChannelUnread(channelID string, userID string) (*model.ChannelUnread, error)
func (*OpenTracingLayerChannelStore) GetChannels ¶
func (s *OpenTracingLayerChannelStore) GetChannels(teamID string, userID string, includeDeleted bool, lastDeleteAt int) (model.ChannelList, error)
func (*OpenTracingLayerChannelStore) GetChannelsBatchForIndexing ¶
func (*OpenTracingLayerChannelStore) GetChannelsByIds ¶
func (*OpenTracingLayerChannelStore) GetChannelsByScheme ¶
func (s *OpenTracingLayerChannelStore) GetChannelsByScheme(schemeID string, offset int, limit int) (model.ChannelList, error)
func (*OpenTracingLayerChannelStore) GetChannelsByUser ¶ added in v6.2.0
func (s *OpenTracingLayerChannelStore) GetChannelsByUser(userID string, includeDeleted bool, lastDeleteAt int, pageSize int, fromChannelID string) (model.ChannelList, error)
func (*OpenTracingLayerChannelStore) GetChannelsWithTeamDataByIds ¶ added in v6.2.0
func (s *OpenTracingLayerChannelStore) GetChannelsWithTeamDataByIds(channelIds []string, includeDeleted bool) ([]*model.ChannelWithTeamData, error)
func (*OpenTracingLayerChannelStore) GetDeleted ¶
func (s *OpenTracingLayerChannelStore) GetDeleted(team_id string, offset int, limit int, userID string) (model.ChannelList, error)
func (*OpenTracingLayerChannelStore) GetDeletedByName ¶
func (*OpenTracingLayerChannelStore) GetForPost ¶
func (s *OpenTracingLayerChannelStore) GetForPost(postID string) (*model.Channel, error)
func (*OpenTracingLayerChannelStore) GetFromMaster ¶
func (s *OpenTracingLayerChannelStore) GetFromMaster(id string) (*model.Channel, error)
func (*OpenTracingLayerChannelStore) GetGuestCount ¶
func (s *OpenTracingLayerChannelStore) GetGuestCount(channelID string, allowFromCache bool) (int64, error)
func (*OpenTracingLayerChannelStore) GetMember ¶
func (s *OpenTracingLayerChannelStore) GetMember(ctx context.Context, channelID string, userID string) (*model.ChannelMember, error)
func (*OpenTracingLayerChannelStore) GetMemberCount ¶
func (s *OpenTracingLayerChannelStore) GetMemberCount(channelID string, allowFromCache bool) (int64, error)
func (*OpenTracingLayerChannelStore) GetMemberCountFromCache ¶
func (s *OpenTracingLayerChannelStore) GetMemberCountFromCache(channelID string) int64
func (*OpenTracingLayerChannelStore) GetMemberCountsByGroup ¶
func (s *OpenTracingLayerChannelStore) GetMemberCountsByGroup(ctx context.Context, channelID string, includeTimezones bool) ([]*model.ChannelMemberCountByGroup, error)
func (*OpenTracingLayerChannelStore) GetMemberForPost ¶
func (s *OpenTracingLayerChannelStore) GetMemberForPost(postID string, userID string) (*model.ChannelMember, error)
func (*OpenTracingLayerChannelStore) GetMembers ¶
func (s *OpenTracingLayerChannelStore) GetMembers(channelID string, offset int, limit int) (model.ChannelMembers, error)
func (*OpenTracingLayerChannelStore) GetMembersByChannelIds ¶
func (s *OpenTracingLayerChannelStore) GetMembersByChannelIds(channelIds []string, userID string) (model.ChannelMembers, error)
func (*OpenTracingLayerChannelStore) GetMembersByIds ¶
func (s *OpenTracingLayerChannelStore) GetMembersByIds(channelID string, userIds []string) (model.ChannelMembers, error)
func (*OpenTracingLayerChannelStore) GetMembersForUser ¶
func (s *OpenTracingLayerChannelStore) GetMembersForUser(teamID string, userID string) (model.ChannelMembers, error)
func (*OpenTracingLayerChannelStore) GetMembersForUserWithPagination ¶
func (s *OpenTracingLayerChannelStore) GetMembersForUserWithPagination(userID string, page int, perPage int) (model.ChannelMembersWithTeamData, error)
func (*OpenTracingLayerChannelStore) GetMoreChannels ¶
func (s *OpenTracingLayerChannelStore) GetMoreChannels(teamID string, userID string, offset int, limit int) (model.ChannelList, error)
func (*OpenTracingLayerChannelStore) GetPinnedPostCount ¶
func (s *OpenTracingLayerChannelStore) GetPinnedPostCount(channelID string, allowFromCache bool) (int64, error)
func (*OpenTracingLayerChannelStore) GetPinnedPosts ¶
func (s *OpenTracingLayerChannelStore) GetPinnedPosts(channelID string) (*model.PostList, error)
func (*OpenTracingLayerChannelStore) GetPrivateChannelsForTeam ¶
func (s *OpenTracingLayerChannelStore) GetPrivateChannelsForTeam(teamID string, offset int, limit int) (model.ChannelList, error)
func (*OpenTracingLayerChannelStore) GetPublicChannelsByIdsForTeam ¶
func (s *OpenTracingLayerChannelStore) GetPublicChannelsByIdsForTeam(teamID string, channelIds []string) (model.ChannelList, error)
func (*OpenTracingLayerChannelStore) GetPublicChannelsForTeam ¶
func (s *OpenTracingLayerChannelStore) GetPublicChannelsForTeam(teamID string, offset int, limit int) (model.ChannelList, error)
func (*OpenTracingLayerChannelStore) GetSidebarCategories ¶
func (s *OpenTracingLayerChannelStore) GetSidebarCategories(userID string, teamID string) (*model.OrderedSidebarCategories, error)
func (*OpenTracingLayerChannelStore) GetSidebarCategory ¶
func (s *OpenTracingLayerChannelStore) GetSidebarCategory(categoryID string) (*model.SidebarCategoryWithChannels, error)
func (*OpenTracingLayerChannelStore) GetSidebarCategoryOrder ¶
func (s *OpenTracingLayerChannelStore) GetSidebarCategoryOrder(userID string, teamID string) ([]string, error)
func (*OpenTracingLayerChannelStore) GetTeamChannels ¶
func (s *OpenTracingLayerChannelStore) GetTeamChannels(teamID string) (model.ChannelList, error)
func (*OpenTracingLayerChannelStore) GetTeamForChannel ¶
func (s *OpenTracingLayerChannelStore) GetTeamForChannel(channelID string) (*model.Team, error)
func (*OpenTracingLayerChannelStore) GetTeamMembersForChannel ¶ added in v6.2.0
func (s *OpenTracingLayerChannelStore) GetTeamMembersForChannel(channelID string) ([]string, error)
func (*OpenTracingLayerChannelStore) GroupSyncedChannelCount ¶
func (s *OpenTracingLayerChannelStore) GroupSyncedChannelCount() (int64, error)
func (*OpenTracingLayerChannelStore) IncrementMentionCount ¶
func (*OpenTracingLayerChannelStore) InvalidateAllChannelMembersForUser ¶
func (s *OpenTracingLayerChannelStore) InvalidateAllChannelMembersForUser(userID string)
func (*OpenTracingLayerChannelStore) InvalidateCacheForChannelMembersNotifyProps ¶
func (s *OpenTracingLayerChannelStore) InvalidateCacheForChannelMembersNotifyProps(channelID string)
func (*OpenTracingLayerChannelStore) InvalidateChannel ¶
func (s *OpenTracingLayerChannelStore) InvalidateChannel(id string)
func (*OpenTracingLayerChannelStore) InvalidateChannelByName ¶
func (s *OpenTracingLayerChannelStore) InvalidateChannelByName(teamID string, name string)
func (*OpenTracingLayerChannelStore) InvalidateGuestCount ¶
func (s *OpenTracingLayerChannelStore) InvalidateGuestCount(channelID string)
func (*OpenTracingLayerChannelStore) InvalidateMemberCount ¶
func (s *OpenTracingLayerChannelStore) InvalidateMemberCount(channelID string)
func (*OpenTracingLayerChannelStore) InvalidatePinnedPostCount ¶
func (s *OpenTracingLayerChannelStore) InvalidatePinnedPostCount(channelID string)
func (*OpenTracingLayerChannelStore) IsUserInChannelUseCache ¶
func (s *OpenTracingLayerChannelStore) IsUserInChannelUseCache(userID string, channelID string) bool
func (*OpenTracingLayerChannelStore) MigrateChannelMembers ¶
func (*OpenTracingLayerChannelStore) MigratePublicChannels ¶
func (s *OpenTracingLayerChannelStore) MigratePublicChannels() error
func (*OpenTracingLayerChannelStore) PermanentDelete ¶
func (s *OpenTracingLayerChannelStore) PermanentDelete(channelID string) error
func (*OpenTracingLayerChannelStore) PermanentDeleteByTeam ¶
func (s *OpenTracingLayerChannelStore) PermanentDeleteByTeam(teamID string) error
func (*OpenTracingLayerChannelStore) PermanentDeleteMembersByChannel ¶
func (s *OpenTracingLayerChannelStore) PermanentDeleteMembersByChannel(channelID string) error
func (*OpenTracingLayerChannelStore) PermanentDeleteMembersByUser ¶
func (s *OpenTracingLayerChannelStore) PermanentDeleteMembersByUser(userID string) error
func (*OpenTracingLayerChannelStore) RemoveAllDeactivatedMembers ¶
func (s *OpenTracingLayerChannelStore) RemoveAllDeactivatedMembers(channelID string) error
func (*OpenTracingLayerChannelStore) RemoveMember ¶
func (s *OpenTracingLayerChannelStore) RemoveMember(channelID string, userID string) error
func (*OpenTracingLayerChannelStore) RemoveMembers ¶
func (s *OpenTracingLayerChannelStore) RemoveMembers(channelID string, userIds []string) error
func (*OpenTracingLayerChannelStore) ResetAllChannelSchemes ¶
func (s *OpenTracingLayerChannelStore) ResetAllChannelSchemes() error
func (*OpenTracingLayerChannelStore) Restore ¶
func (s *OpenTracingLayerChannelStore) Restore(channelID string, time int64) error
func (*OpenTracingLayerChannelStore) SaveDirectChannel ¶
func (s *OpenTracingLayerChannelStore) SaveDirectChannel(channel *model.Channel, member1 *model.ChannelMember, member2 *model.ChannelMember) (*model.Channel, error)
func (*OpenTracingLayerChannelStore) SaveMember ¶
func (s *OpenTracingLayerChannelStore) SaveMember(member *model.ChannelMember) (*model.ChannelMember, error)
func (*OpenTracingLayerChannelStore) SaveMultipleMembers ¶
func (s *OpenTracingLayerChannelStore) SaveMultipleMembers(members []*model.ChannelMember) ([]*model.ChannelMember, error)
func (*OpenTracingLayerChannelStore) SearchAllChannels ¶
func (s *OpenTracingLayerChannelStore) SearchAllChannels(term string, opts store.ChannelSearchOpts) (model.ChannelListWithTeamData, int64, error)
func (*OpenTracingLayerChannelStore) SearchArchivedInTeam ¶
func (s *OpenTracingLayerChannelStore) SearchArchivedInTeam(teamID string, term string, userID string) (model.ChannelList, error)
func (*OpenTracingLayerChannelStore) SearchForUserInTeam ¶
func (s *OpenTracingLayerChannelStore) SearchForUserInTeam(userID string, teamID string, term string, includeDeleted bool) (model.ChannelList, error)
func (*OpenTracingLayerChannelStore) SearchGroupChannels ¶
func (s *OpenTracingLayerChannelStore) SearchGroupChannels(userID string, term string) (model.ChannelList, error)
func (*OpenTracingLayerChannelStore) SearchInTeam ¶
func (s *OpenTracingLayerChannelStore) SearchInTeam(teamID string, term string, includeDeleted bool) (model.ChannelList, error)
func (*OpenTracingLayerChannelStore) SearchMore ¶
func (s *OpenTracingLayerChannelStore) SearchMore(userID string, teamID string, term string) (model.ChannelList, error)
func (*OpenTracingLayerChannelStore) SetDeleteAt ¶
func (s *OpenTracingLayerChannelStore) SetDeleteAt(channelID string, deleteAt int64, updateAt int64) error
func (*OpenTracingLayerChannelStore) SetShared ¶
func (s *OpenTracingLayerChannelStore) SetShared(channelId string, shared bool) error
func (*OpenTracingLayerChannelStore) UpdateLastViewedAt ¶
func (*OpenTracingLayerChannelStore) UpdateLastViewedAtPost ¶
func (*OpenTracingLayerChannelStore) UpdateMember ¶
func (s *OpenTracingLayerChannelStore) UpdateMember(member *model.ChannelMember) (*model.ChannelMember, error)
func (*OpenTracingLayerChannelStore) UpdateMemberNotifyProps ¶ added in v6.1.0
func (s *OpenTracingLayerChannelStore) UpdateMemberNotifyProps(channelID string, userID string, props map[string]string) (*model.ChannelMember, error)
func (*OpenTracingLayerChannelStore) UpdateMembersRole ¶
func (s *OpenTracingLayerChannelStore) UpdateMembersRole(channelID string, userIDs []string) error
func (*OpenTracingLayerChannelStore) UpdateMultipleMembers ¶
func (s *OpenTracingLayerChannelStore) UpdateMultipleMembers(members []*model.ChannelMember) ([]*model.ChannelMember, error)
func (*OpenTracingLayerChannelStore) UpdateSidebarCategories ¶
func (s *OpenTracingLayerChannelStore) UpdateSidebarCategories(userID string, teamID string, categories []*model.SidebarCategoryWithChannels) ([]*model.SidebarCategoryWithChannels, []*model.SidebarCategoryWithChannels, error)
func (*OpenTracingLayerChannelStore) UpdateSidebarCategoryOrder ¶
func (s *OpenTracingLayerChannelStore) UpdateSidebarCategoryOrder(userID string, teamID string, categoryOrder []string) error
func (*OpenTracingLayerChannelStore) UpdateSidebarChannelCategoryOnMove ¶
func (s *OpenTracingLayerChannelStore) UpdateSidebarChannelCategoryOnMove(channel *model.Channel, newTeamID string) error
func (*OpenTracingLayerChannelStore) UpdateSidebarChannelsByPreferences ¶
func (s *OpenTracingLayerChannelStore) UpdateSidebarChannelsByPreferences(preferences model.Preferences) error
func (*OpenTracingLayerChannelStore) UserBelongsToChannels ¶
func (s *OpenTracingLayerChannelStore) UserBelongsToChannels(userID string, channelIds []string) (bool, error)
type OpenTracingLayerClusterDiscoveryStore ¶
type OpenTracingLayerClusterDiscoveryStore struct { store.ClusterDiscoveryStore Root *OpenTracingLayer }
func (*OpenTracingLayerClusterDiscoveryStore) Cleanup ¶
func (s *OpenTracingLayerClusterDiscoveryStore) Cleanup() error
func (*OpenTracingLayerClusterDiscoveryStore) Delete ¶
func (s *OpenTracingLayerClusterDiscoveryStore) Delete(discovery *model.ClusterDiscovery) (bool, error)
func (*OpenTracingLayerClusterDiscoveryStore) Exists ¶
func (s *OpenTracingLayerClusterDiscoveryStore) Exists(discovery *model.ClusterDiscovery) (bool, error)
func (*OpenTracingLayerClusterDiscoveryStore) GetAll ¶
func (s *OpenTracingLayerClusterDiscoveryStore) GetAll(discoveryType string, clusterName string) ([]*model.ClusterDiscovery, error)
func (*OpenTracingLayerClusterDiscoveryStore) Save ¶
func (s *OpenTracingLayerClusterDiscoveryStore) Save(discovery *model.ClusterDiscovery) error
func (*OpenTracingLayerClusterDiscoveryStore) SetLastPingAt ¶
func (s *OpenTracingLayerClusterDiscoveryStore) SetLastPingAt(discovery *model.ClusterDiscovery) error
type OpenTracingLayerCommandStore ¶
type OpenTracingLayerCommandStore struct { store.CommandStore Root *OpenTracingLayer }
func (*OpenTracingLayerCommandStore) AnalyticsCommandCount ¶
func (s *OpenTracingLayerCommandStore) AnalyticsCommandCount(teamID string) (int64, error)
func (*OpenTracingLayerCommandStore) Delete ¶
func (s *OpenTracingLayerCommandStore) Delete(commandID string, time int64) error
func (*OpenTracingLayerCommandStore) Get ¶
func (s *OpenTracingLayerCommandStore) Get(id string) (*model.Command, error)
func (*OpenTracingLayerCommandStore) GetByTeam ¶
func (s *OpenTracingLayerCommandStore) GetByTeam(teamID string) ([]*model.Command, error)
func (*OpenTracingLayerCommandStore) GetByTrigger ¶
func (*OpenTracingLayerCommandStore) PermanentDeleteByTeam ¶
func (s *OpenTracingLayerCommandStore) PermanentDeleteByTeam(teamID string) error
func (*OpenTracingLayerCommandStore) PermanentDeleteByUser ¶
func (s *OpenTracingLayerCommandStore) PermanentDeleteByUser(userID string) error
type OpenTracingLayerCommandWebhookStore ¶
type OpenTracingLayerCommandWebhookStore struct { store.CommandWebhookStore Root *OpenTracingLayer }
func (*OpenTracingLayerCommandWebhookStore) Cleanup ¶
func (s *OpenTracingLayerCommandWebhookStore) Cleanup()
func (*OpenTracingLayerCommandWebhookStore) Get ¶
func (s *OpenTracingLayerCommandWebhookStore) Get(id string) (*model.CommandWebhook, error)
func (*OpenTracingLayerCommandWebhookStore) Save ¶
func (s *OpenTracingLayerCommandWebhookStore) Save(webhook *model.CommandWebhook) (*model.CommandWebhook, error)
type OpenTracingLayerComplianceStore ¶
type OpenTracingLayerComplianceStore struct { store.ComplianceStore Root *OpenTracingLayer }
func (*OpenTracingLayerComplianceStore) ComplianceExport ¶
func (s *OpenTracingLayerComplianceStore) ComplianceExport(compliance *model.Compliance, cursor model.ComplianceExportCursor, limit int) ([]*model.CompliancePost, model.ComplianceExportCursor, error)
func (*OpenTracingLayerComplianceStore) Get ¶
func (s *OpenTracingLayerComplianceStore) Get(id string) (*model.Compliance, error)
func (*OpenTracingLayerComplianceStore) GetAll ¶
func (s *OpenTracingLayerComplianceStore) GetAll(offset int, limit int) (model.Compliances, error)
func (*OpenTracingLayerComplianceStore) MessageExport ¶
func (s *OpenTracingLayerComplianceStore) MessageExport(cursor model.MessageExportCursor, limit int) ([]*model.MessageExport, model.MessageExportCursor, error)
func (*OpenTracingLayerComplianceStore) Save ¶
func (s *OpenTracingLayerComplianceStore) Save(compliance *model.Compliance) (*model.Compliance, error)
func (*OpenTracingLayerComplianceStore) Update ¶
func (s *OpenTracingLayerComplianceStore) Update(compliance *model.Compliance) (*model.Compliance, error)
type OpenTracingLayerEmojiStore ¶
type OpenTracingLayerEmojiStore struct { store.EmojiStore Root *OpenTracingLayer }
func (*OpenTracingLayerEmojiStore) Delete ¶
func (s *OpenTracingLayerEmojiStore) Delete(emoji *model.Emoji, time int64) error
func (*OpenTracingLayerEmojiStore) GetMultipleByName ¶
func (s *OpenTracingLayerEmojiStore) GetMultipleByName(names []string) ([]*model.Emoji, error)
type OpenTracingLayerFileInfoStore ¶
type OpenTracingLayerFileInfoStore struct { store.FileInfoStore Root *OpenTracingLayer }
func (*OpenTracingLayerFileInfoStore) AttachToPost ¶
func (s *OpenTracingLayerFileInfoStore) AttachToPost(fileID string, postID string, creatorID string) error
func (*OpenTracingLayerFileInfoStore) ClearCaches ¶
func (s *OpenTracingLayerFileInfoStore) ClearCaches()
func (*OpenTracingLayerFileInfoStore) CountAll ¶
func (s *OpenTracingLayerFileInfoStore) CountAll() (int64, error)
func (*OpenTracingLayerFileInfoStore) DeleteForPost ¶
func (s *OpenTracingLayerFileInfoStore) DeleteForPost(postID string) (string, error)
func (*OpenTracingLayerFileInfoStore) Get ¶
func (s *OpenTracingLayerFileInfoStore) Get(id string) (*model.FileInfo, error)
func (*OpenTracingLayerFileInfoStore) GetByIds ¶
func (s *OpenTracingLayerFileInfoStore) GetByIds(ids []string) ([]*model.FileInfo, error)
func (*OpenTracingLayerFileInfoStore) GetByPath ¶
func (s *OpenTracingLayerFileInfoStore) GetByPath(path string) (*model.FileInfo, error)
func (*OpenTracingLayerFileInfoStore) GetFilesBatchForIndexing ¶
func (s *OpenTracingLayerFileInfoStore) GetFilesBatchForIndexing(startTime int64, endTime int64, limit int) ([]*model.FileForIndexing, error)
func (*OpenTracingLayerFileInfoStore) GetForPost ¶
func (*OpenTracingLayerFileInfoStore) GetForUser ¶
func (s *OpenTracingLayerFileInfoStore) GetForUser(userID string) ([]*model.FileInfo, error)
func (*OpenTracingLayerFileInfoStore) GetFromMaster ¶
func (s *OpenTracingLayerFileInfoStore) GetFromMaster(id string) (*model.FileInfo, error)
func (*OpenTracingLayerFileInfoStore) GetWithOptions ¶
func (s *OpenTracingLayerFileInfoStore) GetWithOptions(page int, perPage int, opt *model.GetFileInfosOptions) ([]*model.FileInfo, error)
func (*OpenTracingLayerFileInfoStore) InvalidateFileInfosForPostCache ¶
func (s *OpenTracingLayerFileInfoStore) InvalidateFileInfosForPostCache(postID string, deleted bool)
func (*OpenTracingLayerFileInfoStore) PermanentDelete ¶
func (s *OpenTracingLayerFileInfoStore) PermanentDelete(fileID string) error
func (*OpenTracingLayerFileInfoStore) PermanentDeleteBatch ¶
func (s *OpenTracingLayerFileInfoStore) PermanentDeleteBatch(endTime int64, limit int64) (int64, error)
func (*OpenTracingLayerFileInfoStore) PermanentDeleteByUser ¶
func (s *OpenTracingLayerFileInfoStore) PermanentDeleteByUser(userID string) (int64, error)
func (*OpenTracingLayerFileInfoStore) Search ¶
func (s *OpenTracingLayerFileInfoStore) Search(paramsList []*model.SearchParams, userID string, teamID string, page int, perPage int) (*model.FileInfoList, error)
func (*OpenTracingLayerFileInfoStore) SetContent ¶
func (s *OpenTracingLayerFileInfoStore) SetContent(fileID string, content string) error
type OpenTracingLayerGroupStore ¶
type OpenTracingLayerGroupStore struct { store.GroupStore Root *OpenTracingLayer }
func (*OpenTracingLayerGroupStore) AdminRoleGroupsForSyncableMember ¶
func (s *OpenTracingLayerGroupStore) AdminRoleGroupsForSyncableMember(userID string, syncableID string, syncableType model.GroupSyncableType) ([]string, error)
func (*OpenTracingLayerGroupStore) ChannelMembersMinusGroupMembers ¶
func (s *OpenTracingLayerGroupStore) ChannelMembersMinusGroupMembers(channelID string, groupIDs []string, page int, perPage int) ([]*model.UserWithGroups, error)
func (*OpenTracingLayerGroupStore) ChannelMembersToAdd ¶
func (s *OpenTracingLayerGroupStore) ChannelMembersToAdd(since int64, channelID *string, includeRemovedMembers bool) ([]*model.UserChannelIDPair, error)
func (*OpenTracingLayerGroupStore) ChannelMembersToRemove ¶
func (s *OpenTracingLayerGroupStore) ChannelMembersToRemove(channelID *string) ([]*model.ChannelMember, error)
func (*OpenTracingLayerGroupStore) CountChannelMembersMinusGroupMembers ¶
func (s *OpenTracingLayerGroupStore) CountChannelMembersMinusGroupMembers(channelID string, groupIDs []string) (int64, error)
func (*OpenTracingLayerGroupStore) CountGroupsByChannel ¶
func (s *OpenTracingLayerGroupStore) CountGroupsByChannel(channelID string, opts model.GroupSearchOpts) (int64, error)
func (*OpenTracingLayerGroupStore) CountGroupsByTeam ¶
func (s *OpenTracingLayerGroupStore) CountGroupsByTeam(teamID string, opts model.GroupSearchOpts) (int64, error)
func (*OpenTracingLayerGroupStore) CountTeamMembersMinusGroupMembers ¶
func (s *OpenTracingLayerGroupStore) CountTeamMembersMinusGroupMembers(teamID string, groupIDs []string) (int64, error)
func (*OpenTracingLayerGroupStore) CreateGroupSyncable ¶
func (s *OpenTracingLayerGroupStore) CreateGroupSyncable(groupSyncable *model.GroupSyncable) (*model.GroupSyncable, error)
func (*OpenTracingLayerGroupStore) Delete ¶
func (s *OpenTracingLayerGroupStore) Delete(groupID string) (*model.Group, error)
func (*OpenTracingLayerGroupStore) DeleteGroupSyncable ¶
func (s *OpenTracingLayerGroupStore) DeleteGroupSyncable(groupID string, syncableID string, syncableType model.GroupSyncableType) (*model.GroupSyncable, error)
func (*OpenTracingLayerGroupStore) DeleteMember ¶
func (s *OpenTracingLayerGroupStore) DeleteMember(groupID string, userID string) (*model.GroupMember, error)
func (*OpenTracingLayerGroupStore) DistinctGroupMemberCount ¶
func (s *OpenTracingLayerGroupStore) DistinctGroupMemberCount() (int64, error)
func (*OpenTracingLayerGroupStore) Get ¶
func (s *OpenTracingLayerGroupStore) Get(groupID string) (*model.Group, error)
func (*OpenTracingLayerGroupStore) GetAllBySource ¶
func (s *OpenTracingLayerGroupStore) GetAllBySource(groupSource model.GroupSource) ([]*model.Group, error)
func (*OpenTracingLayerGroupStore) GetAllGroupSyncablesByGroupId ¶
func (s *OpenTracingLayerGroupStore) GetAllGroupSyncablesByGroupId(groupID string, syncableType model.GroupSyncableType) ([]*model.GroupSyncable, error)
func (*OpenTracingLayerGroupStore) GetByIDs ¶
func (s *OpenTracingLayerGroupStore) GetByIDs(groupIDs []string) ([]*model.Group, error)
func (*OpenTracingLayerGroupStore) GetByName ¶
func (s *OpenTracingLayerGroupStore) GetByName(name string, opts model.GroupSearchOpts) (*model.Group, error)
func (*OpenTracingLayerGroupStore) GetByRemoteID ¶
func (s *OpenTracingLayerGroupStore) GetByRemoteID(remoteID string, groupSource model.GroupSource) (*model.Group, error)
func (*OpenTracingLayerGroupStore) GetByUser ¶
func (s *OpenTracingLayerGroupStore) GetByUser(userID string) ([]*model.Group, error)
func (*OpenTracingLayerGroupStore) GetGroupSyncable ¶
func (s *OpenTracingLayerGroupStore) GetGroupSyncable(groupID string, syncableID string, syncableType model.GroupSyncableType) (*model.GroupSyncable, error)
func (*OpenTracingLayerGroupStore) GetGroups ¶
func (s *OpenTracingLayerGroupStore) GetGroups(page int, perPage int, opts model.GroupSearchOpts) ([]*model.Group, error)
func (*OpenTracingLayerGroupStore) GetGroupsAssociatedToChannelsByTeam ¶
func (s *OpenTracingLayerGroupStore) GetGroupsAssociatedToChannelsByTeam(teamID string, opts model.GroupSearchOpts) (map[string][]*model.GroupWithSchemeAdmin, error)
func (*OpenTracingLayerGroupStore) GetGroupsByChannel ¶
func (s *OpenTracingLayerGroupStore) GetGroupsByChannel(channelID string, opts model.GroupSearchOpts) ([]*model.GroupWithSchemeAdmin, error)
func (*OpenTracingLayerGroupStore) GetGroupsByTeam ¶
func (s *OpenTracingLayerGroupStore) GetGroupsByTeam(teamID string, opts model.GroupSearchOpts) ([]*model.GroupWithSchemeAdmin, error)
func (*OpenTracingLayerGroupStore) GetMemberCount ¶
func (s *OpenTracingLayerGroupStore) GetMemberCount(groupID string) (int64, error)
func (*OpenTracingLayerGroupStore) GetMemberUsers ¶
func (s *OpenTracingLayerGroupStore) GetMemberUsers(groupID string) ([]*model.User, error)
func (*OpenTracingLayerGroupStore) GetMemberUsersInTeam ¶
func (*OpenTracingLayerGroupStore) GetMemberUsersNotInChannel ¶
func (*OpenTracingLayerGroupStore) GetMemberUsersPage ¶
func (*OpenTracingLayerGroupStore) GroupChannelCount ¶
func (s *OpenTracingLayerGroupStore) GroupChannelCount() (int64, error)
func (*OpenTracingLayerGroupStore) GroupCount ¶
func (s *OpenTracingLayerGroupStore) GroupCount() (int64, error)
func (*OpenTracingLayerGroupStore) GroupCountWithAllowReference ¶
func (s *OpenTracingLayerGroupStore) GroupCountWithAllowReference() (int64, error)
func (*OpenTracingLayerGroupStore) GroupMemberCount ¶
func (s *OpenTracingLayerGroupStore) GroupMemberCount() (int64, error)
func (*OpenTracingLayerGroupStore) GroupTeamCount ¶
func (s *OpenTracingLayerGroupStore) GroupTeamCount() (int64, error)
func (*OpenTracingLayerGroupStore) PermanentDeleteMembersByUser ¶
func (s *OpenTracingLayerGroupStore) PermanentDeleteMembersByUser(userID string) error
func (*OpenTracingLayerGroupStore) PermittedSyncableAdmins ¶
func (s *OpenTracingLayerGroupStore) PermittedSyncableAdmins(syncableID string, syncableType model.GroupSyncableType) ([]string, error)
func (*OpenTracingLayerGroupStore) TeamMembersMinusGroupMembers ¶
func (s *OpenTracingLayerGroupStore) TeamMembersMinusGroupMembers(teamID string, groupIDs []string, page int, perPage int) ([]*model.UserWithGroups, error)
func (*OpenTracingLayerGroupStore) TeamMembersToAdd ¶
func (s *OpenTracingLayerGroupStore) TeamMembersToAdd(since int64, teamID *string, includeRemovedMembers bool) ([]*model.UserTeamIDPair, error)
func (*OpenTracingLayerGroupStore) TeamMembersToRemove ¶
func (s *OpenTracingLayerGroupStore) TeamMembersToRemove(teamID *string) ([]*model.TeamMember, error)
func (*OpenTracingLayerGroupStore) UpdateGroupSyncable ¶
func (s *OpenTracingLayerGroupStore) UpdateGroupSyncable(groupSyncable *model.GroupSyncable) (*model.GroupSyncable, error)
func (*OpenTracingLayerGroupStore) UpsertMember ¶
func (s *OpenTracingLayerGroupStore) UpsertMember(groupID string, userID string) (*model.GroupMember, error)
type OpenTracingLayerJobStore ¶
type OpenTracingLayerJobStore struct { store.JobStore Root *OpenTracingLayer }
func (*OpenTracingLayerJobStore) Cleanup ¶ added in v6.1.0
func (s *OpenTracingLayerJobStore) Cleanup(expiryTime int64, batchSize int) error
func (*OpenTracingLayerJobStore) Delete ¶
func (s *OpenTracingLayerJobStore) Delete(id string) (string, error)
func (*OpenTracingLayerJobStore) Get ¶
func (s *OpenTracingLayerJobStore) Get(id string) (*model.Job, error)
func (*OpenTracingLayerJobStore) GetAllByStatus ¶
func (s *OpenTracingLayerJobStore) GetAllByStatus(status string) ([]*model.Job, error)
func (*OpenTracingLayerJobStore) GetAllByType ¶
func (s *OpenTracingLayerJobStore) GetAllByType(jobType string) ([]*model.Job, error)
func (*OpenTracingLayerJobStore) GetAllByTypePage ¶
func (*OpenTracingLayerJobStore) GetAllByTypesPage ¶
func (*OpenTracingLayerJobStore) GetAllPage ¶
func (*OpenTracingLayerJobStore) GetCountByStatusAndType ¶
func (s *OpenTracingLayerJobStore) GetCountByStatusAndType(status string, jobType string) (int64, error)
func (*OpenTracingLayerJobStore) GetNewestJobByStatusAndType ¶
func (*OpenTracingLayerJobStore) GetNewestJobByStatusesAndType ¶
func (*OpenTracingLayerJobStore) UpdateOptimistically ¶
func (*OpenTracingLayerJobStore) UpdateStatus ¶
func (*OpenTracingLayerJobStore) UpdateStatusOptimistically ¶
type OpenTracingLayerLicenseStore ¶
type OpenTracingLayerLicenseStore struct { store.LicenseStore Root *OpenTracingLayer }
func (*OpenTracingLayerLicenseStore) Get ¶
func (s *OpenTracingLayerLicenseStore) Get(id string) (*model.LicenseRecord, error)
func (*OpenTracingLayerLicenseStore) GetAll ¶
func (s *OpenTracingLayerLicenseStore) GetAll() ([]*model.LicenseRecord, error)
func (*OpenTracingLayerLicenseStore) Save ¶
func (s *OpenTracingLayerLicenseStore) Save(license *model.LicenseRecord) (*model.LicenseRecord, error)
type OpenTracingLayerLinkMetadataStore ¶
type OpenTracingLayerLinkMetadataStore struct { store.LinkMetadataStore Root *OpenTracingLayer }
func (*OpenTracingLayerLinkMetadataStore) Get ¶
func (s *OpenTracingLayerLinkMetadataStore) Get(url string, timestamp int64) (*model.LinkMetadata, error)
func (*OpenTracingLayerLinkMetadataStore) Save ¶
func (s *OpenTracingLayerLinkMetadataStore) Save(linkMetadata *model.LinkMetadata) (*model.LinkMetadata, error)
type OpenTracingLayerOAuthStore ¶
type OpenTracingLayerOAuthStore struct { store.OAuthStore Root *OpenTracingLayer }
func (*OpenTracingLayerOAuthStore) DeleteApp ¶
func (s *OpenTracingLayerOAuthStore) DeleteApp(id string) error
func (*OpenTracingLayerOAuthStore) GetAccessData ¶
func (s *OpenTracingLayerOAuthStore) GetAccessData(token string) (*model.AccessData, error)
func (*OpenTracingLayerOAuthStore) GetAccessDataByRefreshToken ¶
func (s *OpenTracingLayerOAuthStore) GetAccessDataByRefreshToken(token string) (*model.AccessData, error)
func (*OpenTracingLayerOAuthStore) GetAccessDataByUserForApp ¶
func (s *OpenTracingLayerOAuthStore) GetAccessDataByUserForApp(userID string, clientId string) ([]*model.AccessData, error)
func (*OpenTracingLayerOAuthStore) GetApp ¶
func (s *OpenTracingLayerOAuthStore) GetApp(id string) (*model.OAuthApp, error)
func (*OpenTracingLayerOAuthStore) GetAppByUser ¶
func (*OpenTracingLayerOAuthStore) GetAuthData ¶
func (s *OpenTracingLayerOAuthStore) GetAuthData(code string) (*model.AuthData, error)
func (*OpenTracingLayerOAuthStore) GetAuthorizedApps ¶
func (*OpenTracingLayerOAuthStore) GetPreviousAccessData ¶
func (s *OpenTracingLayerOAuthStore) GetPreviousAccessData(userID string, clientId string) (*model.AccessData, error)
func (*OpenTracingLayerOAuthStore) PermanentDeleteAuthDataByUser ¶
func (s *OpenTracingLayerOAuthStore) PermanentDeleteAuthDataByUser(userID string) error
func (*OpenTracingLayerOAuthStore) RemoveAccessData ¶
func (s *OpenTracingLayerOAuthStore) RemoveAccessData(token string) error
func (*OpenTracingLayerOAuthStore) RemoveAllAccessData ¶
func (s *OpenTracingLayerOAuthStore) RemoveAllAccessData() error
func (*OpenTracingLayerOAuthStore) RemoveAuthData ¶
func (s *OpenTracingLayerOAuthStore) RemoveAuthData(code string) error
func (*OpenTracingLayerOAuthStore) SaveAccessData ¶
func (s *OpenTracingLayerOAuthStore) SaveAccessData(accessData *model.AccessData) (*model.AccessData, error)
func (*OpenTracingLayerOAuthStore) SaveAuthData ¶
func (*OpenTracingLayerOAuthStore) UpdateAccessData ¶
func (s *OpenTracingLayerOAuthStore) UpdateAccessData(accessData *model.AccessData) (*model.AccessData, error)
type OpenTracingLayerPluginStore ¶
type OpenTracingLayerPluginStore struct { store.PluginStore Root *OpenTracingLayer }
func (*OpenTracingLayerPluginStore) CompareAndDelete ¶
func (s *OpenTracingLayerPluginStore) CompareAndDelete(keyVal *model.PluginKeyValue, oldValue []byte) (bool, error)
func (*OpenTracingLayerPluginStore) CompareAndSet ¶
func (s *OpenTracingLayerPluginStore) CompareAndSet(keyVal *model.PluginKeyValue, oldValue []byte) (bool, error)
func (*OpenTracingLayerPluginStore) Delete ¶
func (s *OpenTracingLayerPluginStore) Delete(pluginID string, key string) error
func (*OpenTracingLayerPluginStore) DeleteAllExpired ¶
func (s *OpenTracingLayerPluginStore) DeleteAllExpired() error
func (*OpenTracingLayerPluginStore) DeleteAllForPlugin ¶
func (s *OpenTracingLayerPluginStore) DeleteAllForPlugin(PluginID string) error
func (*OpenTracingLayerPluginStore) Get ¶
func (s *OpenTracingLayerPluginStore) Get(pluginID string, key string) (*model.PluginKeyValue, error)
func (*OpenTracingLayerPluginStore) SaveOrUpdate ¶
func (s *OpenTracingLayerPluginStore) SaveOrUpdate(keyVal *model.PluginKeyValue) (*model.PluginKeyValue, error)
func (*OpenTracingLayerPluginStore) SetWithOptions ¶
func (s *OpenTracingLayerPluginStore) SetWithOptions(pluginID string, key string, value []byte, options model.PluginKVSetOptions) (bool, error)
type OpenTracingLayerPostStore ¶
type OpenTracingLayerPostStore struct { store.PostStore Root *OpenTracingLayer }
func (*OpenTracingLayerPostStore) AnalyticsPostCount ¶
func (*OpenTracingLayerPostStore) AnalyticsPostCountsByDay ¶
func (s *OpenTracingLayerPostStore) AnalyticsPostCountsByDay(options *model.AnalyticsPostCountsOptions) (model.AnalyticsRows, error)
func (*OpenTracingLayerPostStore) AnalyticsUserCountsWithPostsByDay ¶
func (s *OpenTracingLayerPostStore) AnalyticsUserCountsWithPostsByDay(teamID string) (model.AnalyticsRows, error)
func (*OpenTracingLayerPostStore) ClearCaches ¶
func (s *OpenTracingLayerPostStore) ClearCaches()
func (*OpenTracingLayerPostStore) Delete ¶
func (s *OpenTracingLayerPostStore) Delete(postID string, time int64, deleteByID string) error
func (*OpenTracingLayerPostStore) DeleteOrphanedRows ¶
func (s *OpenTracingLayerPostStore) DeleteOrphanedRows(limit int) (int64, error)
func (*OpenTracingLayerPostStore) GetDirectPostParentsForExportAfter ¶
func (s *OpenTracingLayerPostStore) GetDirectPostParentsForExportAfter(limit int, afterID string) ([]*model.DirectPostForExport, error)
func (*OpenTracingLayerPostStore) GetEtag ¶
func (s *OpenTracingLayerPostStore) GetEtag(channelID string, allowFromCache bool, collapsedThreads bool) string
func (*OpenTracingLayerPostStore) GetFlaggedPosts ¶
func (*OpenTracingLayerPostStore) GetFlaggedPostsForChannel ¶
func (*OpenTracingLayerPostStore) GetFlaggedPostsForTeam ¶
func (*OpenTracingLayerPostStore) GetMaxPostSize ¶
func (s *OpenTracingLayerPostStore) GetMaxPostSize() int
func (*OpenTracingLayerPostStore) GetOldest ¶
func (s *OpenTracingLayerPostStore) GetOldest() (*model.Post, error)
func (*OpenTracingLayerPostStore) GetOldestEntityCreationTime ¶
func (s *OpenTracingLayerPostStore) GetOldestEntityCreationTime() (int64, error)
func (*OpenTracingLayerPostStore) GetParentsForExportAfter ¶
func (s *OpenTracingLayerPostStore) GetParentsForExportAfter(limit int, afterID string) ([]*model.PostForExport, error)
func (*OpenTracingLayerPostStore) GetPostAfterTime ¶
func (*OpenTracingLayerPostStore) GetPostIdAfterTime ¶
func (*OpenTracingLayerPostStore) GetPostIdBeforeTime ¶
func (*OpenTracingLayerPostStore) GetPosts ¶
func (s *OpenTracingLayerPostStore) GetPosts(options model.GetPostsOptions, allowFromCache bool) (*model.PostList, error)
func (*OpenTracingLayerPostStore) GetPostsAfter ¶
func (s *OpenTracingLayerPostStore) GetPostsAfter(options model.GetPostsOptions) (*model.PostList, error)
func (*OpenTracingLayerPostStore) GetPostsBatchForIndexing ¶
func (s *OpenTracingLayerPostStore) GetPostsBatchForIndexing(startTime int64, endTime int64, limit int) ([]*model.PostForIndexing, error)
func (*OpenTracingLayerPostStore) GetPostsBefore ¶
func (s *OpenTracingLayerPostStore) GetPostsBefore(options model.GetPostsOptions) (*model.PostList, error)
func (*OpenTracingLayerPostStore) GetPostsByIds ¶
func (s *OpenTracingLayerPostStore) GetPostsByIds(postIds []string) ([]*model.Post, error)
func (*OpenTracingLayerPostStore) GetPostsCreatedAt ¶
func (*OpenTracingLayerPostStore) GetPostsSince ¶
func (s *OpenTracingLayerPostStore) GetPostsSince(options model.GetPostsSinceOptions, allowFromCache bool) (*model.PostList, error)
func (*OpenTracingLayerPostStore) GetPostsSinceForSync ¶
func (s *OpenTracingLayerPostStore) GetPostsSinceForSync(options model.GetPostsSinceForSyncOptions, cursor model.GetPostsSinceForSyncCursor, limit int) ([]*model.Post, model.GetPostsSinceForSyncCursor, error)
func (*OpenTracingLayerPostStore) GetRepliesForExport ¶
func (s *OpenTracingLayerPostStore) GetRepliesForExport(parentID string) ([]*model.ReplyForExport, error)
func (*OpenTracingLayerPostStore) HasAutoResponsePostByUserSince ¶
func (s *OpenTracingLayerPostStore) HasAutoResponsePostByUserSince(options model.GetPostsSinceOptions, userId string) (bool, error)
func (*OpenTracingLayerPostStore) InvalidateLastPostTimeCache ¶
func (s *OpenTracingLayerPostStore) InvalidateLastPostTimeCache(channelID string)
func (*OpenTracingLayerPostStore) OverwriteMultiple ¶
func (*OpenTracingLayerPostStore) PermanentDeleteBatch ¶
func (s *OpenTracingLayerPostStore) PermanentDeleteBatch(endTime int64, limit int64) (int64, error)
func (*OpenTracingLayerPostStore) PermanentDeleteBatchForRetentionPolicies ¶
func (s *OpenTracingLayerPostStore) PermanentDeleteBatchForRetentionPolicies(now int64, globalPolicyEndTime int64, limit int64, cursor model.RetentionPolicyCursor) (int64, model.RetentionPolicyCursor, error)
func (*OpenTracingLayerPostStore) PermanentDeleteByChannel ¶
func (s *OpenTracingLayerPostStore) PermanentDeleteByChannel(channelID string) error
func (*OpenTracingLayerPostStore) PermanentDeleteByUser ¶
func (s *OpenTracingLayerPostStore) PermanentDeleteByUser(userID string) error
func (*OpenTracingLayerPostStore) SaveMultiple ¶
func (*OpenTracingLayerPostStore) Search ¶
func (s *OpenTracingLayerPostStore) Search(teamID string, userID string, params *model.SearchParams) (*model.PostList, error)
func (*OpenTracingLayerPostStore) SearchPostsForUser ¶ added in v6.1.0
func (s *OpenTracingLayerPostStore) SearchPostsForUser(paramsList []*model.SearchParams, userID string, teamID string, page int, perPage int) (*model.PostSearchResults, error)
type OpenTracingLayerPreferenceStore ¶
type OpenTracingLayerPreferenceStore struct { store.PreferenceStore Root *OpenTracingLayer }
func (*OpenTracingLayerPreferenceStore) CleanupFlagsBatch ¶
func (s *OpenTracingLayerPreferenceStore) CleanupFlagsBatch(limit int64) (int64, error)
func (*OpenTracingLayerPreferenceStore) Delete ¶
func (s *OpenTracingLayerPreferenceStore) Delete(userID string, category string, name string) error
func (*OpenTracingLayerPreferenceStore) DeleteCategory ¶
func (s *OpenTracingLayerPreferenceStore) DeleteCategory(userID string, category string) error
func (*OpenTracingLayerPreferenceStore) DeleteCategoryAndName ¶
func (s *OpenTracingLayerPreferenceStore) DeleteCategoryAndName(category string, name string) error
func (*OpenTracingLayerPreferenceStore) DeleteOrphanedRows ¶
func (s *OpenTracingLayerPreferenceStore) DeleteOrphanedRows(limit int) (int64, error)
func (*OpenTracingLayerPreferenceStore) Get ¶
func (s *OpenTracingLayerPreferenceStore) Get(userID string, category string, name string) (*model.Preference, error)
func (*OpenTracingLayerPreferenceStore) GetAll ¶
func (s *OpenTracingLayerPreferenceStore) GetAll(userID string) (model.Preferences, error)
func (*OpenTracingLayerPreferenceStore) GetCategory ¶
func (s *OpenTracingLayerPreferenceStore) GetCategory(userID string, category string) (model.Preferences, error)
func (*OpenTracingLayerPreferenceStore) PermanentDeleteByUser ¶
func (s *OpenTracingLayerPreferenceStore) PermanentDeleteByUser(userID string) error
func (*OpenTracingLayerPreferenceStore) Save ¶
func (s *OpenTracingLayerPreferenceStore) Save(preferences model.Preferences) error
type OpenTracingLayerProductNoticesStore ¶
type OpenTracingLayerProductNoticesStore struct { store.ProductNoticesStore Root *OpenTracingLayer }
func (*OpenTracingLayerProductNoticesStore) Clear ¶
func (s *OpenTracingLayerProductNoticesStore) Clear(notices []string) error
func (*OpenTracingLayerProductNoticesStore) ClearOldNotices ¶
func (s *OpenTracingLayerProductNoticesStore) ClearOldNotices(currentNotices model.ProductNotices) error
func (*OpenTracingLayerProductNoticesStore) GetViews ¶
func (s *OpenTracingLayerProductNoticesStore) GetViews(userID string) ([]model.ProductNoticeViewState, error)
type OpenTracingLayerReactionStore ¶
type OpenTracingLayerReactionStore struct { store.ReactionStore Root *OpenTracingLayer }
func (*OpenTracingLayerReactionStore) BulkGetForPosts ¶
func (s *OpenTracingLayerReactionStore) BulkGetForPosts(postIds []string) ([]*model.Reaction, error)
func (*OpenTracingLayerReactionStore) DeleteAllWithEmojiName ¶
func (s *OpenTracingLayerReactionStore) DeleteAllWithEmojiName(emojiName string) error
func (*OpenTracingLayerReactionStore) DeleteOrphanedRows ¶
func (s *OpenTracingLayerReactionStore) DeleteOrphanedRows(limit int) (int64, error)
func (*OpenTracingLayerReactionStore) GetForPost ¶
func (*OpenTracingLayerReactionStore) GetForPostSince ¶
func (*OpenTracingLayerReactionStore) PermanentDeleteBatch ¶
func (s *OpenTracingLayerReactionStore) PermanentDeleteBatch(endTime int64, limit int64) (int64, error)
type OpenTracingLayerRemoteClusterStore ¶
type OpenTracingLayerRemoteClusterStore struct { store.RemoteClusterStore Root *OpenTracingLayer }
func (*OpenTracingLayerRemoteClusterStore) Delete ¶
func (s *OpenTracingLayerRemoteClusterStore) Delete(remoteClusterId string) (bool, error)
func (*OpenTracingLayerRemoteClusterStore) Get ¶
func (s *OpenTracingLayerRemoteClusterStore) Get(remoteClusterId string) (*model.RemoteCluster, error)
func (*OpenTracingLayerRemoteClusterStore) GetAll ¶
func (s *OpenTracingLayerRemoteClusterStore) GetAll(filter model.RemoteClusterQueryFilter) ([]*model.RemoteCluster, error)
func (*OpenTracingLayerRemoteClusterStore) Save ¶
func (s *OpenTracingLayerRemoteClusterStore) Save(rc *model.RemoteCluster) (*model.RemoteCluster, error)
func (*OpenTracingLayerRemoteClusterStore) SetLastPingAt ¶
func (s *OpenTracingLayerRemoteClusterStore) SetLastPingAt(remoteClusterId string) error
func (*OpenTracingLayerRemoteClusterStore) Update ¶
func (s *OpenTracingLayerRemoteClusterStore) Update(rc *model.RemoteCluster) (*model.RemoteCluster, error)
func (*OpenTracingLayerRemoteClusterStore) UpdateTopics ¶
func (s *OpenTracingLayerRemoteClusterStore) UpdateTopics(remoteClusterId string, topics string) (*model.RemoteCluster, error)
type OpenTracingLayerRetentionPolicyStore ¶
type OpenTracingLayerRetentionPolicyStore struct { store.RetentionPolicyStore Root *OpenTracingLayer }
func (*OpenTracingLayerRetentionPolicyStore) AddChannels ¶
func (s *OpenTracingLayerRetentionPolicyStore) AddChannels(policyId string, channelIds []string) error
func (*OpenTracingLayerRetentionPolicyStore) AddTeams ¶
func (s *OpenTracingLayerRetentionPolicyStore) AddTeams(policyId string, teamIds []string) error
func (*OpenTracingLayerRetentionPolicyStore) Delete ¶
func (s *OpenTracingLayerRetentionPolicyStore) Delete(id string) error
func (*OpenTracingLayerRetentionPolicyStore) DeleteOrphanedRows ¶
func (s *OpenTracingLayerRetentionPolicyStore) DeleteOrphanedRows(limit int) (int64, error)
func (*OpenTracingLayerRetentionPolicyStore) Get ¶
func (s *OpenTracingLayerRetentionPolicyStore) Get(id string) (*model.RetentionPolicyWithTeamAndChannelCounts, error)
func (*OpenTracingLayerRetentionPolicyStore) GetAll ¶
func (s *OpenTracingLayerRetentionPolicyStore) GetAll(offset int, limit int) ([]*model.RetentionPolicyWithTeamAndChannelCounts, error)
func (*OpenTracingLayerRetentionPolicyStore) GetChannelPoliciesCountForUser ¶
func (s *OpenTracingLayerRetentionPolicyStore) GetChannelPoliciesCountForUser(userID string) (int64, error)
func (*OpenTracingLayerRetentionPolicyStore) GetChannelPoliciesForUser ¶
func (s *OpenTracingLayerRetentionPolicyStore) GetChannelPoliciesForUser(userID string, offset int, limit int) ([]*model.RetentionPolicyForChannel, error)
func (*OpenTracingLayerRetentionPolicyStore) GetChannels ¶
func (s *OpenTracingLayerRetentionPolicyStore) GetChannels(policyId string, offset int, limit int) (model.ChannelListWithTeamData, error)
func (*OpenTracingLayerRetentionPolicyStore) GetChannelsCount ¶
func (s *OpenTracingLayerRetentionPolicyStore) GetChannelsCount(policyId string) (int64, error)
func (*OpenTracingLayerRetentionPolicyStore) GetCount ¶
func (s *OpenTracingLayerRetentionPolicyStore) GetCount() (int64, error)
func (*OpenTracingLayerRetentionPolicyStore) GetTeamPoliciesCountForUser ¶
func (s *OpenTracingLayerRetentionPolicyStore) GetTeamPoliciesCountForUser(userID string) (int64, error)
func (*OpenTracingLayerRetentionPolicyStore) GetTeamPoliciesForUser ¶
func (s *OpenTracingLayerRetentionPolicyStore) GetTeamPoliciesForUser(userID string, offset int, limit int) ([]*model.RetentionPolicyForTeam, error)
func (*OpenTracingLayerRetentionPolicyStore) GetTeamsCount ¶
func (s *OpenTracingLayerRetentionPolicyStore) GetTeamsCount(policyId string) (int64, error)
func (*OpenTracingLayerRetentionPolicyStore) Patch ¶
func (s *OpenTracingLayerRetentionPolicyStore) Patch(patch *model.RetentionPolicyWithTeamAndChannelIDs) (*model.RetentionPolicyWithTeamAndChannelCounts, error)
func (*OpenTracingLayerRetentionPolicyStore) RemoveChannels ¶
func (s *OpenTracingLayerRetentionPolicyStore) RemoveChannels(policyId string, channelIds []string) error
func (*OpenTracingLayerRetentionPolicyStore) RemoveTeams ¶
func (s *OpenTracingLayerRetentionPolicyStore) RemoveTeams(policyId string, teamIds []string) error
func (*OpenTracingLayerRetentionPolicyStore) Save ¶
func (s *OpenTracingLayerRetentionPolicyStore) Save(policy *model.RetentionPolicyWithTeamAndChannelIDs) (*model.RetentionPolicyWithTeamAndChannelCounts, error)
type OpenTracingLayerRoleStore ¶
type OpenTracingLayerRoleStore struct { store.RoleStore Root *OpenTracingLayer }
func (*OpenTracingLayerRoleStore) AllChannelSchemeRoles ¶
func (s *OpenTracingLayerRoleStore) AllChannelSchemeRoles() ([]*model.Role, error)
func (*OpenTracingLayerRoleStore) ChannelHigherScopedPermissions ¶
func (s *OpenTracingLayerRoleStore) ChannelHigherScopedPermissions(roleNames []string) (map[string]*model.RolePermissions, error)
func (*OpenTracingLayerRoleStore) ChannelRolesUnderTeamRole ¶
func (s *OpenTracingLayerRoleStore) ChannelRolesUnderTeamRole(roleName string) ([]*model.Role, error)
func (*OpenTracingLayerRoleStore) Delete ¶
func (s *OpenTracingLayerRoleStore) Delete(roleID string) (*model.Role, error)
func (*OpenTracingLayerRoleStore) Get ¶
func (s *OpenTracingLayerRoleStore) Get(roleID string) (*model.Role, error)
func (*OpenTracingLayerRoleStore) GetAll ¶
func (s *OpenTracingLayerRoleStore) GetAll() ([]*model.Role, error)
func (*OpenTracingLayerRoleStore) GetByNames ¶
func (s *OpenTracingLayerRoleStore) GetByNames(names []string) ([]*model.Role, error)
func (*OpenTracingLayerRoleStore) PermanentDeleteAll ¶
func (s *OpenTracingLayerRoleStore) PermanentDeleteAll() error
type OpenTracingLayerSchemeStore ¶
type OpenTracingLayerSchemeStore struct { store.SchemeStore Root *OpenTracingLayer }
func (*OpenTracingLayerSchemeStore) CountByScope ¶
func (s *OpenTracingLayerSchemeStore) CountByScope(scope string) (int64, error)
func (*OpenTracingLayerSchemeStore) CountWithoutPermission ¶
func (*OpenTracingLayerSchemeStore) Delete ¶
func (s *OpenTracingLayerSchemeStore) Delete(schemeID string) (*model.Scheme, error)
func (*OpenTracingLayerSchemeStore) Get ¶
func (s *OpenTracingLayerSchemeStore) Get(schemeID string) (*model.Scheme, error)
func (*OpenTracingLayerSchemeStore) GetAllPage ¶
func (*OpenTracingLayerSchemeStore) GetByName ¶
func (s *OpenTracingLayerSchemeStore) GetByName(schemeName string) (*model.Scheme, error)
func (*OpenTracingLayerSchemeStore) PermanentDeleteAll ¶
func (s *OpenTracingLayerSchemeStore) PermanentDeleteAll() error
type OpenTracingLayerSessionStore ¶
type OpenTracingLayerSessionStore struct { store.SessionStore Root *OpenTracingLayer }
func (*OpenTracingLayerSessionStore) AnalyticsSessionCount ¶
func (s *OpenTracingLayerSessionStore) AnalyticsSessionCount() (int64, error)
func (*OpenTracingLayerSessionStore) Cleanup ¶
func (s *OpenTracingLayerSessionStore) Cleanup(expiryTime int64, batchSize int64) error
func (*OpenTracingLayerSessionStore) GetSessions ¶
func (s *OpenTracingLayerSessionStore) GetSessions(userID string) ([]*model.Session, error)
func (*OpenTracingLayerSessionStore) GetSessionsExpired ¶
func (*OpenTracingLayerSessionStore) GetSessionsWithActiveDeviceIds ¶
func (s *OpenTracingLayerSessionStore) GetSessionsWithActiveDeviceIds(userID string) ([]*model.Session, error)
func (*OpenTracingLayerSessionStore) PermanentDeleteSessionsByUser ¶
func (s *OpenTracingLayerSessionStore) PermanentDeleteSessionsByUser(teamID string) error
func (*OpenTracingLayerSessionStore) Remove ¶
func (s *OpenTracingLayerSessionStore) Remove(sessionIDOrToken string) error
func (*OpenTracingLayerSessionStore) RemoveAllSessions ¶
func (s *OpenTracingLayerSessionStore) RemoveAllSessions() error
func (*OpenTracingLayerSessionStore) UpdateDeviceId ¶
func (*OpenTracingLayerSessionStore) UpdateExpiredNotify ¶
func (s *OpenTracingLayerSessionStore) UpdateExpiredNotify(sessionid string, notified bool) error
func (*OpenTracingLayerSessionStore) UpdateExpiresAt ¶
func (s *OpenTracingLayerSessionStore) UpdateExpiresAt(sessionID string, time int64) error
func (*OpenTracingLayerSessionStore) UpdateLastActivityAt ¶
func (s *OpenTracingLayerSessionStore) UpdateLastActivityAt(sessionID string, time int64) error
func (*OpenTracingLayerSessionStore) UpdateProps ¶
func (s *OpenTracingLayerSessionStore) UpdateProps(session *model.Session) error
func (*OpenTracingLayerSessionStore) UpdateRoles ¶
func (s *OpenTracingLayerSessionStore) UpdateRoles(userID string, roles string) (string, error)
type OpenTracingLayerSharedChannelStore ¶
type OpenTracingLayerSharedChannelStore struct {}
func (*OpenTracingLayerSharedChannelStore) Delete ¶
func (s *OpenTracingLayerSharedChannelStore) Delete(channelId string) (bool, error)
func (*OpenTracingLayerSharedChannelStore) DeleteRemote ¶
func (s *OpenTracingLayerSharedChannelStore) DeleteRemote(remoteId string) (bool, error)
func (*OpenTracingLayerSharedChannelStore) Get ¶
func (s *OpenTracingLayerSharedChannelStore) Get(channelId string) (*model.SharedChannel, error)
func (*OpenTracingLayerSharedChannelStore) GetAll ¶
func (s *OpenTracingLayerSharedChannelStore) GetAll(offset int, limit int, opts model.SharedChannelFilterOpts) ([]*model.SharedChannel, error)
func (*OpenTracingLayerSharedChannelStore) GetAllCount ¶
func (s *OpenTracingLayerSharedChannelStore) GetAllCount(opts model.SharedChannelFilterOpts) (int64, error)
func (*OpenTracingLayerSharedChannelStore) GetAttachment ¶
func (s *OpenTracingLayerSharedChannelStore) GetAttachment(fileId string, remoteId string) (*model.SharedChannelAttachment, error)
func (*OpenTracingLayerSharedChannelStore) GetRemote ¶
func (s *OpenTracingLayerSharedChannelStore) GetRemote(id string) (*model.SharedChannelRemote, error)
func (*OpenTracingLayerSharedChannelStore) GetRemoteByIds ¶
func (s *OpenTracingLayerSharedChannelStore) GetRemoteByIds(channelId string, remoteId string) (*model.SharedChannelRemote, error)
func (*OpenTracingLayerSharedChannelStore) GetRemoteForUser ¶
func (s *OpenTracingLayerSharedChannelStore) GetRemoteForUser(remoteId string, userId string) (*model.RemoteCluster, error)
func (*OpenTracingLayerSharedChannelStore) GetRemotes ¶
func (s *OpenTracingLayerSharedChannelStore) GetRemotes(opts model.SharedChannelRemoteFilterOpts) ([]*model.SharedChannelRemote, error)
func (*OpenTracingLayerSharedChannelStore) GetRemotesStatus ¶
func (s *OpenTracingLayerSharedChannelStore) GetRemotesStatus(channelId string) ([]*model.SharedChannelRemoteStatus, error)
func (*OpenTracingLayerSharedChannelStore) GetSingleUser ¶
func (s *OpenTracingLayerSharedChannelStore) GetSingleUser(userID string, channelID string, remoteID string) (*model.SharedChannelUser, error)
func (*OpenTracingLayerSharedChannelStore) GetUsersForSync ¶
func (s *OpenTracingLayerSharedChannelStore) GetUsersForSync(filter model.GetUsersForSyncFilter) ([]*model.User, error)
func (*OpenTracingLayerSharedChannelStore) GetUsersForUser ¶
func (s *OpenTracingLayerSharedChannelStore) GetUsersForUser(userID string) ([]*model.SharedChannelUser, error)
func (*OpenTracingLayerSharedChannelStore) HasChannel ¶
func (s *OpenTracingLayerSharedChannelStore) HasChannel(channelID string) (bool, error)
func (*OpenTracingLayerSharedChannelStore) HasRemote ¶
func (s *OpenTracingLayerSharedChannelStore) HasRemote(channelID string, remoteId string) (bool, error)
func (*OpenTracingLayerSharedChannelStore) Save ¶
func (s *OpenTracingLayerSharedChannelStore) Save(sc *model.SharedChannel) (*model.SharedChannel, error)
func (*OpenTracingLayerSharedChannelStore) SaveAttachment ¶
func (s *OpenTracingLayerSharedChannelStore) SaveAttachment(remote *model.SharedChannelAttachment) (*model.SharedChannelAttachment, error)
func (*OpenTracingLayerSharedChannelStore) SaveRemote ¶
func (s *OpenTracingLayerSharedChannelStore) SaveRemote(remote *model.SharedChannelRemote) (*model.SharedChannelRemote, error)
func (*OpenTracingLayerSharedChannelStore) SaveUser ¶
func (s *OpenTracingLayerSharedChannelStore) SaveUser(remote *model.SharedChannelUser) (*model.SharedChannelUser, error)
func (*OpenTracingLayerSharedChannelStore) Update ¶
func (s *OpenTracingLayerSharedChannelStore) Update(sc *model.SharedChannel) (*model.SharedChannel, error)
func (*OpenTracingLayerSharedChannelStore) UpdateAttachmentLastSyncAt ¶
func (s *OpenTracingLayerSharedChannelStore) UpdateAttachmentLastSyncAt(id string, syncTime int64) error
func (*OpenTracingLayerSharedChannelStore) UpdateRemote ¶
func (s *OpenTracingLayerSharedChannelStore) UpdateRemote(remote *model.SharedChannelRemote) (*model.SharedChannelRemote, error)
func (*OpenTracingLayerSharedChannelStore) UpdateRemoteCursor ¶
func (s *OpenTracingLayerSharedChannelStore) UpdateRemoteCursor(id string, cursor model.GetPostsSinceForSyncCursor) error
func (*OpenTracingLayerSharedChannelStore) UpdateUserLastSyncAt ¶
func (s *OpenTracingLayerSharedChannelStore) UpdateUserLastSyncAt(userID string, channelID string, remoteID string) error
func (*OpenTracingLayerSharedChannelStore) UpsertAttachment ¶
func (s *OpenTracingLayerSharedChannelStore) UpsertAttachment(remote *model.SharedChannelAttachment) (string, error)
type OpenTracingLayerStatusStore ¶
type OpenTracingLayerStatusStore struct { store.StatusStore Root *OpenTracingLayer }
func (*OpenTracingLayerStatusStore) Get ¶
func (s *OpenTracingLayerStatusStore) Get(userID string) (*model.Status, error)
func (*OpenTracingLayerStatusStore) GetByIds ¶
func (s *OpenTracingLayerStatusStore) GetByIds(userIds []string) ([]*model.Status, error)
func (*OpenTracingLayerStatusStore) GetTotalActiveUsersCount ¶
func (s *OpenTracingLayerStatusStore) GetTotalActiveUsersCount() (int64, error)
func (*OpenTracingLayerStatusStore) ResetAll ¶
func (s *OpenTracingLayerStatusStore) ResetAll() error
func (*OpenTracingLayerStatusStore) SaveOrUpdate ¶
func (s *OpenTracingLayerStatusStore) SaveOrUpdate(status *model.Status) error
func (*OpenTracingLayerStatusStore) UpdateExpiredDNDStatuses ¶
func (s *OpenTracingLayerStatusStore) UpdateExpiredDNDStatuses() ([]*model.Status, error)
func (*OpenTracingLayerStatusStore) UpdateLastActivityAt ¶
func (s *OpenTracingLayerStatusStore) UpdateLastActivityAt(userID string, lastActivityAt int64) error
type OpenTracingLayerSystemStore ¶
type OpenTracingLayerSystemStore struct { store.SystemStore Root *OpenTracingLayer }
func (*OpenTracingLayerSystemStore) Get ¶
func (s *OpenTracingLayerSystemStore) Get() (model.StringMap, error)
func (*OpenTracingLayerSystemStore) GetByName ¶
func (s *OpenTracingLayerSystemStore) GetByName(name string) (*model.System, error)
func (*OpenTracingLayerSystemStore) InsertIfExists ¶
func (*OpenTracingLayerSystemStore) PermanentDeleteByName ¶
func (s *OpenTracingLayerSystemStore) PermanentDeleteByName(name string) (*model.System, error)
func (*OpenTracingLayerSystemStore) Save ¶
func (s *OpenTracingLayerSystemStore) Save(system *model.System) error
func (*OpenTracingLayerSystemStore) SaveOrUpdate ¶
func (s *OpenTracingLayerSystemStore) SaveOrUpdate(system *model.System) error
func (*OpenTracingLayerSystemStore) SaveOrUpdateWithWarnMetricHandling ¶
func (s *OpenTracingLayerSystemStore) SaveOrUpdateWithWarnMetricHandling(system *model.System) error
type OpenTracingLayerTeamStore ¶
type OpenTracingLayerTeamStore struct { store.TeamStore Root *OpenTracingLayer }
func (*OpenTracingLayerTeamStore) AnalyticsGetTeamCountForScheme ¶
func (s *OpenTracingLayerTeamStore) AnalyticsGetTeamCountForScheme(schemeID string) (int64, error)
func (*OpenTracingLayerTeamStore) AnalyticsTeamCount ¶
func (s *OpenTracingLayerTeamStore) AnalyticsTeamCount(opts *model.TeamSearch) (int64, error)
func (*OpenTracingLayerTeamStore) ClearAllCustomRoleAssignments ¶
func (s *OpenTracingLayerTeamStore) ClearAllCustomRoleAssignments() error
func (*OpenTracingLayerTeamStore) ClearCaches ¶
func (s *OpenTracingLayerTeamStore) ClearCaches()
func (*OpenTracingLayerTeamStore) Get ¶
func (s *OpenTracingLayerTeamStore) Get(id string) (*model.Team, error)
func (*OpenTracingLayerTeamStore) GetActiveMemberCount ¶
func (s *OpenTracingLayerTeamStore) GetActiveMemberCount(teamID string, restrictions *model.ViewUsersRestrictions) (int64, error)
func (*OpenTracingLayerTeamStore) GetAll ¶
func (s *OpenTracingLayerTeamStore) GetAll() ([]*model.Team, error)
func (*OpenTracingLayerTeamStore) GetAllForExportAfter ¶
func (s *OpenTracingLayerTeamStore) GetAllForExportAfter(limit int, afterID string) ([]*model.TeamForExport, error)
func (*OpenTracingLayerTeamStore) GetAllPage ¶
func (s *OpenTracingLayerTeamStore) GetAllPage(offset int, limit int, opts *model.TeamSearch) ([]*model.Team, error)
func (*OpenTracingLayerTeamStore) GetAllPrivateTeamListing ¶
func (s *OpenTracingLayerTeamStore) GetAllPrivateTeamListing() ([]*model.Team, error)
func (*OpenTracingLayerTeamStore) GetAllTeamListing ¶
func (s *OpenTracingLayerTeamStore) GetAllTeamListing() ([]*model.Team, error)
func (*OpenTracingLayerTeamStore) GetByInviteId ¶
func (s *OpenTracingLayerTeamStore) GetByInviteId(inviteID string) (*model.Team, error)
func (*OpenTracingLayerTeamStore) GetByName ¶
func (s *OpenTracingLayerTeamStore) GetByName(name string) (*model.Team, error)
func (*OpenTracingLayerTeamStore) GetByNames ¶
func (s *OpenTracingLayerTeamStore) GetByNames(name []string) ([]*model.Team, error)
func (*OpenTracingLayerTeamStore) GetChannelUnreadsForAllTeams ¶
func (s *OpenTracingLayerTeamStore) GetChannelUnreadsForAllTeams(excludeTeamID string, userID string) ([]*model.ChannelUnread, error)
func (*OpenTracingLayerTeamStore) GetChannelUnreadsForTeam ¶
func (s *OpenTracingLayerTeamStore) GetChannelUnreadsForTeam(teamID string, userID string) ([]*model.ChannelUnread, error)
func (*OpenTracingLayerTeamStore) GetCommonTeamIDsForTwoUsers ¶
func (s *OpenTracingLayerTeamStore) GetCommonTeamIDsForTwoUsers(userID string, otherUserID string) ([]string, error)
func (*OpenTracingLayerTeamStore) GetMember ¶
func (s *OpenTracingLayerTeamStore) GetMember(ctx context.Context, teamID string, userID string) (*model.TeamMember, error)
func (*OpenTracingLayerTeamStore) GetMembers ¶
func (s *OpenTracingLayerTeamStore) GetMembers(teamID string, offset int, limit int, teamMembersGetOptions *model.TeamMembersGetOptions) ([]*model.TeamMember, error)
func (*OpenTracingLayerTeamStore) GetMembersByIds ¶
func (s *OpenTracingLayerTeamStore) GetMembersByIds(teamID string, userIds []string, restrictions *model.ViewUsersRestrictions) ([]*model.TeamMember, error)
func (*OpenTracingLayerTeamStore) GetTeamMembersForExport ¶
func (s *OpenTracingLayerTeamStore) GetTeamMembersForExport(userID string) ([]*model.TeamMemberForExport, error)
func (*OpenTracingLayerTeamStore) GetTeamsByScheme ¶
func (*OpenTracingLayerTeamStore) GetTeamsByUserId ¶
func (s *OpenTracingLayerTeamStore) GetTeamsByUserId(userID string) ([]*model.Team, error)
func (*OpenTracingLayerTeamStore) GetTeamsForUser ¶
func (s *OpenTracingLayerTeamStore) GetTeamsForUser(ctx context.Context, userID string) ([]*model.TeamMember, error)
func (*OpenTracingLayerTeamStore) GetTeamsForUserWithPagination ¶
func (s *OpenTracingLayerTeamStore) GetTeamsForUserWithPagination(userID string, page int, perPage int) ([]*model.TeamMember, error)
func (*OpenTracingLayerTeamStore) GetTotalMemberCount ¶
func (s *OpenTracingLayerTeamStore) GetTotalMemberCount(teamID string, restrictions *model.ViewUsersRestrictions) (int64, error)
func (*OpenTracingLayerTeamStore) GetUserTeamIds ¶
func (s *OpenTracingLayerTeamStore) GetUserTeamIds(userID string, allowFromCache bool) ([]string, error)
func (*OpenTracingLayerTeamStore) GroupSyncedTeamCount ¶
func (s *OpenTracingLayerTeamStore) GroupSyncedTeamCount() (int64, error)
func (*OpenTracingLayerTeamStore) InvalidateAllTeamIdsForUser ¶
func (s *OpenTracingLayerTeamStore) InvalidateAllTeamIdsForUser(userID string)
func (*OpenTracingLayerTeamStore) MigrateTeamMembers ¶
func (*OpenTracingLayerTeamStore) PermanentDelete ¶
func (s *OpenTracingLayerTeamStore) PermanentDelete(teamID string) error
func (*OpenTracingLayerTeamStore) RemoveAllMembersByTeam ¶
func (s *OpenTracingLayerTeamStore) RemoveAllMembersByTeam(teamID string) error
func (*OpenTracingLayerTeamStore) RemoveAllMembersByUser ¶
func (s *OpenTracingLayerTeamStore) RemoveAllMembersByUser(userID string) error
func (*OpenTracingLayerTeamStore) RemoveMember ¶
func (s *OpenTracingLayerTeamStore) RemoveMember(teamID string, userID string) error
func (*OpenTracingLayerTeamStore) RemoveMembers ¶
func (s *OpenTracingLayerTeamStore) RemoveMembers(teamID string, userIds []string) error
func (*OpenTracingLayerTeamStore) ResetAllTeamSchemes ¶
func (s *OpenTracingLayerTeamStore) ResetAllTeamSchemes() error
func (*OpenTracingLayerTeamStore) SaveMember ¶
func (s *OpenTracingLayerTeamStore) SaveMember(member *model.TeamMember, maxUsersPerTeam int) (*model.TeamMember, error)
func (*OpenTracingLayerTeamStore) SaveMultipleMembers ¶
func (s *OpenTracingLayerTeamStore) SaveMultipleMembers(members []*model.TeamMember, maxUsersPerTeam int) ([]*model.TeamMember, error)
func (*OpenTracingLayerTeamStore) SearchAll ¶
func (s *OpenTracingLayerTeamStore) SearchAll(opts *model.TeamSearch) ([]*model.Team, error)
func (*OpenTracingLayerTeamStore) SearchAllPaged ¶
func (s *OpenTracingLayerTeamStore) SearchAllPaged(opts *model.TeamSearch) ([]*model.Team, int64, error)
func (*OpenTracingLayerTeamStore) SearchOpen ¶
func (s *OpenTracingLayerTeamStore) SearchOpen(opts *model.TeamSearch) ([]*model.Team, error)
func (*OpenTracingLayerTeamStore) SearchPrivate ¶
func (s *OpenTracingLayerTeamStore) SearchPrivate(opts *model.TeamSearch) ([]*model.Team, error)
func (*OpenTracingLayerTeamStore) UpdateLastTeamIconUpdate ¶
func (s *OpenTracingLayerTeamStore) UpdateLastTeamIconUpdate(teamID string, curTime int64) error
func (*OpenTracingLayerTeamStore) UpdateMember ¶
func (s *OpenTracingLayerTeamStore) UpdateMember(member *model.TeamMember) (*model.TeamMember, error)
func (*OpenTracingLayerTeamStore) UpdateMembersRole ¶
func (s *OpenTracingLayerTeamStore) UpdateMembersRole(teamID string, userIDs []string) error
func (*OpenTracingLayerTeamStore) UpdateMultipleMembers ¶
func (s *OpenTracingLayerTeamStore) UpdateMultipleMembers(members []*model.TeamMember) ([]*model.TeamMember, error)
func (*OpenTracingLayerTeamStore) UserBelongsToTeams ¶
func (s *OpenTracingLayerTeamStore) UserBelongsToTeams(userID string, teamIds []string) (bool, error)
type OpenTracingLayerTermsOfServiceStore ¶
type OpenTracingLayerTermsOfServiceStore struct { store.TermsOfServiceStore Root *OpenTracingLayer }
func (*OpenTracingLayerTermsOfServiceStore) Get ¶
func (s *OpenTracingLayerTermsOfServiceStore) Get(id string, allowFromCache bool) (*model.TermsOfService, error)
func (*OpenTracingLayerTermsOfServiceStore) GetLatest ¶
func (s *OpenTracingLayerTermsOfServiceStore) GetLatest(allowFromCache bool) (*model.TermsOfService, error)
func (*OpenTracingLayerTermsOfServiceStore) Save ¶
func (s *OpenTracingLayerTermsOfServiceStore) Save(termsOfService *model.TermsOfService) (*model.TermsOfService, error)
type OpenTracingLayerThreadStore ¶
type OpenTracingLayerThreadStore struct { store.ThreadStore Root *OpenTracingLayer }
func (*OpenTracingLayerThreadStore) CollectThreadsWithNewerReplies ¶
func (*OpenTracingLayerThreadStore) Delete ¶
func (s *OpenTracingLayerThreadStore) Delete(postID string) error
func (*OpenTracingLayerThreadStore) DeleteMembershipForUser ¶
func (s *OpenTracingLayerThreadStore) DeleteMembershipForUser(userId string, postID string) error
func (*OpenTracingLayerThreadStore) DeleteOrphanedRows ¶
func (s *OpenTracingLayerThreadStore) DeleteOrphanedRows(limit int) (int64, error)
func (*OpenTracingLayerThreadStore) Get ¶
func (s *OpenTracingLayerThreadStore) Get(id string) (*model.Thread, error)
func (*OpenTracingLayerThreadStore) GetMembershipForUser ¶
func (s *OpenTracingLayerThreadStore) GetMembershipForUser(userId string, postID string) (*model.ThreadMembership, error)
func (*OpenTracingLayerThreadStore) GetMembershipsForUser ¶
func (s *OpenTracingLayerThreadStore) GetMembershipsForUser(userId string, teamID string) ([]*model.ThreadMembership, error)
func (*OpenTracingLayerThreadStore) GetThreadFollowers ¶
func (s *OpenTracingLayerThreadStore) GetThreadFollowers(threadID string, fetchOnlyActive bool) ([]string, error)
func (*OpenTracingLayerThreadStore) GetThreadForUser ¶
func (s *OpenTracingLayerThreadStore) GetThreadForUser(teamID string, threadMembership *model.ThreadMembership, extended bool) (*model.ThreadResponse, error)
func (*OpenTracingLayerThreadStore) GetThreadsForUser ¶
func (s *OpenTracingLayerThreadStore) GetThreadsForUser(userId string, teamID string, opts model.GetUserThreadsOpts) (*model.Threads, error)
func (*OpenTracingLayerThreadStore) MaintainMembership ¶
func (s *OpenTracingLayerThreadStore) MaintainMembership(userID string, postID string, opts store.ThreadMembershipOpts) (*model.ThreadMembership, error)
func (*OpenTracingLayerThreadStore) MarkAllAsRead ¶
func (s *OpenTracingLayerThreadStore) MarkAllAsRead(userID string, teamID string) error
func (*OpenTracingLayerThreadStore) MarkAllAsReadInChannels ¶
func (s *OpenTracingLayerThreadStore) MarkAllAsReadInChannels(userID string, channelIDs []string) error
func (*OpenTracingLayerThreadStore) MarkAsRead ¶
func (s *OpenTracingLayerThreadStore) MarkAsRead(userID string, threadID string, timestamp int64) error
func (*OpenTracingLayerThreadStore) PermanentDeleteBatchForRetentionPolicies ¶
func (s *OpenTracingLayerThreadStore) PermanentDeleteBatchForRetentionPolicies(now int64, globalPolicyEndTime int64, limit int64, cursor model.RetentionPolicyCursor) (int64, model.RetentionPolicyCursor, error)
func (*OpenTracingLayerThreadStore) PermanentDeleteBatchThreadMembershipsForRetentionPolicies ¶
func (s *OpenTracingLayerThreadStore) PermanentDeleteBatchThreadMembershipsForRetentionPolicies(now int64, globalPolicyEndTime int64, limit int64, cursor model.RetentionPolicyCursor) (int64, model.RetentionPolicyCursor, error)
func (*OpenTracingLayerThreadStore) SaveMembership ¶
func (s *OpenTracingLayerThreadStore) SaveMembership(membership *model.ThreadMembership) (*model.ThreadMembership, error)
func (*OpenTracingLayerThreadStore) SaveMultiple ¶
func (*OpenTracingLayerThreadStore) UpdateMembership ¶
func (s *OpenTracingLayerThreadStore) UpdateMembership(membership *model.ThreadMembership) (*model.ThreadMembership, error)
func (*OpenTracingLayerThreadStore) UpdateUnreadsByChannel ¶
type OpenTracingLayerTokenStore ¶
type OpenTracingLayerTokenStore struct { store.TokenStore Root *OpenTracingLayer }
func (*OpenTracingLayerTokenStore) Cleanup ¶
func (s *OpenTracingLayerTokenStore) Cleanup()
func (*OpenTracingLayerTokenStore) Delete ¶
func (s *OpenTracingLayerTokenStore) Delete(token string) error
func (*OpenTracingLayerTokenStore) GetAllTokensByType ¶
func (s *OpenTracingLayerTokenStore) GetAllTokensByType(tokenType string) ([]*model.Token, error)
func (*OpenTracingLayerTokenStore) GetByToken ¶
func (s *OpenTracingLayerTokenStore) GetByToken(token string) (*model.Token, error)
func (*OpenTracingLayerTokenStore) RemoveAllTokensByType ¶
func (s *OpenTracingLayerTokenStore) RemoveAllTokensByType(tokenType string) error
type OpenTracingLayerUploadSessionStore ¶
type OpenTracingLayerUploadSessionStore struct { store.UploadSessionStore Root *OpenTracingLayer }
func (*OpenTracingLayerUploadSessionStore) Delete ¶
func (s *OpenTracingLayerUploadSessionStore) Delete(id string) error
func (*OpenTracingLayerUploadSessionStore) Get ¶
func (s *OpenTracingLayerUploadSessionStore) Get(id string) (*model.UploadSession, error)
func (*OpenTracingLayerUploadSessionStore) GetForUser ¶
func (s *OpenTracingLayerUploadSessionStore) GetForUser(userID string) ([]*model.UploadSession, error)
func (*OpenTracingLayerUploadSessionStore) Save ¶
func (s *OpenTracingLayerUploadSessionStore) Save(session *model.UploadSession) (*model.UploadSession, error)
func (*OpenTracingLayerUploadSessionStore) Update ¶
func (s *OpenTracingLayerUploadSessionStore) Update(session *model.UploadSession) error
type OpenTracingLayerUserAccessTokenStore ¶
type OpenTracingLayerUserAccessTokenStore struct { store.UserAccessTokenStore Root *OpenTracingLayer }
func (*OpenTracingLayerUserAccessTokenStore) Delete ¶
func (s *OpenTracingLayerUserAccessTokenStore) Delete(tokenID string) error
func (*OpenTracingLayerUserAccessTokenStore) DeleteAllForUser ¶
func (s *OpenTracingLayerUserAccessTokenStore) DeleteAllForUser(userID string) error
func (*OpenTracingLayerUserAccessTokenStore) Get ¶
func (s *OpenTracingLayerUserAccessTokenStore) Get(tokenID string) (*model.UserAccessToken, error)
func (*OpenTracingLayerUserAccessTokenStore) GetAll ¶
func (s *OpenTracingLayerUserAccessTokenStore) GetAll(offset int, limit int) ([]*model.UserAccessToken, error)
func (*OpenTracingLayerUserAccessTokenStore) GetByToken ¶
func (s *OpenTracingLayerUserAccessTokenStore) GetByToken(tokenString string) (*model.UserAccessToken, error)
func (*OpenTracingLayerUserAccessTokenStore) GetByUser ¶
func (s *OpenTracingLayerUserAccessTokenStore) GetByUser(userID string, page int, perPage int) ([]*model.UserAccessToken, error)
func (*OpenTracingLayerUserAccessTokenStore) Save ¶
func (s *OpenTracingLayerUserAccessTokenStore) Save(token *model.UserAccessToken) (*model.UserAccessToken, error)
func (*OpenTracingLayerUserAccessTokenStore) Search ¶
func (s *OpenTracingLayerUserAccessTokenStore) Search(term string) ([]*model.UserAccessToken, error)
func (*OpenTracingLayerUserAccessTokenStore) UpdateTokenDisable ¶
func (s *OpenTracingLayerUserAccessTokenStore) UpdateTokenDisable(tokenID string) error
func (*OpenTracingLayerUserAccessTokenStore) UpdateTokenEnable ¶
func (s *OpenTracingLayerUserAccessTokenStore) UpdateTokenEnable(tokenID string) error
type OpenTracingLayerUserStore ¶
type OpenTracingLayerUserStore struct { store.UserStore Root *OpenTracingLayer }
func (*OpenTracingLayerUserStore) AnalyticsActiveCount ¶
func (s *OpenTracingLayerUserStore) AnalyticsActiveCount(time int64, options model.UserCountOptions) (int64, error)
func (*OpenTracingLayerUserStore) AnalyticsActiveCountForPeriod ¶
func (s *OpenTracingLayerUserStore) AnalyticsActiveCountForPeriod(startTime int64, endTime int64, options model.UserCountOptions) (int64, error)
func (*OpenTracingLayerUserStore) AnalyticsGetExternalUsers ¶
func (s *OpenTracingLayerUserStore) AnalyticsGetExternalUsers(hostDomain string) (bool, error)
func (*OpenTracingLayerUserStore) AnalyticsGetGuestCount ¶
func (s *OpenTracingLayerUserStore) AnalyticsGetGuestCount() (int64, error)
func (*OpenTracingLayerUserStore) AnalyticsGetInactiveUsersCount ¶
func (s *OpenTracingLayerUserStore) AnalyticsGetInactiveUsersCount() (int64, error)
func (*OpenTracingLayerUserStore) AnalyticsGetSystemAdminCount ¶
func (s *OpenTracingLayerUserStore) AnalyticsGetSystemAdminCount() (int64, error)
func (*OpenTracingLayerUserStore) AutocompleteUsersInChannel ¶
func (s *OpenTracingLayerUserStore) AutocompleteUsersInChannel(teamID string, channelID string, term string, options *model.UserSearchOptions) (*model.UserAutocompleteInChannel, error)
func (*OpenTracingLayerUserStore) ClearAllCustomRoleAssignments ¶
func (s *OpenTracingLayerUserStore) ClearAllCustomRoleAssignments() error
func (*OpenTracingLayerUserStore) ClearCaches ¶
func (s *OpenTracingLayerUserStore) ClearCaches()
func (*OpenTracingLayerUserStore) Count ¶
func (s *OpenTracingLayerUserStore) Count(options model.UserCountOptions) (int64, error)
func (*OpenTracingLayerUserStore) DeactivateGuests ¶
func (s *OpenTracingLayerUserStore) DeactivateGuests() ([]string, error)
func (*OpenTracingLayerUserStore) DemoteUserToGuest ¶
func (s *OpenTracingLayerUserStore) DemoteUserToGuest(userID string) (*model.User, error)
func (*OpenTracingLayerUserStore) GetAll ¶
func (s *OpenTracingLayerUserStore) GetAll() ([]*model.User, error)
func (*OpenTracingLayerUserStore) GetAllAfter ¶
func (*OpenTracingLayerUserStore) GetAllNotInAuthService ¶
func (s *OpenTracingLayerUserStore) GetAllNotInAuthService(authServices []string) ([]*model.User, error)
func (*OpenTracingLayerUserStore) GetAllProfiles ¶
func (s *OpenTracingLayerUserStore) GetAllProfiles(options *model.UserGetOptions) ([]*model.User, error)
func (*OpenTracingLayerUserStore) GetAllProfilesInChannel ¶
func (*OpenTracingLayerUserStore) GetAllUsingAuthService ¶
func (s *OpenTracingLayerUserStore) GetAllUsingAuthService(authService string) ([]*model.User, error)
func (*OpenTracingLayerUserStore) GetAnyUnreadPostCountForChannel ¶
func (s *OpenTracingLayerUserStore) GetAnyUnreadPostCountForChannel(userID string, channelID string) (int64, error)
func (*OpenTracingLayerUserStore) GetByEmail ¶
func (s *OpenTracingLayerUserStore) GetByEmail(email string) (*model.User, error)
func (*OpenTracingLayerUserStore) GetByUsername ¶
func (s *OpenTracingLayerUserStore) GetByUsername(username string) (*model.User, error)
func (*OpenTracingLayerUserStore) GetChannelGroupUsers ¶
func (s *OpenTracingLayerUserStore) GetChannelGroupUsers(channelID string) ([]*model.User, error)
func (*OpenTracingLayerUserStore) GetEtagForAllProfiles ¶
func (s *OpenTracingLayerUserStore) GetEtagForAllProfiles() string
func (*OpenTracingLayerUserStore) GetEtagForProfiles ¶
func (s *OpenTracingLayerUserStore) GetEtagForProfiles(teamID string) string
func (*OpenTracingLayerUserStore) GetEtagForProfilesNotInTeam ¶
func (s *OpenTracingLayerUserStore) GetEtagForProfilesNotInTeam(teamID string) string
func (*OpenTracingLayerUserStore) GetForLogin ¶
func (*OpenTracingLayerUserStore) GetKnownUsers ¶
func (s *OpenTracingLayerUserStore) GetKnownUsers(userID string) ([]string, error)
func (*OpenTracingLayerUserStore) GetNewUsersForTeam ¶
func (s *OpenTracingLayerUserStore) GetNewUsersForTeam(teamID string, offset int, limit int, viewRestrictions *model.ViewUsersRestrictions) ([]*model.User, error)
func (*OpenTracingLayerUserStore) GetProfileByGroupChannelIdsForUser ¶
func (*OpenTracingLayerUserStore) GetProfileByIds ¶
func (s *OpenTracingLayerUserStore) GetProfileByIds(ctx context.Context, userIds []string, options *store.UserGetByIdsOpts, allowFromCache bool) ([]*model.User, error)
func (*OpenTracingLayerUserStore) GetProfiles ¶
func (s *OpenTracingLayerUserStore) GetProfiles(options *model.UserGetOptions) ([]*model.User, error)
func (*OpenTracingLayerUserStore) GetProfilesByUsernames ¶
func (s *OpenTracingLayerUserStore) GetProfilesByUsernames(usernames []string, viewRestrictions *model.ViewUsersRestrictions) ([]*model.User, error)
func (*OpenTracingLayerUserStore) GetProfilesInChannel ¶
func (s *OpenTracingLayerUserStore) GetProfilesInChannel(options *model.UserGetOptions) ([]*model.User, error)
func (*OpenTracingLayerUserStore) GetProfilesInChannelByStatus ¶
func (s *OpenTracingLayerUserStore) GetProfilesInChannelByStatus(options *model.UserGetOptions) ([]*model.User, error)
func (*OpenTracingLayerUserStore) GetProfilesNotInChannel ¶
func (*OpenTracingLayerUserStore) GetProfilesNotInTeam ¶
func (s *OpenTracingLayerUserStore) GetProfilesNotInTeam(teamID string, groupConstrained bool, offset int, limit int, viewRestrictions *model.ViewUsersRestrictions) ([]*model.User, error)
func (*OpenTracingLayerUserStore) GetProfilesWithoutTeam ¶
func (s *OpenTracingLayerUserStore) GetProfilesWithoutTeam(options *model.UserGetOptions) ([]*model.User, error)
func (*OpenTracingLayerUserStore) GetRecentlyActiveUsersForTeam ¶
func (s *OpenTracingLayerUserStore) GetRecentlyActiveUsersForTeam(teamID string, offset int, limit int, viewRestrictions *model.ViewUsersRestrictions) ([]*model.User, error)
func (*OpenTracingLayerUserStore) GetSystemAdminProfiles ¶
func (s *OpenTracingLayerUserStore) GetSystemAdminProfiles() (map[string]*model.User, error)
func (*OpenTracingLayerUserStore) GetTeamGroupUsers ¶
func (s *OpenTracingLayerUserStore) GetTeamGroupUsers(teamID string) ([]*model.User, error)
func (*OpenTracingLayerUserStore) GetUnreadCount ¶
func (s *OpenTracingLayerUserStore) GetUnreadCount(userID string) (int64, error)
func (*OpenTracingLayerUserStore) GetUnreadCountForChannel ¶
func (s *OpenTracingLayerUserStore) GetUnreadCountForChannel(userID string, channelID string) (int64, error)
func (*OpenTracingLayerUserStore) GetUsersBatchForIndexing ¶
func (s *OpenTracingLayerUserStore) GetUsersBatchForIndexing(startTime int64, endTime int64, limit int) ([]*model.UserForIndexing, error)
func (*OpenTracingLayerUserStore) InferSystemInstallDate ¶
func (s *OpenTracingLayerUserStore) InferSystemInstallDate() (int64, error)
func (*OpenTracingLayerUserStore) InvalidateProfileCacheForUser ¶
func (s *OpenTracingLayerUserStore) InvalidateProfileCacheForUser(userID string)
func (*OpenTracingLayerUserStore) InvalidateProfilesInChannelCache ¶
func (s *OpenTracingLayerUserStore) InvalidateProfilesInChannelCache(channelID string)
func (*OpenTracingLayerUserStore) InvalidateProfilesInChannelCacheByUser ¶
func (s *OpenTracingLayerUserStore) InvalidateProfilesInChannelCacheByUser(userID string)
func (*OpenTracingLayerUserStore) IsEmpty ¶
func (s *OpenTracingLayerUserStore) IsEmpty(excludeBots bool) (bool, error)
func (*OpenTracingLayerUserStore) PermanentDelete ¶
func (s *OpenTracingLayerUserStore) PermanentDelete(userID string) error
func (*OpenTracingLayerUserStore) PromoteGuestToUser ¶
func (s *OpenTracingLayerUserStore) PromoteGuestToUser(userID string) error
func (*OpenTracingLayerUserStore) ResetAuthDataToEmailForUsers ¶
func (*OpenTracingLayerUserStore) ResetLastPictureUpdate ¶
func (s *OpenTracingLayerUserStore) ResetLastPictureUpdate(userID string) error
func (*OpenTracingLayerUserStore) Search ¶
func (s *OpenTracingLayerUserStore) Search(teamID string, term string, options *model.UserSearchOptions) ([]*model.User, error)
func (*OpenTracingLayerUserStore) SearchInChannel ¶
func (s *OpenTracingLayerUserStore) SearchInChannel(channelID string, term string, options *model.UserSearchOptions) ([]*model.User, error)
func (*OpenTracingLayerUserStore) SearchInGroup ¶
func (s *OpenTracingLayerUserStore) SearchInGroup(groupID string, term string, options *model.UserSearchOptions) ([]*model.User, error)
func (*OpenTracingLayerUserStore) SearchNotInChannel ¶
func (s *OpenTracingLayerUserStore) SearchNotInChannel(teamID string, channelID string, term string, options *model.UserSearchOptions) ([]*model.User, error)
func (*OpenTracingLayerUserStore) SearchNotInTeam ¶
func (s *OpenTracingLayerUserStore) SearchNotInTeam(notInTeamID string, term string, options *model.UserSearchOptions) ([]*model.User, error)
func (*OpenTracingLayerUserStore) SearchWithoutTeam ¶
func (s *OpenTracingLayerUserStore) SearchWithoutTeam(term string, options *model.UserSearchOptions) ([]*model.User, error)
func (*OpenTracingLayerUserStore) Update ¶
func (s *OpenTracingLayerUserStore) Update(user *model.User, allowRoleUpdate bool) (*model.UserUpdate, error)
func (*OpenTracingLayerUserStore) UpdateAuthData ¶
func (*OpenTracingLayerUserStore) UpdateFailedPasswordAttempts ¶
func (s *OpenTracingLayerUserStore) UpdateFailedPasswordAttempts(userID string, attempts int) error
func (*OpenTracingLayerUserStore) UpdateLastPictureUpdate ¶
func (s *OpenTracingLayerUserStore) UpdateLastPictureUpdate(userID string) error
func (*OpenTracingLayerUserStore) UpdateMfaActive ¶
func (s *OpenTracingLayerUserStore) UpdateMfaActive(userID string, active bool) error
func (*OpenTracingLayerUserStore) UpdateMfaSecret ¶
func (s *OpenTracingLayerUserStore) UpdateMfaSecret(userID string, secret string) error
func (*OpenTracingLayerUserStore) UpdateNotifyProps ¶
func (s *OpenTracingLayerUserStore) UpdateNotifyProps(userID string, props map[string]string) error
func (*OpenTracingLayerUserStore) UpdatePassword ¶
func (s *OpenTracingLayerUserStore) UpdatePassword(userID string, newPassword string) error
func (*OpenTracingLayerUserStore) UpdateUpdateAt ¶
func (s *OpenTracingLayerUserStore) UpdateUpdateAt(userID string) (int64, error)
func (*OpenTracingLayerUserStore) VerifyEmail ¶
func (s *OpenTracingLayerUserStore) VerifyEmail(userID string, email string) (string, error)
type OpenTracingLayerUserTermsOfServiceStore ¶
type OpenTracingLayerUserTermsOfServiceStore struct { store.UserTermsOfServiceStore Root *OpenTracingLayer }
func (*OpenTracingLayerUserTermsOfServiceStore) Delete ¶
func (s *OpenTracingLayerUserTermsOfServiceStore) Delete(userID string, termsOfServiceId string) error
func (*OpenTracingLayerUserTermsOfServiceStore) GetByUser ¶
func (s *OpenTracingLayerUserTermsOfServiceStore) GetByUser(userID string) (*model.UserTermsOfService, error)
func (*OpenTracingLayerUserTermsOfServiceStore) Save ¶
func (s *OpenTracingLayerUserTermsOfServiceStore) Save(userTermsOfService *model.UserTermsOfService) (*model.UserTermsOfService, error)
type OpenTracingLayerWebhookStore ¶
type OpenTracingLayerWebhookStore struct { store.WebhookStore Root *OpenTracingLayer }
func (*OpenTracingLayerWebhookStore) AnalyticsIncomingCount ¶
func (s *OpenTracingLayerWebhookStore) AnalyticsIncomingCount(teamID string) (int64, error)
func (*OpenTracingLayerWebhookStore) AnalyticsOutgoingCount ¶
func (s *OpenTracingLayerWebhookStore) AnalyticsOutgoingCount(teamID string) (int64, error)
func (*OpenTracingLayerWebhookStore) ClearCaches ¶
func (s *OpenTracingLayerWebhookStore) ClearCaches()
func (*OpenTracingLayerWebhookStore) DeleteIncoming ¶
func (s *OpenTracingLayerWebhookStore) DeleteIncoming(webhookID string, time int64) error
func (*OpenTracingLayerWebhookStore) DeleteOutgoing ¶
func (s *OpenTracingLayerWebhookStore) DeleteOutgoing(webhookID string, time int64) error
func (*OpenTracingLayerWebhookStore) GetIncoming ¶
func (s *OpenTracingLayerWebhookStore) GetIncoming(id string, allowFromCache bool) (*model.IncomingWebhook, error)
func (*OpenTracingLayerWebhookStore) GetIncomingByChannel ¶
func (s *OpenTracingLayerWebhookStore) GetIncomingByChannel(channelID string) ([]*model.IncomingWebhook, error)
func (*OpenTracingLayerWebhookStore) GetIncomingByTeam ¶
func (s *OpenTracingLayerWebhookStore) GetIncomingByTeam(teamID string, offset int, limit int) ([]*model.IncomingWebhook, error)
func (*OpenTracingLayerWebhookStore) GetIncomingByTeamByUser ¶
func (s *OpenTracingLayerWebhookStore) GetIncomingByTeamByUser(teamID string, userID string, offset int, limit int) ([]*model.IncomingWebhook, error)
func (*OpenTracingLayerWebhookStore) GetIncomingList ¶
func (s *OpenTracingLayerWebhookStore) GetIncomingList(offset int, limit int) ([]*model.IncomingWebhook, error)
func (*OpenTracingLayerWebhookStore) GetIncomingListByUser ¶
func (s *OpenTracingLayerWebhookStore) GetIncomingListByUser(userID string, offset int, limit int) ([]*model.IncomingWebhook, error)
func (*OpenTracingLayerWebhookStore) GetOutgoing ¶
func (s *OpenTracingLayerWebhookStore) GetOutgoing(id string) (*model.OutgoingWebhook, error)
func (*OpenTracingLayerWebhookStore) GetOutgoingByChannel ¶
func (s *OpenTracingLayerWebhookStore) GetOutgoingByChannel(channelID string, offset int, limit int) ([]*model.OutgoingWebhook, error)
func (*OpenTracingLayerWebhookStore) GetOutgoingByChannelByUser ¶
func (s *OpenTracingLayerWebhookStore) GetOutgoingByChannelByUser(channelID string, userID string, offset int, limit int) ([]*model.OutgoingWebhook, error)
func (*OpenTracingLayerWebhookStore) GetOutgoingByTeam ¶
func (s *OpenTracingLayerWebhookStore) GetOutgoingByTeam(teamID string, offset int, limit int) ([]*model.OutgoingWebhook, error)
func (*OpenTracingLayerWebhookStore) GetOutgoingByTeamByUser ¶
func (s *OpenTracingLayerWebhookStore) GetOutgoingByTeamByUser(teamID string, userID string, offset int, limit int) ([]*model.OutgoingWebhook, error)
func (*OpenTracingLayerWebhookStore) GetOutgoingList ¶
func (s *OpenTracingLayerWebhookStore) GetOutgoingList(offset int, limit int) ([]*model.OutgoingWebhook, error)
func (*OpenTracingLayerWebhookStore) GetOutgoingListByUser ¶
func (s *OpenTracingLayerWebhookStore) GetOutgoingListByUser(userID string, offset int, limit int) ([]*model.OutgoingWebhook, error)
func (*OpenTracingLayerWebhookStore) InvalidateWebhookCache ¶
func (s *OpenTracingLayerWebhookStore) InvalidateWebhookCache(webhook string)
func (*OpenTracingLayerWebhookStore) PermanentDeleteIncomingByChannel ¶
func (s *OpenTracingLayerWebhookStore) PermanentDeleteIncomingByChannel(channelID string) error
func (*OpenTracingLayerWebhookStore) PermanentDeleteIncomingByUser ¶
func (s *OpenTracingLayerWebhookStore) PermanentDeleteIncomingByUser(userID string) error
func (*OpenTracingLayerWebhookStore) PermanentDeleteOutgoingByChannel ¶
func (s *OpenTracingLayerWebhookStore) PermanentDeleteOutgoingByChannel(channelID string) error
func (*OpenTracingLayerWebhookStore) PermanentDeleteOutgoingByUser ¶
func (s *OpenTracingLayerWebhookStore) PermanentDeleteOutgoingByUser(userID string) error
func (*OpenTracingLayerWebhookStore) SaveIncoming ¶
func (s *OpenTracingLayerWebhookStore) SaveIncoming(webhook *model.IncomingWebhook) (*model.IncomingWebhook, error)
func (*OpenTracingLayerWebhookStore) SaveOutgoing ¶
func (s *OpenTracingLayerWebhookStore) SaveOutgoing(webhook *model.OutgoingWebhook) (*model.OutgoingWebhook, error)
func (*OpenTracingLayerWebhookStore) UpdateIncoming ¶
func (s *OpenTracingLayerWebhookStore) UpdateIncoming(webhook *model.IncomingWebhook) (*model.IncomingWebhook, error)
func (*OpenTracingLayerWebhookStore) UpdateOutgoing ¶
func (s *OpenTracingLayerWebhookStore) UpdateOutgoing(hook *model.OutgoingWebhook) (*model.OutgoingWebhook, error)
Click to show internal directories.
Click to hide internal directories.