Documentation
¶
Index ¶
- func NewStoreChannel(result store.StoreResult) store.StoreChannel
- func TestAuditStore(t *testing.T, ss store.Store)
- func TestChannelMemberHistoryStore(t *testing.T, ss store.Store)
- func TestChannelStore(t *testing.T, ss store.Store)
- func TestClusterDiscoveryStore(t *testing.T, ss store.Store)
- func TestCommandStore(t *testing.T, ss store.Store)
- func TestCommandWebhookStore(t *testing.T, ss store.Store)
- func TestComplianceStore(t *testing.T, ss store.Store)
- func TestEmojiStore(t *testing.T, ss store.Store)
- func TestFileInfoStore(t *testing.T, ss store.Store)
- func TestJobStore(t *testing.T, ss store.Store)
- func TestLicenseStore(t *testing.T, ss store.Store)
- func TestOAuthStore(t *testing.T, ss store.Store)
- func TestPluginStore(t *testing.T, ss store.Store)
- func TestPostStore(t *testing.T, ss store.Store)
- func TestPreferenceStore(t *testing.T, ss store.Store)
- func TestReactionStore(t *testing.T, ss store.Store)
- func TestRoleStore(t *testing.T, ss store.Store)
- func TestSessionStore(t *testing.T, ss store.Store)
- func TestStatusStore(t *testing.T, ss store.Store)
- func TestSystemStore(t *testing.T, ss store.Store)
- func TestTeamStore(t *testing.T, ss store.Store)
- func TestUserAccessTokenStore(t *testing.T, ss store.Store)
- func TestUserStore(t *testing.T, ss store.Store)
- func TestWebhookStore(t *testing.T, ss store.Store)
- type ByUserId
- type Container
- type RunningContainer
- type Store
- func (s *Store) AssertExpectations(t mock.TestingT) bool
- func (s *Store) Audit() store.AuditStore
- func (s *Store) Channel() store.ChannelStore
- func (s *Store) ChannelMemberHistory() store.ChannelMemberHistoryStore
- func (s *Store) Close()
- func (s *Store) ClusterDiscovery() store.ClusterDiscoveryStore
- func (s *Store) Command() store.CommandStore
- func (s *Store) CommandWebhook() store.CommandWebhookStore
- func (s *Store) Compliance() store.ComplianceStore
- func (s *Store) DropAllTables()
- func (s *Store) Emoji() store.EmojiStore
- func (s *Store) FileInfo() store.FileInfoStore
- func (s *Store) Job() store.JobStore
- func (s *Store) License() store.LicenseStore
- func (s *Store) MarkSystemRanUnitTests()
- func (s *Store) OAuth() store.OAuthStore
- func (s *Store) Plugin() store.PluginStore
- func (s *Store) Post() store.PostStore
- func (s *Store) Preference() store.PreferenceStore
- func (s *Store) Reaction() store.ReactionStore
- func (s *Store) Role() store.RoleStore
- func (s *Store) Session() store.SessionStore
- func (s *Store) Status() store.StatusStore
- func (s *Store) System() store.SystemStore
- func (s *Store) Team() store.TeamStore
- func (s *Store) Token() store.TokenStore
- func (s *Store) TotalMasterDbConnections() int
- func (s *Store) TotalReadDbConnections() int
- func (s *Store) TotalSearchDbConnections() int
- func (s *Store) User() store.UserStore
- func (s *Store) UserAccessToken() store.UserAccessTokenStore
- func (s *Store) Webhook() store.WebhookStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStoreChannel ¶
func NewStoreChannel(result store.StoreResult) store.StoreChannel
NewStoreChannel returns a channel that will receive the given result.
Types ¶
type RunningContainer ¶
type RunningContainer struct {
Container
}
func NewMySQLContainer ¶
func NewMySQLContainer() (*RunningContainer, *model.SqlSettings, error)
func NewPostgreSQLContainer ¶
func NewPostgreSQLContainer() (*RunningContainer, *model.SqlSettings, error)
func (*RunningContainer) Stop ¶
func (c *RunningContainer) Stop() error
type Store ¶
type Store struct {
TeamStore mocks.TeamStore
ChannelStore mocks.ChannelStore
PostStore mocks.PostStore
UserStore mocks.UserStore
AuditStore mocks.AuditStore
ClusterDiscoveryStore mocks.ClusterDiscoveryStore
ComplianceStore mocks.ComplianceStore
SessionStore mocks.SessionStore
OAuthStore mocks.OAuthStore
SystemStore mocks.SystemStore
WebhookStore mocks.WebhookStore
CommandStore mocks.CommandStore
CommandWebhookStore mocks.CommandWebhookStore
PreferenceStore mocks.PreferenceStore
LicenseStore mocks.LicenseStore
TokenStore mocks.TokenStore
EmojiStore mocks.EmojiStore
StatusStore mocks.StatusStore
FileInfoStore mocks.FileInfoStore
ReactionStore mocks.ReactionStore
JobStore mocks.JobStore
UserAccessTokenStore mocks.UserAccessTokenStore
PluginStore mocks.PluginStore
ChannelMemberHistoryStore mocks.ChannelMemberHistoryStore
RoleStore mocks.RoleStore
}
Store can be used to provide mock stores for testing.
func (*Store) Audit ¶
func (s *Store) Audit() store.AuditStore
func (*Store) Channel ¶
func (s *Store) Channel() store.ChannelStore
func (*Store) ChannelMemberHistory ¶
func (s *Store) ChannelMemberHistory() store.ChannelMemberHistoryStore
func (*Store) ClusterDiscovery ¶
func (s *Store) ClusterDiscovery() store.ClusterDiscoveryStore
func (*Store) Command ¶
func (s *Store) Command() store.CommandStore
func (*Store) CommandWebhook ¶
func (s *Store) CommandWebhook() store.CommandWebhookStore
func (*Store) Compliance ¶
func (s *Store) Compliance() store.ComplianceStore
func (*Store) DropAllTables ¶
func (s *Store) DropAllTables()
func (*Store) Emoji ¶
func (s *Store) Emoji() store.EmojiStore
func (*Store) FileInfo ¶
func (s *Store) FileInfo() store.FileInfoStore
func (*Store) License ¶
func (s *Store) License() store.LicenseStore
func (*Store) MarkSystemRanUnitTests ¶
func (s *Store) MarkSystemRanUnitTests()
func (*Store) OAuth ¶
func (s *Store) OAuth() store.OAuthStore
func (*Store) Plugin ¶
func (s *Store) Plugin() store.PluginStore
func (*Store) Preference ¶
func (s *Store) Preference() store.PreferenceStore
func (*Store) Reaction ¶
func (s *Store) Reaction() store.ReactionStore
func (*Store) Session ¶
func (s *Store) Session() store.SessionStore
func (*Store) Status ¶
func (s *Store) Status() store.StatusStore
func (*Store) System ¶
func (s *Store) System() store.SystemStore
func (*Store) Token ¶
func (s *Store) Token() store.TokenStore
func (*Store) TotalMasterDbConnections ¶
func (*Store) TotalReadDbConnections ¶
func (*Store) TotalSearchDbConnections ¶
func (*Store) UserAccessToken ¶
func (s *Store) UserAccessToken() store.UserAccessTokenStore
func (*Store) Webhook ¶
func (s *Store) Webhook() store.WebhookStore
Source Files
¶
- audit_store.go
- channel_member_history_store.go
- channel_store.go
- cluster_discovery_store.go
- command_store.go
- command_webhook_store.go
- compliance_store.go
- docker.go
- emoji_store.go
- file_info_store.go
- job_store.go
- license_store.go
- oauth_store.go
- plugin_store.go
- post_store.go
- preference_store.go
- reaction_store.go
- role_store.go
- session_store.go
- status_store.go
- store.go
- system_store.go
- team_store.go
- user_access_token_store.go
- user_store.go
- webhook_store.go
Click to show internal directories.
Click to hide internal directories.