opentracinglayer

package
v6.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2020 License: AGPL-3.0, Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpenTracingLayer

type OpenTracingLayer struct {
	store.Store
	AuditStore                store.AuditStore
	BotStore                  store.BotStore
	ChannelStore              store.ChannelStore
	ChannelMemberHistoryStore store.ChannelMemberHistoryStore
	ClusterDiscoveryStore     store.ClusterDiscoveryStore
	CommandStore              store.CommandStore
	CommandWebhookStore       store.CommandWebhookStore
	ComplianceStore           store.ComplianceStore
	EmojiStore                store.EmojiStore
	FileInfoStore             store.FileInfoStore
	GroupStore                store.GroupStore
	JobStore                  store.JobStore
	LicenseStore              store.LicenseStore
	LinkMetadataStore         store.LinkMetadataStore
	OAuthStore                store.OAuthStore
	PluginStore               store.PluginStore
	PostStore                 store.PostStore
	PreferenceStore           store.PreferenceStore
	ProductNoticesStore       store.ProductNoticesStore
	ReactionStore             store.ReactionStore
	RoleStore                 store.RoleStore
	SchemeStore               store.SchemeStore
	SessionStore              store.SessionStore
	StatusStore               store.StatusStore
	SystemStore               store.SystemStore
	TeamStore                 store.TeamStore
	TermsOfServiceStore       store.TermsOfServiceStore
	ThreadStore               store.ThreadStore
	TokenStore                store.TokenStore
	UploadSessionStore        store.UploadSessionStore
	UserStore                 store.UserStore
	UserAccessTokenStore      store.UserAccessTokenStore
	UserTermsOfServiceStore   store.UserTermsOfServiceStore
	WebhookStore              store.WebhookStore
}

func New

func New(childStore store.Store, ctx context.Context) *OpenTracingLayer

func (*OpenTracingLayer) Audit

func (s *OpenTracingLayer) Audit() store.AuditStore

func (*OpenTracingLayer) Bot

func (s *OpenTracingLayer) Bot() store.BotStore

func (*OpenTracingLayer) Channel

func (s *OpenTracingLayer) Channel() store.ChannelStore

func (*OpenTracingLayer) ChannelMemberHistory

func (s *OpenTracingLayer) ChannelMemberHistory() store.ChannelMemberHistoryStore

func (*OpenTracingLayer) Close

func (s *OpenTracingLayer) Close()

func (*OpenTracingLayer) ClusterDiscovery

func (s *OpenTracingLayer) ClusterDiscovery() store.ClusterDiscoveryStore

func (*OpenTracingLayer) Command

func (s *OpenTracingLayer) Command() store.CommandStore

func (*OpenTracingLayer) CommandWebhook

func (s *OpenTracingLayer) CommandWebhook() store.CommandWebhookStore

func (*OpenTracingLayer) Compliance

func (s *OpenTracingLayer) Compliance() store.ComplianceStore

func (*OpenTracingLayer) DropAllTables

func (s *OpenTracingLayer) DropAllTables()

func (*OpenTracingLayer) Emoji

func (s *OpenTracingLayer) Emoji() store.EmojiStore

func (*OpenTracingLayer) FileInfo

func (s *OpenTracingLayer) FileInfo() store.FileInfoStore

func (*OpenTracingLayer) GetCurrentSchemaVersion

func (s *OpenTracingLayer) GetCurrentSchemaVersion() string

func (*OpenTracingLayer) Group

func (s *OpenTracingLayer) Group() store.GroupStore

func (*OpenTracingLayer) Job

func (s *OpenTracingLayer) Job() store.JobStore

func (*OpenTracingLayer) License

func (s *OpenTracingLayer) License() store.LicenseStore

func (*OpenTracingLayer) LinkMetadata

func (s *OpenTracingLayer) LinkMetadata() store.LinkMetadataStore

func (*OpenTracingLayer) LockToMaster

func (s *OpenTracingLayer) LockToMaster()

func (*OpenTracingLayer) MarkSystemRanUnitTests

func (s *OpenTracingLayer) MarkSystemRanUnitTests()

func (*OpenTracingLayer) OAuth

func (s *OpenTracingLayer) OAuth() store.OAuthStore

func (*OpenTracingLayer) Plugin

func (s *OpenTracingLayer) Plugin() store.PluginStore

func (*OpenTracingLayer) Post

func (s *OpenTracingLayer) Post() store.PostStore

func (*OpenTracingLayer) Preference

func (s *OpenTracingLayer) Preference() store.PreferenceStore

func (*OpenTracingLayer) ProductNotices

func (s *OpenTracingLayer) ProductNotices() store.ProductNoticesStore

func (*OpenTracingLayer) Reaction

func (s *OpenTracingLayer) Reaction() store.ReactionStore

func (*OpenTracingLayer) 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) Thread

func (s *OpenTracingLayer) Thread() store.ThreadStore

func (*OpenTracingLayer) Token

func (s *OpenTracingLayer) Token() store.TokenStore

func (*OpenTracingLayer) TotalMasterDbConnections

func (s *OpenTracingLayer) TotalMasterDbConnections() int

func (*OpenTracingLayer) TotalReadDbConnections

func (s *OpenTracingLayer) TotalReadDbConnections() int

func (*OpenTracingLayer) TotalSearchDbConnections

func (s *OpenTracingLayer) TotalSearchDbConnections() int

func (*OpenTracingLayer) UnlockFromMaster

func (s *OpenTracingLayer) UnlockFromMaster()

func (*OpenTracingLayer) UploadSession

func (s *OpenTracingLayer) UploadSession() store.UploadSessionStore

func (*OpenTracingLayer) User

func (s *OpenTracingLayer) User() store.UserStore

func (*OpenTracingLayer) UserAccessToken

func (s *OpenTracingLayer) UserAccessToken() store.UserAccessTokenStore

func (*OpenTracingLayer) UserTermsOfService

func (s *OpenTracingLayer) UserTermsOfService() store.UserTermsOfServiceStore

func (*OpenTracingLayer) Webhook

func (s *OpenTracingLayer) Webhook() store.WebhookStore

type OpenTracingLayerAuditStore

type OpenTracingLayerAuditStore struct {
	store.AuditStore
	Root *OpenTracingLayer
}

func (*OpenTracingLayerAuditStore) Get

func (s *OpenTracingLayerAuditStore) Get(user_id string, offset int, limit int) (model.Audits, error)

func (*OpenTracingLayerAuditStore) PermanentDeleteByUser

func (s *OpenTracingLayerAuditStore) PermanentDeleteByUser(userId string) error

func (*OpenTracingLayerAuditStore) Save

func (s *OpenTracingLayerAuditStore) Save(audit *model.Audit) error

type OpenTracingLayerBotStore

type OpenTracingLayerBotStore struct {
	store.BotStore
	Root *OpenTracingLayer
}

func (*OpenTracingLayerBotStore) Get

func (s *OpenTracingLayerBotStore) Get(userId string, includeDeleted bool) (*model.Bot, error)

func (*OpenTracingLayerBotStore) GetAll

func (s *OpenTracingLayerBotStore) GetAll(options *model.BotGetOptions) ([]*model.Bot, error)

func (*OpenTracingLayerBotStore) PermanentDelete

func (s *OpenTracingLayerBotStore) PermanentDelete(userId string) error

func (*OpenTracingLayerBotStore) Save

func (s *OpenTracingLayerBotStore) Save(bot *model.Bot) (*model.Bot, error)

func (*OpenTracingLayerBotStore) Update

func (s *OpenTracingLayerBotStore) Update(bot *model.Bot) (*model.Bot, 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 (s *OpenTracingLayerChannelStore) AnalyticsDeletedTypeCount(teamId string, channelType string) (int64, error)

func (*OpenTracingLayerChannelStore) AnalyticsTypeCount

func (s *OpenTracingLayerChannelStore) AnalyticsTypeCount(teamId string, channelType string) (int64, error)

func (*OpenTracingLayerChannelStore) AutocompleteInTeam

func (s *OpenTracingLayerChannelStore) AutocompleteInTeam(teamId string, term string, includeDeleted bool) (*model.ChannelList, error)

func (*OpenTracingLayerChannelStore) AutocompleteInTeamForSearch

func (s *OpenTracingLayerChannelStore) AutocompleteInTeamForSearch(teamId string, userId string, term string, includeDeleted bool) (*model.ChannelList, error)

func (*OpenTracingLayerChannelStore) ClearAllCustomRoleAssignments

func (s *OpenTracingLayerChannelStore) ClearAllCustomRoleAssignments() error

func (*OpenTracingLayerChannelStore) ClearCaches

func (s *OpenTracingLayerChannelStore) ClearCaches()

func (*OpenTracingLayerChannelStore) ClearSidebarOnTeamLeave

func (s *OpenTracingLayerChannelStore) ClearSidebarOnTeamLeave(userId string, teamId string) error

func (*OpenTracingLayerChannelStore) CountPostsAfter

func (s *OpenTracingLayerChannelStore) CountPostsAfter(channelId string, timestamp int64, userId string) (int, error)

func (*OpenTracingLayerChannelStore) CreateDirectChannel

func (s *OpenTracingLayerChannelStore) CreateDirectChannel(userId *model.User, otherUserId *model.User) (*model.Channel, error)

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, error)

func (*OpenTracingLayerChannelStore) Delete

func (s *OpenTracingLayerChannelStore) Delete(channelId string, time int64) error

func (*OpenTracingLayerChannelStore) DeleteSidebarCategory

func (s *OpenTracingLayerChannelStore) DeleteSidebarCategory(categoryId string) error

func (*OpenTracingLayerChannelStore) DeleteSidebarChannelsByPreferences

func (s *OpenTracingLayerChannelStore) DeleteSidebarChannelsByPreferences(preferences *model.Preferences) error

func (*OpenTracingLayerChannelStore) Get

func (s *OpenTracingLayerChannelStore) Get(id string, allowFromCache bool) (*model.Channel, error)

func (*OpenTracingLayerChannelStore) GetAll

func (s *OpenTracingLayerChannelStore) GetAll(teamId string) ([]*model.Channel, error)

func (*OpenTracingLayerChannelStore) GetAllChannelMembersForUser

func (s *OpenTracingLayerChannelStore) GetAllChannelMembersForUser(userId string, allowFromCache bool, includeDeleted bool) (map[string]string, error)

func (*OpenTracingLayerChannelStore) GetAllChannelMembersNotifyPropsForChannel

func (s *OpenTracingLayerChannelStore) GetAllChannelMembersNotifyPropsForChannel(channelId string, allowFromCache bool) (map[string]model.StringMap, error)

func (*OpenTracingLayerChannelStore) GetAllChannels

func (*OpenTracingLayerChannelStore) GetAllChannelsCount

func (s *OpenTracingLayerChannelStore) GetAllChannelsCount(opts store.ChannelSearchOpts) (int64, error)

func (*OpenTracingLayerChannelStore) GetAllChannelsForExportAfter

