Versions in this module Expand all Collapse all v5 v5.100.1 Jun 2, 2020 v5.100.0 May 26, 2020 Changes in this version + type AccountMigrationInterface struct + func (_m *AccountMigrationInterface) MigrateToLdap(fromAuthService string, forignUserFieldNameToMatch string, force bool, ...) *model.AppError + func (_m *AccountMigrationInterface) MigrateToSaml(fromAuthService string, usersMap map[string]string, auto bool, dryRun bool) *model.AppError + type ClusterInterface struct + func (_m *ClusterInterface) ConfigChanged(previousConfig *model.Config, newConfig *model.Config, sendToOtherServer bool) *model.AppError + func (_m *ClusterInterface) GetClusterId() string + func (_m *ClusterInterface) GetClusterInfos() []*model.ClusterInfo + func (_m *ClusterInterface) GetClusterStats() ([]*model.ClusterStats, *model.AppError) + func (_m *ClusterInterface) GetLogs(page int, perPage int) ([]string, *model.AppError) + func (_m *ClusterInterface) GetMyClusterInfo() *model.ClusterInfo + func (_m *ClusterInterface) GetPluginStatuses() (model.PluginStatuses, *model.AppError) + func (_m *ClusterInterface) IsLeader() bool + func (_m *ClusterInterface) NotifyMsg(buf []byte) + func (_m *ClusterInterface) RegisterClusterMessageHandler(event string, crm einterfaces.ClusterMessageHandler) + func (_m *ClusterInterface) SendClusterMessage(cluster *model.ClusterMessage) + func (_m *ClusterInterface) StartInterNodeCommunication() + func (_m *ClusterInterface) StopInterNodeCommunication() + type ComplianceInterface struct + func (_m *ComplianceInterface) RunComplianceJob(job *model.Compliance) *model.AppError + func (_m *ComplianceInterface) StartComplianceDailyJob() + type DataRetentionInterface struct + func (_m *DataRetentionInterface) GetPolicy() (*model.DataRetentionPolicy, *model.AppError) + type DataRetentionJobInterface struct + func (_m *DataRetentionJobInterface) MakeScheduler() model.Scheduler + func (_m *DataRetentionJobInterface) MakeWorker() model.Worker + type ElasticsearchAggregatorInterface struct + func (_m *ElasticsearchAggregatorInterface) MakeScheduler() model.Scheduler + func (_m *ElasticsearchAggregatorInterface) MakeWorker() model.Worker + type ElasticsearchIndexerInterface struct + func (_m *ElasticsearchIndexerInterface) MakeWorker() model.Worker + type ElasticsearchInterface struct + func (_m *ElasticsearchInterface) DataRetentionDeleteIndexes(cutoff time.Time) *model.AppError + func (_m *ElasticsearchInterface) DeleteChannel(channel *model.Channel) *model.AppError + func (_m *ElasticsearchInterface) DeletePost(post *model.Post) *model.AppError + func (_m *ElasticsearchInterface) DeleteUser(user *model.User) *model.AppError + func (_m *ElasticsearchInterface) GetVersion() int + func (_m *ElasticsearchInterface) IndexChannel(channel *model.Channel) *model.AppError + func (_m *ElasticsearchInterface) IndexPost(post *model.Post, teamId string) *model.AppError + func (_m *ElasticsearchInterface) IndexUser(user *model.User, teamsIds []string, channelsIds []string) *model.AppError + func (_m *ElasticsearchInterface) PurgeIndexes() *model.AppError + func (_m *ElasticsearchInterface) SearchChannels(teamId string, term string) ([]string, *model.AppError) + func (_m *ElasticsearchInterface) SearchPosts(channels *model.ChannelList, searchParams []*model.SearchParams, page int, ...) ([]string, model.PostSearchMatches, *model.AppError) + func (_m *ElasticsearchInterface) SearchUsersInChannel(teamId string, channelId string, restrictedToChannels []string, term string, ...) ([]string, []string, *model.AppError) + func (_m *ElasticsearchInterface) SearchUsersInTeam(teamId string, restrictedToChannels []string, term string, ...) ([]string, *model.AppError) + func (_m *ElasticsearchInterface) Start() *model.AppError + func (_m *ElasticsearchInterface) Stop() *model.AppError + func (_m *ElasticsearchInterface) TestConfig(cfg *model.Config) *model.AppError + type LdapInterface struct + func (_m *LdapInterface) CheckPassword(id string, password string) *model.AppError + func (_m *LdapInterface) CheckPasswordAuthData(authData string, password string) *model.AppError + func (_m *LdapInterface) DoLogin(id string, password string) (*model.User, *model.AppError) + func (_m *LdapInterface) FirstLoginSync(userID string, userAuthService string, userAuthData string, email string) *model.AppError + func (_m *LdapInterface) GetAllGroupsPage(page int, perPage int, opts model.LdapGroupSearchOpts) ([]*model.Group, int, *model.AppError) + func (_m *LdapInterface) GetAllLdapUsers() ([]*model.User, *model.AppError) + func (_m *LdapInterface) GetGroup(groupUID string) (*model.Group, *model.AppError) + func (_m *LdapInterface) GetUser(id string) (*model.User, *model.AppError) + func (_m *LdapInterface) GetUserAttributes(id string, attributes []string) (map[string]string, *model.AppError) + func (_m *LdapInterface) MigrateIDAttribute(toAttribute string) error + func (_m *LdapInterface) RunTest() *model.AppError + func (_m *LdapInterface) StartSynchronizeJob(waitForJobToFinish bool) (*model.Job, *model.AppError) + func (_m *LdapInterface) SwitchToLdap(userId string, ldapId string, ldapPassword string) *model.AppError + type LdapSyncInterface struct + func (_m *LdapSyncInterface) MakeScheduler() model.Scheduler + func (_m *LdapSyncInterface) MakeWorker() model.Worker + type MessageExportInterface struct + func (_m *MessageExportInterface) RunExport(format string, since int64) *model.AppError + func (_m *MessageExportInterface) StartSynchronizeJob(ctx context.Context, exportFromTimestamp int64) (*model.Job, *model.AppError) + type MessageExportJobInterface struct + func (_m *MessageExportJobInterface) MakeScheduler() model.Scheduler + func (_m *MessageExportJobInterface) MakeWorker() model.Worker + type MetricsInterface struct + func (_m *MetricsInterface) AddMemCacheHitCounter(cacheName string, amount float64) + func (_m *MetricsInterface) AddMemCacheMissCounter(cacheName string, amount float64) + func (_m *MetricsInterface) IncrementClusterEventType(eventType string) + func (_m *MetricsInterface) IncrementClusterRequest() + func (_m *MetricsInterface) IncrementEtagHitCounter(route string) + func (_m *MetricsInterface) IncrementEtagMissCounter(route string) + func (_m *MetricsInterface) IncrementHttpError() + func (_m *MetricsInterface) IncrementHttpRequest() + func (_m *MetricsInterface) IncrementLogin() + func (_m *MetricsInterface) IncrementLoginFail() + func (_m *MetricsInterface) IncrementMemCacheHitCounter(cacheName string) + func (_m *MetricsInterface) IncrementMemCacheHitCounterSession() + func (_m *MetricsInterface) IncrementMemCacheInvalidationCounter(cacheName string) + func (_m *MetricsInterface) IncrementMemCacheInvalidationCounterSession() + func (_m *MetricsInterface) IncrementMemCacheMissCounter(cacheName string) + func (_m *MetricsInterface) IncrementMemCacheMissCounterSession() + func (_m *MetricsInterface) IncrementPostBroadcast() + func (_m *MetricsInterface) IncrementPostCreate() + func (_m *MetricsInterface) IncrementPostFileAttachment(count int) + func (_m *MetricsInterface) IncrementPostSentEmail() + func (_m *MetricsInterface) IncrementPostSentPush() + func (_m *MetricsInterface) IncrementPostsSearchCounter() + func (_m *MetricsInterface) IncrementWebSocketBroadcast(eventType string) + func (_m *MetricsInterface) IncrementWebhookPost() + func (_m *MetricsInterface) IncrementWebsocketEvent(eventType string) + func (_m *MetricsInterface) ObserveClusterRequestDuration(elapsed float64) + func (_m *MetricsInterface) ObserveHttpRequestDuration(elapsed float64) + func (_m *MetricsInterface) ObservePostsSearchDuration(elapsed float64) + func (_m *MetricsInterface) StartServer() + func (_m *MetricsInterface) StopServer() + type MfaInterface struct + func (_m *MfaInterface) Activate(user *model.User, token string) *model.AppError + func (_m *MfaInterface) Deactivate(userId string) *model.AppError + func (_m *MfaInterface) GenerateSecret(user *model.User) (string, []byte, *model.AppError) + func (_m *MfaInterface) ValidateToken(secret string, token string) (bool, *model.AppError) + type OauthProvider struct + func (_m *OauthProvider) GetUserFromJson(data io.Reader) *model.User + type SamlInterface struct + func (_m *SamlInterface) BuildRequest(relayState string) (*model.SamlAuthRequest, *model.AppError) + func (_m *SamlInterface) ConfigureSP() error + func (_m *SamlInterface) DoLogin(encodedXML string, relayState map[string]string) (*model.User, *model.AppError) + func (_m *SamlInterface) GetMetadata() (string, *model.AppError) Other modules containing this package github.com/mad-app/mattermost-server