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) Reaction() store.ReactionStore
- 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) Status() store.StatusStore
- func (s *OpenTracingLayer) System() store.SystemStore
- func (s *OpenTracingLayer) Team() store.TeamStore
- func (s *OpenTracingLayer) TermsOfService() store.TermsOfServiceStore
- 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) 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) 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)
- type OpenTracingLayerChannelStore
- func (s *OpenTracingLayerChannelStore) AnalyticsDeletedTypeCount(teamId string, channelType string) (int64, *model.AppError)
- func (s *OpenTracingLayerChannelStore) AnalyticsTypeCount(teamId string, channelType string) (int64, *model.AppError)
- func (s *OpenTracingLayerChannelStore) AutocompleteInTeam(teamId string, term string, includeDeleted bool) (*model.ChannelList, *model.AppError)
- func (s *OpenTracingLayerChannelStore) AutocompleteInTeamForSearch(teamId string, userId string, term string, includeDeleted bool) (*model.ChannelList, *model.AppError)
- func (s *OpenTracingLayerChannelStore) ClearAllCustomRoleAssignments() *model.AppError
- func (s *OpenTracingLayerChannelStore) ClearCaches()
- func (s *OpenTracingLayerChannelStore) ClearSidebarOnTeamLeave(userId string, teamId string) *model.AppError
- func (s *OpenTracingLayerChannelStore) CountPostsAfter(channelId string, timestamp int64, userId string) (int, *model.AppError)
- func (s *OpenTracingLayerChannelStore) CreateDirectChannel(userId *model.User, otherUserId *model.User) (*model.Channel, error)
- func (s *OpenTracingLayerChannelStore) CreateInitialSidebarCategories(userId string, teamId string) error
- func (s *OpenTracingLayerChannelStore) CreateSidebarCategory(userId string, teamId string, newCategory *model.SidebarCategoryWithChannels) (*model.SidebarCategoryWithChannels, *model.AppError)
- func (s *OpenTracingLayerChannelStore) Delete(channelId string, time int64) error
- func (s *OpenTracingLayerChannelStore) DeleteSidebarCategory(categoryId string) *model.AppError
- 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, *model.AppError)
- func (s *OpenTracingLayerChannelStore) GetAllChannelMembersForUser(userId string, allowFromCache bool, includeDeleted bool) (map[string]string, *model.AppError)
- func (s *OpenTracingLayerChannelStore) GetAllChannelMembersNotifyPropsForChannel(channelId string, allowFromCache bool) (map[string]model.StringMap, *model.AppError)
- 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, *model.AppError)
- func (s *OpenTracingLayerChannelStore) GetAllDirectChannelsForExportAfter(limit int, afterId string) ([]*model.DirectChannelForExport, *model.AppError)
- 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, *model.AppError)
- func (s *OpenTracingLayerChannelStore) GetChannelMembersForExport(userId string, teamId string) ([]*model.ChannelMemberForExport, *model.AppError)
- func (s *OpenTracingLayerChannelStore) GetChannelMembersTimezones(channelId string) ([]model.StringMap, *model.AppError)
- func (s *OpenTracingLayerChannelStore) GetChannelUnread(channelId string, userId string) (*model.ChannelUnread, *model.AppError)
- 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, *model.AppError)
- func (s *OpenTracingLayerChannelStore) GetChannelsByIds(channelIds []string, includeDeleted bool) ([]*model.Channel, *model.AppError)
- func (s *OpenTracingLayerChannelStore) GetChannelsByScheme(schemeId string, offset int, limit int) (model.ChannelList, *model.AppError)
- 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, *model.AppError)
- func (s *OpenTracingLayerChannelStore) GetFromMaster(id string) (*model.Channel, error)
- func (s *OpenTracingLayerChannelStore) GetGuestCount(channelId string, allowFromCache bool) (int64, *model.AppError)
- func (s *OpenTracingLayerChannelStore) GetMember(channelId string, userId string) (*model.ChannelMember, *model.AppError)
- func (s *OpenTracingLayerChannelStore) GetMemberCount(channelId string, allowFromCache bool) (int64, *model.AppError)
- func (s *OpenTracingLayerChannelStore) GetMemberCountFromCache(channelId string) int64
- func (s *OpenTracingLayerChannelStore) GetMemberCountsByGroup(channelID string, includeTimezones bool) ([]*model.ChannelMemberCountByGroup, *model.AppError)
- func (s *OpenTracingLayerChannelStore) GetMemberForPost(postId string, userId string) (*model.ChannelMember, *model.AppError)
- func (s *OpenTracingLayerChannelStore) GetMembers(channelId string, offset int, limit int) (*model.ChannelMembers, *model.AppError)
- func (s *OpenTracingLayerChannelStore) GetMembersByIds(channelId string, userIds []string) (*model.ChannelMembers, *model.AppError)
- func (s *OpenTracingLayerChannelStore) GetMembersForUser(teamId string, userId string) (*model.ChannelMembers, *model.AppError)
- func (s *OpenTracingLayerChannelStore) GetMembersForUserWithPagination(teamId string, userId string, page int, perPage int) (*model.ChannelMembers, *model.AppError)
- func (s *OpenTracingLayerChannelStore) GetMoreChannels(teamId string, userId string, offset int, limit int) (*model.ChannelList, error)
- func (s *OpenTracingLayerChannelStore) GetPinnedPostCount(channelId string, allowFromCache bool) (int64, *model.AppError)
- func (s *OpenTracingLayerChannelStore) GetPinnedPosts(channelId string) (*model.PostList, *model.AppError)
- func (s *OpenTracingLayerChannelStore) GetPrivateChannelsForTeam(teamId string, offset int, limit int) (*model.ChannelList, *model.AppError)
- func (s *OpenTracingLayerChannelStore) GetPublicChannelsByIdsForTeam(teamId string, channelIds []string) (*model.ChannelList, *model.AppError)
- func (s *OpenTracingLayerChannelStore) GetPublicChannelsForTeam(teamId string, offset int, limit int) (*model.ChannelList, *model.AppError)
- func (s *OpenTracingLayerChannelStore) GetSidebarCategories(userId string, teamId string) (*model.OrderedSidebarCategories, *model.AppError)
- func (s *OpenTracingLayerChannelStore) GetSidebarCategory(categoryId string) (*model.SidebarCategoryWithChannels, *model.AppError)
- func (s *OpenTracingLayerChannelStore) GetSidebarCategoryOrder(userId string, teamId string) ([]string, *model.AppError)
- func (s *OpenTracingLayerChannelStore) GetTeamChannels(teamId string) (*model.ChannelList, *model.AppError)
- func (s *OpenTracingLayerChannelStore) GroupSyncedChannelCount() (int64, *model.AppError)
- func (s *OpenTracingLayerChannelStore) IncrementMentionCount(channelId string, userId string) *model.AppError
- 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, *model.AppError)
- 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) *model.AppError
- func (s *OpenTracingLayerChannelStore) PermanentDeleteMembersByUser(userId string) *model.AppError
- func (s *OpenTracingLayerChannelStore) RemoveAllDeactivatedMembers(channelId string) *model.AppError
- func (s *OpenTracingLayerChannelStore) RemoveMember(channelId string, userId string) *model.AppError
- func (s *OpenTracingLayerChannelStore) RemoveMembers(channelId string, userIds []string) *model.AppError
- func (s *OpenTracingLayerChannelStore) ResetAllChannelSchemes() *model.AppError
- 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, *model.AppError)
- func (s *OpenTracingLayerChannelStore) SaveMultipleMembers(members []*model.ChannelMember) ([]*model.ChannelMember, *model.AppError)
- func (s *OpenTracingLayerChannelStore) SearchAllChannels(term string, opts store.ChannelSearchOpts) (*model.ChannelListWithTeamData, int64, *model.AppError)
- func (s *OpenTracingLayerChannelStore) SearchArchivedInTeam(teamId string, term string, userId string) (*model.ChannelList, *model.AppError)
- func (s *OpenTracingLayerChannelStore) SearchForUserInTeam(userId string, teamId string, term string, includeDeleted bool) (*model.ChannelList, *model.AppError)
- func (s *OpenTracingLayerChannelStore) SearchGroupChannels(userId string, term string) (*model.ChannelList, *model.AppError)
- func (s *OpenTracingLayerChannelStore) SearchInTeam(teamId string, term string, includeDeleted bool) (*model.ChannelList, *model.AppError)
- func (s *OpenTracingLayerChannelStore) SearchMore(userId string, teamId string, term string) (*model.ChannelList, *model.AppError)
- func (s *OpenTracingLayerChannelStore) SetDeleteAt(channelId string, deleteAt int64, updateAt int64) error
- func (s *OpenTracingLayerChannelStore) Update(channel *model.Channel) (*model.Channel, error)
- func (s *OpenTracingLayerChannelStore) UpdateLastViewedAt(channelIds []string, userId string) (map[string]int64, *model.AppError)
- func (s *OpenTracingLayerChannelStore) UpdateLastViewedAtPost(unreadPost *model.Post, userID string, mentionCount int) (*model.ChannelUnreadAt, *model.AppError)
- func (s *OpenTracingLayerChannelStore) UpdateMember(member *model.ChannelMember) (*model.ChannelMember, *model.AppError)
- func (s *OpenTracingLayerChannelStore) UpdateMembersRole(channelID string, userIDs []string) *model.AppError
- func (s *OpenTracingLayerChannelStore) UpdateMultipleMembers(members []*model.ChannelMember) ([]*model.ChannelMember, *model.AppError)
- func (s *OpenTracingLayerChannelStore) UpdateSidebarCategories(userId string, teamId string, categories []*model.SidebarCategoryWithChannels) ([]*model.SidebarCategoryWithChannels, *model.AppError)
- func (s *OpenTracingLayerChannelStore) UpdateSidebarCategoryOrder(userId string, teamId string, categoryOrder []string) *model.AppError
- func (s *OpenTracingLayerChannelStore) UpdateSidebarChannelCategoryOnMove(channel *model.Channel, newTeamId string) *model.AppError
- func (s *OpenTracingLayerChannelStore) UpdateSidebarChannelsByPreferences(preferences *model.Preferences) error
- func (s *OpenTracingLayerChannelStore) UserBelongsToChannels(userId string, channelIds []string) (bool, *model.AppError)
- 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) ([]*model.CompliancePost, 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(after int64, limit int) ([]*model.MessageExport, 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(id string, allowFromCache bool) (*model.Emoji, error)
- func (s *OpenTracingLayerEmojiStore) GetByName(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) *model.AppError
- func (s *OpenTracingLayerFileInfoStore) ClearCaches()
- func (s *OpenTracingLayerFileInfoStore) DeleteForPost(postId string) (string, *model.AppError)
- func (s *OpenTracingLayerFileInfoStore) Get(id string) (*model.FileInfo, *model.AppError)
- func (s *OpenTracingLayerFileInfoStore) GetByPath(path string) (*model.FileInfo, *model.AppError)
- func (s *OpenTracingLayerFileInfoStore) GetForPost(postId string, readFromMaster bool, includeDeleted bool, allowFromCache bool) ([]*model.FileInfo, *model.AppError)
- func (s *OpenTracingLayerFileInfoStore) GetForUser(userId string) ([]*model.FileInfo, *model.AppError)
- func (s *OpenTracingLayerFileInfoStore) GetWithOptions(page int, perPage int, opt *model.GetFileInfosOptions) ([]*model.FileInfo, *model.AppError)
- func (s *OpenTracingLayerFileInfoStore) InvalidateFileInfosForPostCache(postId string, deleted bool)
- func (s *OpenTracingLayerFileInfoStore) PermanentDelete(fileId string) *model.AppError
- func (s *OpenTracingLayerFileInfoStore) PermanentDeleteBatch(endTime int64, limit int64) (int64, *model.AppError)
- func (s *OpenTracingLayerFileInfoStore) PermanentDeleteByUser(userId string) (int64, *model.AppError)
- func (s *OpenTracingLayerFileInfoStore) Save(info *model.FileInfo) (*model.FileInfo, *model.AppError)
- type OpenTracingLayerGroupStore
- func (s *OpenTracingLayerGroupStore) AdminRoleGroupsForSyncableMember(userID string, syncableID string, syncableType model.GroupSyncableType) ([]string, *model.AppError)
- func (s *OpenTracingLayerGroupStore) ChannelMembersMinusGroupMembers(channelID string, groupIDs []string, page int, perPage int) ([]*model.UserWithGroups, *model.AppError)
- func (s *OpenTracingLayerGroupStore) ChannelMembersToAdd(since int64, channelID *string) ([]*model.UserChannelIDPair, *model.AppError)
- func (s *OpenTracingLayerGroupStore) ChannelMembersToRemove(channelID *string) ([]*model.ChannelMember, *model.AppError)
- func (s *OpenTracingLayerGroupStore) CountChannelMembersMinusGroupMembers(channelID string, groupIDs []string) (int64, *model.AppError)
- func (s *OpenTracingLayerGroupStore) CountGroupsByChannel(channelId string, opts model.GroupSearchOpts) (int64, *model.AppError)
- func (s *OpenTracingLayerGroupStore) CountGroupsByTeam(teamId string, opts model.GroupSearchOpts) (int64, *model.AppError)
- func (s *OpenTracingLayerGroupStore) CountTeamMembersMinusGroupMembers(teamID string, groupIDs []string) (int64, *model.AppError)
- func (s *OpenTracingLayerGroupStore) Create(group *model.Group) (*model.Group, *model.AppError)
- func (s *OpenTracingLayerGroupStore) CreateGroupSyncable(groupSyncable *model.GroupSyncable) (*model.GroupSyncable, *model.AppError)
- func (s *OpenTracingLayerGroupStore) Delete(groupID string) (*model.Group, *model.AppError)
- func (s *OpenTracingLayerGroupStore) DeleteGroupSyncable(groupID string, syncableID string, syncableType model.GroupSyncableType) (*model.GroupSyncable, *model.AppError)
- func (s *OpenTracingLayerGroupStore) DeleteMember(groupID string, userID string) (*model.GroupMember, *model.AppError)
- func (s *OpenTracingLayerGroupStore) DistinctGroupMemberCount() (int64, *model.AppError)
- func (s *OpenTracingLayerGroupStore) Get(groupID string) (*model.Group, *model.AppError)
- func (s *OpenTracingLayerGroupStore) GetAllBySource(groupSource model.GroupSource) ([]*model.Group, *model.AppError)
- func (s *OpenTracingLayerGroupStore) GetAllGroupSyncablesByGroupId(groupID string, syncableType model.GroupSyncableType) ([]*model.GroupSyncable, *model.AppError)
- func (s *OpenTracingLayerGroupStore) GetByIDs(groupIDs []string) ([]*model.Group, *model.AppError)
- func (s *OpenTracingLayerGroupStore) GetByName(name string, opts model.GroupSearchOpts) (*model.Group, *model.AppError)
- func (s *OpenTracingLayerGroupStore) GetByRemoteID(remoteID string, groupSource model.GroupSource) (*model.Group, *model.AppError)
- func (s *OpenTracingLayerGroupStore) GetByUser(userId string) ([]*model.Group, *model.AppError)
- func (s *OpenTracingLayerGroupStore) GetGroupSyncable(groupID string, syncableID string, syncableType model.GroupSyncableType) (*model.GroupSyncable, *model.AppError)
- func (s *OpenTracingLayerGroupStore) GetGroups(page int, perPage int, opts model.GroupSearchOpts) ([]*model.Group, *model.AppError)
- func (s *OpenTracingLayerGroupStore) GetGroupsAssociatedToChannelsByTeam(teamId string, opts model.GroupSearchOpts) (map[string][]*model.GroupWithSchemeAdmin, *model.AppError)
- func (s *OpenTracingLayerGroupStore) GetGroupsByChannel(channelId string, opts model.GroupSearchOpts) ([]*model.GroupWithSchemeAdmin, *model.AppError)
- func (s *OpenTracingLayerGroupStore) GetGroupsByTeam(teamId string, opts model.GroupSearchOpts) ([]*model.GroupWithSchemeAdmin, *model.AppError)
- func (s *OpenTracingLayerGroupStore) GetMemberCount(groupID string) (int64, *model.AppError)
- func (s *OpenTracingLayerGroupStore) GetMemberUsers(groupID string) ([]*model.User, *model.AppError)
- func (s *OpenTracingLayerGroupStore) GetMemberUsersInTeam(groupID string, teamID string) ([]*model.User, *model.AppError)
- func (s *OpenTracingLayerGroupStore) GetMemberUsersNotInChannel(groupID string, channelID string) ([]*model.User, *model.AppError)
- func (s *OpenTracingLayerGroupStore) GetMemberUsersPage(groupID string, page int, perPage int) ([]*model.User, *model.AppError)
- func (s *OpenTracingLayerGroupStore) GroupChannelCount() (int64, *model.AppError)
- func (s *OpenTracingLayerGroupStore) GroupCount() (int64, *model.AppError)
- func (s *OpenTracingLayerGroupStore) GroupCountWithAllowReference() (int64, *model.AppError)
- func (s *OpenTracingLayerGroupStore) GroupMemberCount() (int64, *model.AppError)
- func (s *OpenTracingLayerGroupStore) GroupTeamCount() (int64, *model.AppError)
- func (s *OpenTracingLayerGroupStore) PermanentDeleteMembersByUser(userId string) *model.AppError
- func (s *OpenTracingLayerGroupStore) PermittedSyncableAdmins(syncableID string, syncableType model.GroupSyncableType) ([]string, *model.AppError)
- func (s *OpenTracingLayerGroupStore) TeamMembersMinusGroupMembers(teamID string, groupIDs []string, page int, perPage int) ([]*model.UserWithGroups, *model.AppError)
- func (s *OpenTracingLayerGroupStore) TeamMembersToAdd(since int64, teamID *string) ([]*model.UserTeamIDPair, *model.AppError)
- func (s *OpenTracingLayerGroupStore) TeamMembersToRemove(teamID *string) ([]*model.TeamMember, *model.AppError)
- func (s *OpenTracingLayerGroupStore) Update(group *model.Group) (*model.Group, *model.AppError)
- func (s *OpenTracingLayerGroupStore) UpdateGroupSyncable(groupSyncable *model.GroupSyncable) (*model.GroupSyncable, *model.AppError)
- func (s *OpenTracingLayerGroupStore) UpsertMember(groupID string, userID string) (*model.GroupMember, *model.AppError)
- type OpenTracingLayerJobStore
- func (s *OpenTracingLayerJobStore) Delete(id string) (string, *model.AppError)
- func (s *OpenTracingLayerJobStore) Get(id string) (*model.Job, *model.AppError)
- func (s *OpenTracingLayerJobStore) GetAllByStatus(status string) ([]*model.Job, *model.AppError)
- func (s *OpenTracingLayerJobStore) GetAllByType(jobType string) ([]*model.Job, *model.AppError)
- func (s *OpenTracingLayerJobStore) GetAllByTypePage(jobType string, offset int, limit int) ([]*model.Job, *model.AppError)
- func (s *OpenTracingLayerJobStore) GetAllPage(offset int, limit int) ([]*model.Job, *model.AppError)
- func (s *OpenTracingLayerJobStore) GetCountByStatusAndType(status string, jobType string) (int64, *model.AppError)
- func (s *OpenTracingLayerJobStore) GetNewestJobByStatusAndType(status string, jobType string) (*model.Job, *model.AppError)
- func (s *OpenTracingLayerJobStore) Save(job *model.Job) (*model.Job, *model.AppError)
- func (s *OpenTracingLayerJobStore) UpdateOptimistically(job *model.Job, currentStatus string) (bool, *model.AppError)
- func (s *OpenTracingLayerJobStore) UpdateStatus(id string, status string) (*model.Job, *model.AppError)
- func (s *OpenTracingLayerJobStore) UpdateStatusOptimistically(id string, currentStatus string, newStatus string) (bool, *model.AppError)
- 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, *model.AppError)
- func (s *OpenTracingLayerPluginStore) CompareAndSet(keyVal *model.PluginKeyValue, oldValue []byte) (bool, *model.AppError)
- func (s *OpenTracingLayerPluginStore) Delete(pluginId string, key string) *model.AppError
- func (s *OpenTracingLayerPluginStore) DeleteAllExpired() *model.AppError
- func (s *OpenTracingLayerPluginStore) DeleteAllForPlugin(PluginId string) *model.AppError
- func (s *OpenTracingLayerPluginStore) Get(pluginId string, key string) (*model.PluginKeyValue, *model.AppError)
- func (s *OpenTracingLayerPluginStore) List(pluginId string, page int, perPage int) ([]string, *model.AppError)
- func (s *OpenTracingLayerPluginStore) SaveOrUpdate(keyVal *model.PluginKeyValue) (*model.PluginKeyValue, *model.AppError)
- func (s *OpenTracingLayerPluginStore) SetWithOptions(pluginId string, key string, value []byte, options model.PluginKVSetOptions) (bool, *model.AppError)
- type OpenTracingLayerPostStore
- func (s *OpenTracingLayerPostStore) AnalyticsPostCount(teamId string, mustHaveFile bool, mustHaveHashtag bool) (int64, *model.AppError)
- func (s *OpenTracingLayerPostStore) AnalyticsPostCountsByDay(options *model.AnalyticsPostCountsOptions) (model.AnalyticsRows, *model.AppError)
- func (s *OpenTracingLayerPostStore) AnalyticsUserCountsWithPostsByDay(teamId string) (model.AnalyticsRows, *model.AppError)
- func (s *OpenTracingLayerPostStore) ClearCaches()
- func (s *OpenTracingLayerPostStore) Delete(postId string, time int64, deleteByID string) *model.AppError
- func (s *OpenTracingLayerPostStore) Get(id string, skipFetchThreads bool) (*model.PostList, *model.AppError)
- func (s *OpenTracingLayerPostStore) GetDirectPostParentsForExportAfter(limit int, afterId string) ([]*model.DirectPostForExport, *model.AppError)
- func (s *OpenTracingLayerPostStore) GetEtag(channelId string, allowFromCache bool) string
- func (s *OpenTracingLayerPostStore) GetFlaggedPosts(userId string, offset int, limit int) (*model.PostList, *model.AppError)
- func (s *OpenTracingLayerPostStore) GetFlaggedPostsForChannel(userId string, channelId string, offset int, limit int) (*model.PostList, *model.AppError)
- func (s *OpenTracingLayerPostStore) GetFlaggedPostsForTeam(userId string, teamId string, offset int, limit int) (*model.PostList, *model.AppError)
- func (s *OpenTracingLayerPostStore) GetMaxPostSize() int
- func (s *OpenTracingLayerPostStore) GetOldest() (*model.Post, *model.AppError)
- func (s *OpenTracingLayerPostStore) GetOldestEntityCreationTime() (int64, *model.AppError)
- func (s *OpenTracingLayerPostStore) GetParentsForExportAfter(limit int, afterId string) ([]*model.PostForExport, *model.AppError)
- func (s *OpenTracingLayerPostStore) GetPostAfterTime(channelId string, time int64) (*model.Post, *model.AppError)
- func (s *OpenTracingLayerPostStore) GetPostIdAfterTime(channelId string, time int64) (string, *model.AppError)
- func (s *OpenTracingLayerPostStore) GetPostIdBeforeTime(channelId string, time int64) (string, *model.AppError)
- func (s *OpenTracingLayerPostStore) GetPosts(options model.GetPostsOptions, allowFromCache bool) (*model.PostList, *model.AppError)
- func (s *OpenTracingLayerPostStore) GetPostsAfter(options model.GetPostsOptions) (*model.PostList, *model.AppError)
- func (s *OpenTracingLayerPostStore) GetPostsBatchForIndexing(startTime int64, endTime int64, limit int) ([]*model.PostForIndexing, *model.AppError)
- func (s *OpenTracingLayerPostStore) GetPostsBefore(options model.GetPostsOptions) (*model.PostList, *model.AppError)
- func (s *OpenTracingLayerPostStore) GetPostsByIds(postIds []string) ([]*model.Post, *model.AppError)
- func (s *OpenTracingLayerPostStore) GetPostsCreatedAt(channelId string, time int64) ([]*model.Post, *model.AppError)
- func (s *OpenTracingLayerPostStore) GetPostsSince(options model.GetPostsSinceOptions, allowFromCache bool) (*model.PostList, *model.AppError)
- func (s *OpenTracingLayerPostStore) GetRepliesForExport(parentId string) ([]*model.ReplyForExport, *model.AppError)
- func (s *OpenTracingLayerPostStore) GetSingle(id string) (*model.Post, *model.AppError)
- func (s *OpenTracingLayerPostStore) InvalidateLastPostTimeCache(channelId string)
- func (s *OpenTracingLayerPostStore) Overwrite(post *model.Post) (*model.Post, *model.AppError)
- func (s *OpenTracingLayerPostStore) OverwriteMultiple(posts []*model.Post) ([]*model.Post, int, *model.AppError)
- func (s *OpenTracingLayerPostStore) PermanentDeleteBatch(endTime int64, limit int64) (int64, *model.AppError)
- func (s *OpenTracingLayerPostStore) PermanentDeleteByChannel(channelId string) *model.AppError
- func (s *OpenTracingLayerPostStore) PermanentDeleteByUser(userId string) *model.AppError
- func (s *OpenTracingLayerPostStore) Save(post *model.Post) (*model.Post, *model.AppError)
- func (s *OpenTracingLayerPostStore) SaveMultiple(posts []*model.Post) ([]*model.Post, int, *model.AppError)
- func (s *OpenTracingLayerPostStore) Search(teamId string, userId string, params *model.SearchParams) (*model.PostList, *model.AppError)
- func (s *OpenTracingLayerPostStore) SearchPostsInTeamForUser(paramsList []*model.SearchParams, userId string, teamId string, ...) (*model.PostSearchResults, *model.AppError)
- func (s *OpenTracingLayerPostStore) Update(newPost *model.Post, oldPost *model.Post) (*model.Post, *model.AppError)
- 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) 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 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) GetForPost(postId string, allowFromCache 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 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(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)
- func (s *OpenTracingLayerSessionStore) Get(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 OpenTracingLayerStatusStore
- func (s *OpenTracingLayerStatusStore) Get(userId string) (*model.Status, *model.AppError)
- func (s *OpenTracingLayerStatusStore) GetByIds(userIds []string) ([]*model.Status, *model.AppError)
- func (s *OpenTracingLayerStatusStore) GetTotalActiveUsersCount() (int64, *model.AppError)
- func (s *OpenTracingLayerStatusStore) ResetAll() *model.AppError
- func (s *OpenTracingLayerStatusStore) SaveOrUpdate(status *model.Status) *model.AppError
- func (s *OpenTracingLayerStatusStore) UpdateLastActivityAt(userId string, lastActivityAt int64) *model.AppError
- type OpenTracingLayerSystemStore
- func (s *OpenTracingLayerSystemStore) Get() (model.StringMap, *model.AppError)
- func (s *OpenTracingLayerSystemStore) GetByName(name string) (*model.System, *model.AppError)
- func (s *OpenTracingLayerSystemStore) InsertIfExists(system *model.System) (*model.System, *model.AppError)
- func (s *OpenTracingLayerSystemStore) PermanentDeleteByName(name string) (*model.System, *model.AppError)
- func (s *OpenTracingLayerSystemStore) Save(system *model.System) *model.AppError
- func (s *OpenTracingLayerSystemStore) SaveOrUpdate(system *model.System) *model.AppError
- func (s *OpenTracingLayerSystemStore) Update(system *model.System) *model.AppError
- type OpenTracingLayerTeamStore
- func (s *OpenTracingLayerTeamStore) AnalyticsGetTeamCountForScheme(schemeId string) (int64, *model.AppError)
- func (s *OpenTracingLayerTeamStore) AnalyticsPrivateTeamCount() (int64, *model.AppError)
- func (s *OpenTracingLayerTeamStore) AnalyticsPublicTeamCount() (int64, *model.AppError)
- func (s *OpenTracingLayerTeamStore) AnalyticsTeamCount(includeDeleted bool) (int64, *model.AppError)
- func (s *OpenTracingLayerTeamStore) ClearAllCustomRoleAssignments() *model.AppError
- func (s *OpenTracingLayerTeamStore) ClearCaches()
- func (s *OpenTracingLayerTeamStore) Get(id string) (*model.Team, *model.AppError)
- func (s *OpenTracingLayerTeamStore) GetActiveMemberCount(teamId string, restrictions *model.ViewUsersRestrictions) (int64, *model.AppError)
- func (s *OpenTracingLayerTeamStore) GetAll() ([]*model.Team, *model.AppError)
- func (s *OpenTracingLayerTeamStore) GetAllForExportAfter(limit int, afterId string) ([]*model.TeamForExport, *model.AppError)
- func (s *OpenTracingLayerTeamStore) GetAllPage(offset int, limit int) ([]*model.Team, *model.AppError)
- func (s *OpenTracingLayerTeamStore) GetAllPrivateTeamListing() ([]*model.Team, *model.AppError)
- func (s *OpenTracingLayerTeamStore) GetAllPrivateTeamPageListing(offset int, limit int) ([]*model.Team, *model.AppError)
- func (s *OpenTracingLayerTeamStore) GetAllPublicTeamPageListing(offset int, limit int) ([]*model.Team, *model.AppError)
- func (s *OpenTracingLayerTeamStore) GetAllTeamListing() ([]*model.Team, *model.AppError)
- func (s *OpenTracingLayerTeamStore) GetAllTeamPageListing(offset int, limit int) ([]*model.Team, *model.AppError)
- func (s *OpenTracingLayerTeamStore) GetByInviteId(inviteId string) (*model.Team, *model.AppError)
- func (s *OpenTracingLayerTeamStore) GetByName(name string) (*model.Team, *model.AppError)
- func (s *OpenTracingLayerTeamStore) GetByNames(name []string) ([]*model.Team, *model.AppError)
- func (s *OpenTracingLayerTeamStore) GetChannelUnreadsForAllTeams(excludeTeamId string, userId string) ([]*model.ChannelUnread, *model.AppError)
- func (s *OpenTracingLayerTeamStore) GetChannelUnreadsForTeam(teamId string, userId string) ([]*model.ChannelUnread, *model.AppError)
- func (s *OpenTracingLayerTeamStore) GetMember(teamId string, userId string) (*model.TeamMember, *model.AppError)
- func (s *OpenTracingLayerTeamStore) GetMembers(teamId string, offset int, limit int, ...) ([]*model.TeamMember, *model.AppError)
- func (s *OpenTracingLayerTeamStore) GetMembersByIds(teamId string, userIds []string, restrictions *model.ViewUsersRestrictions) ([]*model.TeamMember, *model.AppError)
- func (s *OpenTracingLayerTeamStore) GetTeamMembersForExport(userId string) ([]*model.TeamMemberForExport, *model.AppError)
- func (s *OpenTracingLayerTeamStore) GetTeamsByScheme(schemeId string, offset int, limit int) ([]*model.Team, *model.AppError)
- func (s *OpenTracingLayerTeamStore) GetTeamsByUserId(userId string) ([]*model.Team, *model.AppError)
- func (s *OpenTracingLayerTeamStore) GetTeamsForUser(userId string) ([]*model.TeamMember, *model.AppError)
- func (s *OpenTracingLayerTeamStore) GetTeamsForUserWithPagination(userId string, page int, perPage int) ([]*model.TeamMember, *model.AppError)
- func (s *OpenTracingLayerTeamStore) GetTotalMemberCount(teamId string, restrictions *model.ViewUsersRestrictions) (int64, *model.AppError)
- func (s *OpenTracingLayerTeamStore) GetUserTeamIds(userId string, allowFromCache bool) ([]string, *model.AppError)
- func (s *OpenTracingLayerTeamStore) GroupSyncedTeamCount() (int64, *model.AppError)
- func (s *OpenTracingLayerTeamStore) InvalidateAllTeamIdsForUser(userId string)
- func (s *OpenTracingLayerTeamStore) MigrateTeamMembers(fromTeamId string, fromUserId string) (map[string]string, *model.AppError)
- func (s *OpenTracingLayerTeamStore) PermanentDelete(teamId string) *model.AppError
- func (s *OpenTracingLayerTeamStore) RemoveAllMembersByTeam(teamId string) *model.AppError
- func (s *OpenTracingLayerTeamStore) RemoveAllMembersByUser(userId string) *model.AppError
- func (s *OpenTracingLayerTeamStore) RemoveMember(teamId string, userId string) *model.AppError
- func (s *OpenTracingLayerTeamStore) RemoveMembers(teamId string, userIds []string) *model.AppError
- func (s *OpenTracingLayerTeamStore) ResetAllTeamSchemes() *model.AppError
- func (s *OpenTracingLayerTeamStore) Save(team *model.Team) (*model.Team, *model.AppError)
- func (s *OpenTracingLayerTeamStore) SaveMember(member *model.TeamMember, maxUsersPerTeam int) (*model.TeamMember, *model.AppError)
- func (s *OpenTracingLayerTeamStore) SaveMultipleMembers(members []*model.TeamMember, maxUsersPerTeam int) ([]*model.TeamMember, *model.AppError)
- func (s *OpenTracingLayerTeamStore) SearchAll(term string, opts *model.TeamSearch) ([]*model.Team, *model.AppError)
- func (s *OpenTracingLayerTeamStore) SearchAllPaged(term string, opts *model.TeamSearch) ([]*model.Team, int64, *model.AppError)
- func (s *OpenTracingLayerTeamStore) SearchOpen(term string) ([]*model.Team, *model.AppError)
- func (s *OpenTracingLayerTeamStore) SearchPrivate(term string) ([]*model.Team, *model.AppError)
- func (s *OpenTracingLayerTeamStore) Update(team *model.Team) (*model.Team, *model.AppError)
- func (s *OpenTracingLayerTeamStore) UpdateLastTeamIconUpdate(teamId string, curTime int64) *model.AppError
- func (s *OpenTracingLayerTeamStore) UpdateMember(member *model.TeamMember) (*model.TeamMember, *model.AppError)
- func (s *OpenTracingLayerTeamStore) UpdateMembersRole(teamID string, userIDs []string) *model.AppError
- func (s *OpenTracingLayerTeamStore) UpdateMultipleMembers(members []*model.TeamMember) ([]*model.TeamMember, *model.AppError)
- func (s *OpenTracingLayerTeamStore) UserBelongsToTeams(userId string, teamIds []string) (bool, *model.AppError)
- 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 OpenTracingLayerTokenStore
- func (s *OpenTracingLayerTokenStore) Cleanup()
- func (s *OpenTracingLayerTokenStore) Delete(token string) 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 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, *model.AppError)
- func (s *OpenTracingLayerUserStore) AnalyticsGetGuestCount() (int64, *model.AppError)
- func (s *OpenTracingLayerUserStore) AnalyticsGetInactiveUsersCount() (int64, *model.AppError)
- func (s *OpenTracingLayerUserStore) AnalyticsGetSystemAdminCount() (int64, *model.AppError)
- func (s *OpenTracingLayerUserStore) AutocompleteUsersInChannel(teamId string, channelId string, term string, options *model.UserSearchOptions) (*model.UserAutocompleteInChannel, *model.AppError)
- func (s *OpenTracingLayerUserStore) ClearAllCustomRoleAssignments() *model.AppError
- func (s *OpenTracingLayerUserStore) ClearCaches()
- func (s *OpenTracingLayerUserStore) Count(options model.UserCountOptions) (int64, *model.AppError)
- func (s *OpenTracingLayerUserStore) DeactivateGuests() ([]string, *model.AppError)
- func (s *OpenTracingLayerUserStore) DemoteUserToGuest(userID string) *model.AppError
- func (s *OpenTracingLayerUserStore) Get(id string) (*model.User, *model.AppError)
- func (s *OpenTracingLayerUserStore) GetAll() ([]*model.User, *model.AppError)
- func (s *OpenTracingLayerUserStore) GetAllAfter(limit int, afterId string) ([]*model.User, *model.AppError)
- func (s *OpenTracingLayerUserStore) GetAllNotInAuthService(authServices []string) ([]*model.User, *model.AppError)
- func (s *OpenTracingLayerUserStore) GetAllProfiles(options *model.UserGetOptions) ([]*model.User, *model.AppError)
- func (s *OpenTracingLayerUserStore) GetAllProfilesInChannel(channelId string, allowFromCache bool) (map[string]*model.User, *model.AppError)
- func (s *OpenTracingLayerUserStore) GetAllUsingAuthService(authService string) ([]*model.User, *model.AppError)
- func (s *OpenTracingLayerUserStore) GetAnyUnreadPostCountForChannel(userId string, channelId string) (int64, *model.AppError)
- func (s *OpenTracingLayerUserStore) GetByAuth(authData *string, authService string) (*model.User, *model.AppError)
- func (s *OpenTracingLayerUserStore) GetByEmail(email string) (*model.User, *model.AppError)
- func (s *OpenTracingLayerUserStore) GetByUsername(username string) (*model.User, *model.AppError)
- func (s *OpenTracingLayerUserStore) GetChannelGroupUsers(channelID string) ([]*model.User, *model.AppError)
- 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, *model.AppError)
- func (s *OpenTracingLayerUserStore) GetKnownUsers(userID string) ([]string, *model.AppError)
- func (s *OpenTracingLayerUserStore) GetNewUsersForTeam(teamId string, offset int, limit int, ...) ([]*model.User, *model.AppError)
- func (s *OpenTracingLayerUserStore) GetProfileByGroupChannelIdsForUser(userId string, channelIds []string) (map[string][]*model.User, *model.AppError)
- func (s *OpenTracingLayerUserStore) GetProfileByIds(userIds []string, options *store.UserGetByIdsOpts, allowFromCache bool) ([]*model.User, *model.AppError)
- func (s *OpenTracingLayerUserStore) GetProfiles(options *model.UserGetOptions) ([]*model.User, *model.AppError)
- func (s *OpenTracingLayerUserStore) GetProfilesByUsernames(usernames []string, viewRestrictions *model.ViewUsersRestrictions) ([]*model.User, *model.AppError)
- func (s *OpenTracingLayerUserStore) GetProfilesInChannel(channelId string, offset int, limit int) ([]*model.User, *model.AppError)
- func (s *OpenTracingLayerUserStore) GetProfilesInChannelByStatus(channelId string, offset int, limit int) ([]*model.User, *model.AppError)
- func (s *OpenTracingLayerUserStore) GetProfilesNotInChannel(teamId string, channelId string, groupConstrained bool, offset int, limit int, ...) ([]*model.User, *model.AppError)
- func (s *OpenTracingLayerUserStore) GetProfilesNotInTeam(teamId string, groupConstrained bool, offset int, limit int, ...) ([]*model.User, *model.AppError)
- func (s *OpenTracingLayerUserStore) GetProfilesWithoutTeam(options *model.UserGetOptions) ([]*model.User, *model.AppError)
- func (s *OpenTracingLayerUserStore) GetRecentlyActiveUsersForTeam(teamId string, offset int, limit int, ...) ([]*model.User, *model.AppError)
- func (s *OpenTracingLayerUserStore) GetSystemAdminProfiles() (map[string]*model.User, *model.AppError)
- func (s *OpenTracingLayerUserStore) GetTeamGroupUsers(teamID string) ([]*model.User, *model.AppError)
- func (s *OpenTracingLayerUserStore) GetUnreadCount(userId string) (int64, *model.AppError)
- func (s *OpenTracingLayerUserStore) GetUnreadCountForChannel(userId string, channelId string) (int64, *model.AppError)
- func (s *OpenTracingLayerUserStore) GetUsersBatchForIndexing(startTime int64, endTime int64, limit int) ([]*model.UserForIndexing, *model.AppError)
- func (s *OpenTracingLayerUserStore) InferSystemInstallDate() (int64, *model.AppError)
- func (s *OpenTracingLayerUserStore) InvalidateProfileCacheForUser(userId string)
- func (s *OpenTracingLayerUserStore) InvalidateProfilesInChannelCache(channelId string)
- func (s *OpenTracingLayerUserStore) InvalidateProfilesInChannelCacheByUser(userId string)
- func (s *OpenTracingLayerUserStore) PermanentDelete(userId string) *model.AppError
- func (s *OpenTracingLayerUserStore) PromoteGuestToUser(userID string) *model.AppError
- func (s *OpenTracingLayerUserStore) ResetLastPictureUpdate(userId string) *model.AppError
- func (s *OpenTracingLayerUserStore) Save(user *model.User) (*model.User, *model.AppError)
- func (s *OpenTracingLayerUserStore) Search(teamId string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
- func (s *OpenTracingLayerUserStore) SearchInChannel(channelId string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
- func (s *OpenTracingLayerUserStore) SearchInGroup(groupID string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
- func (s *OpenTracingLayerUserStore) SearchNotInChannel(teamId string, channelId string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
- func (s *OpenTracingLayerUserStore) SearchNotInTeam(notInTeamId string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
- func (s *OpenTracingLayerUserStore) SearchWithoutTeam(term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
- func (s *OpenTracingLayerUserStore) Update(user *model.User, allowRoleUpdate bool) (*model.UserUpdate, *model.AppError)
- func (s *OpenTracingLayerUserStore) UpdateAuthData(userId string, service string, authData *string, email string, resetMfa bool) (string, *model.AppError)
- func (s *OpenTracingLayerUserStore) UpdateFailedPasswordAttempts(userId string, attempts int) *model.AppError
- func (s *OpenTracingLayerUserStore) UpdateLastPictureUpdate(userId string) *model.AppError
- func (s *OpenTracingLayerUserStore) UpdateMfaActive(userId string, active bool) *model.AppError
- func (s *OpenTracingLayerUserStore) UpdateMfaSecret(userId string, secret string) *model.AppError
- func (s *OpenTracingLayerUserStore) UpdatePassword(userId string, newPassword string) *model.AppError
- func (s *OpenTracingLayerUserStore) UpdateUpdateAt(userId string) (int64, *model.AppError)
- func (s *OpenTracingLayerUserStore) VerifyEmail(userId string, email string) (string, *model.AppError)
- 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 ReactionStore store.ReactionStore RoleStore store.RoleStore SchemeStore store.SchemeStore SessionStore store.SessionStore StatusStore store.StatusStore SystemStore store.SystemStore TeamStore store.TeamStore TermsOfServiceStore store.TermsOfServiceStore TokenStore store.TokenStore 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) Reaction ¶
func (s *OpenTracingLayer) Reaction() store.ReactionStore
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) 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) 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) 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) 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)
type OpenTracingLayerChannelStore ¶
type OpenTracingLayerChannelStore struct { store.ChannelStore Root *OpenTracingLayer }
func (*OpenTracingLayerChannelStore) AnalyticsDeletedTypeCount ¶
func (*OpenTracingLayerChannelStore) AnalyticsTypeCount ¶
func (*OpenTracingLayerChannelStore) AutocompleteInTeam ¶
func (s *OpenTracingLayerChannelStore) AutocompleteInTeam(teamId string, term string, includeDeleted bool) (*model.ChannelList, *model.AppError)
func (*OpenTracingLayerChannelStore) AutocompleteInTeamForSearch ¶
func (s *OpenTracingLayerChannelStore) AutocompleteInTeamForSearch(teamId string, userId string, term string, includeDeleted bool) (*model.ChannelList, *model.AppError)
func (*OpenTracingLayerChannelStore) ClearAllCustomRoleAssignments ¶
func (s *OpenTracingLayerChannelStore) ClearAllCustomRoleAssignments() *model.AppError
func (*OpenTracingLayerChannelStore) ClearCaches ¶
func (s *OpenTracingLayerChannelStore) ClearCaches()
func (*OpenTracingLayerChannelStore) ClearSidebarOnTeamLeave ¶
func (s *OpenTracingLayerChannelStore) ClearSidebarOnTeamLeave(userId string, teamId string) *model.AppError
func (*OpenTracingLayerChannelStore) CountPostsAfter ¶
func (*OpenTracingLayerChannelStore) CreateDirectChannel ¶
func (*OpenTracingLayerChannelStore) CreateInitialSidebarCategories ¶
func (s *OpenTracingLayerChannelStore) CreateInitialSidebarCategories(userId string, teamId string) error
func (*OpenTracingLayerChannelStore) CreateSidebarCategory ¶
func (s *OpenTracingLayerChannelStore) CreateSidebarCategory(userId string, teamId string, newCategory *model.SidebarCategoryWithChannels) (*model.SidebarCategoryWithChannels, *model.AppError)
func (*OpenTracingLayerChannelStore) Delete ¶
func (s *OpenTracingLayerChannelStore) Delete(channelId string, time int64) error
func (*OpenTracingLayerChannelStore) DeleteSidebarCategory ¶
func (s *OpenTracingLayerChannelStore) DeleteSidebarCategory(categoryId string) *model.AppError
func (*OpenTracingLayerChannelStore) DeleteSidebarChannelsByPreferences ¶
func (s *OpenTracingLayerChannelStore) DeleteSidebarChannelsByPreferences(preferences *model.Preferences) 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, *model.AppError)
func (*OpenTracingLayerChannelStore) GetAllDirectChannelsForExportAfter ¶
func (s *OpenTracingLayerChannelStore) GetAllDirectChannelsForExportAfter(limit int, afterId string) ([]*model.DirectChannelForExport, *model.AppError)
func (*OpenTracingLayerChannelStore) GetByNameIncludeDeleted ¶
func (*OpenTracingLayerChannelStore) GetByNames ¶
func (*OpenTracingLayerChannelStore) GetChannelCounts ¶
func (s *OpenTracingLayerChannelStore) GetChannelCounts(teamId string, userId string) (*model.ChannelCounts, *model.AppError)
func (*OpenTracingLayerChannelStore) GetChannelMembersForExport ¶
func (s *OpenTracingLayerChannelStore) GetChannelMembersForExport(userId string, teamId string) ([]*model.ChannelMemberForExport, *model.AppError)
func (*OpenTracingLayerChannelStore) GetChannelMembersTimezones ¶
func (*OpenTracingLayerChannelStore) GetChannelUnread ¶
func (s *OpenTracingLayerChannelStore) GetChannelUnread(channelId string, userId string) (*model.ChannelUnread, *model.AppError)
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, *model.AppError)
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 (*OpenTracingLayerChannelStore) GetFromMaster ¶
func (s *OpenTracingLayerChannelStore) GetFromMaster(id string) (*model.Channel, error)
func (*OpenTracingLayerChannelStore) GetGuestCount ¶
func (*OpenTracingLayerChannelStore) GetMember ¶
func (s *OpenTracingLayerChannelStore) GetMember(channelId string, userId string) (*model.ChannelMember, *model.AppError)
func (*OpenTracingLayerChannelStore) GetMemberCount ¶
func (*OpenTracingLayerChannelStore) GetMemberCountFromCache ¶
func (s *OpenTracingLayerChannelStore) GetMemberCountFromCache(channelId string) int64
func (*OpenTracingLayerChannelStore) GetMemberCountsByGroup ¶
func (s *OpenTracingLayerChannelStore) GetMemberCountsByGroup(channelID string, includeTimezones bool) ([]*model.ChannelMemberCountByGroup, *model.AppError)
func (*OpenTracingLayerChannelStore) GetMemberForPost ¶
func (s *OpenTracingLayerChannelStore) GetMemberForPost(postId string, userId string) (*model.ChannelMember, *model.AppError)
func (*OpenTracingLayerChannelStore) GetMembers ¶
func (s *OpenTracingLayerChannelStore) GetMembers(channelId string, offset int, limit int) (*model.ChannelMembers, *model.AppError)
func (*OpenTracingLayerChannelStore) GetMembersByIds ¶
func (s *OpenTracingLayerChannelStore) GetMembersByIds(channelId string, userIds []string) (*model.ChannelMembers, *model.AppError)
func (*OpenTracingLayerChannelStore) GetMembersForUser ¶
func (s *OpenTracingLayerChannelStore) GetMembersForUser(teamId string, userId string) (*model.ChannelMembers, *model.AppError)
func (*OpenTracingLayerChannelStore) GetMembersForUserWithPagination ¶
func (s *OpenTracingLayerChannelStore) GetMembersForUserWithPagination(teamId string, userId string, page int, perPage int) (*model.ChannelMembers, *model.AppError)
func (*OpenTracingLayerChannelStore) GetMoreChannels ¶
func (s *OpenTracingLayerChannelStore) GetMoreChannels(teamId string, userId string, offset int, limit int) (*model.ChannelList, error)
func (*OpenTracingLayerChannelStore) GetPinnedPostCount ¶
func (*OpenTracingLayerChannelStore) GetPinnedPosts ¶
func (*OpenTracingLayerChannelStore) GetPrivateChannelsForTeam ¶
func (s *OpenTracingLayerChannelStore) GetPrivateChannelsForTeam(teamId string, offset int, limit int) (*model.ChannelList, *model.AppError)
func (*OpenTracingLayerChannelStore) GetPublicChannelsByIdsForTeam ¶
func (s *OpenTracingLayerChannelStore) GetPublicChannelsByIdsForTeam(teamId string, channelIds []string) (*model.ChannelList, *model.AppError)
func (*OpenTracingLayerChannelStore) GetPublicChannelsForTeam ¶
func (s *OpenTracingLayerChannelStore) GetPublicChannelsForTeam(teamId string, offset int, limit int) (*model.ChannelList, *model.AppError)
func (*OpenTracingLayerChannelStore) GetSidebarCategories ¶
func (s *OpenTracingLayerChannelStore) GetSidebarCategories(userId string, teamId string) (*model.OrderedSidebarCategories, *model.AppError)
func (*OpenTracingLayerChannelStore) GetSidebarCategory ¶
func (s *OpenTracingLayerChannelStore) GetSidebarCategory(categoryId string) (*model.SidebarCategoryWithChannels, *model.AppError)
func (*OpenTracingLayerChannelStore) GetSidebarCategoryOrder ¶
func (*OpenTracingLayerChannelStore) GetTeamChannels ¶
func (s *OpenTracingLayerChannelStore) GetTeamChannels(teamId string) (*model.ChannelList, *model.AppError)
func (*OpenTracingLayerChannelStore) GroupSyncedChannelCount ¶
func (s *OpenTracingLayerChannelStore) GroupSyncedChannelCount() (int64, *model.AppError)
func (*OpenTracingLayerChannelStore) IncrementMentionCount ¶
func (s *OpenTracingLayerChannelStore) IncrementMentionCount(channelId string, userId string) *model.AppError
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) *model.AppError
func (*OpenTracingLayerChannelStore) PermanentDeleteMembersByUser ¶
func (s *OpenTracingLayerChannelStore) PermanentDeleteMembersByUser(userId string) *model.AppError
func (*OpenTracingLayerChannelStore) RemoveAllDeactivatedMembers ¶
func (s *OpenTracingLayerChannelStore) RemoveAllDeactivatedMembers(channelId string) *model.AppError
func (*OpenTracingLayerChannelStore) RemoveMember ¶
func (s *OpenTracingLayerChannelStore) RemoveMember(channelId string, userId string) *model.AppError
func (*OpenTracingLayerChannelStore) RemoveMembers ¶
func (s *OpenTracingLayerChannelStore) RemoveMembers(channelId string, userIds []string) *model.AppError
func (*OpenTracingLayerChannelStore) ResetAllChannelSchemes ¶
func (s *OpenTracingLayerChannelStore) ResetAllChannelSchemes() *model.AppError
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, *model.AppError)
func (*OpenTracingLayerChannelStore) SaveMultipleMembers ¶
func (s *OpenTracingLayerChannelStore) SaveMultipleMembers(members []*model.ChannelMember) ([]*model.ChannelMember, *model.AppError)
func (*OpenTracingLayerChannelStore) SearchAllChannels ¶
func (s *OpenTracingLayerChannelStore) SearchAllChannels(term string, opts store.ChannelSearchOpts) (*model.ChannelListWithTeamData, int64, *model.AppError)
func (*OpenTracingLayerChannelStore) SearchArchivedInTeam ¶
func (s *OpenTracingLayerChannelStore) SearchArchivedInTeam(teamId string, term string, userId string) (*model.ChannelList, *model.AppError)
func (*OpenTracingLayerChannelStore) SearchForUserInTeam ¶
func (s *OpenTracingLayerChannelStore) SearchForUserInTeam(userId string, teamId string, term string, includeDeleted bool) (*model.ChannelList, *model.AppError)
func (*OpenTracingLayerChannelStore) SearchGroupChannels ¶
func (s *OpenTracingLayerChannelStore) SearchGroupChannels(userId string, term string) (*model.ChannelList, *model.AppError)
func (*OpenTracingLayerChannelStore) SearchInTeam ¶
func (s *OpenTracingLayerChannelStore) SearchInTeam(teamId string, term string, includeDeleted bool) (*model.ChannelList, *model.AppError)
func (*OpenTracingLayerChannelStore) SearchMore ¶
func (s *OpenTracingLayerChannelStore) SearchMore(userId string, teamId string, term string) (*model.ChannelList, *model.AppError)
func (*OpenTracingLayerChannelStore) SetDeleteAt ¶
func (s *OpenTracingLayerChannelStore) SetDeleteAt(channelId string, deleteAt int64, updateAt int64) error
func (*OpenTracingLayerChannelStore) UpdateLastViewedAt ¶
func (*OpenTracingLayerChannelStore) UpdateLastViewedAtPost ¶
func (s *OpenTracingLayerChannelStore) UpdateLastViewedAtPost(unreadPost *model.Post, userID string, mentionCount int) (*model.ChannelUnreadAt, *model.AppError)
func (*OpenTracingLayerChannelStore) UpdateMember ¶
func (s *OpenTracingLayerChannelStore) UpdateMember(member *model.ChannelMember) (*model.ChannelMember, *model.AppError)
func (*OpenTracingLayerChannelStore) UpdateMembersRole ¶
func (s *OpenTracingLayerChannelStore) UpdateMembersRole(channelID string, userIDs []string) *model.AppError
func (*OpenTracingLayerChannelStore) UpdateMultipleMembers ¶
func (s *OpenTracingLayerChannelStore) UpdateMultipleMembers(members []*model.ChannelMember) ([]*model.ChannelMember, *model.AppError)
func (*OpenTracingLayerChannelStore) UpdateSidebarCategories ¶
func (s *OpenTracingLayerChannelStore) UpdateSidebarCategories(userId string, teamId string, categories []*model.SidebarCategoryWithChannels) ([]*model.SidebarCategoryWithChannels, *model.AppError)
func (*OpenTracingLayerChannelStore) UpdateSidebarCategoryOrder ¶
func (*OpenTracingLayerChannelStore) UpdateSidebarChannelCategoryOnMove ¶
func (*OpenTracingLayerChannelStore) UpdateSidebarChannelsByPreferences ¶
func (s *OpenTracingLayerChannelStore) UpdateSidebarChannelsByPreferences(preferences *model.Preferences) error
func (*OpenTracingLayerChannelStore) UserBelongsToChannels ¶
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) ([]*model.CompliancePost, 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(after int64, limit int) ([]*model.MessageExport, 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 (*OpenTracingLayerFileInfoStore) ClearCaches ¶
func (s *OpenTracingLayerFileInfoStore) ClearCaches()
func (*OpenTracingLayerFileInfoStore) DeleteForPost ¶
func (s *OpenTracingLayerFileInfoStore) DeleteForPost(postId string) (string, *model.AppError)
func (*OpenTracingLayerFileInfoStore) GetForPost ¶
func (*OpenTracingLayerFileInfoStore) GetForUser ¶
func (*OpenTracingLayerFileInfoStore) GetWithOptions ¶
func (s *OpenTracingLayerFileInfoStore) GetWithOptions(page int, perPage int, opt *model.GetFileInfosOptions) ([]*model.FileInfo, *model.AppError)
func (*OpenTracingLayerFileInfoStore) InvalidateFileInfosForPostCache ¶
func (s *OpenTracingLayerFileInfoStore) InvalidateFileInfosForPostCache(postId string, deleted bool)
func (*OpenTracingLayerFileInfoStore) PermanentDelete ¶
func (s *OpenTracingLayerFileInfoStore) PermanentDelete(fileId string) *model.AppError
func (*OpenTracingLayerFileInfoStore) PermanentDeleteBatch ¶
func (*OpenTracingLayerFileInfoStore) PermanentDeleteByUser ¶
func (s *OpenTracingLayerFileInfoStore) PermanentDeleteByUser(userId string) (int64, *model.AppError)
type OpenTracingLayerGroupStore ¶
type OpenTracingLayerGroupStore struct { store.GroupStore Root *OpenTracingLayer }
func (*OpenTracingLayerGroupStore) AdminRoleGroupsForSyncableMember ¶
func (s *OpenTracingLayerGroupStore) AdminRoleGroupsForSyncableMember(userID string, syncableID string, syncableType model.GroupSyncableType) ([]string, *model.AppError)
func (*OpenTracingLayerGroupStore) ChannelMembersMinusGroupMembers ¶
func (s *OpenTracingLayerGroupStore) ChannelMembersMinusGroupMembers(channelID string, groupIDs []string, page int, perPage int) ([]*model.UserWithGroups, *model.AppError)
func (*OpenTracingLayerGroupStore) ChannelMembersToAdd ¶
func (s *OpenTracingLayerGroupStore) ChannelMembersToAdd(since int64, channelID *string) ([]*model.UserChannelIDPair, *model.AppError)
func (*OpenTracingLayerGroupStore) ChannelMembersToRemove ¶
func (s *OpenTracingLayerGroupStore) ChannelMembersToRemove(channelID *string) ([]*model.ChannelMember, *model.AppError)
func (*OpenTracingLayerGroupStore) CountChannelMembersMinusGroupMembers ¶
func (*OpenTracingLayerGroupStore) CountGroupsByChannel ¶
func (s *OpenTracingLayerGroupStore) CountGroupsByChannel(channelId string, opts model.GroupSearchOpts) (int64, *model.AppError)
func (*OpenTracingLayerGroupStore) CountGroupsByTeam ¶
func (s *OpenTracingLayerGroupStore) CountGroupsByTeam(teamId string, opts model.GroupSearchOpts) (int64, *model.AppError)
func (*OpenTracingLayerGroupStore) CountTeamMembersMinusGroupMembers ¶
func (*OpenTracingLayerGroupStore) CreateGroupSyncable ¶
func (s *OpenTracingLayerGroupStore) CreateGroupSyncable(groupSyncable *model.GroupSyncable) (*model.GroupSyncable, *model.AppError)
func (*OpenTracingLayerGroupStore) DeleteGroupSyncable ¶
func (s *OpenTracingLayerGroupStore) DeleteGroupSyncable(groupID string, syncableID string, syncableType model.GroupSyncableType) (*model.GroupSyncable, *model.AppError)
func (*OpenTracingLayerGroupStore) DeleteMember ¶
func (s *OpenTracingLayerGroupStore) DeleteMember(groupID string, userID string) (*model.GroupMember, *model.AppError)
func (*OpenTracingLayerGroupStore) DistinctGroupMemberCount ¶
func (s *OpenTracingLayerGroupStore) DistinctGroupMemberCount() (int64, *model.AppError)
func (*OpenTracingLayerGroupStore) GetAllBySource ¶
func (s *OpenTracingLayerGroupStore) GetAllBySource(groupSource model.GroupSource) ([]*model.Group, *model.AppError)
func (*OpenTracingLayerGroupStore) GetAllGroupSyncablesByGroupId ¶
func (s *OpenTracingLayerGroupStore) GetAllGroupSyncablesByGroupId(groupID string, syncableType model.GroupSyncableType) ([]*model.GroupSyncable, *model.AppError)
func (*OpenTracingLayerGroupStore) GetByName ¶
func (s *OpenTracingLayerGroupStore) GetByName(name string, opts model.GroupSearchOpts) (*model.Group, *model.AppError)
func (*OpenTracingLayerGroupStore) GetByRemoteID ¶
func (s *OpenTracingLayerGroupStore) GetByRemoteID(remoteID string, groupSource model.GroupSource) (*model.Group, *model.AppError)
func (*OpenTracingLayerGroupStore) GetGroupSyncable ¶
func (s *OpenTracingLayerGroupStore) GetGroupSyncable(groupID string, syncableID string, syncableType model.GroupSyncableType) (*model.GroupSyncable, *model.AppError)
func (*OpenTracingLayerGroupStore) GetGroups ¶
func (s *OpenTracingLayerGroupStore) GetGroups(page int, perPage int, opts model.GroupSearchOpts) ([]*model.Group, *model.AppError)
func (*OpenTracingLayerGroupStore) GetGroupsAssociatedToChannelsByTeam ¶
func (s *OpenTracingLayerGroupStore) GetGroupsAssociatedToChannelsByTeam(teamId string, opts model.GroupSearchOpts) (map[string][]*model.GroupWithSchemeAdmin, *model.AppError)
func (*OpenTracingLayerGroupStore) GetGroupsByChannel ¶
func (s *OpenTracingLayerGroupStore) GetGroupsByChannel(channelId string, opts model.GroupSearchOpts) ([]*model.GroupWithSchemeAdmin, *model.AppError)
func (*OpenTracingLayerGroupStore) GetGroupsByTeam ¶
func (s *OpenTracingLayerGroupStore) GetGroupsByTeam(teamId string, opts model.GroupSearchOpts) ([]*model.GroupWithSchemeAdmin, *model.AppError)
func (*OpenTracingLayerGroupStore) GetMemberCount ¶
func (s *OpenTracingLayerGroupStore) GetMemberCount(groupID string) (int64, *model.AppError)
func (*OpenTracingLayerGroupStore) GetMemberUsers ¶
func (*OpenTracingLayerGroupStore) GetMemberUsersInTeam ¶
func (*OpenTracingLayerGroupStore) GetMemberUsersNotInChannel ¶
func (*OpenTracingLayerGroupStore) GetMemberUsersPage ¶
func (*OpenTracingLayerGroupStore) GroupChannelCount ¶
func (s *OpenTracingLayerGroupStore) GroupChannelCount() (int64, *model.AppError)
func (*OpenTracingLayerGroupStore) GroupCount ¶
func (s *OpenTracingLayerGroupStore) GroupCount() (int64, *model.AppError)
func (*OpenTracingLayerGroupStore) GroupCountWithAllowReference ¶
func (s *OpenTracingLayerGroupStore) GroupCountWithAllowReference() (int64, *model.AppError)
func (*OpenTracingLayerGroupStore) GroupMemberCount ¶
func (s *OpenTracingLayerGroupStore) GroupMemberCount() (int64, *model.AppError)
func (*OpenTracingLayerGroupStore) GroupTeamCount ¶
func (s *OpenTracingLayerGroupStore) GroupTeamCount() (int64, *model.AppError)
func (*OpenTracingLayerGroupStore) PermanentDeleteMembersByUser ¶
func (s *OpenTracingLayerGroupStore) PermanentDeleteMembersByUser(userId string) *model.AppError
func (*OpenTracingLayerGroupStore) PermittedSyncableAdmins ¶
func (s *OpenTracingLayerGroupStore) PermittedSyncableAdmins(syncableID string, syncableType model.GroupSyncableType) ([]string, *model.AppError)
func (*OpenTracingLayerGroupStore) TeamMembersMinusGroupMembers ¶
func (s *OpenTracingLayerGroupStore) TeamMembersMinusGroupMembers(teamID string, groupIDs []string, page int, perPage int) ([]*model.UserWithGroups, *model.AppError)
func (*OpenTracingLayerGroupStore) TeamMembersToAdd ¶
func (s *OpenTracingLayerGroupStore) TeamMembersToAdd(since int64, teamID *string) ([]*model.UserTeamIDPair, *model.AppError)
func (*OpenTracingLayerGroupStore) TeamMembersToRemove ¶
func (s *OpenTracingLayerGroupStore) TeamMembersToRemove(teamID *string) ([]*model.TeamMember, *model.AppError)
func (*OpenTracingLayerGroupStore) UpdateGroupSyncable ¶
func (s *OpenTracingLayerGroupStore) UpdateGroupSyncable(groupSyncable *model.GroupSyncable) (*model.GroupSyncable, *model.AppError)
func (*OpenTracingLayerGroupStore) UpsertMember ¶
func (s *OpenTracingLayerGroupStore) UpsertMember(groupID string, userID string) (*model.GroupMember, *model.AppError)
type OpenTracingLayerJobStore ¶
type OpenTracingLayerJobStore struct { store.JobStore Root *OpenTracingLayer }
func (*OpenTracingLayerJobStore) Delete ¶
func (s *OpenTracingLayerJobStore) Delete(id string) (string, *model.AppError)
func (*OpenTracingLayerJobStore) GetAllByStatus ¶
func (*OpenTracingLayerJobStore) GetAllByType ¶
func (*OpenTracingLayerJobStore) GetAllByTypePage ¶
func (*OpenTracingLayerJobStore) GetAllPage ¶
func (*OpenTracingLayerJobStore) GetCountByStatusAndType ¶
func (*OpenTracingLayerJobStore) GetNewestJobByStatusAndType ¶
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) 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, *model.AppError)
func (*OpenTracingLayerPluginStore) CompareAndSet ¶
func (s *OpenTracingLayerPluginStore) CompareAndSet(keyVal *model.PluginKeyValue, oldValue []byte) (bool, *model.AppError)
func (*OpenTracingLayerPluginStore) Delete ¶
func (s *OpenTracingLayerPluginStore) Delete(pluginId string, key string) *model.AppError
func (*OpenTracingLayerPluginStore) DeleteAllExpired ¶
func (s *OpenTracingLayerPluginStore) DeleteAllExpired() *model.AppError
func (*OpenTracingLayerPluginStore) DeleteAllForPlugin ¶
func (s *OpenTracingLayerPluginStore) DeleteAllForPlugin(PluginId string) *model.AppError
func (*OpenTracingLayerPluginStore) Get ¶
func (s *OpenTracingLayerPluginStore) Get(pluginId string, key string) (*model.PluginKeyValue, *model.AppError)
func (*OpenTracingLayerPluginStore) SaveOrUpdate ¶
func (s *OpenTracingLayerPluginStore) SaveOrUpdate(keyVal *model.PluginKeyValue) (*model.PluginKeyValue, *model.AppError)
func (*OpenTracingLayerPluginStore) SetWithOptions ¶
func (s *OpenTracingLayerPluginStore) SetWithOptions(pluginId string, key string, value []byte, options model.PluginKVSetOptions) (bool, *model.AppError)
type OpenTracingLayerPostStore ¶
type OpenTracingLayerPostStore struct { store.PostStore Root *OpenTracingLayer }
func (*OpenTracingLayerPostStore) AnalyticsPostCount ¶
func (*OpenTracingLayerPostStore) AnalyticsPostCountsByDay ¶
func (s *OpenTracingLayerPostStore) AnalyticsPostCountsByDay(options *model.AnalyticsPostCountsOptions) (model.AnalyticsRows, *model.AppError)
func (*OpenTracingLayerPostStore) AnalyticsUserCountsWithPostsByDay ¶
func (s *OpenTracingLayerPostStore) AnalyticsUserCountsWithPostsByDay(teamId string) (model.AnalyticsRows, *model.AppError)
func (*OpenTracingLayerPostStore) ClearCaches ¶
func (s *OpenTracingLayerPostStore) ClearCaches()
func (*OpenTracingLayerPostStore) GetDirectPostParentsForExportAfter ¶
func (s *OpenTracingLayerPostStore) GetDirectPostParentsForExportAfter(limit int, afterId string) ([]*model.DirectPostForExport, *model.AppError)
func (*OpenTracingLayerPostStore) GetEtag ¶
func (s *OpenTracingLayerPostStore) GetEtag(channelId string, allowFromCache 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, *model.AppError)
func (*OpenTracingLayerPostStore) GetOldestEntityCreationTime ¶
func (s *OpenTracingLayerPostStore) GetOldestEntityCreationTime() (int64, *model.AppError)
func (*OpenTracingLayerPostStore) GetParentsForExportAfter ¶
func (s *OpenTracingLayerPostStore) GetParentsForExportAfter(limit int, afterId string) ([]*model.PostForExport, *model.AppError)
func (*OpenTracingLayerPostStore) GetPostAfterTime ¶
func (*OpenTracingLayerPostStore) GetPostIdAfterTime ¶
func (*OpenTracingLayerPostStore) GetPostIdBeforeTime ¶
func (*OpenTracingLayerPostStore) GetPosts ¶
func (s *OpenTracingLayerPostStore) GetPosts(options model.GetPostsOptions, allowFromCache bool) (*model.PostList, *model.AppError)
func (*OpenTracingLayerPostStore) GetPostsAfter ¶
func (s *OpenTracingLayerPostStore) GetPostsAfter(options model.GetPostsOptions) (*model.PostList, *model.AppError)
func (*OpenTracingLayerPostStore) GetPostsBatchForIndexing ¶
func (s *OpenTracingLayerPostStore) GetPostsBatchForIndexing(startTime int64, endTime int64, limit int) ([]*model.PostForIndexing, *model.AppError)
func (*OpenTracingLayerPostStore) GetPostsBefore ¶
func (s *OpenTracingLayerPostStore) GetPostsBefore(options model.GetPostsOptions) (*model.PostList, *model.AppError)
func (*OpenTracingLayerPostStore) GetPostsByIds ¶
func (*OpenTracingLayerPostStore) GetPostsCreatedAt ¶
func (*OpenTracingLayerPostStore) GetPostsSince ¶
func (s *OpenTracingLayerPostStore) GetPostsSince(options model.GetPostsSinceOptions, allowFromCache bool) (*model.PostList, *model.AppError)
func (*OpenTracingLayerPostStore) GetRepliesForExport ¶
func (s *OpenTracingLayerPostStore) GetRepliesForExport(parentId string) ([]*model.ReplyForExport, *model.AppError)
func (*OpenTracingLayerPostStore) InvalidateLastPostTimeCache ¶
func (s *OpenTracingLayerPostStore) InvalidateLastPostTimeCache(channelId string)
func (*OpenTracingLayerPostStore) OverwriteMultiple ¶
func (*OpenTracingLayerPostStore) PermanentDeleteBatch ¶
func (*OpenTracingLayerPostStore) PermanentDeleteByChannel ¶
func (s *OpenTracingLayerPostStore) PermanentDeleteByChannel(channelId string) *model.AppError
func (*OpenTracingLayerPostStore) PermanentDeleteByUser ¶
func (s *OpenTracingLayerPostStore) PermanentDeleteByUser(userId string) *model.AppError
func (*OpenTracingLayerPostStore) SaveMultiple ¶
func (*OpenTracingLayerPostStore) Search ¶
func (s *OpenTracingLayerPostStore) Search(teamId string, userId string, params *model.SearchParams) (*model.PostList, *model.AppError)
func (*OpenTracingLayerPostStore) SearchPostsInTeamForUser ¶
func (s *OpenTracingLayerPostStore) SearchPostsInTeamForUser(paramsList []*model.SearchParams, userId string, teamId string, isOrSearch bool, includeDeletedChannels bool, page int, perPage int) (*model.PostSearchResults, *model.AppError)
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) 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 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) GetForPost ¶
func (*OpenTracingLayerReactionStore) PermanentDeleteBatch ¶
func (s *OpenTracingLayerReactionStore) PermanentDeleteBatch(endTime int64, limit int64) (int64, 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) GetByName ¶
func (s *OpenTracingLayerRoleStore) GetByName(name string) (*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)
func (*OpenTracingLayerSessionStore) Get ¶
func (s *OpenTracingLayerSessionStore) Get(sessionIdOrToken string) (*model.Session, 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 OpenTracingLayerStatusStore ¶
type OpenTracingLayerStatusStore struct { store.StatusStore Root *OpenTracingLayer }
func (*OpenTracingLayerStatusStore) GetTotalActiveUsersCount ¶
func (s *OpenTracingLayerStatusStore) GetTotalActiveUsersCount() (int64, *model.AppError)
func (*OpenTracingLayerStatusStore) ResetAll ¶
func (s *OpenTracingLayerStatusStore) ResetAll() *model.AppError
func (*OpenTracingLayerStatusStore) SaveOrUpdate ¶
func (s *OpenTracingLayerStatusStore) SaveOrUpdate(status *model.Status) *model.AppError
func (*OpenTracingLayerStatusStore) UpdateLastActivityAt ¶
func (s *OpenTracingLayerStatusStore) UpdateLastActivityAt(userId string, lastActivityAt int64) *model.AppError
type OpenTracingLayerSystemStore ¶
type OpenTracingLayerSystemStore struct { store.SystemStore Root *OpenTracingLayer }
func (*OpenTracingLayerSystemStore) Get ¶
func (s *OpenTracingLayerSystemStore) Get() (model.StringMap, *model.AppError)
func (*OpenTracingLayerSystemStore) InsertIfExists ¶
func (*OpenTracingLayerSystemStore) PermanentDeleteByName ¶
func (*OpenTracingLayerSystemStore) Save ¶
func (s *OpenTracingLayerSystemStore) Save(system *model.System) *model.AppError
func (*OpenTracingLayerSystemStore) SaveOrUpdate ¶
func (s *OpenTracingLayerSystemStore) SaveOrUpdate(system *model.System) *model.AppError
type OpenTracingLayerTeamStore ¶
type OpenTracingLayerTeamStore struct { store.TeamStore Root *OpenTracingLayer }
func (*OpenTracingLayerTeamStore) AnalyticsGetTeamCountForScheme ¶
func (s *OpenTracingLayerTeamStore) AnalyticsGetTeamCountForScheme(schemeId string) (int64, *model.AppError)
func (*OpenTracingLayerTeamStore) AnalyticsPrivateTeamCount ¶
func (s *OpenTracingLayerTeamStore) AnalyticsPrivateTeamCount() (int64, *model.AppError)
func (*OpenTracingLayerTeamStore) AnalyticsPublicTeamCount ¶
func (s *OpenTracingLayerTeamStore) AnalyticsPublicTeamCount() (int64, *model.AppError)
func (*OpenTracingLayerTeamStore) AnalyticsTeamCount ¶
func (s *OpenTracingLayerTeamStore) AnalyticsTeamCount(includeDeleted bool) (int64, *model.AppError)
func (*OpenTracingLayerTeamStore) ClearAllCustomRoleAssignments ¶
func (s *OpenTracingLayerTeamStore) ClearAllCustomRoleAssignments() *model.AppError
func (*OpenTracingLayerTeamStore) ClearCaches ¶
func (s *OpenTracingLayerTeamStore) ClearCaches()
func (*OpenTracingLayerTeamStore) GetActiveMemberCount ¶
func (s *OpenTracingLayerTeamStore) GetActiveMemberCount(teamId string, restrictions *model.ViewUsersRestrictions) (int64, *model.AppError)
func (*OpenTracingLayerTeamStore) GetAll ¶
func (s *OpenTracingLayerTeamStore) GetAll() ([]*model.Team, *model.AppError)
func (*OpenTracingLayerTeamStore) GetAllForExportAfter ¶
func (s *OpenTracingLayerTeamStore) GetAllForExportAfter(limit int, afterId string) ([]*model.TeamForExport, *model.AppError)
func (*OpenTracingLayerTeamStore) GetAllPage ¶
func (*OpenTracingLayerTeamStore) GetAllPrivateTeamListing ¶
func (s *OpenTracingLayerTeamStore) GetAllPrivateTeamListing() ([]*model.Team, *model.AppError)
func (*OpenTracingLayerTeamStore) GetAllPrivateTeamPageListing ¶
func (*OpenTracingLayerTeamStore) GetAllPublicTeamPageListing ¶
func (*OpenTracingLayerTeamStore) GetAllTeamListing ¶
func (s *OpenTracingLayerTeamStore) GetAllTeamListing() ([]*model.Team, *model.AppError)
func (*OpenTracingLayerTeamStore) GetAllTeamPageListing ¶
func (*OpenTracingLayerTeamStore) GetByInviteId ¶
func (*OpenTracingLayerTeamStore) GetByNames ¶
func (*OpenTracingLayerTeamStore) GetChannelUnreadsForAllTeams ¶
func (s *OpenTracingLayerTeamStore) GetChannelUnreadsForAllTeams(excludeTeamId string, userId string) ([]*model.ChannelUnread, *model.AppError)
func (*OpenTracingLayerTeamStore) GetChannelUnreadsForTeam ¶
func (s *OpenTracingLayerTeamStore) GetChannelUnreadsForTeam(teamId string, userId string) ([]*model.ChannelUnread, *model.AppError)
func (*OpenTracingLayerTeamStore) GetMember ¶
func (s *OpenTracingLayerTeamStore) GetMember(teamId string, userId string) (*model.TeamMember, *model.AppError)
func (*OpenTracingLayerTeamStore) GetMembers ¶
func (s *OpenTracingLayerTeamStore) GetMembers(teamId string, offset int, limit int, teamMembersGetOptions *model.TeamMembersGetOptions) ([]*model.TeamMember, *model.AppError)
func (*OpenTracingLayerTeamStore) GetMembersByIds ¶
func (s *OpenTracingLayerTeamStore) GetMembersByIds(teamId string, userIds []string, restrictions *model.ViewUsersRestrictions) ([]*model.TeamMember, *model.AppError)
func (*OpenTracingLayerTeamStore) GetTeamMembersForExport ¶
func (s *OpenTracingLayerTeamStore) GetTeamMembersForExport(userId string) ([]*model.TeamMemberForExport, *model.AppError)
func (*OpenTracingLayerTeamStore) GetTeamsByScheme ¶
func (*OpenTracingLayerTeamStore) GetTeamsByUserId ¶
func (*OpenTracingLayerTeamStore) GetTeamsForUser ¶
func (s *OpenTracingLayerTeamStore) GetTeamsForUser(userId string) ([]*model.TeamMember, *model.AppError)
func (*OpenTracingLayerTeamStore) GetTeamsForUserWithPagination ¶
func (s *OpenTracingLayerTeamStore) GetTeamsForUserWithPagination(userId string, page int, perPage int) ([]*model.TeamMember, *model.AppError)
func (*OpenTracingLayerTeamStore) GetTotalMemberCount ¶
func (s *OpenTracingLayerTeamStore) GetTotalMemberCount(teamId string, restrictions *model.ViewUsersRestrictions) (int64, *model.AppError)
func (*OpenTracingLayerTeamStore) GetUserTeamIds ¶
func (*OpenTracingLayerTeamStore) GroupSyncedTeamCount ¶
func (s *OpenTracingLayerTeamStore) GroupSyncedTeamCount() (int64, *model.AppError)
func (*OpenTracingLayerTeamStore) InvalidateAllTeamIdsForUser ¶
func (s *OpenTracingLayerTeamStore) InvalidateAllTeamIdsForUser(userId string)
func (*OpenTracingLayerTeamStore) MigrateTeamMembers ¶
func (*OpenTracingLayerTeamStore) PermanentDelete ¶
func (s *OpenTracingLayerTeamStore) PermanentDelete(teamId string) *model.AppError
func (*OpenTracingLayerTeamStore) RemoveAllMembersByTeam ¶
func (s *OpenTracingLayerTeamStore) RemoveAllMembersByTeam(teamId string) *model.AppError
func (*OpenTracingLayerTeamStore) RemoveAllMembersByUser ¶
func (s *OpenTracingLayerTeamStore) RemoveAllMembersByUser(userId string) *model.AppError
func (*OpenTracingLayerTeamStore) RemoveMember ¶
func (s *OpenTracingLayerTeamStore) RemoveMember(teamId string, userId string) *model.AppError
func (*OpenTracingLayerTeamStore) RemoveMembers ¶
func (s *OpenTracingLayerTeamStore) RemoveMembers(teamId string, userIds []string) *model.AppError
func (*OpenTracingLayerTeamStore) ResetAllTeamSchemes ¶
func (s *OpenTracingLayerTeamStore) ResetAllTeamSchemes() *model.AppError
func (*OpenTracingLayerTeamStore) SaveMember ¶
func (s *OpenTracingLayerTeamStore) SaveMember(member *model.TeamMember, maxUsersPerTeam int) (*model.TeamMember, *model.AppError)
func (*OpenTracingLayerTeamStore) SaveMultipleMembers ¶
func (s *OpenTracingLayerTeamStore) SaveMultipleMembers(members []*model.TeamMember, maxUsersPerTeam int) ([]*model.TeamMember, *model.AppError)
func (*OpenTracingLayerTeamStore) SearchAll ¶
func (s *OpenTracingLayerTeamStore) SearchAll(term string, opts *model.TeamSearch) ([]*model.Team, *model.AppError)
func (*OpenTracingLayerTeamStore) SearchAllPaged ¶
func (s *OpenTracingLayerTeamStore) SearchAllPaged(term string, opts *model.TeamSearch) ([]*model.Team, int64, *model.AppError)
func (*OpenTracingLayerTeamStore) SearchOpen ¶
func (*OpenTracingLayerTeamStore) SearchPrivate ¶
func (*OpenTracingLayerTeamStore) UpdateLastTeamIconUpdate ¶
func (s *OpenTracingLayerTeamStore) UpdateLastTeamIconUpdate(teamId string, curTime int64) *model.AppError
func (*OpenTracingLayerTeamStore) UpdateMember ¶
func (s *OpenTracingLayerTeamStore) UpdateMember(member *model.TeamMember) (*model.TeamMember, *model.AppError)
func (*OpenTracingLayerTeamStore) UpdateMembersRole ¶
func (s *OpenTracingLayerTeamStore) UpdateMembersRole(teamID string, userIDs []string) *model.AppError
func (*OpenTracingLayerTeamStore) UpdateMultipleMembers ¶
func (s *OpenTracingLayerTeamStore) UpdateMultipleMembers(members []*model.TeamMember) ([]*model.TeamMember, *model.AppError)
func (*OpenTracingLayerTeamStore) UserBelongsToTeams ¶
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 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) GetByToken ¶
func (s *OpenTracingLayerTokenStore) GetByToken(token string) (*model.Token, error)
func (*OpenTracingLayerTokenStore) RemoveAllTokensByType ¶
func (s *OpenTracingLayerTokenStore) RemoveAllTokensByType(tokenType string) 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, *model.AppError)
func (*OpenTracingLayerUserStore) AnalyticsGetGuestCount ¶
func (s *OpenTracingLayerUserStore) AnalyticsGetGuestCount() (int64, *model.AppError)
func (*OpenTracingLayerUserStore) AnalyticsGetInactiveUsersCount ¶
func (s *OpenTracingLayerUserStore) AnalyticsGetInactiveUsersCount() (int64, *model.AppError)
func (*OpenTracingLayerUserStore) AnalyticsGetSystemAdminCount ¶
func (s *OpenTracingLayerUserStore) AnalyticsGetSystemAdminCount() (int64, *model.AppError)
func (*OpenTracingLayerUserStore) AutocompleteUsersInChannel ¶
func (s *OpenTracingLayerUserStore) AutocompleteUsersInChannel(teamId string, channelId string, term string, options *model.UserSearchOptions) (*model.UserAutocompleteInChannel, *model.AppError)
func (*OpenTracingLayerUserStore) ClearAllCustomRoleAssignments ¶
func (s *OpenTracingLayerUserStore) ClearAllCustomRoleAssignments() *model.AppError
func (*OpenTracingLayerUserStore) ClearCaches ¶
func (s *OpenTracingLayerUserStore) ClearCaches()
func (*OpenTracingLayerUserStore) Count ¶
func (s *OpenTracingLayerUserStore) Count(options model.UserCountOptions) (int64, *model.AppError)
func (*OpenTracingLayerUserStore) DeactivateGuests ¶
func (s *OpenTracingLayerUserStore) DeactivateGuests() ([]string, *model.AppError)
func (*OpenTracingLayerUserStore) DemoteUserToGuest ¶
func (s *OpenTracingLayerUserStore) DemoteUserToGuest(userID string) *model.AppError
func (*OpenTracingLayerUserStore) GetAll ¶
func (s *OpenTracingLayerUserStore) GetAll() ([]*model.User, *model.AppError)
func (*OpenTracingLayerUserStore) GetAllAfter ¶
func (*OpenTracingLayerUserStore) GetAllNotInAuthService ¶
func (*OpenTracingLayerUserStore) GetAllProfiles ¶
func (s *OpenTracingLayerUserStore) GetAllProfiles(options *model.UserGetOptions) ([]*model.User, *model.AppError)
func (*OpenTracingLayerUserStore) GetAllProfilesInChannel ¶
func (*OpenTracingLayerUserStore) GetAllUsingAuthService ¶
func (*OpenTracingLayerUserStore) GetAnyUnreadPostCountForChannel ¶
func (*OpenTracingLayerUserStore) GetByEmail ¶
func (*OpenTracingLayerUserStore) GetByUsername ¶
func (*OpenTracingLayerUserStore) GetChannelGroupUsers ¶
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, *model.AppError)
func (*OpenTracingLayerUserStore) GetNewUsersForTeam ¶
func (s *OpenTracingLayerUserStore) GetNewUsersForTeam(teamId string, offset int, limit int, viewRestrictions *model.ViewUsersRestrictions) ([]*model.User, *model.AppError)
func (*OpenTracingLayerUserStore) GetProfileByGroupChannelIdsForUser ¶
func (*OpenTracingLayerUserStore) GetProfileByIds ¶
func (s *OpenTracingLayerUserStore) GetProfileByIds(userIds []string, options *store.UserGetByIdsOpts, allowFromCache bool) ([]*model.User, *model.AppError)
func (*OpenTracingLayerUserStore) GetProfiles ¶
func (s *OpenTracingLayerUserStore) GetProfiles(options *model.UserGetOptions) ([]*model.User, *model.AppError)
func (*OpenTracingLayerUserStore) GetProfilesByUsernames ¶
func (s *OpenTracingLayerUserStore) GetProfilesByUsernames(usernames []string, viewRestrictions *model.ViewUsersRestrictions) ([]*model.User, *model.AppError)
func (*OpenTracingLayerUserStore) GetProfilesInChannel ¶
func (*OpenTracingLayerUserStore) GetProfilesInChannelByStatus ¶
func (*OpenTracingLayerUserStore) GetProfilesNotInChannel ¶
func (*OpenTracingLayerUserStore) GetProfilesNotInTeam ¶
func (*OpenTracingLayerUserStore) GetProfilesWithoutTeam ¶
func (s *OpenTracingLayerUserStore) GetProfilesWithoutTeam(options *model.UserGetOptions) ([]*model.User, *model.AppError)
func (*OpenTracingLayerUserStore) GetRecentlyActiveUsersForTeam ¶
func (s *OpenTracingLayerUserStore) GetRecentlyActiveUsersForTeam(teamId string, offset int, limit int, viewRestrictions *model.ViewUsersRestrictions) ([]*model.User, *model.AppError)
func (*OpenTracingLayerUserStore) GetSystemAdminProfiles ¶
func (*OpenTracingLayerUserStore) GetTeamGroupUsers ¶
func (*OpenTracingLayerUserStore) GetUnreadCount ¶
func (s *OpenTracingLayerUserStore) GetUnreadCount(userId string) (int64, *model.AppError)
func (*OpenTracingLayerUserStore) GetUnreadCountForChannel ¶
func (*OpenTracingLayerUserStore) GetUsersBatchForIndexing ¶
func (s *OpenTracingLayerUserStore) GetUsersBatchForIndexing(startTime int64, endTime int64, limit int) ([]*model.UserForIndexing, *model.AppError)
func (*OpenTracingLayerUserStore) InferSystemInstallDate ¶
func (s *OpenTracingLayerUserStore) InferSystemInstallDate() (int64, *model.AppError)
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) PermanentDelete ¶
func (s *OpenTracingLayerUserStore) PermanentDelete(userId string) *model.AppError
func (*OpenTracingLayerUserStore) PromoteGuestToUser ¶
func (s *OpenTracingLayerUserStore) PromoteGuestToUser(userID string) *model.AppError
func (*OpenTracingLayerUserStore) ResetLastPictureUpdate ¶
func (s *OpenTracingLayerUserStore) ResetLastPictureUpdate(userId string) *model.AppError
func (*OpenTracingLayerUserStore) Search ¶
func (s *OpenTracingLayerUserStore) Search(teamId string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
func (*OpenTracingLayerUserStore) SearchInChannel ¶
func (s *OpenTracingLayerUserStore) SearchInChannel(channelId string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
func (*OpenTracingLayerUserStore) SearchInGroup ¶
func (s *OpenTracingLayerUserStore) SearchInGroup(groupID string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
func (*OpenTracingLayerUserStore) SearchNotInChannel ¶
func (s *OpenTracingLayerUserStore) SearchNotInChannel(teamId string, channelId string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
func (*OpenTracingLayerUserStore) SearchNotInTeam ¶
func (s *OpenTracingLayerUserStore) SearchNotInTeam(notInTeamId string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
func (*OpenTracingLayerUserStore) SearchWithoutTeam ¶
func (s *OpenTracingLayerUserStore) SearchWithoutTeam(term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
func (*OpenTracingLayerUserStore) Update ¶
func (s *OpenTracingLayerUserStore) Update(user *model.User, allowRoleUpdate bool) (*model.UserUpdate, *model.AppError)
func (*OpenTracingLayerUserStore) UpdateAuthData ¶
func (*OpenTracingLayerUserStore) UpdateFailedPasswordAttempts ¶
func (s *OpenTracingLayerUserStore) UpdateFailedPasswordAttempts(userId string, attempts int) *model.AppError
func (*OpenTracingLayerUserStore) UpdateLastPictureUpdate ¶
func (s *OpenTracingLayerUserStore) UpdateLastPictureUpdate(userId string) *model.AppError
func (*OpenTracingLayerUserStore) UpdateMfaActive ¶
func (s *OpenTracingLayerUserStore) UpdateMfaActive(userId string, active bool) *model.AppError
func (*OpenTracingLayerUserStore) UpdateMfaSecret ¶
func (s *OpenTracingLayerUserStore) UpdateMfaSecret(userId string, secret string) *model.AppError
func (*OpenTracingLayerUserStore) UpdatePassword ¶
func (s *OpenTracingLayerUserStore) UpdatePassword(userId string, newPassword string) *model.AppError
func (*OpenTracingLayerUserStore) UpdateUpdateAt ¶
func (s *OpenTracingLayerUserStore) UpdateUpdateAt(userId string) (int64, *model.AppError)
func (*OpenTracingLayerUserStore) VerifyEmail ¶
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.