func (s *OpenTracingLayerChannelStore) GetAllChannelsForExportAfter(limit int, afterId string) ([]*model.ChannelForExport, error)

func (*OpenTracingLayerChannelStore) GetAllDirectChannelsForExportAfter

func (s *OpenTracingLayerChannelStore) GetAllDirectChannelsForExportAfter(limit int, afterId string) ([]*model.DirectChannelForExport, error)

func (*OpenTracingLayerChannelStore) GetByName

func (s *OpenTracingLayerChannelStore) GetByName(team_id string, name string, allowFromCache bool) (*model.Channel, error)

func (*OpenTracingLayerChannelStore) GetByNameIncludeDeleted

func (s *OpenTracingLayerChannelStore) GetByNameIncludeDeleted(team_id string, name string, allowFromCache bool) (*model.Channel, error)

func (*OpenTracingLayerChannelStore) GetByNames

func (s *OpenTracingLayerChannelStore) GetByNames(team_id string, names []string, allowFromCache bool) ([]*model.Channel, error)

func (*OpenTracingLayerChannelStore) GetChannelCounts

func (s *OpenTracingLayerChannelStore) GetChannelCounts(teamId string, userId string) (*model.ChannelCounts, error)

func (*OpenTracingLayerChannelStore) GetChannelMembersForExport

func (s *OpenTracingLayerChannelStore) GetChannelMembersForExport(userId string, teamId string) ([]*model.ChannelMemberForExport, error)

func (*OpenTracingLayerChannelStore) GetChannelMembersTimezones

func (s *OpenTracingLayerChannelStore) GetChannelMembersTimezones(channelId string) ([]model.StringMap, error)

func (*OpenTracingLayerChannelStore) GetChannelUnread

func (s *OpenTracingLayerChannelStore) GetChannelUnread(channelId string, userId string) (*model.ChannelUnread, error)

func (*OpenTracingLayerChannelStore) GetChannels

func (s *OpenTracingLayerChannelStore) GetChannels(teamId string, userId string, includeDeleted bool, lastDeleteAt int) (*model.ChannelList, error)

func (*OpenTracingLayerChannelStore) GetChannelsBatchForIndexing

func (s *OpenTracingLayerChannelStore) GetChannelsBatchForIndexing(startTime int64, endTime int64, limit int) ([]*model.Channel, error)

func (*OpenTracingLayerChannelStore) GetChannelsByIds

func (s *OpenTracingLayerChannelStore) GetChannelsByIds(channelIds []string, includeDeleted bool) ([]*model.Channel, error)

func (*OpenTracingLayerChannelStore) GetChannelsByScheme

func (s *OpenTracingLayerChannelStore) GetChannelsByScheme(schemeId string, offset int, limit int) (model.ChannelList, error)

func (*OpenTracingLayerChannelStore) GetDeleted

func (s *OpenTracingLayerChannelStore) GetDeleted(team_id string, offset int, limit int, userId string) (*model.ChannelList, error)

func (*OpenTracingLayerChannelStore) GetDeletedByName

func (s *OpenTracingLayerChannelStore) GetDeletedByName(team_id string, name string) (*model.Channel, error)

func (*OpenTracingLayerChannelStore) GetForPost

func (s *OpenTracingLayerChannelStore) GetForPost(postId string) (*model.Channel, error)

func (*OpenTracingLayerChannelStore) GetFromMaster

func (s *OpenTracingLayerChannelStore) GetFromMaster(id string) (*model.Channel, error)

func (*OpenTracingLayerChannelStore) GetGuestCount

func (s *OpenTracingLayerChannelStore) GetGuestCount(channelId string, allowFromCache bool) (int64, error)

func (*OpenTracingLayerChannelStore) GetMember

func (s *OpenTracingLayerChannelStore) GetMember(channelId string, userId string) (*model.ChannelMember, error)

func (*OpenTracingLayerChannelStore) GetMemberCount

func (s *OpenTracingLayerChannelStore) GetMemberCount(channelId string, allowFromCache bool) (int64, error)

func (*OpenTracingLayerChannelStore) GetMemberCountFromCache

func (s *OpenTracingLayerChannelStore) GetMemberCountFromCache(channelId string) int64

func (*OpenTracingLayerChannelStore) GetMemberCountsByGroup

func (s *OpenTracingLayerChannelStore) GetMemberCountsByGroup(channelID string, includeTimezones bool) ([]*model.ChannelMemberCountByGroup, error)

func (*OpenTracingLayerChannelStore) GetMemberForPost

func (s *OpenTracingLayerChannelStore) GetMemberForPost(postId string, userId string) (*model.ChannelMember, error)

func (*OpenTracingLayerChannelStore) GetMembers

func (s *OpenTracingLayerChannelStore) GetMembers(channelId string, offset int, limit int) (*model.ChannelMembers, error)

func (*OpenTracingLayerChannelStore) GetMembersByChannelIds

func (s *OpenTracingLayerChannelStore) GetMembersByChannelIds(channelIds []string, userId string) (*model.ChannelMembers, error)

func (*OpenTracingLayerChannelStore) GetMembersByIds

func (s *OpenTracingLayerChannelStore) GetMembersByIds(channelId string, userIds []string) (*model.ChannelMembers, error)

func (*OpenTracingLayerChannelStore) GetMembersForUser

func (s *OpenTracingLayerChannelStore) GetMembersForUser(teamId string, userId string) (*model.ChannelMembers, error)

func (*OpenTracingLayerChannelStore) GetMembersForUserWithPagination

func (s *OpenTracingLayerChannelStore) GetMembersForUserWithPagination(teamId string, userId string, page int, perPage int) (*model.ChannelMembers, error)

func (*OpenTracingLayerChannelStore) GetMoreChannels

func (s *OpenTracingLayerChannelStore) GetMoreChannels(teamId string, userId string, offset int, limit int) (*model.ChannelList, error)

func (*OpenTracingLayerChannelStore) GetPinnedPostCount

func (s *OpenTracingLayerChannelStore) GetPinnedPostCount(channelId string, allowFromCache bool) (int64, error)

func (*OpenTracingLayerChannelStore) GetPinnedPosts

func (s *OpenTracingLayerChannelStore) GetPinnedPosts(channelId string) (*model.PostList, error)

func (*OpenTracingLayerChannelStore) GetPrivateChannelsForTeam

func (s *OpenTracingLayerChannelStore) GetPrivateChannelsForTeam(teamId string, offset int, limit int) (*model.ChannelList, error)

func (*OpenTracingLayerChannelStore) GetPublicChannelsByIdsForTeam

func (s *OpenTracingLayerChannelStore) GetPublicChannelsByIdsForTeam(teamId string, channelIds []string) (*model.ChannelList, error)

func (*OpenTracingLayerChannelStore) GetPublicChannelsForTeam

func (s *OpenTracingLayerChannelStore) GetPublicChannelsForTeam(teamId string, offset int, limit int) (*model.ChannelList, error)

func (*OpenTracingLayerChannelStore) GetSidebarCategories

func (s *OpenTracingLayerChannelStore) GetSidebarCategories(userId string, teamId string) (*model.OrderedSidebarCategories, error)

func (*OpenTracingLayerChannelStore) GetSidebarCategory

func (s *OpenTracingLayerChannelStore) GetSidebarCategory(categoryId string) (*model.SidebarCategoryWithChannels, error)

func (*OpenTracingLayerChannelStore) GetSidebarCategoryOrder

func (s *OpenTracingLayerChannelStore) GetSidebarCategoryOrder(userId string, teamId string) ([]string, error)

func (*OpenTracingLayerChannelStore) GetTeamChannels

func (s *OpenTracingLayerChannelStore) GetTeamChannels(teamId string) (*model.ChannelList, error)

func (*OpenTracingLayerChannelStore) GroupSyncedChannelCount

func (s *OpenTracingLayerChannelStore) GroupSyncedChannelCount() (int64, error)

func (*OpenTracingLayerChannelStore) IncrementMentionCount

func (s *OpenTracingLayerChannelStore) IncrementMentionCount(channelId string, userId string, updateThreads bool) error

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 (s *OpenTracingLayerChannelStore) MigrateChannelMembers(fromChannelId string, fromUserId string) (map[string]string, error)

func (*OpenTracingLayerChannelStore) MigratePublicChannels

func (s *OpenTracingLayerChannelStore) MigratePublicChannels() error

func (*OpenTracingLayerChannelStore) PermanentDelete

func (s *OpenTracingLayerChannelStore) PermanentDelete(channelId string) error

func (*OpenTracingLayerChannelStore) PermanentDeleteByTeam

func (s *OpenTracingLayerChannelStore) PermanentDeleteByTeam(teamId string) error

func (*OpenTracingLayerChannelStore) PermanentDeleteMembersByChannel

func (s *OpenTracingLayerChannelStore) PermanentDeleteMembersByChannel(channelId string) error

func (*OpenTracingLayerChannelStore) PermanentDeleteMembersByUser

func (s *OpenTracingLayerChannelStore) PermanentDeleteMembersByUser(userId string) error

func (*OpenTracingLayerChannelStore) RemoveAllDeactivatedMembers

func (s *OpenTracingLayerChannelStore) RemoveAllDeactivatedMembers(channelId string) error

func (*OpenTracingLayerChannelStore) RemoveMember

func (s *OpenTracingLayerChannelStore) RemoveMember(channelId string, userId string) error

func (*OpenTracingLayerChannelStore) RemoveMembers

func (s *OpenTracingLayerChannelStore) RemoveMembers(channelId string, userIds []string) error

func (*OpenTracingLayerChannelStore) ResetAllChannelSchemes

func (s *OpenTracingLayerChannelStore) ResetAllChannelSchemes() error

func (*OpenTracingLayerChannelStore) Restore

func (s *OpenTracingLayerChannelStore) Restore(channelId string, time int64) error

func (*OpenTracingLayerChannelStore) Save

func (s *OpenTracingLayerChannelStore) Save(channel *model.Channel, maxChannelsPerTeam int64) (*model.Channel, error)

func (*OpenTracingLayerChannelStore) SaveDirectChannel

func (s *OpenTracingLayerChannelStore) SaveDirectChannel(channel *model.Channel, member1 *model.ChannelMember, member2 *model.ChannelMember) (*model.Channel, error)

func (*OpenTracingLayerChannelStore) SaveMember

func (*OpenTracingLayerChannelStore) SaveMultipleMembers

func (s *OpenTracingLayerChannelStore) SaveMultipleMembers(members []*model.ChannelMember) ([]*model.ChannelMember, error)

func (*OpenTracingLayerChannelStore) SearchAllChannels

func (*OpenTracingLayerChannelStore) SearchArchivedInTeam

func (s *OpenTracingLayerChannelStore) SearchArchivedInTeam(teamId string, term string, userId string) (*model.ChannelList, error)

func (*OpenTracingLayerChannelStore) SearchForUserInTeam

func (s *OpenTracingLayerChannelStore) SearchForUserInTeam(userId string, teamId string, term string, includeDeleted bool) (*model.ChannelList, error)

func (*OpenTracingLayerChannelStore) SearchGroupChannels

