Versions in this module Expand all Collapse all v5 v5.31.1 Dec 23, 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 CloudInterface struct + func (_m *CloudInterface) ConfirmCustomerPayment(_a0 *model.ConfirmPaymentMethodRequest) *model.AppError + func (_m *CloudInterface) CreateCustomerPayment() (*model.StripeSetupIntent, *model.AppError) + func (_m *CloudInterface) GetCloudCustomer() (*model.CloudCustomer, *model.AppError) + func (_m *CloudInterface) GetCloudProducts() ([]*model.Product, *model.AppError) + func (_m *CloudInterface) GetInvoicePDF(invoiceID string) ([]byte, string, *model.AppError) + func (_m *CloudInterface) GetInvoicesForSubscription() ([]*model.Invoice, *model.AppError) + func (_m *CloudInterface) GetSubscription() (*model.Subscription, *model.AppError) + func (_m *CloudInterface) UpdateCloudCustomer(customerInfo *model.CloudCustomerInfo) (*model.CloudCustomer, *model.AppError) + func (_m *CloudInterface) UpdateCloudCustomerAddress(address *model.Address) (*model.CloudCustomer, *model.AppError) + type CloudJobInterface struct + func (_m *CloudJobInterface) MakeScheduler() model.Scheduler + func (_m *CloudJobInterface) MakeWorker() model.Worker + 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) HealthScore() int + 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 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(user *model.User, userAuthService string, userAuthData string, email string) *model.AppError + func (_m *LdapInterface) GetADLdapIdFromSAMLId(authData string) string + 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 + func (_m *LdapInterface) UpdateProfilePictureIfNecessary(_a0 model.User, _a1 model.Session) + 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) (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) DecrementWebSocketBroadcastBufferSize(hub string, amount float64) + func (_m *MetricsInterface) DecrementWebSocketBroadcastUsersRegistered(hub string, amount float64) + func (_m *MetricsInterface) GetLoggerMetricsCollector() logr.MetricsCollector + func (_m *MetricsInterface) IncrementChannelIndexCounter() + 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) IncrementPostIndexCounter() + func (_m *MetricsInterface) IncrementPostSentEmail() + func (_m *MetricsInterface) IncrementPostSentPush() + func (_m *MetricsInterface) IncrementPostsSearchCounter() + func (_m *MetricsInterface) IncrementUserIndexCounter() + func (_m *MetricsInterface) IncrementWebSocketBroadcast(eventType string) + func (_m *MetricsInterface) IncrementWebSocketBroadcastBufferSize(hub string, amount float64) + func (_m *MetricsInterface) IncrementWebSocketBroadcastUsersRegistered(hub string, amount float64) + func (_m *MetricsInterface) IncrementWebhookPost() + func (_m *MetricsInterface) IncrementWebsocketEvent(eventType string) + func (_m *MetricsInterface) ObserveApiEndpointDuration(endpoint string, method string, statusCode string, elapsed float64) + func (_m *MetricsInterface) ObserveClusterRequestDuration(elapsed float64) + func (_m *MetricsInterface) ObserveEnabledUsers(users int64) + func (_m *MetricsInterface) ObservePluginApiDuration(pluginID string, apiName string, success bool, elapsed float64) + func (_m *MetricsInterface) ObservePluginHookDuration(pluginID string, hookName string, success bool, elapsed float64) + func (_m *MetricsInterface) ObservePluginMultiHookDuration(elapsed float64) + func (_m *MetricsInterface) ObservePluginMultiHookIterationDuration(pluginID string, elapsed float64) + func (_m *MetricsInterface) ObservePostsSearchDuration(elapsed float64) + func (_m *MetricsInterface) ObserveStoreMethodDuration(method string, success string, 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 NotificationInterface struct + func (_m *NotificationInterface) CheckLicense() *model.AppError + func (_m *NotificationInterface) GetNotificationMessage(ack *model.PushNotificationAck, userId string) (*model.PushNotification, *model.AppError) + type OauthProvider struct + func (_m *OauthProvider) GetSSOSettings(config *model.Config, service string) (*model.SSOSettings, error) + func (_m *OauthProvider) GetUserFromIdToken(idToken string) (*model.User, error) + func (_m *OauthProvider) GetUserFromJson(data io.Reader, tokenUser *model.User) (*model.User, error) + 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/adacta-ru/mattermost-server/v6