func (s *OpenTracingLayerChannelStore) SearchGroupChannels(userId string, term string) (*model.ChannelList, error)

func (*OpenTracingLayerChannelStore) SearchInTeam

func (s *OpenTracingLayerChannelStore) SearchInTeam(teamId string, term string, includeDeleted bool) (*model.ChannelList, error)

func (*OpenTracingLayerChannelStore) SearchMore

func (s *OpenTracingLayerChannelStore) SearchMore(userId string, teamId string, term string) (*model.ChannelList, error)

func (*OpenTracingLayerChannelStore) SetDeleteAt

func (s *OpenTracingLayerChannelStore) SetDeleteAt(channelId string, deleteAt int64, updateAt int64) error

func (*OpenTracingLayerChannelStore) Update

func (s *OpenTracingLayerChannelStore) Update(channel *model.Channel) (*model.Channel, error)

func (*OpenTracingLayerChannelStore) UpdateLastViewedAt

func (s *OpenTracingLayerChannelStore) UpdateLastViewedAt(channelIds []string, userId string, updateThreads bool) (map[string]int64, error)

func (*OpenTracingLayerChannelStore) UpdateLastViewedAtPost

func (s *OpenTracingLayerChannelStore) UpdateLastViewedAtPost(unreadPost *model.Post, userID string, mentionCount int, updateThreads bool) (*model.ChannelUnreadAt, error)

func (*OpenTracingLayerChannelStore) UpdateMember

func (*OpenTracingLayerChannelStore) UpdateMembersRole

func (s *OpenTracingLayerChannelStore) UpdateMembersRole(channelID string, userIDs []string) error

func (*OpenTracingLayerChannelStore) UpdateMultipleMembers

func (s *OpenTracingLayerChannelStore) UpdateMultipleMembers(members []*model.ChannelMember) ([]*model.ChannelMember, error)

func (*OpenTracingLayerChannelStore) UpdateSidebarCategories

func (*OpenTracingLayerChannelStore) UpdateSidebarCategoryOrder

func (s *OpenTracingLayerChannelStore) UpdateSidebarCategoryOrder(userId string, teamId string, categoryOrder []string) error

func (*OpenTracingLayerChannelStore) UpdateSidebarChannelCategoryOnMove

func (s *OpenTracingLayerChannelStore) UpdateSidebarChannelCategoryOnMove(channel *model.Channel, newTeamId string) error

func (*OpenTracingLayerChannelStore) UpdateSidebarChannelsByPreferences

func (s *OpenTracingLayerChannelStore) UpdateSidebarChannelsByPreferences(preferences *model.Preferences) error

func (*OpenTracingLayerChannelStore) UserBelongsToChannels

func (s *OpenTracingLayerChannelStore) UserBelongsToChannels(userId string, channelIds []string) (bool, error)

type OpenTracingLayerClusterDiscoveryStore

type OpenTracingLayerClusterDiscoveryStore struct {
	store.ClusterDiscoveryStore
	Root *OpenTracingLayer
}

func (*OpenTracingLayerClusterDiscoveryStore) Cleanup

func (*OpenTracingLayerClusterDiscoveryStore) Delete

func (*OpenTracingLayerClusterDiscoveryStore) Exists

func (*OpenTracingLayerClusterDiscoveryStore) GetAll

func (s *OpenTracingLayerClusterDiscoveryStore) GetAll(discoveryType string, clusterName string) ([]*model.ClusterDiscovery, error)

func (*OpenTracingLayerClusterDiscoveryStore) Save

func (*OpenTracingLayerClusterDiscoveryStore) SetLastPingAt

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 (*OpenTracingLayerCommandStore) GetByTeam

func (s *OpenTracingLayerCommandStore) GetByTeam(teamId string) ([]*model.Command, error)

func (*OpenTracingLayerCommandStore) GetByTrigger

func (s *OpenTracingLayerCommandStore) GetByTrigger(teamId string, trigger string) (*model.Command, error)

func (*OpenTracingLayerCommandStore) PermanentDeleteByTeam

func (s *OpenTracingLayerCommandStore) PermanentDeleteByTeam(teamId string) error

func (*OpenTracingLayerCommandStore) PermanentDeleteByUser

func (s *OpenTracingLayerCommandStore) PermanentDeleteByUser(userId string) error

func (*OpenTracingLayerCommandStore) Save

func (*OpenTracingLayerCommandStore) Update

type OpenTracingLayerCommandWebhookStore

type OpenTracingLayerCommandWebhookStore struct {
	store.CommandWebhookStore
	Root *OpenTracingLayer
}

func (*OpenTracingLayerCommandWebhookStore) Cleanup

func (*OpenTracingLayerCommandWebhookStore) Get

func (*OpenTracingLayerCommandWebhookStore) Save

func (*OpenTracingLayerCommandWebhookStore) TryUse

func (s *OpenTracingLayerCommandWebhookStore) TryUse(id string, limit int) 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 (*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 (*OpenTracingLayerComplianceStore) Update

type OpenTracingLayerEmojiStore

type OpenTracingLayerEmojiStore struct {
	store.EmojiStore
	Root *OpenTracingLayer
}

func (*OpenTracingLayerEmojiStore) Delete

func (s *OpenTracingLayerEmojiStore) Delete(emoji *model.Emoji, time int64) error

func (*OpenTracingLayerEmojiStore) Get

func (s *OpenTracingLayerEmojiStore) Get(id string, allowFromCache bool) (*model.Emoji, error)

func (*OpenTracingLayerEmojiStore) GetByName

func (s *OpenTracingLayerEmojiStore) GetByName(name string, allowFromCache bool) (*model.Emoji, error)

func (*OpenTracingLayerEmojiStore) GetList

func (s *OpenTracingLayerEmojiStore) GetList(offset int, limit int, sort string) ([]*model.Emoji, error)

func (*OpenTracingLayerEmojiStore) GetMultipleByName

func (s *OpenTracingLayerEmojiStore) GetMultipleByName(names []string) ([]*model.Emoji, error)

func (*OpenTracingLayerEmojiStore) Save

func (s *OpenTracingLayerEmojiStore) Save(emoji *model.Emoji) (*model.Emoji, error)

func (*OpenTracingLayerEmojiStore) Search

func (s *OpenTracingLayerEmojiStore) Search(name string, prefixOnly bool, limit int) ([]*model.Emoji, error)

type OpenTracingLayerFileInfoStore

type OpenTracingLayerFileInfoStore struct {
	store.FileInfoStore
	Root *OpenTracingLayer
}

func (*OpenTracingLayerFileInfoStore) AttachToPost

func (s *OpenTracingLayerFileInfoStore) AttachToPost(fileId string, postId string, creatorId string) error

func (*OpenTracingLayerFileInfoStore) ClearCaches

func (s *OpenTracingLayerFileInfoStore) ClearCaches()

func (*OpenTracingLayerFileInfoStore) DeleteForPost

func (s *OpenTracingLayerFileInfoStore) DeleteForPost(postId string) (string, error)

func (*OpenTracingLayerFileInfoStore) Get

func (*OpenTracingLayerFileInfoStore) GetByPath

func (s *OpenTracingLayerFileInfoStore) GetByPath(path string) (*model.FileInfo, error)

func (*OpenTracingLayerFileInfoStore) GetForPost

func (s *OpenTracingLayerFileInfoStore) GetForPost(postId string, readFromMaster bool, includeDeleted bool, allowFromCache bool) ([]*model.FileInfo, error)

func (*OpenTracingLayerFileInfoStore) GetForUser

func (s *OpenTracingLayerFileInfoStore) GetForUser(userId string) ([]*model.FileInfo, error)

func (*OpenTracingLayerFileInfoStore) GetWithOptions

func (s *OpenTracingLayerFileInfoStore) GetWithOptions(page int, perPage int, opt *model.GetFileInfosOptions) ([]*model.FileInfo, error)

func (*OpenTracingLayerFileInfoStore) InvalidateFileInfosForPostCache

func (s *OpenTracingLayerFileInfoStore) InvalidateFileInfosForPostCache(postId string, deleted bool)

func (*OpenTracingLayerFileInfoStore) PermanentDelete

func (s *OpenTracingLayerFileInfoStore) PermanentDelete(fileId string) error

func (*OpenTracingLayerFileInfoStore) PermanentDeleteBatch

func (s *OpenTracingLayerFileInfoStore) PermanentDeleteBatch(endTime int64, limit int64) (int64, error)

func (*OpenTracingLayerFileInfoStore) PermanentDeleteByUser

func (s *OpenTracingLayerFileInfoStore) PermanentDeleteByUser(userId string) (int64, error)

func (*OpenTracingLayerFileInfoStore) Save

func (*OpenTracingLayerFileInfoStore) SetContent

func (s *OpenTracingLayerFileInfoStore) SetContent(fileId string, content string) error

func (*OpenTracingLayerFileInfoStore) Upsert

type OpenTracingLayerGroupStore

type OpenTracingLayerGroupStore struct {
	store.GroupStore
	Root *OpenTracingLayer
}

func (*OpenTracingLayerGroupStore) AdminRoleGroupsForSyncableMember

func (s *OpenTracingLayerGroupStore) AdminRoleGroupsForSyncableMember(userID string, syncableID string, syncableType model.GroupSyncableType) ([]string, error)

func (*OpenTracingLayerGroupStore) ChannelMembersMinusGroupMembers

func (s *OpenTracingLayerGroupStore) ChannelMembersMinusGroupMembers(channelID string, groupIDs []string, page int, perPage int) ([]*model.UserWithGroups, error)

func (*OpenTracingLayerGroupStore) ChannelMembersToAdd

func (s *OpenTracingLayerGroupStore) ChannelMembersToAdd(since int64, channelID *string) ([]*model.UserChannelIDPair, error)

func (*OpenTracingLayerGroupStore) ChannelMembersToRemove

func (s *OpenTracingLayerGroupStore) ChannelMembersToRemove(channelID *string) ([]*model.ChannelMember, error)

func (*OpenTracingLayerGroupStore) CountChannelMembersMinusGroupMembers

func (s *OpenTracingLayerGroupStore) CountChannelMembersMinusGroupMembers(channelID string, groupIDs []string) (int64, error)

func (*OpenTracingLayerGroupStore) CountGroupsByChannel

func (s *OpenTracingLayerGroupStore) CountGroupsByChannel(channelId string, opts model.GroupSearchOpts) (int64, error)

func (*OpenTracingLayerGroupStore) CountGroupsByTeam

func (s *OpenTracingLayerGroupStore) CountGroupsByTeam(teamId string, opts model.GroupSearchOpts) (int64, error)

func (*OpenTracingLayerGroupStore) CountTeamMembersMinusGroupMembers

func (s *OpenTracingLayerGroupStore) CountTeamMembersMinusGroupMembers(teamID string, groupIDs []string) (int64, error)

func (*OpenTracingLayerGroupStore) Create

func (s *OpenTracingLayerGroupStore) Create(group *model.Group) (*model.Group, error)

func (*OpenTracingLayerGroupStore) CreateGroupSyncable

func (s *OpenTracingLayerGroupStore) CreateGroupSyncable(groupSyncable *model.GroupSyncable) (*model.GroupSyncable, error)

func (*OpenTracingLayerGroupStore) Delete

func (s *OpenTracingLayerGroupStore) Delete(groupID string) (*model.Group, error)

func (*OpenTracingLayerGroupStore) DeleteGroupSyncable

func (s *OpenTracingLayerGroupStore) DeleteGroupSyncable(groupID string, syncableID string, syncableType model.GroupSyncableType) (*model.GroupSyncable, error)

func (*OpenTracingLayerGroupStore) DeleteMember

func (s *OpenTracingLayerGroupStore) DeleteMember(groupID string, userID string) (*model.GroupMember, error)

func (*OpenTracingLayerGroupStore) DistinctGroupMemberCount

func (s *OpenTracingLayerGroupStore) DistinctGroupMemberCount() (int64, error)

func (*OpenTracingLayerGroupStore) Get

func (s *OpenTracingLayerGroupStore) Get(groupID string) (*model.Group, error)

func (*OpenTracingLayerGroupStore) GetAllBySource

func (s *OpenTracingLayerGroupStore) GetAllBySource(groupSource model.GroupSource) ([]*model.Group, error)

func (*OpenTracingLayerGroupStore) GetAllGroupSyncablesByGroupId

func (s *OpenTracingLayerGroupStore) GetAllGroupSyncablesByGroupId(groupID string, syncableType model.GroupSyncableType) ([]*model.GroupSyncable, error)

func (*OpenTracingLayerGroupStore) GetByIDs

func (s *OpenTracingLayerGroupStore) GetByIDs(groupIDs []string) ([]*model.Group, error)

func (*OpenTracingLayerGroupStore) GetByName

func (*OpenTracingLayerGroupStore) GetByRemoteID

func (s *OpenTracingLayerGroupStore) GetByRemoteID(remoteID string, groupSource model.GroupSource) (*model.Group, error)

func (*OpenTracingLayerGroupStore) GetByUser

func (s *OpenTracingLayerGroupStore) GetByUser(userId string) ([]*model.Group, error)

func (*OpenTracingLayerGroupStore) GetGroupSyncable

func (s *OpenTracingLayerGroupStore) GetGroupSyncable(groupID string, syncableID string, syncableType model.GroupSyncableType) (*model.GroupSyncable, error)

func (*OpenTracingLayerGroupStore) GetGroups

func (s *OpenTracingLayerGroupStore) GetGroups(page int, perPage int, opts model.GroupSearchOpts) ([]*model.Group, error)

func (*OpenTracingLayerGroupStore) GetGroupsAssociatedToChannelsByTeam

func (s *OpenTracingLayerGroupStore) GetGroupsAssociatedToChannelsByTeam(teamId string, opts model.GroupSearchOpts) (map[string][]*model.GroupWithSchemeAdmin, error)

func (*OpenTracingLayerGroupStore) GetGroupsByChannel

func (s *OpenTracingLayerGroupStore) GetGroupsByChannel(channelId string, opts model.GroupSearchOpts) ([]*model.GroupWithSchemeAdmin, error)

func (*OpenTracingLayerGroupStore) GetGroupsByTeam

func (*OpenTracingLayerGroupStore) GetMemberCount

func (s *OpenTracingLayerGroupStore) GetMemberCount(groupID string) (int64, error)

func (*OpenTracingLayerGroupStore) GetMemberUsers

func (s *OpenTracingLayerGroupStore) GetMemberUsers(groupID string) ([]*model.User, error)

func (*OpenTracingLayerGroupStore) GetMemberUsersInTeam

func (s *OpenTracingLayerGroupStore) GetMemberUsersInTeam(groupID string, teamID string) ([]*model.User, error)

func (*OpenTracingLayerGroupStore) GetMemberUsersNotInChannel

func (s *OpenTracingLayerGroupStore) GetMemberUsersNotInChannel(groupID string, channelID string) ([]*model.User, error)

func (*OpenTracingLayerGroupStore) GetMemberUsersPage

func (s *OpenTracingLayerGroupStore) GetMemberUsersPage(groupID string, page int, perPage int) ([]*model.User, error)

func (*OpenTracingLayerGroupStore) GroupChannelCount

func (s *OpenTracingLayerGroupStore) GroupChannelCount() (int64, error)

func (*OpenTracingLayerGroupStore) GroupCount

func (s *OpenTracingLayerGroupStore) GroupCount() (int64, error)

func (*OpenTracingLayerGroupStore) GroupCountWithAllowReference

func (s *OpenTracingLayerGroupStore) GroupCountWithAllowReference() (int64, error)

func (*OpenTracingLayerGroupStore) GroupMemberCount

func (s *OpenTracingLayerGroupStore) GroupMemberCount() (int64, error)

func (*OpenTracingLayerGroupStore) GroupTeamCount

func (s *OpenTracingLayerGroupStore) GroupTeamCount() (int64, error)

func (*OpenTracingLayerGroupStore) PermanentDeleteMembersByUser

func (s *OpenTracingLayerGroupStore) PermanentDeleteMembersByUser(userId string) error

func (*OpenTracingLayerGroupStore) PermittedSyncableAdmins

func (s *OpenTracingLayerGroupStore) PermittedSyncableAdmins(syncableID string, syncableType model.GroupSyncableType) ([]string, error)

func (*OpenTracingLayerGroupStore) TeamMembersMinusGroupMembers

func (s *OpenTracingLayerGroupStore) TeamMembersMinusGroupMembers(teamID string, groupIDs []string, page int, perPage int) ([]*model.UserWithGroups, error)

func (*OpenTracingLayerGroupStore) TeamMembersToAdd

func (s *OpenTracingLayerGroupStore) TeamMembersToAdd(since int64, teamID *string) ([]*model.UserTeamIDPair, error)

func (*OpenTracingLayerGroupStore) TeamMembersToRemove

func (s *OpenTracingLayerGroupStore) TeamMembersToRemove(teamID *string) ([]*model.TeamMember, error)

func (*OpenTracingLayerGroupStore) Update

func (s *OpenTracingLayerGroupStore) Update(group *model.Group) (*model.Group, error)

func (*OpenTracingLayerGroupStore) UpdateGroupSyncable

func (s *OpenTracingLayerGroupStore) UpdateGroupSyncable(groupSyncable *model.GroupSyncable) (*model.GroupSyncable, error)

func (*OpenTracingLayerGroupStore) UpsertMember

func (s *OpenTracingLayerGroupStore) UpsertMember(groupID string, userID string) (*model.GroupMember, error)

type OpenTracingLayerJobStore

type OpenTracingLayerJobStore struct {
	store.JobStore
	Root *OpenTracingLayer
}

func (*OpenTracingLayerJobStore) Delete

func (s *OpenTracingLayerJobStore) Delete(id string) (string, error)

func (*OpenTracingLayerJobStore) Get

func (*OpenTracingLayerJobStore) GetAllByStatus

func (s *OpenTracingLayerJobStore) GetAllByStatus(status string) ([]*model.Job, error)

func (*OpenTracingLayerJobStore) GetAllByType

func (s *OpenTracingLayerJobStore) GetAllByType(jobType string) ([]*model.Job, error)

func (*OpenTracingLayerJobStore) GetAllByTypePage

func (s *OpenTracingLayerJobStore) GetAllByTypePage(jobType string, offset int, limit int) ([]*model.Job, error)

func (*OpenTracingLayerJobStore) GetAllPage

func (s *OpenTracingLayerJobStore) GetAllPage(offset int, limit int) ([]*model.Job, error)

func (*OpenTracingLayerJobStore) GetCountByStatusAndType

func (s *OpenTracingLayerJobStore) GetCountByStatusAndType(status string, jobType string) (int64, error)

func (*OpenTracingLayerJobStore) GetNewestJobByStatusAndType

func (s *OpenTracingLayerJobStore) GetNewestJobByStatusAndType(status string, jobType string) (*model.Job, error)

func (*OpenTracingLayerJobStore) GetNewestJobByStatusesAndType

func (s *OpenTracingLayerJobStore) GetNewestJobByStatusesAndType(statuses []string, jobType string) (*model.Job, error)

func (*OpenTracingLayerJobStore) Save

func (s *OpenTracingLayerJobStore) Save(job *model.Job) (*model.Job, error)

func (*OpenTracingLayerJobStore) UpdateOptimistically

func (s *OpenTracingLayerJobStore) UpdateOptimistically(job *model.Job, currentStatus string) (bool, error)

func (*OpenTracingLayerJobStore) UpdateStatus

func (s *OpenTracingLayerJobStore) UpdateStatus(id string, status string) (*model.Job, error)

func (*OpenTracingLayerJobStore) UpdateStatusOptimistically

func (s *OpenTracingLayerJobStore) UpdateStatusOptimistically(id string, currentStatus string, newStatus string) (bool, error)

type OpenTracingLayerLicenseStore

type OpenTracingLayerLicenseStore struct {
	store.LicenseStore
	Root *OpenTracingLayer
}

func (*OpenTracingLayerLicenseStore) Get

func (*OpenTracingLayerLicenseStore) Save

type OpenTracingLayerLinkMetadataStore

type OpenTracingLayerLinkMetadataStore struct {
	store.LinkMetadataStore
	Root *OpenTracingLayer
}

func (*OpenTracingLayerLinkMetadataStore) Get

func (*OpenTracingLayerLinkMetadataStore) Save

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 (*OpenTracingLayerOAuthStore) GetAppByUser

func (s *OpenTracingLayerOAuthStore) GetAppByUser(userId string, offset int, limit int) ([]*model.OAuthApp, error)

func (*OpenTracingLayerOAuthStore) GetApps

func (s *OpenTracingLayerOAuthStore) GetApps(offset int, limit int) ([]*model.OAuthApp, error)

func (*OpenTracingLayerOAuthStore) GetAuthData

func (s *OpenTracingLayerOAuthStore) GetAuthData(code string) (*model.AuthData, error)

func (*OpenTracingLayerOAuthStore) GetAuthorizedApps

func (s *OpenTracingLayerOAuthStore) GetAuthorizedApps(userId string, offset int, limit int) ([]*model.OAuthApp, error)

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

func (*OpenTracingLayerOAuthStore) SaveAuthData

func (s *OpenTracingLayerOAuthStore) SaveAuthData(authData *model.AuthData) (*model.AuthData, error)

func (*OpenTracingLayerOAuthStore) UpdateAccessData

func (s *OpenTracingLayerOAuthStore) UpdateAccessData(accessData *model.AccessData) (*model.AccessData, error)

func (*OpenTracingLayerOAuthStore) UpdateApp

type OpenTracingLayerPluginStore

type OpenTracingLayerPluginStore struct {
	store.PluginStore
	Root *OpenTracingLayer
}

func (*OpenTracingLayerPluginStore) CompareAndDelete

func (s *OpenTracingLayerPluginStore) CompareAndDelete(keyVal *model.PluginKeyValue, oldValue []byte) (bool, error)

func (*OpenTracingLayerPluginStore) CompareAndSet

func (s *OpenTracingLayerPluginStore) CompareAndSet(keyVal *model.PluginKeyValue, oldValue []byte) (bool, error)

func (*OpenTracingLayerPluginStore) Delete

func (s *OpenTracingLayerPluginStore) Delete(pluginId string, key string) error

func (*OpenTracingLayerPluginStore) DeleteAllExpired

func (s *OpenTracingLayerPluginStore) DeleteAllExpired() error

func (*OpenTracingLayerPluginStore) DeleteAllForPlugin

func (s *OpenTracingLayerPluginStore) DeleteAllForPlugin(PluginId string) error

func (*OpenTracingLayerPluginStore) Get

func (*OpenTracingLayerPluginStore) List

func (s *OpenTracingLayerPluginStore) List(pluginId string, page int, perPage int) ([]string, error)

func (*OpenTracingLayerPluginStore) SaveOrUpdate

func (*OpenTracingLayerPluginStore) SetWithOptions

func (s *OpenTracingLayerPluginStore) SetWithOptions(pluginId string, key string, value []byte, options model.PluginKVSetOptions) (bool, error)

type OpenTracingLayerPostStore

type OpenTracingLayerPostStore struct {
	store.PostStore
	Root *OpenTracingLayer
}

func (*OpenTracingLayerPostStore) AnalyticsPostCount

func (s *OpenTracingLayerPostStore) AnalyticsPostCount(teamId string, mustHaveFile bool, mustHaveHashtag bool) (int64, error)

func (*OpenTracingLayerPostStore) AnalyticsPostCountsByDay

func (s *OpenTracingLayerPostStore) AnalyticsPostCountsByDay(options *model.AnalyticsPostCountsOptions) (model.AnalyticsRows, error)

func (*OpenTracingLayerPostStore) AnalyticsUserCountsWithPostsByDay

func (s *OpenTracingLayerPostStore) AnalyticsUserCountsWithPostsByDay(teamId string) (model.AnalyticsRows, error)

func (*OpenTracingLayerPostStore) ClearCaches

func (s *OpenTracingLayerPostStore) ClearCaches()

func (*OpenTracingLayerPostStore) Delete

func (s *OpenTracingLayerPostStore) Delete(postId string, time int64, deleteByID string) error

func (*OpenTracingLayerPostStore) Get

func (s *OpenTracingLayerPostStore) Get(id string, skipFetchThreads bool) (*model.PostList, error)

func (*OpenTracingLayerPostStore) GetDirectPostParentsForExportAfter

func (s *OpenTracingLayerPostStore) GetDirectPostParentsForExportAfter(limit int, afterId string) ([]*model.DirectPostForExport, error)

func (*OpenTracingLayerPostStore) GetEtag

func (s *OpenTracingLayerPostStore) GetEtag(channelId string, allowFromCache bool) string

func (*OpenTracingLayerPostStore) GetFlaggedPosts

func (s *OpenTracingLayerPostStore) GetFlaggedPosts(userId string, offset int, limit int) (*model.PostList, error)

func (*OpenTracingLayerPostStore) GetFlaggedPostsForChannel

func (s *OpenTracingLayerPostStore) GetFlaggedPostsForChannel(userId string, channelId string, offset int, limit int) (*model.PostList, error)

func (*OpenTracingLayerPostStore) GetFlaggedPostsForTeam

func (s *OpenTracingLayerPostStore) GetFlaggedPostsForTeam(userId string, teamId string, offset int, limit int) (*model.PostList, error)

func (*OpenTracingLayerPostStore) GetMaxPostSize

func (s *OpenTracingLayerPostStore) GetMaxPostSize() int

func (*OpenTracingLayerPostStore) GetOldest

func (s *OpenTracingLayerPostStore) GetOldest() (*model.Post, error)

func (*OpenTracingLayerPostStore) GetOldestEntityCreationTime

func (s *OpenTracingLayerPostStore) GetOldestEntityCreationTime() (int64, error)

func (*OpenTracingLayerPostStore) GetParentsForExportAfter

func (s *OpenTracingLayerPostStore) GetParentsForExportAfter(limit int, afterId string) ([]*model.PostForExport, error)

func (*OpenTracingLayerPostStore) GetPostAfterTime

func (s *OpenTracingLayerPostStore) GetPostAfterTime(channelId string, time int64) (*model.Post, error)

func (*OpenTracingLayerPostStore) GetPostIdAfterTime

func (s *OpenTracingLayerPostStore) GetPostIdAfterTime(channelId string, time int64) (string, error)

func (*OpenTracingLayerPostStore) GetPostIdBeforeTime

func (s *OpenTracingLayerPostStore) GetPostIdBeforeTime(channelId string, time int64) (string, error)

func (*OpenTracingLayerPostStore) GetPosts

func (s *OpenTracingLayerPostStore) GetPosts(options model.GetPostsOptions, allowFromCache bool) (*model.PostList, error)

func (*OpenTracingLayerPostStore) GetPostsAfter

func (s *OpenTracingLayerPostStore) GetPostsAfter(options model.GetPostsOptions) (*model.PostList, error)

func (*OpenTracingLayerPostStore) GetPostsBatchForIndexing

func (s *OpenTracingLayerPostStore) GetPostsBatchForIndexing(startTime int64, endTime int64, limit int) ([]*model.PostForIndexing, error)

func (*OpenTracingLayerPostStore) GetPostsBefore

func (s *OpenTracingLayerPostStore) GetPostsBefore(options model.GetPostsOptions) (*model.PostList, error)

func (*OpenTracingLayerPostStore) GetPostsByIds

func (s *OpenTracingLayerPostStore) GetPostsByIds(postIds []string) ([]*model.Post, error)

func (*OpenTracingLayerPostStore) GetPostsCreatedAt

func (s *OpenTracingLayerPostStore) GetPostsCreatedAt(channelId string, time int64) ([]*model.Post, error)

func (*OpenTracingLayerPostStore) GetPostsSince

func (s *OpenTracingLayerPostStore) GetPostsSince(options model.GetPostsSinceOptions, allowFromCache bool) (*model.PostList, error)

func (*OpenTracingLayerPostStore) GetRepliesForExport

func (s *OpenTracingLayerPostStore) GetRepliesForExport(parentId string) ([]*model.ReplyForExport, error)

func (*OpenTracingLayerPostStore) GetSingle

func (s *OpenTracingLayerPostStore) GetSingle(id string) (*model.Post, error)

func (*OpenTracingLayerPostStore) InvalidateLastPostTimeCache

func (s *OpenTracingLayerPostStore) InvalidateLastPostTimeCache(channelId string)

func (*OpenTracingLayerPostStore) Overwrite

func (s *OpenTracingLayerPostStore) Overwrite(post *model.Post) (*model.Post, error)

func (*OpenTracingLayerPostStore) OverwriteMultiple

func (s *OpenTracingLayerPostStore) OverwriteMultiple(posts []*model.Post) ([]*model.Post, int, error)

func (*OpenTracingLayerPostStore) PermanentDeleteBatch

func (s *OpenTracingLayerPostStore) PermanentDeleteBatch(endTime int64, limit int64) (int64, error)

func (*OpenTracingLayerPostStore) PermanentDeleteByChannel

func (s *OpenTracingLayerPostStore) PermanentDeleteByChannel(channelId string) error

func (*OpenTracingLayerPostStore) PermanentDeleteByUser

func (s *OpenTracingLayerPostStore) PermanentDeleteByUser(userId string) error

func (*OpenTracingLayerPostStore) Save

func (s *OpenTracingLayerPostStore) Save(post *model.Post) (*model.Post, error)

func (*OpenTracingLayerPostStore) SaveMultiple

func (s *OpenTracingLayerPostStore) SaveMultiple(posts []*model.Post) ([]*model.Post, int, error)

func (*OpenTracingLayerPostStore) Search

func (s *OpenTracingLayerPostStore) Search(teamId string, userId string, params *model.SearchParams) (*model.PostList, error)

func (*OpenTracingLayerPostStore) SearchPostsInTeamForUser

func (s *OpenTracingLayerPostStore) SearchPostsInTeamForUser(paramsList []*model.SearchParams, userId string, teamId string, page int, perPage int) (*model.PostSearchResults, error)

func (*OpenTracingLayerPostStore) Update

func (s *OpenTracingLayerPostStore) Update(newPost *model.Post, oldPost *model.Post) (*model.Post, error)

type OpenTracingLayerPreferenceStore

type OpenTracingLayerPreferenceStore struct {
	store.PreferenceStore
	Root *OpenTracingLayer
}

func (*OpenTracingLayerPreferenceStore) CleanupFlagsBatch

func (s *OpenTracingLayerPreferenceStore) CleanupFlagsBatch(limit int64) (int64, error)

func (*OpenTracingLayerPreferenceStore) Delete

func (s *OpenTracingLayerPreferenceStore) Delete(userId string, category string, name string) error

func (*OpenTracingLayerPreferenceStore) DeleteCategory

func (s *OpenTracingLayerPreferenceStore) DeleteCategory(userId string, category string) error

func (*OpenTracingLayerPreferenceStore) DeleteCategoryAndName

func (s *OpenTracingLayerPreferenceStore) DeleteCategoryAndName(category string, name string) error

func (*OpenTracingLayerPreferenceStore) Get

func (s *OpenTracingLayerPreferenceStore) Get(userId string, category string, name string) (*model.Preference, error)

func (*OpenTracingLayerPreferenceStore) GetAll

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

type OpenTracingLayerProductNoticesStore

type OpenTracingLayerProductNoticesStore struct {
	store.ProductNoticesStore
	Root *OpenTracingLayer
}

func (*OpenTracingLayerProductNoticesStore) Clear

func (s *OpenTracingLayerProductNoticesStore) Clear(notices []string) error

func (*OpenTracingLayerProductNoticesStore) ClearOldNotices

func (s *OpenTracingLayerProductNoticesStore) ClearOldNotices(currentNotices *model.ProductNotices) error

func (*OpenTracingLayerProductNoticesStore) GetViews

func (*OpenTracingLayerProductNoticesStore) View

func (s *OpenTracingLayerProductNoticesStore) View(userId string, notices []string) error

type OpenTracingLayerReactionStore

type OpenTracingLayerReactionStore struct {
	store.ReactionStore
	Root *OpenTracingLayer
}

func (*OpenTracingLayerReactionStore) BulkGetForPosts

func (s *OpenTracingLayerReactionStore) BulkGetForPosts(postIds []string) ([]*model.Reaction, error)

func (*OpenTracingLayerReactionStore) Delete

func (*OpenTracingLayerReactionStore) DeleteAllWithEmojiName

func (s *OpenTracingLayerReactionStore) DeleteAllWithEmojiName(emojiName string) error

func (*OpenTracingLayerReactionStore) GetForPost

func (s *OpenTracingLayerReactionStore) GetForPost(postId string, allowFromCache bool) ([]*model.Reaction, error)

func (*OpenTracingLayerReactionStore) PermanentDeleteBatch

func (s *OpenTracingLayerReactionStore) PermanentDeleteBatch(endTime int64, limit int64) (int64, error)

func (*OpenTracingLayerReactionStore) Save

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

func (*OpenTracingLayerRoleStore) Save

func (s *OpenTracingLayerRoleStore) Save(role *model.Role) (*model.Role, 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 (s *OpenTracingLayerSchemeStore) CountWithoutPermission(scope string, permissionID string, roleScope model.RoleScope, roleType model.RoleType) (int64, error)

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 (s *OpenTracingLayerSchemeStore) GetAllPage(scope string, offset int, limit int) ([]*model.Scheme, error)

func (*OpenTracingLayerSchemeStore) GetByName

func (s *OpenTracingLayerSchemeStore) GetByName(schemeName string) (*model.Scheme, error)

func (*OpenTracingLayerSchemeStore) PermanentDeleteAll

func (s *OpenTracingLayerSchemeStore) PermanentDeleteAll() error

func (*OpenTracingLayerSchemeStore) Save

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 (s *OpenTracingLayerSessionStore) GetSessionsExpired(thresholdMillis int64, mobileOnly bool, unnotifiedOnly bool) ([]*model.Session, error)

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

func (*OpenTracingLayerSessionStore) UpdateDeviceId

func (s *OpenTracingLayerSessionStore) UpdateDeviceId(id string, deviceId string, expiresAt int64) (string, error)

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

func (*OpenTracingLayerStatusStore) GetByIds

func (s *OpenTracingLayerStatusStore) GetByIds(userIds []string) ([]*model.Status, error)

func (*OpenTracingLayerStatusStore) GetTotalActiveUsersCount

func (s *OpenTracingLayerStatusStore) GetTotalActiveUsersCount() (int64, error)

func (*OpenTracingLayerStatusStore) ResetAll

func (s *OpenTracingLayerStatusStore) ResetAll() error

func (*OpenTracingLayerStatusStore) SaveOrUpdate

func (s *OpenTracingLayerStatusStore) SaveOrUpdate(status *model.Status) error

func (*OpenTracingLayerStatusStore) UpdateLastActivityAt

func (s *OpenTracingLayerStatusStore) UpdateLastActivityAt(userId string, lastActivityAt int64) error

type OpenTracingLayerSystemStore

type OpenTracingLayerSystemStore struct {
	store.SystemStore
	Root *OpenTracingLayer
}

func (*OpenTracingLayerSystemStore) Get

func (*OpenTracingLayerSystemStore) GetByName

func (s *OpenTracingLayerSystemStore) GetByName(name string) (*model.System, error)

func (*OpenTracingLayerSystemStore) InsertIfExists

func (s *OpenTracingLayerSystemStore) InsertIfExists(system *model.System) (*model.System, error)

func (*OpenTracingLayerSystemStore) PermanentDeleteByName

func (s *OpenTracingLayerSystemStore) PermanentDeleteByName(name string) (*model.System, error)

func (*OpenTracingLayerSystemStore) Save

func (s *OpenTracingLayerSystemStore) Save(system *model.System) error

func (*OpenTracingLayerSystemStore) SaveOrUpdate

func (s *OpenTracingLayerSystemStore) SaveOrUpdate(system *model.System) error

func (*OpenTracingLayerSystemStore) SaveOrUpdateWithWarnMetricHandling

func (s *OpenTracingLayerSystemStore) SaveOrUpdateWithWarnMetricHandling(system *model.System) error

func (*OpenTracingLayerSystemStore) Update

func (s *OpenTracingLayerSystemStore) Update(system *model.System) error

type OpenTracingLayerTeamStore

type OpenTracingLayerTeamStore struct {
	store.TeamStore
	Root *OpenTracingLayer
}

func (*OpenTracingLayerTeamStore) AnalyticsGetTeamCountForScheme

func (s *OpenTracingLayerTeamStore) AnalyticsGetTeamCountForScheme(schemeId string) (int64, error)

func (*OpenTracingLayerTeamStore) AnalyticsPrivateTeamCount

func (s *OpenTracingLayerTeamStore) AnalyticsPrivateTeamCount() (int64, error)

func (*OpenTracingLayerTeamStore) AnalyticsPublicTeamCount

func (s *OpenTracingLayerTeamStore) AnalyticsPublicTeamCount() (int64, error)

func (*OpenTracingLayerTeamStore) AnalyticsTeamCount

func (s *OpenTracingLayerTeamStore) AnalyticsTeamCount(includeDeleted bool) (int64, error)

func (*OpenTracingLayerTeamStore) ClearAllCustomRoleAssignments

func (s *OpenTracingLayerTeamStore) ClearAllCustomRoleAssignments() error

func (*OpenTracingLayerTeamStore) ClearCaches

func (s *OpenTracingLayerTeamStore) ClearCaches()

func (*OpenTracingLayerTeamStore) Get

func (*OpenTracingLayerTeamStore) GetActiveMemberCount

func (s *OpenTracingLayerTeamStore) GetActiveMemberCount(teamId string, restrictions *model.ViewUsersRestrictions) (int64, error)

func (*OpenTracingLayerTeamStore) GetAll

func (s *OpenTracingLayerTeamStore) GetAll() ([]*model.Team, error)

func (*OpenTracingLayerTeamStore) GetAllForExportAfter

func (s *OpenTracingLayerTeamStore) GetAllForExportAfter(limit int, afterId string) ([]*model.TeamForExport, error)

func (*OpenTracingLayerTeamStore) GetAllPage

func (s *OpenTracingLayerTeamStore) GetAllPage(offset int, limit int) ([]*model.Team, error)

func (*OpenTracingLayerTeamStore) GetAllPrivateTeamListing

func (s *OpenTracingLayerTeamStore) GetAllPrivateTeamListing() ([]*model.Team, error)

func (*OpenTracingLayerTeamStore) GetAllPrivateTeamPageListing

func (s *OpenTracingLayerTeamStore) GetAllPrivateTeamPageListing(offset int, limit int) ([]*model.Team, error)

func (*OpenTracingLayerTeamStore) GetAllPublicTeamPageListing

func (s *OpenTracingLayerTeamStore) GetAllPublicTeamPageListing(offset int, limit int) ([]*model.Team, error)

func (*OpenTracingLayerTeamStore) GetAllTeamListing

func (s *OpenTracingLayerTeamStore) GetAllTeamListing() ([]*model.Team, error)

func (*OpenTracingLayerTeamStore) GetAllTeamPageListing

func (s *OpenTracingLayerTeamStore) GetAllTeamPageListing(offset int, limit int) ([]*model.Team, error)

func (*OpenTracingLayerTeamStore) GetByInviteId

func (s *OpenTracingLayerTeamStore) GetByInviteId(inviteId string) (*model.Team, error)

func (*OpenTracingLayerTeamStore) GetByName

func (s *OpenTracingLayerTeamStore) GetByName(name string) (*model.Team, error)

func (*OpenTracingLayerTeamStore) GetByNames

func (s *OpenTracingLayerTeamStore) GetByNames(name []string) ([]*model.Team, error)

func (*OpenTracingLayerTeamStore) GetChannelUnreadsForAllTeams

func (s *OpenTracingLayerTeamStore) GetChannelUnreadsForAllTeams(excludeTeamId string, userId string) ([]*model.ChannelUnread, error)

func (*OpenTracingLayerTeamStore) GetChannelUnreadsForTeam

func (s *OpenTracingLayerTeamStore) GetChannelUnreadsForTeam(teamId string, userId string) ([]*model.ChannelUnread, error)

func (*OpenTracingLayerTeamStore) GetMember

func (s *OpenTracingLayerTeamStore) GetMember(teamId string, userId string) (*model.TeamMember, error)

func (*OpenTracingLayerTeamStore) GetMembers

func (s *OpenTracingLayerTeamStore) GetMembers(teamId string, offset int, limit int, teamMembersGetOptions *model.TeamMembersGetOptions) ([]*model.TeamMember, error)

func (*OpenTracingLayerTeamStore) GetMembersByIds

func (s *OpenTracingLayerTeamStore) GetMembersByIds(teamId string, userIds []string, restrictions *model.ViewUsersRestrictions) ([]*model.TeamMember, error)

func (*OpenTracingLayerTeamStore) GetTeamMembersForExport

func (s *OpenTracingLayerTeamStore) GetTeamMembersForExport(userId string) ([]*model.TeamMemberForExport, error)

func (*OpenTracingLayerTeamStore) GetTeamsByScheme

func (s *OpenTracingLayerTeamStore) GetTeamsByScheme(schemeId string, offset int, limit int) ([]*model.Team, error)

func (*OpenTracingLayerTeamStore) GetTeamsByUserId

func (s *OpenTracingLayerTeamStore) GetTeamsByUserId(userId string) ([]*model.Team, error)

func (*OpenTracingLayerTeamStore) GetTeamsForUser

func (s *OpenTracingLayerTeamStore) GetTeamsForUser(ctx context.Context, userId string) ([]*model.TeamMember, error)

func (*OpenTracingLayerTeamStore) GetTeamsForUserWithPagination

func (s *OpenTracingLayerTeamStore) GetTeamsForUserWithPagination(userId string, page int, perPage int) ([]*model.TeamMember, error)

func (*OpenTracingLayerTeamStore) GetTotalMemberCount

func (s *OpenTracingLayerTeamStore) GetTotalMemberCount(teamId string, restrictions *model.ViewUsersRestrictions) (int64, error)

func (*OpenTracingLayerTeamStore) GetUserTeamIds

func (s *OpenTracingLayerTeamStore) GetUserTeamIds(userId string, allowFromCache bool) ([]string, error)

func (*OpenTracingLayerTeamStore) GroupSyncedTeamCount

func (s *OpenTracingLayerTeamStore) GroupSyncedTeamCount() (int64, error)

func (*OpenTracingLayerTeamStore) InvalidateAllTeamIdsForUser

func (s *OpenTracingLayerTeamStore) InvalidateAllTeamIdsForUser(userId string)

func (*OpenTracingLayerTeamStore) MigrateTeamMembers

func (s *OpenTracingLayerTeamStore) MigrateTeamMembers(fromTeamId string, fromUserId string) (map[string]string, error)

func (*OpenTracingLayerTeamStore) PermanentDelete

func (s *OpenTracingLayerTeamStore) PermanentDelete(teamId string) error

func (*OpenTracingLayerTeamStore) RemoveAllMembersByTeam

func (s *OpenTracingLayerTeamStore) RemoveAllMembersByTeam(teamId string) error

func (*OpenTracingLayerTeamStore) RemoveAllMembersByUser

func (s *OpenTracingLayerTeamStore) RemoveAllMembersByUser(userId string) error

func (*OpenTracingLayerTeamStore) RemoveMember

func (s *OpenTracingLayerTeamStore) RemoveMember(teamId string, userId string) error

func (*OpenTracingLayerTeamStore) RemoveMembers

func (s *OpenTracingLayerTeamStore) RemoveMembers(teamId string, userIds []string) error

func (*OpenTracingLayerTeamStore) ResetAllTeamSchemes

func (s *OpenTracingLayerTeamStore) ResetAllTeamSchemes() error

func (*OpenTracingLayerTeamStore) Save

func (s *OpenTracingLayerTeamStore) Save(team *model.Team) (*model.Team, error)

func (*OpenTracingLayerTeamStore) SaveMember

func (s *OpenTracingLayerTeamStore) SaveMember(member *model.TeamMember, maxUsersPerTeam int) (*model.TeamMember, error)

func (*OpenTracingLayerTeamStore) SaveMultipleMembers

func (s *OpenTracingLayerTeamStore) SaveMultipleMembers(members []*model.TeamMember, maxUsersPerTeam int) ([]*model.TeamMember, error)

func (*OpenTracingLayerTeamStore) SearchAll

func (s *OpenTracingLayerTeamStore) SearchAll(term string, opts *model.TeamSearch) ([]*model.Team, error)

func (*OpenTracingLayerTeamStore) SearchAllPaged

func (s *OpenTracingLayerTeamStore) SearchAllPaged(term string, opts *model.TeamSearch) ([]*model.Team, int64, error)

func (*OpenTracingLayerTeamStore) SearchOpen

func (s *OpenTracingLayerTeamStore) SearchOpen(term string) ([]*model.Team, error)

func (*OpenTracingLayerTeamStore) SearchPrivate

func (s *OpenTracingLayerTeamStore) SearchPrivate(term string) ([]*model.Team, error)

func (*OpenTracingLayerTeamStore) Update

func (s *OpenTracingLayerTeamStore) Update(team *model.Team) (*model.Team, error)

func (*OpenTracingLayerTeamStore) UpdateLastTeamIconUpdate

func (s *OpenTracingLayerTeamStore) UpdateLastTeamIconUpdate(teamId string, curTime int64) error

func (*OpenTracingLayerTeamStore) UpdateMember

func (s *OpenTracingLayerTeamStore) UpdateMember(member *model.TeamMember) (*model.TeamMember, error)

func (*OpenTracingLayerTeamStore) UpdateMembersRole

func (s *OpenTracingLayerTeamStore) UpdateMembersRole(teamID string, userIDs []string) error

func (*OpenTracingLayerTeamStore) UpdateMultipleMembers

func (s *OpenTracingLayerTeamStore) UpdateMultipleMembers(members []*model.TeamMember) ([]*model.TeamMember, error)

func (*OpenTracingLayerTeamStore) UserBelongsToTeams

func (s *OpenTracingLayerTeamStore) UserBelongsToTeams(userId string, teamIds []string) (bool, error)

type OpenTracingLayerTermsOfServiceStore

type OpenTracingLayerTermsOfServiceStore struct {
	store.TermsOfServiceStore
	Root *OpenTracingLayer
}

func (*OpenTracingLayerTermsOfServiceStore) Get

func (*OpenTracingLayerTermsOfServiceStore) GetLatest

func (s *OpenTracingLayerTermsOfServiceStore) GetLatest(allowFromCache bool) (*model.TermsOfService, error)

func (*OpenTracingLayerTermsOfServiceStore) Save

type OpenTracingLayerThreadStore

type OpenTracingLayerThreadStore struct {
	store.ThreadStore
	Root *OpenTracingLayer
}

func (*OpenTracingLayerThreadStore) CollectThreadsWithNewerReplies

func (s *OpenTracingLayerThreadStore) CollectThreadsWithNewerReplies(userId string, channelIds []string, timestamp int64) ([]string, error)

func (*OpenTracingLayerThreadStore) CreateMembershipIfNeeded

func (s *OpenTracingLayerThreadStore) CreateMembershipIfNeeded(userId string, postId string, following bool, incrementMentions bool, updateFollowing bool) error

func (*OpenTracingLayerThreadStore) Delete

func (s *OpenTracingLayerThreadStore) Delete(postId string) error

func (*OpenTracingLayerThreadStore) DeleteMembershipForUser

func (s *OpenTracingLayerThreadStore) DeleteMembershipForUser(userId string, postId string) error

func (*OpenTracingLayerThreadStore) Get

func (*OpenTracingLayerThreadStore) GetMembershipForUser

func (s *OpenTracingLayerThreadStore) GetMembershipForUser(userId string, postId string) (*model.ThreadMembership, error)

func (*OpenTracingLayerThreadStore) GetMembershipsForUser

func (s *OpenTracingLayerThreadStore) GetMembershipsForUser(userId string, teamId string) ([]*model.ThreadMembership, error)

func (*OpenTracingLayerThreadStore) GetPosts

func (s *OpenTracingLayerThreadStore) GetPosts(threadId string, since int64) ([]*model.Post, error)

func (*OpenTracingLayerThreadStore) GetThreadsForUser

func (s *OpenTracingLayerThreadStore) GetThreadsForUser(userId string, teamId string, opts model.GetUserThreadsOpts) (*model.Threads, error)

func (*OpenTracingLayerThreadStore) MarkAllAsRead

func (s *OpenTracingLayerThreadStore) MarkAllAsRead(userId string, teamId string) error

func (*OpenTracingLayerThreadStore) MarkAsRead

func (s *OpenTracingLayerThreadStore) MarkAsRead(userId string, threadId string, timestamp int64) error

func (*OpenTracingLayerThreadStore) Save

func (*OpenTracingLayerThreadStore) SaveMembership

func (*OpenTracingLayerThreadStore) SaveMultiple

func (s *OpenTracingLayerThreadStore) SaveMultiple(thread []*model.Thread) ([]*model.Thread, int, error)

func (*OpenTracingLayerThreadStore) Update

func (s *OpenTracingLayerThreadStore) Update(thread *model.Thread) (*model.Thread, error)

func (*OpenTracingLayerThreadStore) UpdateMembership

func (s *OpenTracingLayerThreadStore) UpdateMembership(membership *model.ThreadMembership) (*model.ThreadMembership, error)

func (*OpenTracingLayerThreadStore) UpdateUnreadsByChannel

func (s *OpenTracingLayerThreadStore) UpdateUnreadsByChannel(userId string, changedThreads []string, timestamp int64, updateViewedTimestamp bool) 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

func (*OpenTracingLayerTokenStore) Save

func (s *OpenTracingLayerTokenStore) Save(recovery *model.Token) error

type OpenTracingLayerUploadSessionStore

type OpenTracingLayerUploadSessionStore struct {
	store.UploadSessionStore
	Root *OpenTracingLayer
}

func (*OpenTracingLayerUploadSessionStore) Delete

func (*OpenTracingLayerUploadSessionStore) Get

func (*OpenTracingLayerUploadSessionStore) GetForUser

func (*OpenTracingLayerUploadSessionStore) Save

func (*OpenTracingLayerUploadSessionStore) Update

type OpenTracingLayerUserAccessTokenStore

type OpenTracingLayerUserAccessTokenStore struct {
	store.UserAccessTokenStore
	Root *OpenTracingLayer
}

func (*OpenTracingLayerUserAccessTokenStore) Delete

func (*OpenTracingLayerUserAccessTokenStore) DeleteAllForUser

func (s *OpenTracingLayerUserAccessTokenStore) DeleteAllForUser(userId string) error

func (*OpenTracingLayerUserAccessTokenStore) Get

func (*OpenTracingLayerUserAccessTokenStore) GetAll

func (s *OpenTracingLayerUserAccessTokenStore) GetAll(offset int, limit int) ([]*model.UserAccessToken, error)

func (*OpenTracingLayerUserAccessTokenStore) GetByToken

func (*OpenTracingLayerUserAccessTokenStore) GetByUser

func (s *OpenTracingLayerUserAccessTokenStore) GetByUser(userId string, page int, perPage int) ([]*model.UserAccessToken, error)

func (*OpenTracingLayerUserAccessTokenStore) Save

func (*OpenTracingLayerUserAccessTokenStore) Search

func (*OpenTracingLayerUserAccessTokenStore) UpdateTokenDisable

func (s *OpenTracingLayerUserAccessTokenStore) UpdateTokenDisable(tokenId string) error

func (*OpenTracingLayerUserAccessTokenStore) UpdateTokenEnable

func (s *OpenTracingLayerUserAccessTokenStore) UpdateTokenEnable(tokenId string) error

type OpenTracingLayerUserStore

type OpenTracingLayerUserStore struct {
	store.UserStore
	Root *OpenTracingLayer
}

func (*OpenTracingLayerUserStore) AnalyticsActiveCount

func (s *OpenTracingLayerUserStore) AnalyticsActiveCount(time int64, options model.UserCountOptions) (int64, error)

func (*OpenTracingLayerUserStore) AnalyticsActiveCountForPeriod

func (s *OpenTracingLayerUserStore) AnalyticsActiveCountForPeriod(startTime int64, endTime int64, options model.UserCountOptions) (int64, error)

func (*OpenTracingLayerUserStore) AnalyticsGetExternalUsers

func (s *OpenTracingLayerUserStore) AnalyticsGetExternalUsers(hostDomain string) (bool, error)

func (*OpenTracingLayerUserStore) AnalyticsGetGuestCount

func (s *OpenTracingLayerUserStore) AnalyticsGetGuestCount() (int64, error)

func (*OpenTracingLayerUserStore) AnalyticsGetInactiveUsersCount

func (s *OpenTracingLayerUserStore) AnalyticsGetInactiveUsersCount() (int64, error)

func (*OpenTracingLayerUserStore) AnalyticsGetSystemAdminCount

func (s *OpenTracingLayerUserStore) AnalyticsGetSystemAdminCount() (int64, error)

func (*OpenTracingLayerUserStore) AutocompleteUsersInChannel

func (s *OpenTracingLayerUserStore) AutocompleteUsersInChannel(teamId string, channelId string, term string, options *model.UserSearchOptions) (*model.UserAutocompleteInChannel, error)

func (*OpenTracingLayerUserStore) ClearAllCustomRoleAssignments

func (s *OpenTracingLayerUserStore) ClearAllCustomRoleAssignments() error

func (*OpenTracingLayerUserStore) ClearCaches

func (s *OpenTracingLayerUserStore) ClearCaches()

func (*OpenTracingLayerUserStore) Count

func (*OpenTracingLayerUserStore) DeactivateGuests

func (s *OpenTracingLayerUserStore) DeactivateGuests() ([]string, error)

func (*OpenTracingLayerUserStore) DemoteUserToGuest

func (s *OpenTracingLayerUserStore) DemoteUserToGuest(userID string) error

func (*OpenTracingLayerUserStore) Get

func (*OpenTracingLayerUserStore) GetAll

func (s *OpenTracingLayerUserStore) GetAll() ([]*model.User, error)

func (*OpenTracingLayerUserStore) GetAllAfter

func (s *OpenTracingLayerUserStore) GetAllAfter(limit int, afterId string) ([]*model.User, error)

func (*OpenTracingLayerUserStore) GetAllNotInAuthService

func (s *OpenTracingLayerUserStore) GetAllNotInAuthService(authServices []string) ([]*model.User, error)

func (*OpenTracingLayerUserStore) GetAllProfiles

func (s *OpenTracingLayerUserStore) GetAllProfiles(options *model.UserGetOptions) ([]*model.User, error)

func (*OpenTracingLayerUserStore) GetAllProfilesInChannel

func (s *OpenTracingLayerUserStore) GetAllProfilesInChannel(channelId string, allowFromCache bool) (map[string]*model.User, error)

func (*OpenTracingLayerUserStore) GetAllUsingAuthService

func (s *OpenTracingLayerUserStore) GetAllUsingAuthService(authService string) ([]*model.User, error)

func (*OpenTracingLayerUserStore) GetAnyUnreadPostCountForChannel

func (s *OpenTracingLayerUserStore) GetAnyUnreadPostCountForChannel(userId string, channelId string) (int64, error)

func (*OpenTracingLayerUserStore) GetByAuth

func (s *OpenTracingLayerUserStore) GetByAuth(authData *string, authService string) (*model.User, error)

func (*OpenTracingLayerUserStore) GetByEmail

func (s *OpenTracingLayerUserStore) GetByEmail(email string) (*model.User, error)

func (*OpenTracingLayerUserStore) GetByUsername

func (s *OpenTracingLayerUserStore) GetByUsername(username string) (*model.User, error)

func (*OpenTracingLayerUserStore) GetChannelGroupUsers

func (s *OpenTracingLayerUserStore) GetChannelGroupUsers(channelID string) ([]*model.User, error)

func (*OpenTracingLayerUserStore) GetEtagForAllProfiles

func (s *OpenTracingLayerUserStore) GetEtagForAllProfiles() string

func (*OpenTracingLayerUserStore) GetEtagForProfiles

func (s *OpenTracingLayerUserStore) GetEtagForProfiles(teamId string) string

func (*OpenTracingLayerUserStore) GetEtagForProfilesNotInTeam

func (s *OpenTracingLayerUserStore) GetEtagForProfilesNotInTeam(teamId string) string

func (*OpenTracingLayerUserStore) GetForLogin

func (s *OpenTracingLayerUserStore) GetForLogin(loginId string, allowSignInWithUsername bool, allowSignInWithEmail bool) (*model.User, error)

func (*OpenTracingLayerUserStore) GetKnownUsers

func (s *OpenTracingLayerUserStore) GetKnownUsers(userID string) ([]string, error)

func (*OpenTracingLayerUserStore) GetNewUsersForTeam

func (s *OpenTracingLayerUserStore) GetNewUsersForTeam(teamId string, offset int, limit int, viewRestrictions *model.ViewUsersRestrictions) ([]*model.User, error)

func (*OpenTracingLayerUserStore) GetProfileByGroupChannelIdsForUser

func (s *OpenTracingLayerUserStore) GetProfileByGroupChannelIdsForUser(userId string, channelIds []string) (map[string][]*model.User, error)

func (*OpenTracingLayerUserStore) GetProfileByIds

func (s *OpenTracingLayerUserStore) GetProfileByIds(userIds []string, options *store.UserGetByIdsOpts, allowFromCache bool) ([]*model.User, error)

func (*OpenTracingLayerUserStore) GetProfiles

func (s *OpenTracingLayerUserStore) GetProfiles(options *model.UserGetOptions) ([]*model.User, error)

func (*OpenTracingLayerUserStore) GetProfilesByUsernames

func (s *OpenTracingLayerUserStore) GetProfilesByUsernames(usernames []string, viewRestrictions *model.ViewUsersRestrictions) ([]*model.User, error)

func (*OpenTracingLayerUserStore) GetProfilesInChannel

func (s *OpenTracingLayerUserStore) GetProfilesInChannel(options *model.UserGetOptions) ([]*model.User, error)

func (*OpenTracingLayerUserStore) GetProfilesInChannelByStatus

func (s *OpenTracingLayerUserStore) GetProfilesInChannelByStatus(options *model.UserGetOptions) ([]*model.User, error)

func (*OpenTracingLayerUserStore) GetProfilesNotInChannel

func (s *OpenTracingLayerUserStore) GetProfilesNotInChannel(teamId string, channelId string, groupConstrained bool, offset int, limit int, viewRestrictions *model.ViewUsersRestrictions) ([]*model.User, error)

func (*OpenTracingLayerUserStore) GetProfilesNotInTeam

func (s *OpenTracingLayerUserStore) GetProfilesNotInTeam(teamId string, groupConstrained bool, offset int, limit int, viewRestrictions *model.ViewUsersRestrictions) ([]*model.User, error)

func (*OpenTracingLayerUserStore) GetProfilesWithoutTeam

func (s *OpenTracingLayerUserStore) GetProfilesWithoutTeam(options *model.UserGetOptions) ([]*model.User, error)

func (*OpenTracingLayerUserStore) GetRecentlyActiveUsersForTeam

func (s *OpenTracingLayerUserStore) GetRecentlyActiveUsersForTeam(teamId string, offset int, limit int, viewRestrictions *model.ViewUsersRestrictions) ([]*model.User, error)

func (*OpenTracingLayerUserStore) GetSystemAdminProfiles

func (s *OpenTracingLayerUserStore) GetSystemAdminProfiles() (map[string]*model.User, error)

func (*OpenTracingLayerUserStore) GetTeamGroupUsers

func (s *OpenTracingLayerUserStore) GetTeamGroupUsers(teamID string) ([]*model.User, error)

func (*OpenTracingLayerUserStore) GetUnreadCount

func (s *OpenTracingLayerUserStore) GetUnreadCount(userId string) (int64, error)

func (*OpenTracingLayerUserStore) GetUnreadCountForChannel

func (s *OpenTracingLayerUserStore) GetUnreadCountForChannel(userId string, channelId string) (int64, error)

func (*OpenTracingLayerUserStore) GetUsersBatchForIndexing

func (s *OpenTracingLayerUserStore) GetUsersBatchForIndexing(startTime int64, endTime int64, limit int) ([]*model.UserForIndexing, error)

func (*OpenTracingLayerUserStore) InferSystemInstallDate

func (s *OpenTracingLayerUserStore) InferSystemInstallDate() (int64, error)

func (*OpenTracingLayerUserStore) InvalidateProfileCacheForUser

func (s *OpenTracingLayerUserStore) InvalidateProfileCacheForUser(userId string)

func (*OpenTracingLayerUserStore) InvalidateProfilesInChannelCache

func (s *OpenTracingLayerUserStore) InvalidateProfilesInChannelCache(channelId string)

func (*OpenTracingLayerUserStore) InvalidateProfilesInChannelCacheByUser

func (s *OpenTracingLayerUserStore) InvalidateProfilesInChannelCacheByUser(userId string)

func (*OpenTracingLayerUserStore) PermanentDelete

func (s *OpenTracingLayerUserStore) PermanentDelete(userId string) error

func (*OpenTracingLayerUserStore) PromoteGuestToUser

func (s *OpenTracingLayerUserStore) PromoteGuestToUser(userID string) error

func (*OpenTracingLayerUserStore) ResetLastPictureUpdate

func (s *OpenTracingLayerUserStore) ResetLastPictureUpdate(userId string) error

func (*OpenTracingLayerUserStore) Save

func (s *OpenTracingLayerUserStore) Save(user *model.User) (*model.User, error)

func (*OpenTracingLayerUserStore) Search

func (s *OpenTracingLayerUserStore) Search(teamId string, term string, options *model.UserSearchOptions) ([]*model.User, error)

func (*OpenTracingLayerUserStore) SearchInChannel

func (s *OpenTracingLayerUserStore) SearchInChannel(channelId string, term string, options *model.UserSearchOptions) ([]*model.User, error)

func (*OpenTracingLayerUserStore) SearchInGroup

func (s *OpenTracingLayerUserStore) SearchInGroup(groupID string, term string, options *model.UserSearchOptions) ([]*model.User, error)

func (*OpenTracingLayerUserStore) SearchNotInChannel

func (s *OpenTracingLayerUserStore) SearchNotInChannel(teamId string, channelId string, term string, options *model.UserSearchOptions) ([]*model.User, error)

func (*OpenTracingLayerUserStore) SearchNotInTeam

func (s *OpenTracingLayerUserStore) SearchNotInTeam(notInTeamId string, term string, options *model.UserSearchOptions) ([]*model.User, error)

func (*OpenTracingLayerUserStore) SearchWithoutTeam

func (s *OpenTracingLayerUserStore) SearchWithoutTeam(term string, options *model.UserSearchOptions) ([]*model.User, error)

func (*OpenTracingLayerUserStore) Update

func (s *OpenTracingLayerUserStore) Update(user *model.User, allowRoleUpdate bool) (*model.UserUpdate, error)

func (*OpenTracingLayerUserStore) UpdateAuthData

func (s *OpenTracingLayerUserStore) UpdateAuthData(userId string, service string, authData *string, email string, resetMfa bool) (string, error)

func (*OpenTracingLayerUserStore) UpdateFailedPasswordAttempts

func (s *OpenTracingLayerUserStore) UpdateFailedPasswordAttempts(userId string, attempts int) error

func (*OpenTracingLayerUserStore) UpdateLastPictureUpdate

func (s *OpenTracingLayerUserStore) UpdateLastPictureUpdate(userId string) error

func (*OpenTracingLayerUserStore) UpdateMfaActive

func (s *OpenTracingLayerUserStore) UpdateMfaActive(userId string, active bool) error

func (*OpenTracingLayerUserStore) UpdateMfaSecret

func (s *OpenTracingLayerUserStore) UpdateMfaSecret(userId string, secret string) error

func (*OpenTracingLayerUserStore) UpdatePassword

func (s *OpenTracingLayerUserStore) UpdatePassword(userId string, newPassword string) error

func (*OpenTracingLayerUserStore) UpdateUpdateAt

func (s *OpenTracingLayerUserStore) UpdateUpdateAt(userId string) (int64, error)

func (*OpenTracingLayerUserStore) VerifyEmail

func (s *OpenTracingLayerUserStore) VerifyEmail(userId string, email string) (string, error)

type OpenTracingLayerUserTermsOfServiceStore

type OpenTracingLayerUserTermsOfServiceStore struct {
	store.UserTermsOfServiceStore
	Root *OpenTracingLayer
}

func (*OpenTracingLayerUserTermsOfServiceStore) Delete

func (s *OpenTracingLayerUserTermsOfServiceStore) Delete(userId string, termsOfServiceId string) error

func (*OpenTracingLayerUserTermsOfServiceStore) GetByUser

func (*OpenTracingLayerUserTermsOfServiceStore) Save

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 (*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 (*OpenTracingLayerWebhookStore) SaveOutgoing

func (*OpenTracingLayerWebhookStore) UpdateIncoming

func (*OpenTracingLayerWebhookStore) UpdateOutgoing

Jump to

Keyboard shortcuts

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