Documentation ¶
Index ¶
- type MockAPI
- func (_m *MockAPI) AddChannelMember(channelId string, userID string) (*model.ChannelMember, *model.AppError)
- func (_m *MockAPI) AddReaction(reaction *model.Reaction) (*model.Reaction, *model.AppError)
- func (_m *MockAPI) AddUserToChannel(channelId string, userID string, asUserId string) (*model.ChannelMember, *model.AppError)
- func (_m *MockAPI) CopyFileInfos(userID string, fileIds []string) ([]string, *model.AppError)
- func (_m *MockAPI) CreateBot(bot *model.Bot) (*model.Bot, *model.AppError)
- func (_m *MockAPI) CreateChannel(channel *model.Channel) (*model.Channel, *model.AppError)
- func (_m *MockAPI) CreateChannelSidebarCategory(userID string, teamID string, newCategory *model.SidebarCategoryWithChannels) (*model.SidebarCategoryWithChannels, *model.AppError)
- func (_m *MockAPI) CreateCommand(cmd *model.Command) (*model.Command, error)
- func (_m *MockAPI) CreateOAuthApp(app *model.OAuthApp) (*model.OAuthApp, *model.AppError)
- func (_m *MockAPI) CreatePost(post *model.Post) (*model.Post, *model.AppError)
- func (_m *MockAPI) CreateSession(session *model.Session) (*model.Session, *model.AppError)
- func (_m *MockAPI) CreateTeam(team *model.Team) (*model.Team, *model.AppError)
- func (_m *MockAPI) CreateTeamMember(teamID string, userID string) (*model.TeamMember, *model.AppError)
- func (_m *MockAPI) CreateTeamMembers(teamID string, userIds []string, requestorId string) ([]*model.TeamMember, *model.AppError)
- func (_m *MockAPI) CreateTeamMembersGracefully(teamID string, userIds []string, requestorId string) ([]*model.TeamMemberWithError, *model.AppError)
- func (_m *MockAPI) CreateUploadSession(us *model.UploadSession) (*model.UploadSession, error)
- func (_m *MockAPI) CreateUser(user *model.User) (*model.User, *model.AppError)
- func (_m *MockAPI) CreateUserAccessToken(token *model.UserAccessToken) (*model.UserAccessToken, *model.AppError)
- func (_m *MockAPI) DeleteChannel(channelId string) *model.AppError
- func (_m *MockAPI) DeleteChannelMember(channelId string, userID string) *model.AppError
- func (_m *MockAPI) DeleteCommand(commandID string) error
- func (_m *MockAPI) DeleteEphemeralPost(userID string, postId string)
- func (_m *MockAPI) DeleteOAuthApp(appID string) *model.AppError
- func (_m *MockAPI) DeletePost(postId string) *model.AppError
- func (_m *MockAPI) DeletePreferencesForUser(userID string, preferences []model.Preference) *model.AppError
- func (_m *MockAPI) DeleteTeam(teamID string) *model.AppError
- func (_m *MockAPI) DeleteTeamMember(teamID string, userID string, requestorId string) *model.AppError
- func (_m *MockAPI) DeleteUser(userID string) *model.AppError
- func (_m *MockAPI) DisablePlugin(id string) *model.AppError
- func (_m *MockAPI) EXPECT() *MockAPI_Expecter
- func (_m *MockAPI) EnablePlugin(id string) *model.AppError
- func (_m *MockAPI) EnsureBotUser(bot *model.Bot) (string, error)
- func (_m *MockAPI) ExecuteSlashCommand(commandArgs *model.CommandArgs) (*model.CommandResponse, error)
- func (_m *MockAPI) ExtendSessionExpiry(sessionID string, newExpiry int64) *model.AppError
- func (_m *MockAPI) GetBot(botUserId string, includeDeleted bool) (*model.Bot, *model.AppError)
- func (_m *MockAPI) GetBots(options *model.BotGetOptions) ([]*model.Bot, *model.AppError)
- func (_m *MockAPI) GetBundlePath() (string, error)
- func (_m *MockAPI) GetChannel(channelId string) (*model.Channel, *model.AppError)
- func (_m *MockAPI) GetChannelByName(teamID string, name string, includeDeleted bool) (*model.Channel, *model.AppError)
- func (_m *MockAPI) GetChannelByNameForTeamName(teamName string, channelName string, includeDeleted bool) (*model.Channel, *model.AppError)
- func (_m *MockAPI) GetChannelMember(channelId string, userID string) (*model.ChannelMember, *model.AppError)
- func (_m *MockAPI) GetChannelMembers(channelId string, page int, perPage int) (model.ChannelMembers, *model.AppError)
- func (_m *MockAPI) GetChannelMembersByIds(channelId string, userIds []string) (model.ChannelMembers, *model.AppError)
- func (_m *MockAPI) GetChannelMembersForUser(teamID string, userID string, page int, perPage int) ([]*model.ChannelMember, *model.AppError)
- func (_m *MockAPI) GetChannelSidebarCategories(userID string, teamID string) (*model.OrderedSidebarCategories, *model.AppError)
- func (_m *MockAPI) GetChannelStats(channelId string) (*model.ChannelStats, *model.AppError)
- func (_m *MockAPI) GetChannelsForTeamForUser(teamID string, userID string, includeDeleted bool) ([]*model.Channel, *model.AppError)
- func (_m *MockAPI) GetCloudLimits() (*model.ProductLimits, error)
- func (_m *MockAPI) GetCommand(commandID string) (*model.Command, error)
- func (_m *MockAPI) GetConfig() *model.Config
- func (_m *MockAPI) GetDiagnosticId() string
- func (_m *MockAPI) GetDirectChannel(userId1 string, userId2 string) (*model.Channel, *model.AppError)
- func (_m *MockAPI) GetEmoji(emojiId string) (*model.Emoji, *model.AppError)
- func (_m *MockAPI) GetEmojiByName(name string) (*model.Emoji, *model.AppError)
- func (_m *MockAPI) GetEmojiImage(emojiId string) ([]byte, string, *model.AppError)
- func (_m *MockAPI) GetEmojiList(sortBy string, page int, perPage int) ([]*model.Emoji, *model.AppError)
- func (_m *MockAPI) GetFile(fileId string) ([]byte, *model.AppError)
- func (_m *MockAPI) GetFileInfo(fileId string) (*model.FileInfo, *model.AppError)
- func (_m *MockAPI) GetFileInfos(page int, perPage int, opt *model.GetFileInfosOptions) ([]*model.FileInfo, *model.AppError)
- func (_m *MockAPI) GetFileLink(fileId string) (string, *model.AppError)
- func (_m *MockAPI) GetGroup(groupId string) (*model.Group, *model.AppError)
- func (_m *MockAPI) GetGroupByName(name string) (*model.Group, *model.AppError)
- func (_m *MockAPI) GetGroupChannel(userIds []string) (*model.Channel, *model.AppError)
- func (_m *MockAPI) GetGroupMemberUsers(groupID string, page int, perPage int) ([]*model.User, *model.AppError)
- func (_m *MockAPI) GetGroupsBySource(groupSource model.GroupSource) ([]*model.Group, *model.AppError)
- func (_m *MockAPI) GetGroupsForUser(userID string) ([]*model.Group, *model.AppError)
- func (_m *MockAPI) GetLDAPUserAttributes(userID string, attributes []string) (map[string]string, *model.AppError)
- func (_m *MockAPI) GetLicense() *model.License
- func (_m *MockAPI) GetOAuthApp(appID string) (*model.OAuthApp, *model.AppError)
- func (_m *MockAPI) GetPluginConfig() map[string]interface{}
- func (_m *MockAPI) GetPluginStatus(id string) (*model.PluginStatus, *model.AppError)
- func (_m *MockAPI) GetPlugins() ([]*model.Manifest, *model.AppError)
- func (_m *MockAPI) GetPost(postId string) (*model.Post, *model.AppError)
- func (_m *MockAPI) GetPostThread(postId string) (*model.PostList, *model.AppError)
- func (_m *MockAPI) GetPostsAfter(channelId string, postId string, page int, perPage int) (*model.PostList, *model.AppError)
- func (_m *MockAPI) GetPostsBefore(channelId string, postId string, page int, perPage int) (*model.PostList, *model.AppError)
- func (_m *MockAPI) GetPostsForChannel(channelId string, page int, perPage int) (*model.PostList, *model.AppError)
- func (_m *MockAPI) GetPostsSince(channelId string, time int64) (*model.PostList, *model.AppError)
- func (_m *MockAPI) GetPreferencesForUser(userID string) ([]model.Preference, *model.AppError)
- func (_m *MockAPI) GetProfileImage(userID string) ([]byte, *model.AppError)
- func (_m *MockAPI) GetPublicChannelsForTeam(teamID string, page int, perPage int) ([]*model.Channel, *model.AppError)
- func (_m *MockAPI) GetReactions(postId string) ([]*model.Reaction, *model.AppError)
- func (_m *MockAPI) GetServerVersion() string
- func (_m *MockAPI) GetSession(sessionID string) (*model.Session, *model.AppError)
- func (_m *MockAPI) GetSystemInstallDate() (int64, *model.AppError)
- func (_m *MockAPI) GetTeam(teamID string) (*model.Team, *model.AppError)
- func (_m *MockAPI) GetTeamByName(name string) (*model.Team, *model.AppError)
- func (_m *MockAPI) GetTeamIcon(teamID string) ([]byte, *model.AppError)
- func (_m *MockAPI) GetTeamMember(teamID string, userID string) (*model.TeamMember, *model.AppError)
- func (_m *MockAPI) GetTeamMembers(teamID string, page int, perPage int) ([]*model.TeamMember, *model.AppError)
- func (_m *MockAPI) GetTeamMembersForUser(userID string, page int, perPage int) ([]*model.TeamMember, *model.AppError)
- func (_m *MockAPI) GetTeamStats(teamID string) (*model.TeamStats, *model.AppError)
- func (_m *MockAPI) GetTeams() ([]*model.Team, *model.AppError)
- func (_m *MockAPI) GetTeamsForUser(userID string) ([]*model.Team, *model.AppError)
- func (_m *MockAPI) GetTeamsUnreadForUser(userID string) ([]*model.TeamUnread, *model.AppError)
- func (_m *MockAPI) GetTelemetryId() string
- func (_m *MockAPI) GetUnsanitizedConfig() *model.Config
- func (_m *MockAPI) GetUploadSession(uploadID string) (*model.UploadSession, error)
- func (_m *MockAPI) GetUser(userID string) (*model.User, *model.AppError)
- func (_m *MockAPI) GetUserByEmail(email string) (*model.User, *model.AppError)
- func (_m *MockAPI) GetUserByUsername(name string) (*model.User, *model.AppError)
- func (_m *MockAPI) GetUserStatus(userID string) (*model.Status, *model.AppError)
- func (_m *MockAPI) GetUserStatusesByIds(userIds []string) ([]*model.Status, *model.AppError)
- func (_m *MockAPI) GetUsers(options *model.UserGetOptions) ([]*model.User, *model.AppError)
- func (_m *MockAPI) GetUsersByUsernames(usernames []string) ([]*model.User, *model.AppError)
- func (_m *MockAPI) GetUsersInChannel(channelID string, sortBy string, page int, perPage int) ([]*model.User, *model.AppError)
- func (_m *MockAPI) GetUsersInTeam(teamID string, page int, perPage int) ([]*model.User, *model.AppError)
- func (_m *MockAPI) HasPermissionTo(userID string, permission *model.Permission) bool
- func (_m *MockAPI) HasPermissionToChannel(userID string, channelId string, permission *model.Permission) bool
- func (_m *MockAPI) HasPermissionToTeam(userID string, teamID string, permission *model.Permission) bool
- func (_m *MockAPI) InstallPlugin(file io.Reader, replace bool) (*model.Manifest, *model.AppError)
- func (_m *MockAPI) IsEnterpriseReady() bool
- func (_m *MockAPI) KVCompareAndDelete(key string, oldValue []byte) (bool, *model.AppError)
- func (_m *MockAPI) KVCompareAndSet(key string, oldValue []byte, newValue []byte) (bool, *model.AppError)
- func (_m *MockAPI) KVDelete(key string) *model.AppError
- func (_m *MockAPI) KVDeleteAll() *model.AppError
- func (_m *MockAPI) KVGet(key string) ([]byte, *model.AppError)
- func (_m *MockAPI) KVList(page int, perPage int) ([]string, *model.AppError)
- func (_m *MockAPI) KVSet(key string, value []byte) *model.AppError
- func (_m *MockAPI) KVSetWithExpiry(key string, value []byte, expireInSeconds int64) *model.AppError
- func (_m *MockAPI) KVSetWithOptions(key string, value []byte, options model.PluginKVSetOptions) (bool, *model.AppError)
- func (_m *MockAPI) ListBuiltInCommands() ([]*model.Command, error)
- func (_m *MockAPI) ListCommands(teamID string) ([]*model.Command, error)
- func (_m *MockAPI) ListCustomCommands(teamID string) ([]*model.Command, error)
- func (_m *MockAPI) ListPluginCommands(teamID string) ([]*model.Command, error)
- func (_m *MockAPI) LoadPluginConfiguration(dest interface{}) error
- func (_m *MockAPI) LogDebug(msg string, keyValuePairs ...interface{})
- func (_m *MockAPI) LogError(msg string, keyValuePairs ...interface{})
- func (_m *MockAPI) LogInfo(msg string, keyValuePairs ...interface{})
- func (_m *MockAPI) LogWarn(msg string, keyValuePairs ...interface{})
- func (_m *MockAPI) OpenInteractiveDialog(dialog model.OpenDialogRequest) *model.AppError
- func (_m *MockAPI) PatchBot(botUserId string, botPatch *model.BotPatch) (*model.Bot, *model.AppError)
- func (_m *MockAPI) PermanentDeleteBot(botUserId string) *model.AppError
- func (_m *MockAPI) PluginHTTP(request *http.Request) *http.Response
- func (_m *MockAPI) PublishPluginClusterEvent(ev model.PluginClusterEvent, opts model.PluginClusterEventSendOptions) error
- func (_m *MockAPI) PublishUserTyping(userID string, channelId string, parentId string) *model.AppError
- func (_m *MockAPI) PublishWebSocketEvent(event string, payload map[string]interface{}, ...)
- func (_m *MockAPI) ReadFile(path string) ([]byte, *model.AppError)
- func (_m *MockAPI) RegisterCollectionAndTopic(collectionType string, topicType string) error
- func (_m *MockAPI) RegisterCommand(command *model.Command) error
- func (_m *MockAPI) RemovePlugin(id string) *model.AppError
- func (_m *MockAPI) RemoveReaction(reaction *model.Reaction) *model.AppError
- func (_m *MockAPI) RemoveTeamIcon(teamID string) *model.AppError
- func (_m *MockAPI) RemoveUserCustomStatus(userID string) *model.AppError
- func (_m *MockAPI) RequestTrialLicense(requesterID string, users int, termsAccepted bool, receiveEmailsAccepted bool) *model.AppError
- func (_m *MockAPI) RevokeSession(sessionID string) *model.AppError
- func (_m *MockAPI) RevokeUserAccessToken(tokenID string) *model.AppError
- func (_m *MockAPI) RolesGrantPermission(roleNames []string, permissionId string) bool
- func (_m *MockAPI) SaveConfig(config *model.Config) *model.AppError
- func (_m *MockAPI) SavePluginConfig(config map[string]interface{}) *model.AppError
- func (_m *MockAPI) SearchChannels(teamID string, term string) ([]*model.Channel, *model.AppError)
- func (_m *MockAPI) SearchPostsInTeam(teamID string, paramsList []*model.SearchParams) ([]*model.Post, *model.AppError)
- func (_m *MockAPI) SearchPostsInTeamForUser(teamID string, userID string, searchParams model.SearchParameter) (*model.PostSearchResults, *model.AppError)
- func (_m *MockAPI) SearchTeams(term string) ([]*model.Team, *model.AppError)
- func (_m *MockAPI) SearchUsers(search *model.UserSearch) ([]*model.User, *model.AppError)
- func (_m *MockAPI) SendEphemeralPost(userID string, post *model.Post) *model.Post
- func (_m *MockAPI) SendMail(to string, subject string, htmlBody string) *model.AppError
- func (_m *MockAPI) SendPushNotification(notification *model.PushNotification, userID string) *model.AppError
- func (_m *MockAPI) SetFileSearchableContent(fileID string, content string) *model.AppError
- func (_m *MockAPI) SetProfileImage(userID string, data []byte) *model.AppError
- func (_m *MockAPI) SetTeamIcon(teamID string, data []byte) *model.AppError
- func (_m *MockAPI) SetUserStatusTimedDND(userId string, endtime int64) (*model.Status, *model.AppError)
- func (_m *MockAPI) UnregisterCommand(teamID string, trigger string) error
- func (_m *MockAPI) UpdateBotActive(botUserId string, active bool) (*model.Bot, *model.AppError)
- func (_m *MockAPI) UpdateChannel(channel *model.Channel) (*model.Channel, *model.AppError)
- func (_m *MockAPI) UpdateChannelMemberNotifications(channelId string, userID string, notifications map[string]string) (*model.ChannelMember, *model.AppError)
- func (_m *MockAPI) UpdateChannelMemberRoles(channelId string, userID string, newRoles string) (*model.ChannelMember, *model.AppError)
- func (_m *MockAPI) UpdateChannelSidebarCategories(userID string, teamID string, categories []*model.SidebarCategoryWithChannels) ([]*model.SidebarCategoryWithChannels, *model.AppError)
- func (_m *MockAPI) UpdateCommand(commandID string, updatedCmd *model.Command) (*model.Command, error)
- func (_m *MockAPI) UpdateEphemeralPost(userID string, post *model.Post) *model.Post
- func (_m *MockAPI) UpdateOAuthApp(app *model.OAuthApp) (*model.OAuthApp, *model.AppError)
- func (_m *MockAPI) UpdatePost(post *model.Post) (*model.Post, *model.AppError)
- func (_m *MockAPI) UpdatePreferencesForUser(userID string, preferences []model.Preference) *model.AppError
- func (_m *MockAPI) UpdateTeam(team *model.Team) (*model.Team, *model.AppError)
- func (_m *MockAPI) UpdateTeamMemberRoles(teamID string, userID string, newRoles string) (*model.TeamMember, *model.AppError)
- func (_m *MockAPI) UpdateUser(user *model.User) (*model.User, *model.AppError)
- func (_m *MockAPI) UpdateUserActive(userID string, active bool) *model.AppError
- func (_m *MockAPI) UpdateUserAuth(userID string, userAuth *model.UserAuth) (*model.UserAuth, *model.AppError)
- func (_m *MockAPI) UpdateUserCustomStatus(userID string, customStatus *model.CustomStatus) *model.AppError
- func (_m *MockAPI) UpdateUserStatus(userID string, status string) (*model.Status, *model.AppError)
- func (_m *MockAPI) UploadData(us *model.UploadSession, rd io.Reader) (*model.FileInfo, error)
- func (_m *MockAPI) UploadFile(data []byte, channelId string, filename string) (*model.FileInfo, *model.AppError)
- type MockAPI_AddChannelMember_Call
- func (_c *MockAPI_AddChannelMember_Call) Return(_a0 *model.ChannelMember, _a1 *model.AppError) *MockAPI_AddChannelMember_Call
- func (_c *MockAPI_AddChannelMember_Call) Run(run func(channelId string, userID string)) *MockAPI_AddChannelMember_Call
- func (_c *MockAPI_AddChannelMember_Call) RunAndReturn(run func(string, string) (*model.ChannelMember, *model.AppError)) *MockAPI_AddChannelMember_Call
- type MockAPI_AddReaction_Call
- func (_c *MockAPI_AddReaction_Call) Return(_a0 *model.Reaction, _a1 *model.AppError) *MockAPI_AddReaction_Call
- func (_c *MockAPI_AddReaction_Call) Run(run func(reaction *model.Reaction)) *MockAPI_AddReaction_Call
- func (_c *MockAPI_AddReaction_Call) RunAndReturn(run func(*model.Reaction) (*model.Reaction, *model.AppError)) *MockAPI_AddReaction_Call
- type MockAPI_AddUserToChannel_Call
- func (_c *MockAPI_AddUserToChannel_Call) Return(_a0 *model.ChannelMember, _a1 *model.AppError) *MockAPI_AddUserToChannel_Call
- func (_c *MockAPI_AddUserToChannel_Call) Run(run func(channelId string, userID string, asUserId string)) *MockAPI_AddUserToChannel_Call
- func (_c *MockAPI_AddUserToChannel_Call) RunAndReturn(run func(string, string, string) (*model.ChannelMember, *model.AppError)) *MockAPI_AddUserToChannel_Call
- type MockAPI_CopyFileInfos_Call
- func (_c *MockAPI_CopyFileInfos_Call) Return(_a0 []string, _a1 *model.AppError) *MockAPI_CopyFileInfos_Call
- func (_c *MockAPI_CopyFileInfos_Call) Run(run func(userID string, fileIds []string)) *MockAPI_CopyFileInfos_Call
- func (_c *MockAPI_CopyFileInfos_Call) RunAndReturn(run func(string, []string) ([]string, *model.AppError)) *MockAPI_CopyFileInfos_Call
- type MockAPI_CreateBot_Call
- func (_c *MockAPI_CreateBot_Call) Return(_a0 *model.Bot, _a1 *model.AppError) *MockAPI_CreateBot_Call
- func (_c *MockAPI_CreateBot_Call) Run(run func(bot *model.Bot)) *MockAPI_CreateBot_Call
- func (_c *MockAPI_CreateBot_Call) RunAndReturn(run func(*model.Bot) (*model.Bot, *model.AppError)) *MockAPI_CreateBot_Call
- type MockAPI_CreateChannelSidebarCategory_Call
- func (_c *MockAPI_CreateChannelSidebarCategory_Call) Return(_a0 *model.SidebarCategoryWithChannels, _a1 *model.AppError) *MockAPI_CreateChannelSidebarCategory_Call
- func (_c *MockAPI_CreateChannelSidebarCategory_Call) Run(...) *MockAPI_CreateChannelSidebarCategory_Call
- func (_c *MockAPI_CreateChannelSidebarCategory_Call) RunAndReturn(...) *MockAPI_CreateChannelSidebarCategory_Call
- type MockAPI_CreateChannel_Call
- func (_c *MockAPI_CreateChannel_Call) Return(_a0 *model.Channel, _a1 *model.AppError) *MockAPI_CreateChannel_Call
- func (_c *MockAPI_CreateChannel_Call) Run(run func(channel *model.Channel)) *MockAPI_CreateChannel_Call
- func (_c *MockAPI_CreateChannel_Call) RunAndReturn(run func(*model.Channel) (*model.Channel, *model.AppError)) *MockAPI_CreateChannel_Call
- type MockAPI_CreateCommand_Call
- func (_c *MockAPI_CreateCommand_Call) Return(_a0 *model.Command, _a1 error) *MockAPI_CreateCommand_Call
- func (_c *MockAPI_CreateCommand_Call) Run(run func(cmd *model.Command)) *MockAPI_CreateCommand_Call
- func (_c *MockAPI_CreateCommand_Call) RunAndReturn(run func(*model.Command) (*model.Command, error)) *MockAPI_CreateCommand_Call
- type MockAPI_CreateOAuthApp_Call
- func (_c *MockAPI_CreateOAuthApp_Call) Return(_a0 *model.OAuthApp, _a1 *model.AppError) *MockAPI_CreateOAuthApp_Call
- func (_c *MockAPI_CreateOAuthApp_Call) Run(run func(app *model.OAuthApp)) *MockAPI_CreateOAuthApp_Call
- func (_c *MockAPI_CreateOAuthApp_Call) RunAndReturn(run func(*model.OAuthApp) (*model.OAuthApp, *model.AppError)) *MockAPI_CreateOAuthApp_Call
- type MockAPI_CreatePost_Call
- func (_c *MockAPI_CreatePost_Call) Return(_a0 *model.Post, _a1 *model.AppError) *MockAPI_CreatePost_Call
- func (_c *MockAPI_CreatePost_Call) Run(run func(post *model.Post)) *MockAPI_CreatePost_Call
- func (_c *MockAPI_CreatePost_Call) RunAndReturn(run func(*model.Post) (*model.Post, *model.AppError)) *MockAPI_CreatePost_Call
- type MockAPI_CreateSession_Call
- func (_c *MockAPI_CreateSession_Call) Return(_a0 *model.Session, _a1 *model.AppError) *MockAPI_CreateSession_Call
- func (_c *MockAPI_CreateSession_Call) Run(run func(session *model.Session)) *MockAPI_CreateSession_Call
- func (_c *MockAPI_CreateSession_Call) RunAndReturn(run func(*model.Session) (*model.Session, *model.AppError)) *MockAPI_CreateSession_Call
- type MockAPI_CreateTeamMember_Call
- func (_c *MockAPI_CreateTeamMember_Call) Return(_a0 *model.TeamMember, _a1 *model.AppError) *MockAPI_CreateTeamMember_Call
- func (_c *MockAPI_CreateTeamMember_Call) Run(run func(teamID string, userID string)) *MockAPI_CreateTeamMember_Call
- func (_c *MockAPI_CreateTeamMember_Call) RunAndReturn(run func(string, string) (*model.TeamMember, *model.AppError)) *MockAPI_CreateTeamMember_Call
- type MockAPI_CreateTeamMembersGracefully_Call
- func (_c *MockAPI_CreateTeamMembersGracefully_Call) Return(_a0 []*model.TeamMemberWithError, _a1 *model.AppError) *MockAPI_CreateTeamMembersGracefully_Call
- func (_c *MockAPI_CreateTeamMembersGracefully_Call) Run(run func(teamID string, userIds []string, requestorId string)) *MockAPI_CreateTeamMembersGracefully_Call
- func (_c *MockAPI_CreateTeamMembersGracefully_Call) RunAndReturn(...) *MockAPI_CreateTeamMembersGracefully_Call
- type MockAPI_CreateTeamMembers_Call
- func (_c *MockAPI_CreateTeamMembers_Call) Return(_a0 []*model.TeamMember, _a1 *model.AppError) *MockAPI_CreateTeamMembers_Call
- func (_c *MockAPI_CreateTeamMembers_Call) Run(run func(teamID string, userIds []string, requestorId string)) *MockAPI_CreateTeamMembers_Call
- func (_c *MockAPI_CreateTeamMembers_Call) RunAndReturn(run func(string, []string, string) ([]*model.TeamMember, *model.AppError)) *MockAPI_CreateTeamMembers_Call
- type MockAPI_CreateTeam_Call
- func (_c *MockAPI_CreateTeam_Call) Return(_a0 *model.Team, _a1 *model.AppError) *MockAPI_CreateTeam_Call
- func (_c *MockAPI_CreateTeam_Call) Run(run func(team *model.Team)) *MockAPI_CreateTeam_Call
- func (_c *MockAPI_CreateTeam_Call) RunAndReturn(run func(*model.Team) (*model.Team, *model.AppError)) *MockAPI_CreateTeam_Call
- type MockAPI_CreateUploadSession_Call
- func (_c *MockAPI_CreateUploadSession_Call) Return(_a0 *model.UploadSession, _a1 error) *MockAPI_CreateUploadSession_Call
- func (_c *MockAPI_CreateUploadSession_Call) Run(run func(us *model.UploadSession)) *MockAPI_CreateUploadSession_Call
- func (_c *MockAPI_CreateUploadSession_Call) RunAndReturn(run func(*model.UploadSession) (*model.UploadSession, error)) *MockAPI_CreateUploadSession_Call
- type MockAPI_CreateUserAccessToken_Call
- func (_c *MockAPI_CreateUserAccessToken_Call) Return(_a0 *model.UserAccessToken, _a1 *model.AppError) *MockAPI_CreateUserAccessToken_Call
- func (_c *MockAPI_CreateUserAccessToken_Call) Run(run func(token *model.UserAccessToken)) *MockAPI_CreateUserAccessToken_Call
- func (_c *MockAPI_CreateUserAccessToken_Call) RunAndReturn(run func(*model.UserAccessToken) (*model.UserAccessToken, *model.AppError)) *MockAPI_CreateUserAccessToken_Call
- type MockAPI_CreateUser_Call
- func (_c *MockAPI_CreateUser_Call) Return(_a0 *model.User, _a1 *model.AppError) *MockAPI_CreateUser_Call
- func (_c *MockAPI_CreateUser_Call) Run(run func(user *model.User)) *MockAPI_CreateUser_Call
- func (_c *MockAPI_CreateUser_Call) RunAndReturn(run func(*model.User) (*model.User, *model.AppError)) *MockAPI_CreateUser_Call
- type MockAPI_DeleteChannelMember_Call
- func (_c *MockAPI_DeleteChannelMember_Call) Return(_a0 *model.AppError) *MockAPI_DeleteChannelMember_Call
- func (_c *MockAPI_DeleteChannelMember_Call) Run(run func(channelId string, userID string)) *MockAPI_DeleteChannelMember_Call
- func (_c *MockAPI_DeleteChannelMember_Call) RunAndReturn(run func(string, string) *model.AppError) *MockAPI_DeleteChannelMember_Call
- type MockAPI_DeleteChannel_Call
- func (_c *MockAPI_DeleteChannel_Call) Return(_a0 *model.AppError) *MockAPI_DeleteChannel_Call
- func (_c *MockAPI_DeleteChannel_Call) Run(run func(channelId string)) *MockAPI_DeleteChannel_Call
- func (_c *MockAPI_DeleteChannel_Call) RunAndReturn(run func(string) *model.AppError) *MockAPI_DeleteChannel_Call
- type MockAPI_DeleteCommand_Call
- type MockAPI_DeleteEphemeralPost_Call
- func (_c *MockAPI_DeleteEphemeralPost_Call) Return() *MockAPI_DeleteEphemeralPost_Call
- func (_c *MockAPI_DeleteEphemeralPost_Call) Run(run func(userID string, postId string)) *MockAPI_DeleteEphemeralPost_Call
- func (_c *MockAPI_DeleteEphemeralPost_Call) RunAndReturn(run func(string, string)) *MockAPI_DeleteEphemeralPost_Call
- type MockAPI_DeleteOAuthApp_Call
- func (_c *MockAPI_DeleteOAuthApp_Call) Return(_a0 *model.AppError) *MockAPI_DeleteOAuthApp_Call
- func (_c *MockAPI_DeleteOAuthApp_Call) Run(run func(appID string)) *MockAPI_DeleteOAuthApp_Call
- func (_c *MockAPI_DeleteOAuthApp_Call) RunAndReturn(run func(string) *model.AppError) *MockAPI_DeleteOAuthApp_Call
- type MockAPI_DeletePost_Call
- type MockAPI_DeletePreferencesForUser_Call
- func (_c *MockAPI_DeletePreferencesForUser_Call) Return(_a0 *model.AppError) *MockAPI_DeletePreferencesForUser_Call
- func (_c *MockAPI_DeletePreferencesForUser_Call) Run(run func(userID string, preferences []model.Preference)) *MockAPI_DeletePreferencesForUser_Call
- func (_c *MockAPI_DeletePreferencesForUser_Call) RunAndReturn(run func(string, []model.Preference) *model.AppError) *MockAPI_DeletePreferencesForUser_Call
- type MockAPI_DeleteTeamMember_Call
- func (_c *MockAPI_DeleteTeamMember_Call) Return(_a0 *model.AppError) *MockAPI_DeleteTeamMember_Call
- func (_c *MockAPI_DeleteTeamMember_Call) Run(run func(teamID string, userID string, requestorId string)) *MockAPI_DeleteTeamMember_Call
- func (_c *MockAPI_DeleteTeamMember_Call) RunAndReturn(run func(string, string, string) *model.AppError) *MockAPI_DeleteTeamMember_Call
- type MockAPI_DeleteTeam_Call
- type MockAPI_DeleteUser_Call
- type MockAPI_DisablePlugin_Call
- type MockAPI_EnablePlugin_Call
- type MockAPI_EnsureBotUser_Call
- func (_c *MockAPI_EnsureBotUser_Call) Return(_a0 string, _a1 error) *MockAPI_EnsureBotUser_Call
- func (_c *MockAPI_EnsureBotUser_Call) Run(run func(bot *model.Bot)) *MockAPI_EnsureBotUser_Call
- func (_c *MockAPI_EnsureBotUser_Call) RunAndReturn(run func(*model.Bot) (string, error)) *MockAPI_EnsureBotUser_Call
- type MockAPI_ExecuteSlashCommand_Call
- func (_c *MockAPI_ExecuteSlashCommand_Call) Return(_a0 *model.CommandResponse, _a1 error) *MockAPI_ExecuteSlashCommand_Call
- func (_c *MockAPI_ExecuteSlashCommand_Call) Run(run func(commandArgs *model.CommandArgs)) *MockAPI_ExecuteSlashCommand_Call
- func (_c *MockAPI_ExecuteSlashCommand_Call) RunAndReturn(run func(*model.CommandArgs) (*model.CommandResponse, error)) *MockAPI_ExecuteSlashCommand_Call
- type MockAPI_Expecter
- func (_e *MockAPI_Expecter) AddChannelMember(channelId interface{}, userID interface{}) *MockAPI_AddChannelMember_Call
- func (_e *MockAPI_Expecter) AddReaction(reaction interface{}) *MockAPI_AddReaction_Call
- func (_e *MockAPI_Expecter) AddUserToChannel(channelId interface{}, userID interface{}, asUserId interface{}) *MockAPI_AddUserToChannel_Call
- func (_e *MockAPI_Expecter) CopyFileInfos(userID interface{}, fileIds interface{}) *MockAPI_CopyFileInfos_Call
- func (_e *MockAPI_Expecter) CreateBot(bot interface{}) *MockAPI_CreateBot_Call
- func (_e *MockAPI_Expecter) CreateChannel(channel interface{}) *MockAPI_CreateChannel_Call
- func (_e *MockAPI_Expecter) CreateChannelSidebarCategory(userID interface{}, teamID interface{}, newCategory interface{}) *MockAPI_CreateChannelSidebarCategory_Call
- func (_e *MockAPI_Expecter) CreateCommand(cmd interface{}) *MockAPI_CreateCommand_Call
- func (_e *MockAPI_Expecter) CreateOAuthApp(app interface{}) *MockAPI_CreateOAuthApp_Call
- func (_e *MockAPI_Expecter) CreatePost(post interface{}) *MockAPI_CreatePost_Call
- func (_e *MockAPI_Expecter) CreateSession(session interface{}) *MockAPI_CreateSession_Call
- func (_e *MockAPI_Expecter) CreateTeam(team interface{}) *MockAPI_CreateTeam_Call
- func (_e *MockAPI_Expecter) CreateTeamMember(teamID interface{}, userID interface{}) *MockAPI_CreateTeamMember_Call
- func (_e *MockAPI_Expecter) CreateTeamMembers(teamID interface{}, userIds interface{}, requestorId interface{}) *MockAPI_CreateTeamMembers_Call
- func (_e *MockAPI_Expecter) CreateTeamMembersGracefully(teamID interface{}, userIds interface{}, requestorId interface{}) *MockAPI_CreateTeamMembersGracefully_Call
- func (_e *MockAPI_Expecter) CreateUploadSession(us interface{}) *MockAPI_CreateUploadSession_Call
- func (_e *MockAPI_Expecter) CreateUser(user interface{}) *MockAPI_CreateUser_Call
- func (_e *MockAPI_Expecter) CreateUserAccessToken(token interface{}) *MockAPI_CreateUserAccessToken_Call
- func (_e *MockAPI_Expecter) DeleteChannel(channelId interface{}) *MockAPI_DeleteChannel_Call
- func (_e *MockAPI_Expecter) DeleteChannelMember(channelId interface{}, userID interface{}) *MockAPI_DeleteChannelMember_Call
- func (_e *MockAPI_Expecter) DeleteCommand(commandID interface{}) *MockAPI_DeleteCommand_Call
- func (_e *MockAPI_Expecter) DeleteEphemeralPost(userID interface{}, postId interface{}) *MockAPI_DeleteEphemeralPost_Call
- func (_e *MockAPI_Expecter) DeleteOAuthApp(appID interface{}) *MockAPI_DeleteOAuthApp_Call
- func (_e *MockAPI_Expecter) DeletePost(postId interface{}) *MockAPI_DeletePost_Call
- func (_e *MockAPI_Expecter) DeletePreferencesForUser(userID interface{}, preferences interface{}) *MockAPI_DeletePreferencesForUser_Call
- func (_e *MockAPI_Expecter) DeleteTeam(teamID interface{}) *MockAPI_DeleteTeam_Call
- func (_e *MockAPI_Expecter) DeleteTeamMember(teamID interface{}, userID interface{}, requestorId interface{}) *MockAPI_DeleteTeamMember_Call
- func (_e *MockAPI_Expecter) DeleteUser(userID interface{}) *MockAPI_DeleteUser_Call
- func (_e *MockAPI_Expecter) DisablePlugin(id interface{}) *MockAPI_DisablePlugin_Call
- func (_e *MockAPI_Expecter) EnablePlugin(id interface{}) *MockAPI_EnablePlugin_Call
- func (_e *MockAPI_Expecter) EnsureBotUser(bot interface{}) *MockAPI_EnsureBotUser_Call
- func (_e *MockAPI_Expecter) ExecuteSlashCommand(commandArgs interface{}) *MockAPI_ExecuteSlashCommand_Call
- func (_e *MockAPI_Expecter) ExtendSessionExpiry(sessionID interface{}, newExpiry interface{}) *MockAPI_ExtendSessionExpiry_Call
- func (_e *MockAPI_Expecter) GetBot(botUserId interface{}, includeDeleted interface{}) *MockAPI_GetBot_Call
- func (_e *MockAPI_Expecter) GetBots(options interface{}) *MockAPI_GetBots_Call
- func (_e *MockAPI_Expecter) GetBundlePath() *MockAPI_GetBundlePath_Call
- func (_e *MockAPI_Expecter) GetChannel(channelId interface{}) *MockAPI_GetChannel_Call
- func (_e *MockAPI_Expecter) GetChannelByName(teamID interface{}, name interface{}, includeDeleted interface{}) *MockAPI_GetChannelByName_Call
- func (_e *MockAPI_Expecter) GetChannelByNameForTeamName(teamName interface{}, channelName interface{}, includeDeleted interface{}) *MockAPI_GetChannelByNameForTeamName_Call
- func (_e *MockAPI_Expecter) GetChannelMember(channelId interface{}, userID interface{}) *MockAPI_GetChannelMember_Call
- func (_e *MockAPI_Expecter) GetChannelMembers(channelId interface{}, page interface{}, perPage interface{}) *MockAPI_GetChannelMembers_Call
- func (_e *MockAPI_Expecter) GetChannelMembersByIds(channelId interface{}, userIds interface{}) *MockAPI_GetChannelMembersByIds_Call
- func (_e *MockAPI_Expecter) GetChannelMembersForUser(teamID interface{}, userID interface{}, page interface{}, perPage interface{}) *MockAPI_GetChannelMembersForUser_Call
- func (_e *MockAPI_Expecter) GetChannelSidebarCategories(userID interface{}, teamID interface{}) *MockAPI_GetChannelSidebarCategories_Call
- func (_e *MockAPI_Expecter) GetChannelStats(channelId interface{}) *MockAPI_GetChannelStats_Call
- func (_e *MockAPI_Expecter) GetChannelsForTeamForUser(teamID interface{}, userID interface{}, includeDeleted interface{}) *MockAPI_GetChannelsForTeamForUser_Call
- func (_e *MockAPI_Expecter) GetCloudLimits() *MockAPI_GetCloudLimits_Call
- func (_e *MockAPI_Expecter) GetCommand(commandID interface{}) *MockAPI_GetCommand_Call
- func (_e *MockAPI_Expecter) GetConfig() *MockAPI_GetConfig_Call
- func (_e *MockAPI_Expecter) GetDiagnosticId() *MockAPI_GetDiagnosticId_Call
- func (_e *MockAPI_Expecter) GetDirectChannel(userId1 interface{}, userId2 interface{}) *MockAPI_GetDirectChannel_Call
- func (_e *MockAPI_Expecter) GetEmoji(emojiId interface{}) *MockAPI_GetEmoji_Call
- func (_e *MockAPI_Expecter) GetEmojiByName(name interface{}) *MockAPI_GetEmojiByName_Call
- func (_e *MockAPI_Expecter) GetEmojiImage(emojiId interface{}) *MockAPI_GetEmojiImage_Call
- func (_e *MockAPI_Expecter) GetEmojiList(sortBy interface{}, page interface{}, perPage interface{}) *MockAPI_GetEmojiList_Call
- func (_e *MockAPI_Expecter) GetFile(fileId interface{}) *MockAPI_GetFile_Call
- func (_e *MockAPI_Expecter) GetFileInfo(fileId interface{}) *MockAPI_GetFileInfo_Call
- func (_e *MockAPI_Expecter) GetFileInfos(page interface{}, perPage interface{}, opt interface{}) *MockAPI_GetFileInfos_Call
- func (_e *MockAPI_Expecter) GetFileLink(fileId interface{}) *MockAPI_GetFileLink_Call
- func (_e *MockAPI_Expecter) GetGroup(groupId interface{}) *MockAPI_GetGroup_Call
- func (_e *MockAPI_Expecter) GetGroupByName(name interface{}) *MockAPI_GetGroupByName_Call
- func (_e *MockAPI_Expecter) GetGroupChannel(userIds interface{}) *MockAPI_GetGroupChannel_Call
- func (_e *MockAPI_Expecter) GetGroupMemberUsers(groupID interface{}, page interface{}, perPage interface{}) *MockAPI_GetGroupMemberUsers_Call
- func (_e *MockAPI_Expecter) GetGroupsBySource(groupSource interface{}) *MockAPI_GetGroupsBySource_Call
- func (_e *MockAPI_Expecter) GetGroupsForUser(userID interface{}) *MockAPI_GetGroupsForUser_Call
- func (_e *MockAPI_Expecter) GetLDAPUserAttributes(userID interface{}, attributes interface{}) *MockAPI_GetLDAPUserAttributes_Call
- func (_e *MockAPI_Expecter) GetLicense() *MockAPI_GetLicense_Call
- func (_e *MockAPI_Expecter) GetOAuthApp(appID interface{}) *MockAPI_GetOAuthApp_Call
- func (_e *MockAPI_Expecter) GetPluginConfig() *MockAPI_GetPluginConfig_Call
- func (_e *MockAPI_Expecter) GetPluginStatus(id interface{}) *MockAPI_GetPluginStatus_Call
- func (_e *MockAPI_Expecter) GetPlugins() *MockAPI_GetPlugins_Call
- func (_e *MockAPI_Expecter) GetPost(postId interface{}) *MockAPI_GetPost_Call
- func (_e *MockAPI_Expecter) GetPostThread(postId interface{}) *MockAPI_GetPostThread_Call
- func (_e *MockAPI_Expecter) GetPostsAfter(channelId interface{}, postId interface{}, page interface{}, ...) *MockAPI_GetPostsAfter_Call
- func (_e *MockAPI_Expecter) GetPostsBefore(channelId interface{}, postId interface{}, page interface{}, ...) *MockAPI_GetPostsBefore_Call
- func (_e *MockAPI_Expecter) GetPostsForChannel(channelId interface{}, page interface{}, perPage interface{}) *MockAPI_GetPostsForChannel_Call
- func (_e *MockAPI_Expecter) GetPostsSince(channelId interface{}, time interface{}) *MockAPI_GetPostsSince_Call
- func (_e *MockAPI_Expecter) GetPreferencesForUser(userID interface{}) *MockAPI_GetPreferencesForUser_Call
- func (_e *MockAPI_Expecter) GetProfileImage(userID interface{}) *MockAPI_GetProfileImage_Call
- func (_e *MockAPI_Expecter) GetPublicChannelsForTeam(teamID interface{}, page interface{}, perPage interface{}) *MockAPI_GetPublicChannelsForTeam_Call
- func (_e *MockAPI_Expecter) GetReactions(postId interface{}) *MockAPI_GetReactions_Call
- func (_e *MockAPI_Expecter) GetServerVersion() *MockAPI_GetServerVersion_Call
- func (_e *MockAPI_Expecter) GetSession(sessionID interface{}) *MockAPI_GetSession_Call
- func (_e *MockAPI_Expecter) GetSystemInstallDate() *MockAPI_GetSystemInstallDate_Call
- func (_e *MockAPI_Expecter) GetTeam(teamID interface{}) *MockAPI_GetTeam_Call
- func (_e *MockAPI_Expecter) GetTeamByName(name interface{}) *MockAPI_GetTeamByName_Call
- func (_e *MockAPI_Expecter) GetTeamIcon(teamID interface{}) *MockAPI_GetTeamIcon_Call
- func (_e *MockAPI_Expecter) GetTeamMember(teamID interface{}, userID interface{}) *MockAPI_GetTeamMember_Call
- func (_e *MockAPI_Expecter) GetTeamMembers(teamID interface{}, page interface{}, perPage interface{}) *MockAPI_GetTeamMembers_Call
- func (_e *MockAPI_Expecter) GetTeamMembersForUser(userID interface{}, page interface{}, perPage interface{}) *MockAPI_GetTeamMembersForUser_Call
- func (_e *MockAPI_Expecter) GetTeamStats(teamID interface{}) *MockAPI_GetTeamStats_Call
- func (_e *MockAPI_Expecter) GetTeams() *MockAPI_GetTeams_Call
- func (_e *MockAPI_Expecter) GetTeamsForUser(userID interface{}) *MockAPI_GetTeamsForUser_Call
- func (_e *MockAPI_Expecter) GetTeamsUnreadForUser(userID interface{}) *MockAPI_GetTeamsUnreadForUser_Call
- func (_e *MockAPI_Expecter) GetTelemetryId() *MockAPI_GetTelemetryId_Call
- func (_e *MockAPI_Expecter) GetUnsanitizedConfig() *MockAPI_GetUnsanitizedConfig_Call
- func (_e *MockAPI_Expecter) GetUploadSession(uploadID interface{}) *MockAPI_GetUploadSession_Call
- func (_e *MockAPI_Expecter) GetUser(userID interface{}) *MockAPI_GetUser_Call
- func (_e *MockAPI_Expecter) GetUserByEmail(email interface{}) *MockAPI_GetUserByEmail_Call
- func (_e *MockAPI_Expecter) GetUserByUsername(name interface{}) *MockAPI_GetUserByUsername_Call
- func (_e *MockAPI_Expecter) GetUserStatus(userID interface{}) *MockAPI_GetUserStatus_Call
- func (_e *MockAPI_Expecter) GetUserStatusesByIds(userIds interface{}) *MockAPI_GetUserStatusesByIds_Call
- func (_e *MockAPI_Expecter) GetUsers(options interface{}) *MockAPI_GetUsers_Call
- func (_e *MockAPI_Expecter) GetUsersByUsernames(usernames interface{}) *MockAPI_GetUsersByUsernames_Call
- func (_e *MockAPI_Expecter) GetUsersInChannel(channelID interface{}, sortBy interface{}, page interface{}, ...) *MockAPI_GetUsersInChannel_Call
- func (_e *MockAPI_Expecter) GetUsersInTeam(teamID interface{}, page interface{}, perPage interface{}) *MockAPI_GetUsersInTeam_Call
- func (_e *MockAPI_Expecter) HasPermissionTo(userID interface{}, permission interface{}) *MockAPI_HasPermissionTo_Call
- func (_e *MockAPI_Expecter) HasPermissionToChannel(userID interface{}, channelId interface{}, permission interface{}) *MockAPI_HasPermissionToChannel_Call
- func (_e *MockAPI_Expecter) HasPermissionToTeam(userID interface{}, teamID interface{}, permission interface{}) *MockAPI_HasPermissionToTeam_Call
- func (_e *MockAPI_Expecter) InstallPlugin(file interface{}, replace interface{}) *MockAPI_InstallPlugin_Call
- func (_e *MockAPI_Expecter) IsEnterpriseReady() *MockAPI_IsEnterpriseReady_Call
- func (_e *MockAPI_Expecter) KVCompareAndDelete(key interface{}, oldValue interface{}) *MockAPI_KVCompareAndDelete_Call
- func (_e *MockAPI_Expecter) KVCompareAndSet(key interface{}, oldValue interface{}, newValue interface{}) *MockAPI_KVCompareAndSet_Call
- func (_e *MockAPI_Expecter) KVDelete(key interface{}) *MockAPI_KVDelete_Call
- func (_e *MockAPI_Expecter) KVDeleteAll() *MockAPI_KVDeleteAll_Call
- func (_e *MockAPI_Expecter) KVGet(key interface{}) *MockAPI_KVGet_Call
- func (_e *MockAPI_Expecter) KVList(page interface{}, perPage interface{}) *MockAPI_KVList_Call
- func (_e *MockAPI_Expecter) KVSet(key interface{}, value interface{}) *MockAPI_KVSet_Call
- func (_e *MockAPI_Expecter) KVSetWithExpiry(key interface{}, value interface{}, expireInSeconds interface{}) *MockAPI_KVSetWithExpiry_Call
- func (_e *MockAPI_Expecter) KVSetWithOptions(key interface{}, value interface{}, options interface{}) *MockAPI_KVSetWithOptions_Call
- func (_e *MockAPI_Expecter) ListBuiltInCommands() *MockAPI_ListBuiltInCommands_Call
- func (_e *MockAPI_Expecter) ListCommands(teamID interface{}) *MockAPI_ListCommands_Call
- func (_e *MockAPI_Expecter) ListCustomCommands(teamID interface{}) *MockAPI_ListCustomCommands_Call
- func (_e *MockAPI_Expecter) ListPluginCommands(teamID interface{}) *MockAPI_ListPluginCommands_Call
- func (_e *MockAPI_Expecter) LoadPluginConfiguration(dest interface{}) *MockAPI_LoadPluginConfiguration_Call
- func (_e *MockAPI_Expecter) LogDebug(msg interface{}, keyValuePairs ...interface{}) *MockAPI_LogDebug_Call
- func (_e *MockAPI_Expecter) LogError(msg interface{}, keyValuePairs ...interface{}) *MockAPI_LogError_Call
- func (_e *MockAPI_Expecter) LogInfo(msg interface{}, keyValuePairs ...interface{}) *MockAPI_LogInfo_Call
- func (_e *MockAPI_Expecter) LogWarn(msg interface{}, keyValuePairs ...interface{}) *MockAPI_LogWarn_Call
- func (_e *MockAPI_Expecter) OpenInteractiveDialog(dialog interface{}) *MockAPI_OpenInteractiveDialog_Call
- func (_e *MockAPI_Expecter) PatchBot(botUserId interface{}, botPatch interface{}) *MockAPI_PatchBot_Call
- func (_e *MockAPI_Expecter) PermanentDeleteBot(botUserId interface{}) *MockAPI_PermanentDeleteBot_Call
- func (_e *MockAPI_Expecter) PluginHTTP(request interface{}) *MockAPI_PluginHTTP_Call
- func (_e *MockAPI_Expecter) PublishPluginClusterEvent(ev interface{}, opts interface{}) *MockAPI_PublishPluginClusterEvent_Call
- func (_e *MockAPI_Expecter) PublishUserTyping(userID interface{}, channelId interface{}, parentId interface{}) *MockAPI_PublishUserTyping_Call
- func (_e *MockAPI_Expecter) PublishWebSocketEvent(event interface{}, payload interface{}, broadcast interface{}) *MockAPI_PublishWebSocketEvent_Call
- func (_e *MockAPI_Expecter) ReadFile(path interface{}) *MockAPI_ReadFile_Call
- func (_e *MockAPI_Expecter) RegisterCollectionAndTopic(collectionType interface{}, topicType interface{}) *MockAPI_RegisterCollectionAndTopic_Call
- func (_e *MockAPI_Expecter) RegisterCommand(command interface{}) *MockAPI_RegisterCommand_Call
- func (_e *MockAPI_Expecter) RemovePlugin(id interface{}) *MockAPI_RemovePlugin_Call
- func (_e *MockAPI_Expecter) RemoveReaction(reaction interface{}) *MockAPI_RemoveReaction_Call
- func (_e *MockAPI_Expecter) RemoveTeamIcon(teamID interface{}) *MockAPI_RemoveTeamIcon_Call
- func (_e *MockAPI_Expecter) RemoveUserCustomStatus(userID interface{}) *MockAPI_RemoveUserCustomStatus_Call
- func (_e *MockAPI_Expecter) RequestTrialLicense(requesterID interface{}, users interface{}, termsAccepted interface{}, ...) *MockAPI_RequestTrialLicense_Call
- func (_e *MockAPI_Expecter) RevokeSession(sessionID interface{}) *MockAPI_RevokeSession_Call
- func (_e *MockAPI_Expecter) RevokeUserAccessToken(tokenID interface{}) *MockAPI_RevokeUserAccessToken_Call
- func (_e *MockAPI_Expecter) RolesGrantPermission(roleNames interface{}, permissionId interface{}) *MockAPI_RolesGrantPermission_Call
- func (_e *MockAPI_Expecter) SaveConfig(config interface{}) *MockAPI_SaveConfig_Call
- func (_e *MockAPI_Expecter) SavePluginConfig(config interface{}) *MockAPI_SavePluginConfig_Call
- func (_e *MockAPI_Expecter) SearchChannels(teamID interface{}, term interface{}) *MockAPI_SearchChannels_Call
- func (_e *MockAPI_Expecter) SearchPostsInTeam(teamID interface{}, paramsList interface{}) *MockAPI_SearchPostsInTeam_Call
- func (_e *MockAPI_Expecter) SearchPostsInTeamForUser(teamID interface{}, userID interface{}, searchParams interface{}) *MockAPI_SearchPostsInTeamForUser_Call
- func (_e *MockAPI_Expecter) SearchTeams(term interface{}) *MockAPI_SearchTeams_Call
- func (_e *MockAPI_Expecter) SearchUsers(search interface{}) *MockAPI_SearchUsers_Call
- func (_e *MockAPI_Expecter) SendEphemeralPost(userID interface{}, post interface{}) *MockAPI_SendEphemeralPost_Call
- func (_e *MockAPI_Expecter) SendMail(to interface{}, subject interface{}, htmlBody interface{}) *MockAPI_SendMail_Call
- func (_e *MockAPI_Expecter) SendPushNotification(notification interface{}, userID interface{}) *MockAPI_SendPushNotification_Call
- func (_e *MockAPI_Expecter) SetFileSearchableContent(fileID interface{}, content interface{}) *MockAPI_SetFileSearchableContent_Call
- func (_e *MockAPI_Expecter) SetProfileImage(userID interface{}, data interface{}) *MockAPI_SetProfileImage_Call
- func (_e *MockAPI_Expecter) SetTeamIcon(teamID interface{}, data interface{}) *MockAPI_SetTeamIcon_Call
- func (_e *MockAPI_Expecter) SetUserStatusTimedDND(userId interface{}, endtime interface{}) *MockAPI_SetUserStatusTimedDND_Call
- func (_e *MockAPI_Expecter) UnregisterCommand(teamID interface{}, trigger interface{}) *MockAPI_UnregisterCommand_Call
- func (_e *MockAPI_Expecter) UpdateBotActive(botUserId interface{}, active interface{}) *MockAPI_UpdateBotActive_Call
- func (_e *MockAPI_Expecter) UpdateChannel(channel interface{}) *MockAPI_UpdateChannel_Call
- func (_e *MockAPI_Expecter) UpdateChannelMemberNotifications(channelId interface{}, userID interface{}, notifications interface{}) *MockAPI_UpdateChannelMemberNotifications_Call
- func (_e *MockAPI_Expecter) UpdateChannelMemberRoles(channelId interface{}, userID interface{}, newRoles interface{}) *MockAPI_UpdateChannelMemberRoles_Call
- func (_e *MockAPI_Expecter) UpdateChannelSidebarCategories(userID interface{}, teamID interface{}, categories interface{}) *MockAPI_UpdateChannelSidebarCategories_Call
- func (_e *MockAPI_Expecter) UpdateCommand(commandID interface{}, updatedCmd interface{}) *MockAPI_UpdateCommand_Call
- func (_e *MockAPI_Expecter) UpdateEphemeralPost(userID interface{}, post interface{}) *MockAPI_UpdateEphemeralPost_Call
- func (_e *MockAPI_Expecter) UpdateOAuthApp(app interface{}) *MockAPI_UpdateOAuthApp_Call
- func (_e *MockAPI_Expecter) UpdatePost(post interface{}) *MockAPI_UpdatePost_Call
- func (_e *MockAPI_Expecter) UpdatePreferencesForUser(userID interface{}, preferences interface{}) *MockAPI_UpdatePreferencesForUser_Call
- func (_e *MockAPI_Expecter) UpdateTeam(team interface{}) *MockAPI_UpdateTeam_Call
- func (_e *MockAPI_Expecter) UpdateTeamMemberRoles(teamID interface{}, userID interface{}, newRoles interface{}) *MockAPI_UpdateTeamMemberRoles_Call
- func (_e *MockAPI_Expecter) UpdateUser(user interface{}) *MockAPI_UpdateUser_Call
- func (_e *MockAPI_Expecter) UpdateUserActive(userID interface{}, active interface{}) *MockAPI_UpdateUserActive_Call
- func (_e *MockAPI_Expecter) UpdateUserAuth(userID interface{}, userAuth interface{}) *MockAPI_UpdateUserAuth_Call
- func (_e *MockAPI_Expecter) UpdateUserCustomStatus(userID interface{}, customStatus interface{}) *MockAPI_UpdateUserCustomStatus_Call
- func (_e *MockAPI_Expecter) UpdateUserStatus(userID interface{}, status interface{}) *MockAPI_UpdateUserStatus_Call
- func (_e *MockAPI_Expecter) UploadData(us interface{}, rd interface{}) *MockAPI_UploadData_Call
- func (_e *MockAPI_Expecter) UploadFile(data interface{}, channelId interface{}, filename interface{}) *MockAPI_UploadFile_Call
- type MockAPI_ExtendSessionExpiry_Call
- func (_c *MockAPI_ExtendSessionExpiry_Call) Return(_a0 *model.AppError) *MockAPI_ExtendSessionExpiry_Call
- func (_c *MockAPI_ExtendSessionExpiry_Call) Run(run func(sessionID string, newExpiry int64)) *MockAPI_ExtendSessionExpiry_Call
- func (_c *MockAPI_ExtendSessionExpiry_Call) RunAndReturn(run func(string, int64) *model.AppError) *MockAPI_ExtendSessionExpiry_Call
- type MockAPI_GetBot_Call
- func (_c *MockAPI_GetBot_Call) Return(_a0 *model.Bot, _a1 *model.AppError) *MockAPI_GetBot_Call
- func (_c *MockAPI_GetBot_Call) Run(run func(botUserId string, includeDeleted bool)) *MockAPI_GetBot_Call
- func (_c *MockAPI_GetBot_Call) RunAndReturn(run func(string, bool) (*model.Bot, *model.AppError)) *MockAPI_GetBot_Call
- type MockAPI_GetBots_Call
- func (_c *MockAPI_GetBots_Call) Return(_a0 []*model.Bot, _a1 *model.AppError) *MockAPI_GetBots_Call
- func (_c *MockAPI_GetBots_Call) Run(run func(options *model.BotGetOptions)) *MockAPI_GetBots_Call
- func (_c *MockAPI_GetBots_Call) RunAndReturn(run func(*model.BotGetOptions) ([]*model.Bot, *model.AppError)) *MockAPI_GetBots_Call
- type MockAPI_GetBundlePath_Call
- type MockAPI_GetChannelByNameForTeamName_Call
- func (_c *MockAPI_GetChannelByNameForTeamName_Call) Return(_a0 *model.Channel, _a1 *model.AppError) *MockAPI_GetChannelByNameForTeamName_Call
- func (_c *MockAPI_GetChannelByNameForTeamName_Call) Run(run func(teamName string, channelName string, includeDeleted bool)) *MockAPI_GetChannelByNameForTeamName_Call
- func (_c *MockAPI_GetChannelByNameForTeamName_Call) RunAndReturn(run func(string, string, bool) (*model.Channel, *model.AppError)) *MockAPI_GetChannelByNameForTeamName_Call
- type MockAPI_GetChannelByName_Call
- func (_c *MockAPI_GetChannelByName_Call) Return(_a0 *model.Channel, _a1 *model.AppError) *MockAPI_GetChannelByName_Call
- func (_c *MockAPI_GetChannelByName_Call) Run(run func(teamID string, name string, includeDeleted bool)) *MockAPI_GetChannelByName_Call
- func (_c *MockAPI_GetChannelByName_Call) RunAndReturn(run func(string, string, bool) (*model.Channel, *model.AppError)) *MockAPI_GetChannelByName_Call
- type MockAPI_GetChannelMember_Call
- func (_c *MockAPI_GetChannelMember_Call) Return(_a0 *model.ChannelMember, _a1 *model.AppError) *MockAPI_GetChannelMember_Call
- func (_c *MockAPI_GetChannelMember_Call) Run(run func(channelId string, userID string)) *MockAPI_GetChannelMember_Call
- func (_c *MockAPI_GetChannelMember_Call) RunAndReturn(run func(string, string) (*model.ChannelMember, *model.AppError)) *MockAPI_GetChannelMember_Call
- type MockAPI_GetChannelMembersByIds_Call
- func (_c *MockAPI_GetChannelMembersByIds_Call) Return(_a0 model.ChannelMembers, _a1 *model.AppError) *MockAPI_GetChannelMembersByIds_Call
- func (_c *MockAPI_GetChannelMembersByIds_Call) Run(run func(channelId string, userIds []string)) *MockAPI_GetChannelMembersByIds_Call
- func (_c *MockAPI_GetChannelMembersByIds_Call) RunAndReturn(run func(string, []string) (model.ChannelMembers, *model.AppError)) *MockAPI_GetChannelMembersByIds_Call
- type MockAPI_GetChannelMembersForUser_Call
- func (_c *MockAPI_GetChannelMembersForUser_Call) Return(_a0 []*model.ChannelMember, _a1 *model.AppError) *MockAPI_GetChannelMembersForUser_Call
- func (_c *MockAPI_GetChannelMembersForUser_Call) Run(run func(teamID string, userID string, page int, perPage int)) *MockAPI_GetChannelMembersForUser_Call
- func (_c *MockAPI_GetChannelMembersForUser_Call) RunAndReturn(run func(string, string, int, int) ([]*model.ChannelMember, *model.AppError)) *MockAPI_GetChannelMembersForUser_Call
- type MockAPI_GetChannelMembers_Call
- func (_c *MockAPI_GetChannelMembers_Call) Return(_a0 model.ChannelMembers, _a1 *model.AppError) *MockAPI_GetChannelMembers_Call
- func (_c *MockAPI_GetChannelMembers_Call) Run(run func(channelId string, page int, perPage int)) *MockAPI_GetChannelMembers_Call
- func (_c *MockAPI_GetChannelMembers_Call) RunAndReturn(run func(string, int, int) (model.ChannelMembers, *model.AppError)) *MockAPI_GetChannelMembers_Call
- type MockAPI_GetChannelSidebarCategories_Call
- func (_c *MockAPI_GetChannelSidebarCategories_Call) Return(_a0 *model.OrderedSidebarCategories, _a1 *model.AppError) *MockAPI_GetChannelSidebarCategories_Call
- func (_c *MockAPI_GetChannelSidebarCategories_Call) Run(run func(userID string, teamID string)) *MockAPI_GetChannelSidebarCategories_Call
- func (_c *MockAPI_GetChannelSidebarCategories_Call) RunAndReturn(run func(string, string) (*model.OrderedSidebarCategories, *model.AppError)) *MockAPI_GetChannelSidebarCategories_Call
- type MockAPI_GetChannelStats_Call
- func (_c *MockAPI_GetChannelStats_Call) Return(_a0 *model.ChannelStats, _a1 *model.AppError) *MockAPI_GetChannelStats_Call
- func (_c *MockAPI_GetChannelStats_Call) Run(run func(channelId string)) *MockAPI_GetChannelStats_Call
- func (_c *MockAPI_GetChannelStats_Call) RunAndReturn(run func(string) (*model.ChannelStats, *model.AppError)) *MockAPI_GetChannelStats_Call
- type MockAPI_GetChannel_Call
- func (_c *MockAPI_GetChannel_Call) Return(_a0 *model.Channel, _a1 *model.AppError) *MockAPI_GetChannel_Call
- func (_c *MockAPI_GetChannel_Call) Run(run func(channelId string)) *MockAPI_GetChannel_Call
- func (_c *MockAPI_GetChannel_Call) RunAndReturn(run func(string) (*model.Channel, *model.AppError)) *MockAPI_GetChannel_Call
- type MockAPI_GetChannelsForTeamForUser_Call
- func (_c *MockAPI_GetChannelsForTeamForUser_Call) Return(_a0 []*model.Channel, _a1 *model.AppError) *MockAPI_GetChannelsForTeamForUser_Call
- func (_c *MockAPI_GetChannelsForTeamForUser_Call) Run(run func(teamID string, userID string, includeDeleted bool)) *MockAPI_GetChannelsForTeamForUser_Call
- func (_c *MockAPI_GetChannelsForTeamForUser_Call) RunAndReturn(run func(string, string, bool) ([]*model.Channel, *model.AppError)) *MockAPI_GetChannelsForTeamForUser_Call
- type MockAPI_GetCloudLimits_Call
- func (_c *MockAPI_GetCloudLimits_Call) Return(_a0 *model.ProductLimits, _a1 error) *MockAPI_GetCloudLimits_Call
- func (_c *MockAPI_GetCloudLimits_Call) Run(run func()) *MockAPI_GetCloudLimits_Call
- func (_c *MockAPI_GetCloudLimits_Call) RunAndReturn(run func() (*model.ProductLimits, error)) *MockAPI_GetCloudLimits_Call
- type MockAPI_GetCommand_Call
- func (_c *MockAPI_GetCommand_Call) Return(_a0 *model.Command, _a1 error) *MockAPI_GetCommand_Call
- func (_c *MockAPI_GetCommand_Call) Run(run func(commandID string)) *MockAPI_GetCommand_Call
- func (_c *MockAPI_GetCommand_Call) RunAndReturn(run func(string) (*model.Command, error)) *MockAPI_GetCommand_Call
- type MockAPI_GetConfig_Call
- type MockAPI_GetDiagnosticId_Call
- type MockAPI_GetDirectChannel_Call
- func (_c *MockAPI_GetDirectChannel_Call) Return(_a0 *model.Channel, _a1 *model.AppError) *MockAPI_GetDirectChannel_Call
- func (_c *MockAPI_GetDirectChannel_Call) Run(run func(userId1 string, userId2 string)) *MockAPI_GetDirectChannel_Call
- func (_c *MockAPI_GetDirectChannel_Call) RunAndReturn(run func(string, string) (*model.Channel, *model.AppError)) *MockAPI_GetDirectChannel_Call
- type MockAPI_GetEmojiByName_Call
- func (_c *MockAPI_GetEmojiByName_Call) Return(_a0 *model.Emoji, _a1 *model.AppError) *MockAPI_GetEmojiByName_Call
- func (_c *MockAPI_GetEmojiByName_Call) Run(run func(name string)) *MockAPI_GetEmojiByName_Call
- func (_c *MockAPI_GetEmojiByName_Call) RunAndReturn(run func(string) (*model.Emoji, *model.AppError)) *MockAPI_GetEmojiByName_Call
- type MockAPI_GetEmojiImage_Call
- func (_c *MockAPI_GetEmojiImage_Call) Return(_a0 []byte, _a1 string, _a2 *model.AppError) *MockAPI_GetEmojiImage_Call
- func (_c *MockAPI_GetEmojiImage_Call) Run(run func(emojiId string)) *MockAPI_GetEmojiImage_Call
- func (_c *MockAPI_GetEmojiImage_Call) RunAndReturn(run func(string) ([]byte, string, *model.AppError)) *MockAPI_GetEmojiImage_Call
- type MockAPI_GetEmojiList_Call
- func (_c *MockAPI_GetEmojiList_Call) Return(_a0 []*model.Emoji, _a1 *model.AppError) *MockAPI_GetEmojiList_Call
- func (_c *MockAPI_GetEmojiList_Call) Run(run func(sortBy string, page int, perPage int)) *MockAPI_GetEmojiList_Call
- func (_c *MockAPI_GetEmojiList_Call) RunAndReturn(run func(string, int, int) ([]*model.Emoji, *model.AppError)) *MockAPI_GetEmojiList_Call
- type MockAPI_GetEmoji_Call
- func (_c *MockAPI_GetEmoji_Call) Return(_a0 *model.Emoji, _a1 *model.AppError) *MockAPI_GetEmoji_Call
- func (_c *MockAPI_GetEmoji_Call) Run(run func(emojiId string)) *MockAPI_GetEmoji_Call
- func (_c *MockAPI_GetEmoji_Call) RunAndReturn(run func(string) (*model.Emoji, *model.AppError)) *MockAPI_GetEmoji_Call
- type MockAPI_GetFileInfo_Call
- func (_c *MockAPI_GetFileInfo_Call) Return(_a0 *model.FileInfo, _a1 *model.AppError) *MockAPI_GetFileInfo_Call
- func (_c *MockAPI_GetFileInfo_Call) Run(run func(fileId string)) *MockAPI_GetFileInfo_Call
- func (_c *MockAPI_GetFileInfo_Call) RunAndReturn(run func(string) (*model.FileInfo, *model.AppError)) *MockAPI_GetFileInfo_Call
- type MockAPI_GetFileInfos_Call
- func (_c *MockAPI_GetFileInfos_Call) Return(_a0 []*model.FileInfo, _a1 *model.AppError) *MockAPI_GetFileInfos_Call
- func (_c *MockAPI_GetFileInfos_Call) Run(run func(page int, perPage int, opt *model.GetFileInfosOptions)) *MockAPI_GetFileInfos_Call
- func (_c *MockAPI_GetFileInfos_Call) RunAndReturn(...) *MockAPI_GetFileInfos_Call
- type MockAPI_GetFileLink_Call
- func (_c *MockAPI_GetFileLink_Call) Return(_a0 string, _a1 *model.AppError) *MockAPI_GetFileLink_Call
- func (_c *MockAPI_GetFileLink_Call) Run(run func(fileId string)) *MockAPI_GetFileLink_Call
- func (_c *MockAPI_GetFileLink_Call) RunAndReturn(run func(string) (string, *model.AppError)) *MockAPI_GetFileLink_Call
- type MockAPI_GetFile_Call
- type MockAPI_GetGroupByName_Call
- func (_c *MockAPI_GetGroupByName_Call) Return(_a0 *model.Group, _a1 *model.AppError) *MockAPI_GetGroupByName_Call
- func (_c *MockAPI_GetGroupByName_Call) Run(run func(name string)) *MockAPI_GetGroupByName_Call
- func (_c *MockAPI_GetGroupByName_Call) RunAndReturn(run func(string) (*model.Group, *model.AppError)) *MockAPI_GetGroupByName_Call
- type MockAPI_GetGroupChannel_Call
- func (_c *MockAPI_GetGroupChannel_Call) Return(_a0 *model.Channel, _a1 *model.AppError) *MockAPI_GetGroupChannel_Call
- func (_c *MockAPI_GetGroupChannel_Call) Run(run func(userIds []string)) *MockAPI_GetGroupChannel_Call
- func (_c *MockAPI_GetGroupChannel_Call) RunAndReturn(run func([]string) (*model.Channel, *model.AppError)) *MockAPI_GetGroupChannel_Call
- type MockAPI_GetGroupMemberUsers_Call
- func (_c *MockAPI_GetGroupMemberUsers_Call) Return(_a0 []*model.User, _a1 *model.AppError) *MockAPI_GetGroupMemberUsers_Call
- func (_c *MockAPI_GetGroupMemberUsers_Call) Run(run func(groupID string, page int, perPage int)) *MockAPI_GetGroupMemberUsers_Call
- func (_c *MockAPI_GetGroupMemberUsers_Call) RunAndReturn(run func(string, int, int) ([]*model.User, *model.AppError)) *MockAPI_GetGroupMemberUsers_Call
- type MockAPI_GetGroup_Call
- func (_c *MockAPI_GetGroup_Call) Return(_a0 *model.Group, _a1 *model.AppError) *MockAPI_GetGroup_Call
- func (_c *MockAPI_GetGroup_Call) Run(run func(groupId string)) *MockAPI_GetGroup_Call
- func (_c *MockAPI_GetGroup_Call) RunAndReturn(run func(string) (*model.Group, *model.AppError)) *MockAPI_GetGroup_Call
- type MockAPI_GetGroupsBySource_Call
- func (_c *MockAPI_GetGroupsBySource_Call) Return(_a0 []*model.Group, _a1 *model.AppError) *MockAPI_GetGroupsBySource_Call
- func (_c *MockAPI_GetGroupsBySource_Call) Run(run func(groupSource model.GroupSource)) *MockAPI_GetGroupsBySource_Call
- func (_c *MockAPI_GetGroupsBySource_Call) RunAndReturn(run func(model.GroupSource) ([]*model.Group, *model.AppError)) *MockAPI_GetGroupsBySource_Call
- type MockAPI_GetGroupsForUser_Call
- func (_c *MockAPI_GetGroupsForUser_Call) Return(_a0 []*model.Group, _a1 *model.AppError) *MockAPI_GetGroupsForUser_Call
- func (_c *MockAPI_GetGroupsForUser_Call) Run(run func(userID string)) *MockAPI_GetGroupsForUser_Call
- func (_c *MockAPI_GetGroupsForUser_Call) RunAndReturn(run func(string) ([]*model.Group, *model.AppError)) *MockAPI_GetGroupsForUser_Call
- type MockAPI_GetLDAPUserAttributes_Call
- func (_c *MockAPI_GetLDAPUserAttributes_Call) Return(_a0 map[string]string, _a1 *model.AppError) *MockAPI_GetLDAPUserAttributes_Call
- func (_c *MockAPI_GetLDAPUserAttributes_Call) Run(run func(userID string, attributes []string)) *MockAPI_GetLDAPUserAttributes_Call
- func (_c *MockAPI_GetLDAPUserAttributes_Call) RunAndReturn(run func(string, []string) (map[string]string, *model.AppError)) *MockAPI_GetLDAPUserAttributes_Call
- type MockAPI_GetLicense_Call
- type MockAPI_GetOAuthApp_Call
- func (_c *MockAPI_GetOAuthApp_Call) Return(_a0 *model.OAuthApp, _a1 *model.AppError) *MockAPI_GetOAuthApp_Call
- func (_c *MockAPI_GetOAuthApp_Call) Run(run func(appID string)) *MockAPI_GetOAuthApp_Call
- func (_c *MockAPI_GetOAuthApp_Call) RunAndReturn(run func(string) (*model.OAuthApp, *model.AppError)) *MockAPI_GetOAuthApp_Call
- type MockAPI_GetPluginConfig_Call
- func (_c *MockAPI_GetPluginConfig_Call) Return(_a0 map[string]interface{}) *MockAPI_GetPluginConfig_Call
- func (_c *MockAPI_GetPluginConfig_Call) Run(run func()) *MockAPI_GetPluginConfig_Call
- func (_c *MockAPI_GetPluginConfig_Call) RunAndReturn(run func() map[string]interface{}) *MockAPI_GetPluginConfig_Call
- type MockAPI_GetPluginStatus_Call
- func (_c *MockAPI_GetPluginStatus_Call) Return(_a0 *model.PluginStatus, _a1 *model.AppError) *MockAPI_GetPluginStatus_Call
- func (_c *MockAPI_GetPluginStatus_Call) Run(run func(id string)) *MockAPI_GetPluginStatus_Call
- func (_c *MockAPI_GetPluginStatus_Call) RunAndReturn(run func(string) (*model.PluginStatus, *model.AppError)) *MockAPI_GetPluginStatus_Call
- type MockAPI_GetPlugins_Call
- func (_c *MockAPI_GetPlugins_Call) Return(_a0 []*model.Manifest, _a1 *model.AppError) *MockAPI_GetPlugins_Call
- func (_c *MockAPI_GetPlugins_Call) Run(run func()) *MockAPI_GetPlugins_Call
- func (_c *MockAPI_GetPlugins_Call) RunAndReturn(run func() ([]*model.Manifest, *model.AppError)) *MockAPI_GetPlugins_Call
- type MockAPI_GetPostThread_Call
- func (_c *MockAPI_GetPostThread_Call) Return(_a0 *model.PostList, _a1 *model.AppError) *MockAPI_GetPostThread_Call
- func (_c *MockAPI_GetPostThread_Call) Run(run func(postId string)) *MockAPI_GetPostThread_Call
- func (_c *MockAPI_GetPostThread_Call) RunAndReturn(run func(string) (*model.PostList, *model.AppError)) *MockAPI_GetPostThread_Call
- type MockAPI_GetPost_Call
- type MockAPI_GetPostsAfter_Call
- func (_c *MockAPI_GetPostsAfter_Call) Return(_a0 *model.PostList, _a1 *model.AppError) *MockAPI_GetPostsAfter_Call
- func (_c *MockAPI_GetPostsAfter_Call) Run(run func(channelId string, postId string, page int, perPage int)) *MockAPI_GetPostsAfter_Call
- func (_c *MockAPI_GetPostsAfter_Call) RunAndReturn(run func(string, string, int, int) (*model.PostList, *model.AppError)) *MockAPI_GetPostsAfter_Call
- type MockAPI_GetPostsBefore_Call
- func (_c *MockAPI_GetPostsBefore_Call) Return(_a0 *model.PostList, _a1 *model.AppError) *MockAPI_GetPostsBefore_Call
- func (_c *MockAPI_GetPostsBefore_Call) Run(run func(channelId string, postId string, page int, perPage int)) *MockAPI_GetPostsBefore_Call
- func (_c *MockAPI_GetPostsBefore_Call) RunAndReturn(run func(string, string, int, int) (*model.PostList, *model.AppError)) *MockAPI_GetPostsBefore_Call
- type MockAPI_GetPostsForChannel_Call
- func (_c *MockAPI_GetPostsForChannel_Call) Return(_a0 *model.PostList, _a1 *model.AppError) *MockAPI_GetPostsForChannel_Call
- func (_c *MockAPI_GetPostsForChannel_Call) Run(run func(channelId string, page int, perPage int)) *MockAPI_GetPostsForChannel_Call
- func (_c *MockAPI_GetPostsForChannel_Call) RunAndReturn(run func(string, int, int) (*model.PostList, *model.AppError)) *MockAPI_GetPostsForChannel_Call
- type MockAPI_GetPostsSince_Call
- func (_c *MockAPI_GetPostsSince_Call) Return(_a0 *model.PostList, _a1 *model.AppError) *MockAPI_GetPostsSince_Call
- func (_c *MockAPI_GetPostsSince_Call) Run(run func(channelId string, time int64)) *MockAPI_GetPostsSince_Call
- func (_c *MockAPI_GetPostsSince_Call) RunAndReturn(run func(string, int64) (*model.PostList, *model.AppError)) *MockAPI_GetPostsSince_Call
- type MockAPI_GetPreferencesForUser_Call
- func (_c *MockAPI_GetPreferencesForUser_Call) Return(_a0 []model.Preference, _a1 *model.AppError) *MockAPI_GetPreferencesForUser_Call
- func (_c *MockAPI_GetPreferencesForUser_Call) Run(run func(userID string)) *MockAPI_GetPreferencesForUser_Call
- func (_c *MockAPI_GetPreferencesForUser_Call) RunAndReturn(run func(string) ([]model.Preference, *model.AppError)) *MockAPI_GetPreferencesForUser_Call
- type MockAPI_GetProfileImage_Call
- func (_c *MockAPI_GetProfileImage_Call) Return(_a0 []byte, _a1 *model.AppError) *MockAPI_GetProfileImage_Call
- func (_c *MockAPI_GetProfileImage_Call) Run(run func(userID string)) *MockAPI_GetProfileImage_Call
- func (_c *MockAPI_GetProfileImage_Call) RunAndReturn(run func(string) ([]byte, *model.AppError)) *MockAPI_GetProfileImage_Call
- type MockAPI_GetPublicChannelsForTeam_Call
- func (_c *MockAPI_GetPublicChannelsForTeam_Call) Return(_a0 []*model.Channel, _a1 *model.AppError) *MockAPI_GetPublicChannelsForTeam_Call
- func (_c *MockAPI_GetPublicChannelsForTeam_Call) Run(run func(teamID string, page int, perPage int)) *MockAPI_GetPublicChannelsForTeam_Call
- func (_c *MockAPI_GetPublicChannelsForTeam_Call) RunAndReturn(run func(string, int, int) ([]*model.Channel, *model.AppError)) *MockAPI_GetPublicChannelsForTeam_Call
- type MockAPI_GetReactions_Call
- func (_c *MockAPI_GetReactions_Call) Return(_a0 []*model.Reaction, _a1 *model.AppError) *MockAPI_GetReactions_Call
- func (_c *MockAPI_GetReactions_Call) Run(run func(postId string)) *MockAPI_GetReactions_Call
- func (_c *MockAPI_GetReactions_Call) RunAndReturn(run func(string) ([]*model.Reaction, *model.AppError)) *MockAPI_GetReactions_Call
- type MockAPI_GetServerVersion_Call
- type MockAPI_GetSession_Call
- func (_c *MockAPI_GetSession_Call) Return(_a0 *model.Session, _a1 *model.AppError) *MockAPI_GetSession_Call
- func (_c *MockAPI_GetSession_Call) Run(run func(sessionID string)) *MockAPI_GetSession_Call
- func (_c *MockAPI_GetSession_Call) RunAndReturn(run func(string) (*model.Session, *model.AppError)) *MockAPI_GetSession_Call
- type MockAPI_GetSystemInstallDate_Call
- func (_c *MockAPI_GetSystemInstallDate_Call) Return(_a0 int64, _a1 *model.AppError) *MockAPI_GetSystemInstallDate_Call
- func (_c *MockAPI_GetSystemInstallDate_Call) Run(run func()) *MockAPI_GetSystemInstallDate_Call
- func (_c *MockAPI_GetSystemInstallDate_Call) RunAndReturn(run func() (int64, *model.AppError)) *MockAPI_GetSystemInstallDate_Call
- type MockAPI_GetTeamByName_Call
- func (_c *MockAPI_GetTeamByName_Call) Return(_a0 *model.Team, _a1 *model.AppError) *MockAPI_GetTeamByName_Call
- func (_c *MockAPI_GetTeamByName_Call) Run(run func(name string)) *MockAPI_GetTeamByName_Call
- func (_c *MockAPI_GetTeamByName_Call) RunAndReturn(run func(string) (*model.Team, *model.AppError)) *MockAPI_GetTeamByName_Call
- type MockAPI_GetTeamIcon_Call
- func (_c *MockAPI_GetTeamIcon_Call) Return(_a0 []byte, _a1 *model.AppError) *MockAPI_GetTeamIcon_Call
- func (_c *MockAPI_GetTeamIcon_Call) Run(run func(teamID string)) *MockAPI_GetTeamIcon_Call
- func (_c *MockAPI_GetTeamIcon_Call) RunAndReturn(run func(string) ([]byte, *model.AppError)) *MockAPI_GetTeamIcon_Call
- type MockAPI_GetTeamMember_Call
- func (_c *MockAPI_GetTeamMember_Call) Return(_a0 *model.TeamMember, _a1 *model.AppError) *MockAPI_GetTeamMember_Call
- func (_c *MockAPI_GetTeamMember_Call) Run(run func(teamID string, userID string)) *MockAPI_GetTeamMember_Call
- func (_c *MockAPI_GetTeamMember_Call) RunAndReturn(run func(string, string) (*model.TeamMember, *model.AppError)) *MockAPI_GetTeamMember_Call
- type MockAPI_GetTeamMembersForUser_Call
- func (_c *MockAPI_GetTeamMembersForUser_Call) Return(_a0 []*model.TeamMember, _a1 *model.AppError) *MockAPI_GetTeamMembersForUser_Call
- func (_c *MockAPI_GetTeamMembersForUser_Call) Run(run func(userID string, page int, perPage int)) *MockAPI_GetTeamMembersForUser_Call
- func (_c *MockAPI_GetTeamMembersForUser_Call) RunAndReturn(run func(string, int, int) ([]*model.TeamMember, *model.AppError)) *MockAPI_GetTeamMembersForUser_Call
- type MockAPI_GetTeamMembers_Call
- func (_c *MockAPI_GetTeamMembers_Call) Return(_a0 []*model.TeamMember, _a1 *model.AppError) *MockAPI_GetTeamMembers_Call
- func (_c *MockAPI_GetTeamMembers_Call) Run(run func(teamID string, page int, perPage int)) *MockAPI_GetTeamMembers_Call
- func (_c *MockAPI_GetTeamMembers_Call) RunAndReturn(run func(string, int, int) ([]*model.TeamMember, *model.AppError)) *MockAPI_GetTeamMembers_Call
- type MockAPI_GetTeamStats_Call
- func (_c *MockAPI_GetTeamStats_Call) Return(_a0 *model.TeamStats, _a1 *model.AppError) *MockAPI_GetTeamStats_Call
- func (_c *MockAPI_GetTeamStats_Call) Run(run func(teamID string)) *MockAPI_GetTeamStats_Call
- func (_c *MockAPI_GetTeamStats_Call) RunAndReturn(run func(string) (*model.TeamStats, *model.AppError)) *MockAPI_GetTeamStats_Call
- type MockAPI_GetTeam_Call
- type MockAPI_GetTeamsForUser_Call
- func (_c *MockAPI_GetTeamsForUser_Call) Return(_a0 []*model.Team, _a1 *model.AppError) *MockAPI_GetTeamsForUser_Call
- func (_c *MockAPI_GetTeamsForUser_Call) Run(run func(userID string)) *MockAPI_GetTeamsForUser_Call
- func (_c *MockAPI_GetTeamsForUser_Call) RunAndReturn(run func(string) ([]*model.Team, *model.AppError)) *MockAPI_GetTeamsForUser_Call
- type MockAPI_GetTeamsUnreadForUser_Call
- func (_c *MockAPI_GetTeamsUnreadForUser_Call) Return(_a0 []*model.TeamUnread, _a1 *model.AppError) *MockAPI_GetTeamsUnreadForUser_Call
- func (_c *MockAPI_GetTeamsUnreadForUser_Call) Run(run func(userID string)) *MockAPI_GetTeamsUnreadForUser_Call
- func (_c *MockAPI_GetTeamsUnreadForUser_Call) RunAndReturn(run func(string) ([]*model.TeamUnread, *model.AppError)) *MockAPI_GetTeamsUnreadForUser_Call
- type MockAPI_GetTeams_Call
- type MockAPI_GetTelemetryId_Call
- type MockAPI_GetUnsanitizedConfig_Call
- func (_c *MockAPI_GetUnsanitizedConfig_Call) Return(_a0 *model.Config) *MockAPI_GetUnsanitizedConfig_Call
- func (_c *MockAPI_GetUnsanitizedConfig_Call) Run(run func()) *MockAPI_GetUnsanitizedConfig_Call
- func (_c *MockAPI_GetUnsanitizedConfig_Call) RunAndReturn(run func() *model.Config) *MockAPI_GetUnsanitizedConfig_Call
- type MockAPI_GetUploadSession_Call
- func (_c *MockAPI_GetUploadSession_Call) Return(_a0 *model.UploadSession, _a1 error) *MockAPI_GetUploadSession_Call
- func (_c *MockAPI_GetUploadSession_Call) Run(run func(uploadID string)) *MockAPI_GetUploadSession_Call
- func (_c *MockAPI_GetUploadSession_Call) RunAndReturn(run func(string) (*model.UploadSession, error)) *MockAPI_GetUploadSession_Call
- type MockAPI_GetUserByEmail_Call
- func (_c *MockAPI_GetUserByEmail_Call) Return(_a0 *model.User, _a1 *model.AppError) *MockAPI_GetUserByEmail_Call
- func (_c *MockAPI_GetUserByEmail_Call) Run(run func(email string)) *MockAPI_GetUserByEmail_Call
- func (_c *MockAPI_GetUserByEmail_Call) RunAndReturn(run func(string) (*model.User, *model.AppError)) *MockAPI_GetUserByEmail_Call
- type MockAPI_GetUserByUsername_Call
- func (_c *MockAPI_GetUserByUsername_Call) Return(_a0 *model.User, _a1 *model.AppError) *MockAPI_GetUserByUsername_Call
- func (_c *MockAPI_GetUserByUsername_Call) Run(run func(name string)) *MockAPI_GetUserByUsername_Call
- func (_c *MockAPI_GetUserByUsername_Call) RunAndReturn(run func(string) (*model.User, *model.AppError)) *MockAPI_GetUserByUsername_Call
- type MockAPI_GetUserStatus_Call
- func (_c *MockAPI_GetUserStatus_Call) Return(_a0 *model.Status, _a1 *model.AppError) *MockAPI_GetUserStatus_Call
- func (_c *MockAPI_GetUserStatus_Call) Run(run func(userID string)) *MockAPI_GetUserStatus_Call
- func (_c *MockAPI_GetUserStatus_Call) RunAndReturn(run func(string) (*model.Status, *model.AppError)) *MockAPI_GetUserStatus_Call
- type MockAPI_GetUserStatusesByIds_Call
- func (_c *MockAPI_GetUserStatusesByIds_Call) Return(_a0 []*model.Status, _a1 *model.AppError) *MockAPI_GetUserStatusesByIds_Call
- func (_c *MockAPI_GetUserStatusesByIds_Call) Run(run func(userIds []string)) *MockAPI_GetUserStatusesByIds_Call
- func (_c *MockAPI_GetUserStatusesByIds_Call) RunAndReturn(run func([]string) ([]*model.Status, *model.AppError)) *MockAPI_GetUserStatusesByIds_Call
- type MockAPI_GetUser_Call
- type MockAPI_GetUsersByUsernames_Call
- func (_c *MockAPI_GetUsersByUsernames_Call) Return(_a0 []*model.User, _a1 *model.AppError) *MockAPI_GetUsersByUsernames_Call
- func (_c *MockAPI_GetUsersByUsernames_Call) Run(run func(usernames []string)) *MockAPI_GetUsersByUsernames_Call
- func (_c *MockAPI_GetUsersByUsernames_Call) RunAndReturn(run func([]string) ([]*model.User, *model.AppError)) *MockAPI_GetUsersByUsernames_Call
- type MockAPI_GetUsersInChannel_Call
- func (_c *MockAPI_GetUsersInChannel_Call) Return(_a0 []*model.User, _a1 *model.AppError) *MockAPI_GetUsersInChannel_Call
- func (_c *MockAPI_GetUsersInChannel_Call) Run(run func(channelID string, sortBy string, page int, perPage int)) *MockAPI_GetUsersInChannel_Call
- func (_c *MockAPI_GetUsersInChannel_Call) RunAndReturn(run func(string, string, int, int) ([]*model.User, *model.AppError)) *MockAPI_GetUsersInChannel_Call
- type MockAPI_GetUsersInTeam_Call
- func (_c *MockAPI_GetUsersInTeam_Call) Return(_a0 []*model.User, _a1 *model.AppError) *MockAPI_GetUsersInTeam_Call
- func (_c *MockAPI_GetUsersInTeam_Call) Run(run func(teamID string, page int, perPage int)) *MockAPI_GetUsersInTeam_Call
- func (_c *MockAPI_GetUsersInTeam_Call) RunAndReturn(run func(string, int, int) ([]*model.User, *model.AppError)) *MockAPI_GetUsersInTeam_Call
- type MockAPI_GetUsers_Call
- func (_c *MockAPI_GetUsers_Call) Return(_a0 []*model.User, _a1 *model.AppError) *MockAPI_GetUsers_Call
- func (_c *MockAPI_GetUsers_Call) Run(run func(options *model.UserGetOptions)) *MockAPI_GetUsers_Call
- func (_c *MockAPI_GetUsers_Call) RunAndReturn(run func(*model.UserGetOptions) ([]*model.User, *model.AppError)) *MockAPI_GetUsers_Call
- type MockAPI_HasPermissionToChannel_Call
- func (_c *MockAPI_HasPermissionToChannel_Call) Return(_a0 bool) *MockAPI_HasPermissionToChannel_Call
- func (_c *MockAPI_HasPermissionToChannel_Call) Run(run func(userID string, channelId string, permission *model.Permission)) *MockAPI_HasPermissionToChannel_Call
- func (_c *MockAPI_HasPermissionToChannel_Call) RunAndReturn(run func(string, string, *model.Permission) bool) *MockAPI_HasPermissionToChannel_Call
- type MockAPI_HasPermissionToTeam_Call
- func (_c *MockAPI_HasPermissionToTeam_Call) Return(_a0 bool) *MockAPI_HasPermissionToTeam_Call
- func (_c *MockAPI_HasPermissionToTeam_Call) Run(run func(userID string, teamID string, permission *model.Permission)) *MockAPI_HasPermissionToTeam_Call
- func (_c *MockAPI_HasPermissionToTeam_Call) RunAndReturn(run func(string, string, *model.Permission) bool) *MockAPI_HasPermissionToTeam_Call
- type MockAPI_HasPermissionTo_Call
- func (_c *MockAPI_HasPermissionTo_Call) Return(_a0 bool) *MockAPI_HasPermissionTo_Call
- func (_c *MockAPI_HasPermissionTo_Call) Run(run func(userID string, permission *model.Permission)) *MockAPI_HasPermissionTo_Call
- func (_c *MockAPI_HasPermissionTo_Call) RunAndReturn(run func(string, *model.Permission) bool) *MockAPI_HasPermissionTo_Call
- type MockAPI_InstallPlugin_Call
- func (_c *MockAPI_InstallPlugin_Call) Return(_a0 *model.Manifest, _a1 *model.AppError) *MockAPI_InstallPlugin_Call
- func (_c *MockAPI_InstallPlugin_Call) Run(run func(file io.Reader, replace bool)) *MockAPI_InstallPlugin_Call
- func (_c *MockAPI_InstallPlugin_Call) RunAndReturn(run func(io.Reader, bool) (*model.Manifest, *model.AppError)) *MockAPI_InstallPlugin_Call
- type MockAPI_IsEnterpriseReady_Call
- type MockAPI_KVCompareAndDelete_Call
- func (_c *MockAPI_KVCompareAndDelete_Call) Return(_a0 bool, _a1 *model.AppError) *MockAPI_KVCompareAndDelete_Call
- func (_c *MockAPI_KVCompareAndDelete_Call) Run(run func(key string, oldValue []byte)) *MockAPI_KVCompareAndDelete_Call
- func (_c *MockAPI_KVCompareAndDelete_Call) RunAndReturn(run func(string, []byte) (bool, *model.AppError)) *MockAPI_KVCompareAndDelete_Call
- type MockAPI_KVCompareAndSet_Call
- func (_c *MockAPI_KVCompareAndSet_Call) Return(_a0 bool, _a1 *model.AppError) *MockAPI_KVCompareAndSet_Call
- func (_c *MockAPI_KVCompareAndSet_Call) Run(run func(key string, oldValue []byte, newValue []byte)) *MockAPI_KVCompareAndSet_Call
- func (_c *MockAPI_KVCompareAndSet_Call) RunAndReturn(run func(string, []byte, []byte) (bool, *model.AppError)) *MockAPI_KVCompareAndSet_Call
- type MockAPI_KVDeleteAll_Call
- type MockAPI_KVDelete_Call
- type MockAPI_KVGet_Call
- type MockAPI_KVList_Call
- type MockAPI_KVSetWithExpiry_Call
- func (_c *MockAPI_KVSetWithExpiry_Call) Return(_a0 *model.AppError) *MockAPI_KVSetWithExpiry_Call
- func (_c *MockAPI_KVSetWithExpiry_Call) Run(run func(key string, value []byte, expireInSeconds int64)) *MockAPI_KVSetWithExpiry_Call
- func (_c *MockAPI_KVSetWithExpiry_Call) RunAndReturn(run func(string, []byte, int64) *model.AppError) *MockAPI_KVSetWithExpiry_Call
- type MockAPI_KVSetWithOptions_Call
- func (_c *MockAPI_KVSetWithOptions_Call) Return(_a0 bool, _a1 *model.AppError) *MockAPI_KVSetWithOptions_Call
- func (_c *MockAPI_KVSetWithOptions_Call) Run(run func(key string, value []byte, options model.PluginKVSetOptions)) *MockAPI_KVSetWithOptions_Call
- func (_c *MockAPI_KVSetWithOptions_Call) RunAndReturn(run func(string, []byte, model.PluginKVSetOptions) (bool, *model.AppError)) *MockAPI_KVSetWithOptions_Call
- type MockAPI_KVSet_Call
- type MockAPI_ListBuiltInCommands_Call
- func (_c *MockAPI_ListBuiltInCommands_Call) Return(_a0 []*model.Command, _a1 error) *MockAPI_ListBuiltInCommands_Call
- func (_c *MockAPI_ListBuiltInCommands_Call) Run(run func()) *MockAPI_ListBuiltInCommands_Call
- func (_c *MockAPI_ListBuiltInCommands_Call) RunAndReturn(run func() ([]*model.Command, error)) *MockAPI_ListBuiltInCommands_Call
- type MockAPI_ListCommands_Call
- func (_c *MockAPI_ListCommands_Call) Return(_a0 []*model.Command, _a1 error) *MockAPI_ListCommands_Call
- func (_c *MockAPI_ListCommands_Call) Run(run func(teamID string)) *MockAPI_ListCommands_Call
- func (_c *MockAPI_ListCommands_Call) RunAndReturn(run func(string) ([]*model.Command, error)) *MockAPI_ListCommands_Call
- type MockAPI_ListCustomCommands_Call
- func (_c *MockAPI_ListCustomCommands_Call) Return(_a0 []*model.Command, _a1 error) *MockAPI_ListCustomCommands_Call
- func (_c *MockAPI_ListCustomCommands_Call) Run(run func(teamID string)) *MockAPI_ListCustomCommands_Call
- func (_c *MockAPI_ListCustomCommands_Call) RunAndReturn(run func(string) ([]*model.Command, error)) *MockAPI_ListCustomCommands_Call
- type MockAPI_ListPluginCommands_Call
- func (_c *MockAPI_ListPluginCommands_Call) Return(_a0 []*model.Command, _a1 error) *MockAPI_ListPluginCommands_Call
- func (_c *MockAPI_ListPluginCommands_Call) Run(run func(teamID string)) *MockAPI_ListPluginCommands_Call
- func (_c *MockAPI_ListPluginCommands_Call) RunAndReturn(run func(string) ([]*model.Command, error)) *MockAPI_ListPluginCommands_Call
- type MockAPI_LoadPluginConfiguration_Call
- func (_c *MockAPI_LoadPluginConfiguration_Call) Return(_a0 error) *MockAPI_LoadPluginConfiguration_Call
- func (_c *MockAPI_LoadPluginConfiguration_Call) Run(run func(dest interface{})) *MockAPI_LoadPluginConfiguration_Call
- func (_c *MockAPI_LoadPluginConfiguration_Call) RunAndReturn(run func(interface{}) error) *MockAPI_LoadPluginConfiguration_Call
- type MockAPI_LogDebug_Call
- type MockAPI_LogError_Call
- type MockAPI_LogInfo_Call
- type MockAPI_LogWarn_Call
- type MockAPI_OpenInteractiveDialog_Call
- func (_c *MockAPI_OpenInteractiveDialog_Call) Return(_a0 *model.AppError) *MockAPI_OpenInteractiveDialog_Call
- func (_c *MockAPI_OpenInteractiveDialog_Call) Run(run func(dialog model.OpenDialogRequest)) *MockAPI_OpenInteractiveDialog_Call
- func (_c *MockAPI_OpenInteractiveDialog_Call) RunAndReturn(run func(model.OpenDialogRequest) *model.AppError) *MockAPI_OpenInteractiveDialog_Call
- type MockAPI_PatchBot_Call
- func (_c *MockAPI_PatchBot_Call) Return(_a0 *model.Bot, _a1 *model.AppError) *MockAPI_PatchBot_Call
- func (_c *MockAPI_PatchBot_Call) Run(run func(botUserId string, botPatch *model.BotPatch)) *MockAPI_PatchBot_Call
- func (_c *MockAPI_PatchBot_Call) RunAndReturn(run func(string, *model.BotPatch) (*model.Bot, *model.AppError)) *MockAPI_PatchBot_Call
- type MockAPI_PermanentDeleteBot_Call
- func (_c *MockAPI_PermanentDeleteBot_Call) Return(_a0 *model.AppError) *MockAPI_PermanentDeleteBot_Call
- func (_c *MockAPI_PermanentDeleteBot_Call) Run(run func(botUserId string)) *MockAPI_PermanentDeleteBot_Call
- func (_c *MockAPI_PermanentDeleteBot_Call) RunAndReturn(run func(string) *model.AppError) *MockAPI_PermanentDeleteBot_Call
- type MockAPI_PluginHTTP_Call
- type MockAPI_PublishPluginClusterEvent_Call
- func (_c *MockAPI_PublishPluginClusterEvent_Call) Return(_a0 error) *MockAPI_PublishPluginClusterEvent_Call
- func (_c *MockAPI_PublishPluginClusterEvent_Call) Run(...) *MockAPI_PublishPluginClusterEvent_Call
- func (_c *MockAPI_PublishPluginClusterEvent_Call) RunAndReturn(run func(model.PluginClusterEvent, model.PluginClusterEventSendOptions) error) *MockAPI_PublishPluginClusterEvent_Call
- type MockAPI_PublishUserTyping_Call
- func (_c *MockAPI_PublishUserTyping_Call) Return(_a0 *model.AppError) *MockAPI_PublishUserTyping_Call
- func (_c *MockAPI_PublishUserTyping_Call) Run(run func(userID string, channelId string, parentId string)) *MockAPI_PublishUserTyping_Call
- func (_c *MockAPI_PublishUserTyping_Call) RunAndReturn(run func(string, string, string) *model.AppError) *MockAPI_PublishUserTyping_Call
- type MockAPI_PublishWebSocketEvent_Call
- func (_c *MockAPI_PublishWebSocketEvent_Call) Return() *MockAPI_PublishWebSocketEvent_Call
- func (_c *MockAPI_PublishWebSocketEvent_Call) Run(run func(event string, payload map[string]interface{}, ...)) *MockAPI_PublishWebSocketEvent_Call
- func (_c *MockAPI_PublishWebSocketEvent_Call) RunAndReturn(run func(string, map[string]interface{}, *model.WebsocketBroadcast)) *MockAPI_PublishWebSocketEvent_Call
- type MockAPI_ReadFile_Call
- type MockAPI_RegisterCollectionAndTopic_Call
- func (_c *MockAPI_RegisterCollectionAndTopic_Call) Return(_a0 error) *MockAPI_RegisterCollectionAndTopic_Call
- func (_c *MockAPI_RegisterCollectionAndTopic_Call) Run(run func(collectionType string, topicType string)) *MockAPI_RegisterCollectionAndTopic_Call
- func (_c *MockAPI_RegisterCollectionAndTopic_Call) RunAndReturn(run func(string, string) error) *MockAPI_RegisterCollectionAndTopic_Call
- type MockAPI_RegisterCommand_Call
- func (_c *MockAPI_RegisterCommand_Call) Return(_a0 error) *MockAPI_RegisterCommand_Call
- func (_c *MockAPI_RegisterCommand_Call) Run(run func(command *model.Command)) *MockAPI_RegisterCommand_Call
- func (_c *MockAPI_RegisterCommand_Call) RunAndReturn(run func(*model.Command) error) *MockAPI_RegisterCommand_Call
- type MockAPI_RemovePlugin_Call
- type MockAPI_RemoveReaction_Call
- func (_c *MockAPI_RemoveReaction_Call) Return(_a0 *model.AppError) *MockAPI_RemoveReaction_Call
- func (_c *MockAPI_RemoveReaction_Call) Run(run func(reaction *model.Reaction)) *MockAPI_RemoveReaction_Call
- func (_c *MockAPI_RemoveReaction_Call) RunAndReturn(run func(*model.Reaction) *model.AppError) *MockAPI_RemoveReaction_Call
- type MockAPI_RemoveTeamIcon_Call
- func (_c *MockAPI_RemoveTeamIcon_Call) Return(_a0 *model.AppError) *MockAPI_RemoveTeamIcon_Call
- func (_c *MockAPI_RemoveTeamIcon_Call) Run(run func(teamID string)) *MockAPI_RemoveTeamIcon_Call
- func (_c *MockAPI_RemoveTeamIcon_Call) RunAndReturn(run func(string) *model.AppError) *MockAPI_RemoveTeamIcon_Call
- type MockAPI_RemoveUserCustomStatus_Call
- func (_c *MockAPI_RemoveUserCustomStatus_Call) Return(_a0 *model.AppError) *MockAPI_RemoveUserCustomStatus_Call
- func (_c *MockAPI_RemoveUserCustomStatus_Call) Run(run func(userID string)) *MockAPI_RemoveUserCustomStatus_Call
- func (_c *MockAPI_RemoveUserCustomStatus_Call) RunAndReturn(run func(string) *model.AppError) *MockAPI_RemoveUserCustomStatus_Call
- type MockAPI_RequestTrialLicense_Call
- func (_c *MockAPI_RequestTrialLicense_Call) Return(_a0 *model.AppError) *MockAPI_RequestTrialLicense_Call
- func (_c *MockAPI_RequestTrialLicense_Call) Run(...) *MockAPI_RequestTrialLicense_Call
- func (_c *MockAPI_RequestTrialLicense_Call) RunAndReturn(run func(string, int, bool, bool) *model.AppError) *MockAPI_RequestTrialLicense_Call
- type MockAPI_RevokeSession_Call
- func (_c *MockAPI_RevokeSession_Call) Return(_a0 *model.AppError) *MockAPI_RevokeSession_Call
- func (_c *MockAPI_RevokeSession_Call) Run(run func(sessionID string)) *MockAPI_RevokeSession_Call
- func (_c *MockAPI_RevokeSession_Call) RunAndReturn(run func(string) *model.AppError) *MockAPI_RevokeSession_Call
- type MockAPI_RevokeUserAccessToken_Call
- func (_c *MockAPI_RevokeUserAccessToken_Call) Return(_a0 *model.AppError) *MockAPI_RevokeUserAccessToken_Call
- func (_c *MockAPI_RevokeUserAccessToken_Call) Run(run func(tokenID string)) *MockAPI_RevokeUserAccessToken_Call
- func (_c *MockAPI_RevokeUserAccessToken_Call) RunAndReturn(run func(string) *model.AppError) *MockAPI_RevokeUserAccessToken_Call
- type MockAPI_RolesGrantPermission_Call
- func (_c *MockAPI_RolesGrantPermission_Call) Return(_a0 bool) *MockAPI_RolesGrantPermission_Call
- func (_c *MockAPI_RolesGrantPermission_Call) Run(run func(roleNames []string, permissionId string)) *MockAPI_RolesGrantPermission_Call
- func (_c *MockAPI_RolesGrantPermission_Call) RunAndReturn(run func([]string, string) bool) *MockAPI_RolesGrantPermission_Call
- type MockAPI_SaveConfig_Call
- type MockAPI_SavePluginConfig_Call
- func (_c *MockAPI_SavePluginConfig_Call) Return(_a0 *model.AppError) *MockAPI_SavePluginConfig_Call
- func (_c *MockAPI_SavePluginConfig_Call) Run(run func(config map[string]interface{})) *MockAPI_SavePluginConfig_Call
- func (_c *MockAPI_SavePluginConfig_Call) RunAndReturn(run func(map[string]interface{}) *model.AppError) *MockAPI_SavePluginConfig_Call
- type MockAPI_SearchChannels_Call
- func (_c *MockAPI_SearchChannels_Call) Return(_a0 []*model.Channel, _a1 *model.AppError) *MockAPI_SearchChannels_Call
- func (_c *MockAPI_SearchChannels_Call) Run(run func(teamID string, term string)) *MockAPI_SearchChannels_Call
- func (_c *MockAPI_SearchChannels_Call) RunAndReturn(run func(string, string) ([]*model.Channel, *model.AppError)) *MockAPI_SearchChannels_Call
- type MockAPI_SearchPostsInTeamForUser_Call
- func (_c *MockAPI_SearchPostsInTeamForUser_Call) Return(_a0 *model.PostSearchResults, _a1 *model.AppError) *MockAPI_SearchPostsInTeamForUser_Call
- func (_c *MockAPI_SearchPostsInTeamForUser_Call) Run(run func(teamID string, userID string, searchParams model.SearchParameter)) *MockAPI_SearchPostsInTeamForUser_Call
- func (_c *MockAPI_SearchPostsInTeamForUser_Call) RunAndReturn(...) *MockAPI_SearchPostsInTeamForUser_Call
- type MockAPI_SearchPostsInTeam_Call
- func (_c *MockAPI_SearchPostsInTeam_Call) Return(_a0 []*model.Post, _a1 *model.AppError) *MockAPI_SearchPostsInTeam_Call
- func (_c *MockAPI_SearchPostsInTeam_Call) Run(run func(teamID string, paramsList []*model.SearchParams)) *MockAPI_SearchPostsInTeam_Call
- func (_c *MockAPI_SearchPostsInTeam_Call) RunAndReturn(run func(string, []*model.SearchParams) ([]*model.Post, *model.AppError)) *MockAPI_SearchPostsInTeam_Call
- type MockAPI_SearchTeams_Call
- func (_c *MockAPI_SearchTeams_Call) Return(_a0 []*model.Team, _a1 *model.AppError) *MockAPI_SearchTeams_Call
- func (_c *MockAPI_SearchTeams_Call) Run(run func(term string)) *MockAPI_SearchTeams_Call
- func (_c *MockAPI_SearchTeams_Call) RunAndReturn(run func(string) ([]*model.Team, *model.AppError)) *MockAPI_SearchTeams_Call
- type MockAPI_SearchUsers_Call
- func (_c *MockAPI_SearchUsers_Call) Return(_a0 []*model.User, _a1 *model.AppError) *MockAPI_SearchUsers_Call
- func (_c *MockAPI_SearchUsers_Call) Run(run func(search *model.UserSearch)) *MockAPI_SearchUsers_Call
- func (_c *MockAPI_SearchUsers_Call) RunAndReturn(run func(*model.UserSearch) ([]*model.User, *model.AppError)) *MockAPI_SearchUsers_Call
- type MockAPI_SendEphemeralPost_Call
- func (_c *MockAPI_SendEphemeralPost_Call) Return(_a0 *model.Post) *MockAPI_SendEphemeralPost_Call
- func (_c *MockAPI_SendEphemeralPost_Call) Run(run func(userID string, post *model.Post)) *MockAPI_SendEphemeralPost_Call
- func (_c *MockAPI_SendEphemeralPost_Call) RunAndReturn(run func(string, *model.Post) *model.Post) *MockAPI_SendEphemeralPost_Call
- type MockAPI_SendMail_Call
- func (_c *MockAPI_SendMail_Call) Return(_a0 *model.AppError) *MockAPI_SendMail_Call
- func (_c *MockAPI_SendMail_Call) Run(run func(to string, subject string, htmlBody string)) *MockAPI_SendMail_Call
- func (_c *MockAPI_SendMail_Call) RunAndReturn(run func(string, string, string) *model.AppError) *MockAPI_SendMail_Call
- type MockAPI_SendPushNotification_Call
- func (_c *MockAPI_SendPushNotification_Call) Return(_a0 *model.AppError) *MockAPI_SendPushNotification_Call
- func (_c *MockAPI_SendPushNotification_Call) Run(run func(notification *model.PushNotification, userID string)) *MockAPI_SendPushNotification_Call
- func (_c *MockAPI_SendPushNotification_Call) RunAndReturn(run func(*model.PushNotification, string) *model.AppError) *MockAPI_SendPushNotification_Call
- type MockAPI_SetFileSearchableContent_Call
- func (_c *MockAPI_SetFileSearchableContent_Call) Return(_a0 *model.AppError) *MockAPI_SetFileSearchableContent_Call
- func (_c *MockAPI_SetFileSearchableContent_Call) Run(run func(fileID string, content string)) *MockAPI_SetFileSearchableContent_Call
- func (_c *MockAPI_SetFileSearchableContent_Call) RunAndReturn(run func(string, string) *model.AppError) *MockAPI_SetFileSearchableContent_Call
- type MockAPI_SetProfileImage_Call
- func (_c *MockAPI_SetProfileImage_Call) Return(_a0 *model.AppError) *MockAPI_SetProfileImage_Call
- func (_c *MockAPI_SetProfileImage_Call) Run(run func(userID string, data []byte)) *MockAPI_SetProfileImage_Call
- func (_c *MockAPI_SetProfileImage_Call) RunAndReturn(run func(string, []byte) *model.AppError) *MockAPI_SetProfileImage_Call
- type MockAPI_SetTeamIcon_Call
- func (_c *MockAPI_SetTeamIcon_Call) Return(_a0 *model.AppError) *MockAPI_SetTeamIcon_Call
- func (_c *MockAPI_SetTeamIcon_Call) Run(run func(teamID string, data []byte)) *MockAPI_SetTeamIcon_Call
- func (_c *MockAPI_SetTeamIcon_Call) RunAndReturn(run func(string, []byte) *model.AppError) *MockAPI_SetTeamIcon_Call
- type MockAPI_SetUserStatusTimedDND_Call
- func (_c *MockAPI_SetUserStatusTimedDND_Call) Return(_a0 *model.Status, _a1 *model.AppError) *MockAPI_SetUserStatusTimedDND_Call
- func (_c *MockAPI_SetUserStatusTimedDND_Call) Run(run func(userId string, endtime int64)) *MockAPI_SetUserStatusTimedDND_Call
- func (_c *MockAPI_SetUserStatusTimedDND_Call) RunAndReturn(run func(string, int64) (*model.Status, *model.AppError)) *MockAPI_SetUserStatusTimedDND_Call
- type MockAPI_UnregisterCommand_Call
- func (_c *MockAPI_UnregisterCommand_Call) Return(_a0 error) *MockAPI_UnregisterCommand_Call
- func (_c *MockAPI_UnregisterCommand_Call) Run(run func(teamID string, trigger string)) *MockAPI_UnregisterCommand_Call
- func (_c *MockAPI_UnregisterCommand_Call) RunAndReturn(run func(string, string) error) *MockAPI_UnregisterCommand_Call
- type MockAPI_UpdateBotActive_Call
- func (_c *MockAPI_UpdateBotActive_Call) Return(_a0 *model.Bot, _a1 *model.AppError) *MockAPI_UpdateBotActive_Call
- func (_c *MockAPI_UpdateBotActive_Call) Run(run func(botUserId string, active bool)) *MockAPI_UpdateBotActive_Call
- func (_c *MockAPI_UpdateBotActive_Call) RunAndReturn(run func(string, bool) (*model.Bot, *model.AppError)) *MockAPI_UpdateBotActive_Call
- type MockAPI_UpdateChannelMemberNotifications_Call
- func (_c *MockAPI_UpdateChannelMemberNotifications_Call) Return(_a0 *model.ChannelMember, _a1 *model.AppError) *MockAPI_UpdateChannelMemberNotifications_Call
- func (_c *MockAPI_UpdateChannelMemberNotifications_Call) Run(run func(channelId string, userID string, notifications map[string]string)) *MockAPI_UpdateChannelMemberNotifications_Call
- func (_c *MockAPI_UpdateChannelMemberNotifications_Call) RunAndReturn(...) *MockAPI_UpdateChannelMemberNotifications_Call
- type MockAPI_UpdateChannelMemberRoles_Call
- func (_c *MockAPI_UpdateChannelMemberRoles_Call) Return(_a0 *model.ChannelMember, _a1 *model.AppError) *MockAPI_UpdateChannelMemberRoles_Call
- func (_c *MockAPI_UpdateChannelMemberRoles_Call) Run(run func(channelId string, userID string, newRoles string)) *MockAPI_UpdateChannelMemberRoles_Call
- func (_c *MockAPI_UpdateChannelMemberRoles_Call) RunAndReturn(run func(string, string, string) (*model.ChannelMember, *model.AppError)) *MockAPI_UpdateChannelMemberRoles_Call
- type MockAPI_UpdateChannelSidebarCategories_Call
- func (_c *MockAPI_UpdateChannelSidebarCategories_Call) Return(_a0 []*model.SidebarCategoryWithChannels, _a1 *model.AppError) *MockAPI_UpdateChannelSidebarCategories_Call
- func (_c *MockAPI_UpdateChannelSidebarCategories_Call) Run(...) *MockAPI_UpdateChannelSidebarCategories_Call
- func (_c *MockAPI_UpdateChannelSidebarCategories_Call) RunAndReturn(...) *MockAPI_UpdateChannelSidebarCategories_Call
- type MockAPI_UpdateChannel_Call
- func (_c *MockAPI_UpdateChannel_Call) Return(_a0 *model.Channel, _a1 *model.AppError) *MockAPI_UpdateChannel_Call
- func (_c *MockAPI_UpdateChannel_Call) Run(run func(channel *model.Channel)) *MockAPI_UpdateChannel_Call
- func (_c *MockAPI_UpdateChannel_Call) RunAndReturn(run func(*model.Channel) (*model.Channel, *model.AppError)) *MockAPI_UpdateChannel_Call
- type MockAPI_UpdateCommand_Call
- func (_c *MockAPI_UpdateCommand_Call) Return(_a0 *model.Command, _a1 error) *MockAPI_UpdateCommand_Call
- func (_c *MockAPI_UpdateCommand_Call) Run(run func(commandID string, updatedCmd *model.Command)) *MockAPI_UpdateCommand_Call
- func (_c *MockAPI_UpdateCommand_Call) RunAndReturn(run func(string, *model.Command) (*model.Command, error)) *MockAPI_UpdateCommand_Call
- type MockAPI_UpdateEphemeralPost_Call
- func (_c *MockAPI_UpdateEphemeralPost_Call) Return(_a0 *model.Post) *MockAPI_UpdateEphemeralPost_Call
- func (_c *MockAPI_UpdateEphemeralPost_Call) Run(run func(userID string, post *model.Post)) *MockAPI_UpdateEphemeralPost_Call
- func (_c *MockAPI_UpdateEphemeralPost_Call) RunAndReturn(run func(string, *model.Post) *model.Post) *MockAPI_UpdateEphemeralPost_Call
- type MockAPI_UpdateOAuthApp_Call
- func (_c *MockAPI_UpdateOAuthApp_Call) Return(_a0 *model.OAuthApp, _a1 *model.AppError) *MockAPI_UpdateOAuthApp_Call
- func (_c *MockAPI_UpdateOAuthApp_Call) Run(run func(app *model.OAuthApp)) *MockAPI_UpdateOAuthApp_Call
- func (_c *MockAPI_UpdateOAuthApp_Call) RunAndReturn(run func(*model.OAuthApp) (*model.OAuthApp, *model.AppError)) *MockAPI_UpdateOAuthApp_Call
- type MockAPI_UpdatePost_Call
- func (_c *MockAPI_UpdatePost_Call) Return(_a0 *model.Post, _a1 *model.AppError) *MockAPI_UpdatePost_Call
- func (_c *MockAPI_UpdatePost_Call) Run(run func(post *model.Post)) *MockAPI_UpdatePost_Call
- func (_c *MockAPI_UpdatePost_Call) RunAndReturn(run func(*model.Post) (*model.Post, *model.AppError)) *MockAPI_UpdatePost_Call
- type MockAPI_UpdatePreferencesForUser_Call
- func (_c *MockAPI_UpdatePreferencesForUser_Call) Return(_a0 *model.AppError) *MockAPI_UpdatePreferencesForUser_Call
- func (_c *MockAPI_UpdatePreferencesForUser_Call) Run(run func(userID string, preferences []model.Preference)) *MockAPI_UpdatePreferencesForUser_Call
- func (_c *MockAPI_UpdatePreferencesForUser_Call) RunAndReturn(run func(string, []model.Preference) *model.AppError) *MockAPI_UpdatePreferencesForUser_Call
- type MockAPI_UpdateTeamMemberRoles_Call
- func (_c *MockAPI_UpdateTeamMemberRoles_Call) Return(_a0 *model.TeamMember, _a1 *model.AppError) *MockAPI_UpdateTeamMemberRoles_Call
- func (_c *MockAPI_UpdateTeamMemberRoles_Call) Run(run func(teamID string, userID string, newRoles string)) *MockAPI_UpdateTeamMemberRoles_Call
- func (_c *MockAPI_UpdateTeamMemberRoles_Call) RunAndReturn(run func(string, string, string) (*model.TeamMember, *model.AppError)) *MockAPI_UpdateTeamMemberRoles_Call
- type MockAPI_UpdateTeam_Call
- func (_c *MockAPI_UpdateTeam_Call) Return(_a0 *model.Team, _a1 *model.AppError) *MockAPI_UpdateTeam_Call
- func (_c *MockAPI_UpdateTeam_Call) Run(run func(team *model.Team)) *MockAPI_UpdateTeam_Call
- func (_c *MockAPI_UpdateTeam_Call) RunAndReturn(run func(*model.Team) (*model.Team, *model.AppError)) *MockAPI_UpdateTeam_Call
- type MockAPI_UpdateUserActive_Call
- func (_c *MockAPI_UpdateUserActive_Call) Return(_a0 *model.AppError) *MockAPI_UpdateUserActive_Call
- func (_c *MockAPI_UpdateUserActive_Call) Run(run func(userID string, active bool)) *MockAPI_UpdateUserActive_Call
- func (_c *MockAPI_UpdateUserActive_Call) RunAndReturn(run func(string, bool) *model.AppError) *MockAPI_UpdateUserActive_Call
- type MockAPI_UpdateUserAuth_Call
- func (_c *MockAPI_UpdateUserAuth_Call) Return(_a0 *model.UserAuth, _a1 *model.AppError) *MockAPI_UpdateUserAuth_Call
- func (_c *MockAPI_UpdateUserAuth_Call) Run(run func(userID string, userAuth *model.UserAuth)) *MockAPI_UpdateUserAuth_Call
- func (_c *MockAPI_UpdateUserAuth_Call) RunAndReturn(run func(string, *model.UserAuth) (*model.UserAuth, *model.AppError)) *MockAPI_UpdateUserAuth_Call
- type MockAPI_UpdateUserCustomStatus_Call
- func (_c *MockAPI_UpdateUserCustomStatus_Call) Return(_a0 *model.AppError) *MockAPI_UpdateUserCustomStatus_Call
- func (_c *MockAPI_UpdateUserCustomStatus_Call) Run(run func(userID string, customStatus *model.CustomStatus)) *MockAPI_UpdateUserCustomStatus_Call
- func (_c *MockAPI_UpdateUserCustomStatus_Call) RunAndReturn(run func(string, *model.CustomStatus) *model.AppError) *MockAPI_UpdateUserCustomStatus_Call
- type MockAPI_UpdateUserStatus_Call
- func (_c *MockAPI_UpdateUserStatus_Call) Return(_a0 *model.Status, _a1 *model.AppError) *MockAPI_UpdateUserStatus_Call
- func (_c *MockAPI_UpdateUserStatus_Call) Run(run func(userID string, status string)) *MockAPI_UpdateUserStatus_Call
- func (_c *MockAPI_UpdateUserStatus_Call) RunAndReturn(run func(string, string) (*model.Status, *model.AppError)) *MockAPI_UpdateUserStatus_Call
- type MockAPI_UpdateUser_Call
- func (_c *MockAPI_UpdateUser_Call) Return(_a0 *model.User, _a1 *model.AppError) *MockAPI_UpdateUser_Call
- func (_c *MockAPI_UpdateUser_Call) Run(run func(user *model.User)) *MockAPI_UpdateUser_Call
- func (_c *MockAPI_UpdateUser_Call) RunAndReturn(run func(*model.User) (*model.User, *model.AppError)) *MockAPI_UpdateUser_Call
- type MockAPI_UploadData_Call
- func (_c *MockAPI_UploadData_Call) Return(_a0 *model.FileInfo, _a1 error) *MockAPI_UploadData_Call
- func (_c *MockAPI_UploadData_Call) Run(run func(us *model.UploadSession, rd io.Reader)) *MockAPI_UploadData_Call
- func (_c *MockAPI_UploadData_Call) RunAndReturn(run func(*model.UploadSession, io.Reader) (*model.FileInfo, error)) *MockAPI_UploadData_Call
- type MockAPI_UploadFile_Call
- func (_c *MockAPI_UploadFile_Call) Return(_a0 *model.FileInfo, _a1 *model.AppError) *MockAPI_UploadFile_Call
- func (_c *MockAPI_UploadFile_Call) Run(run func(data []byte, channelId string, filename string)) *MockAPI_UploadFile_Call
- func (_c *MockAPI_UploadFile_Call) RunAndReturn(run func([]byte, string, string) (*model.FileInfo, *model.AppError)) *MockAPI_UploadFile_Call
- type MockDriver
- func (_m *MockDriver) Conn(isMaster bool) (string, error)
- func (_m *MockDriver) ConnClose(connID string) error
- func (_m *MockDriver) ConnExec(connID string, q string, args []driver.NamedValue) (plugin.ResultContainer, error)
- func (_m *MockDriver) ConnPing(connID string) error
- func (_m *MockDriver) ConnQuery(connID string, q string, args []driver.NamedValue) (string, error)
- func (_m *MockDriver) EXPECT() *MockDriver_Expecter
- func (_m *MockDriver) RowsClose(rowsID string) error
- func (_m *MockDriver) RowsColumnTypeDatabaseTypeName(rowsID string, index int) string
- func (_m *MockDriver) RowsColumnTypePrecisionScale(rowsID string, index int) (int64, int64, bool)
- func (_m *MockDriver) RowsColumns(rowsID string) []string
- func (_m *MockDriver) RowsHasNextResultSet(rowsID string) bool
- func (_m *MockDriver) RowsNext(rowsID string, dest []driver.Value) error
- func (_m *MockDriver) RowsNextResultSet(rowsID string) error
- func (_m *MockDriver) Stmt(connID string, q string) (string, error)
- func (_m *MockDriver) StmtClose(stID string) error
- func (_m *MockDriver) StmtExec(stID string, args []driver.NamedValue) (plugin.ResultContainer, error)
- func (_m *MockDriver) StmtNumInput(stID string) int
- func (_m *MockDriver) StmtQuery(stID string, args []driver.NamedValue) (string, error)
- func (_m *MockDriver) Tx(connID string, opts driver.TxOptions) (string, error)
- func (_m *MockDriver) TxCommit(txID string) error
- func (_m *MockDriver) TxRollback(txID string) error
- type MockDriver_ConnClose_Call
- type MockDriver_ConnExec_Call
- func (_c *MockDriver_ConnExec_Call) Return(_a0 plugin.ResultContainer, _a1 error) *MockDriver_ConnExec_Call
- func (_c *MockDriver_ConnExec_Call) Run(run func(connID string, q string, args []driver.NamedValue)) *MockDriver_ConnExec_Call
- func (_c *MockDriver_ConnExec_Call) RunAndReturn(run func(string, string, []driver.NamedValue) (plugin.ResultContainer, error)) *MockDriver_ConnExec_Call
- type MockDriver_ConnPing_Call
- type MockDriver_ConnQuery_Call
- func (_c *MockDriver_ConnQuery_Call) Return(_a0 string, _a1 error) *MockDriver_ConnQuery_Call
- func (_c *MockDriver_ConnQuery_Call) Run(run func(connID string, q string, args []driver.NamedValue)) *MockDriver_ConnQuery_Call
- func (_c *MockDriver_ConnQuery_Call) RunAndReturn(run func(string, string, []driver.NamedValue) (string, error)) *MockDriver_ConnQuery_Call
- type MockDriver_Conn_Call
- type MockDriver_Expecter
- func (_e *MockDriver_Expecter) Conn(isMaster interface{}) *MockDriver_Conn_Call
- func (_e *MockDriver_Expecter) ConnClose(connID interface{}) *MockDriver_ConnClose_Call
- func (_e *MockDriver_Expecter) ConnExec(connID interface{}, q interface{}, args interface{}) *MockDriver_ConnExec_Call
- func (_e *MockDriver_Expecter) ConnPing(connID interface{}) *MockDriver_ConnPing_Call
- func (_e *MockDriver_Expecter) ConnQuery(connID interface{}, q interface{}, args interface{}) *MockDriver_ConnQuery_Call
- func (_e *MockDriver_Expecter) RowsClose(rowsID interface{}) *MockDriver_RowsClose_Call
- func (_e *MockDriver_Expecter) RowsColumnTypeDatabaseTypeName(rowsID interface{}, index interface{}) *MockDriver_RowsColumnTypeDatabaseTypeName_Call
- func (_e *MockDriver_Expecter) RowsColumnTypePrecisionScale(rowsID interface{}, index interface{}) *MockDriver_RowsColumnTypePrecisionScale_Call
- func (_e *MockDriver_Expecter) RowsColumns(rowsID interface{}) *MockDriver_RowsColumns_Call
- func (_e *MockDriver_Expecter) RowsHasNextResultSet(rowsID interface{}) *MockDriver_RowsHasNextResultSet_Call
- func (_e *MockDriver_Expecter) RowsNext(rowsID interface{}, dest interface{}) *MockDriver_RowsNext_Call
- func (_e *MockDriver_Expecter) RowsNextResultSet(rowsID interface{}) *MockDriver_RowsNextResultSet_Call
- func (_e *MockDriver_Expecter) Stmt(connID interface{}, q interface{}) *MockDriver_Stmt_Call
- func (_e *MockDriver_Expecter) StmtClose(stID interface{}) *MockDriver_StmtClose_Call
- func (_e *MockDriver_Expecter) StmtExec(stID interface{}, args interface{}) *MockDriver_StmtExec_Call
- func (_e *MockDriver_Expecter) StmtNumInput(stID interface{}) *MockDriver_StmtNumInput_Call
- func (_e *MockDriver_Expecter) StmtQuery(stID interface{}, args interface{}) *MockDriver_StmtQuery_Call
- func (_e *MockDriver_Expecter) Tx(connID interface{}, opts interface{}) *MockDriver_Tx_Call
- func (_e *MockDriver_Expecter) TxCommit(txID interface{}) *MockDriver_TxCommit_Call
- func (_e *MockDriver_Expecter) TxRollback(txID interface{}) *MockDriver_TxRollback_Call
- type MockDriver_RowsClose_Call
- type MockDriver_RowsColumnTypeDatabaseTypeName_Call
- func (_c *MockDriver_RowsColumnTypeDatabaseTypeName_Call) Return(_a0 string) *MockDriver_RowsColumnTypeDatabaseTypeName_Call
- func (_c *MockDriver_RowsColumnTypeDatabaseTypeName_Call) Run(run func(rowsID string, index int)) *MockDriver_RowsColumnTypeDatabaseTypeName_Call
- func (_c *MockDriver_RowsColumnTypeDatabaseTypeName_Call) RunAndReturn(run func(string, int) string) *MockDriver_RowsColumnTypeDatabaseTypeName_Call
- type MockDriver_RowsColumnTypePrecisionScale_Call
- func (_c *MockDriver_RowsColumnTypePrecisionScale_Call) Return(_a0 int64, _a1 int64, _a2 bool) *MockDriver_RowsColumnTypePrecisionScale_Call
- func (_c *MockDriver_RowsColumnTypePrecisionScale_Call) Run(run func(rowsID string, index int)) *MockDriver_RowsColumnTypePrecisionScale_Call
- func (_c *MockDriver_RowsColumnTypePrecisionScale_Call) RunAndReturn(run func(string, int) (int64, int64, bool)) *MockDriver_RowsColumnTypePrecisionScale_Call
- type MockDriver_RowsColumns_Call
- type MockDriver_RowsHasNextResultSet_Call
- func (_c *MockDriver_RowsHasNextResultSet_Call) Return(_a0 bool) *MockDriver_RowsHasNextResultSet_Call
- func (_c *MockDriver_RowsHasNextResultSet_Call) Run(run func(rowsID string)) *MockDriver_RowsHasNextResultSet_Call
- func (_c *MockDriver_RowsHasNextResultSet_Call) RunAndReturn(run func(string) bool) *MockDriver_RowsHasNextResultSet_Call
- type MockDriver_RowsNextResultSet_Call
- func (_c *MockDriver_RowsNextResultSet_Call) Return(_a0 error) *MockDriver_RowsNextResultSet_Call
- func (_c *MockDriver_RowsNextResultSet_Call) Run(run func(rowsID string)) *MockDriver_RowsNextResultSet_Call
- func (_c *MockDriver_RowsNextResultSet_Call) RunAndReturn(run func(string) error) *MockDriver_RowsNextResultSet_Call
- type MockDriver_RowsNext_Call
- func (_c *MockDriver_RowsNext_Call) Return(_a0 error) *MockDriver_RowsNext_Call
- func (_c *MockDriver_RowsNext_Call) Run(run func(rowsID string, dest []driver.Value)) *MockDriver_RowsNext_Call
- func (_c *MockDriver_RowsNext_Call) RunAndReturn(run func(string, []driver.Value) error) *MockDriver_RowsNext_Call
- type MockDriver_StmtClose_Call
- type MockDriver_StmtExec_Call
- func (_c *MockDriver_StmtExec_Call) Return(_a0 plugin.ResultContainer, _a1 error) *MockDriver_StmtExec_Call
- func (_c *MockDriver_StmtExec_Call) Run(run func(stID string, args []driver.NamedValue)) *MockDriver_StmtExec_Call
- func (_c *MockDriver_StmtExec_Call) RunAndReturn(run func(string, []driver.NamedValue) (plugin.ResultContainer, error)) *MockDriver_StmtExec_Call
- type MockDriver_StmtNumInput_Call
- type MockDriver_StmtQuery_Call
- func (_c *MockDriver_StmtQuery_Call) Return(_a0 string, _a1 error) *MockDriver_StmtQuery_Call
- func (_c *MockDriver_StmtQuery_Call) Run(run func(stID string, args []driver.NamedValue)) *MockDriver_StmtQuery_Call
- func (_c *MockDriver_StmtQuery_Call) RunAndReturn(run func(string, []driver.NamedValue) (string, error)) *MockDriver_StmtQuery_Call
- type MockDriver_Stmt_Call
- type MockDriver_TxCommit_Call
- type MockDriver_TxRollback_Call
- type MockDriver_Tx_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAPI ¶
MockAPI is an autogenerated mock type for the API type
func NewMockAPI ¶
NewMockAPI creates a new instance of MockAPI. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockAPI) AddChannelMember ¶
func (_m *MockAPI) AddChannelMember(channelId string, userID string) (*model.ChannelMember, *model.AppError)
AddChannelMember provides a mock function with given fields: channelId, userID
func (*MockAPI) AddReaction ¶
AddReaction provides a mock function with given fields: reaction
func (*MockAPI) AddUserToChannel ¶
func (_m *MockAPI) AddUserToChannel(channelId string, userID string, asUserId string) (*model.ChannelMember, *model.AppError)
AddUserToChannel provides a mock function with given fields: channelId, userID, asUserId
func (*MockAPI) CopyFileInfos ¶
CopyFileInfos provides a mock function with given fields: userID, fileIds
func (*MockAPI) CreateChannel ¶
CreateChannel provides a mock function with given fields: channel
func (*MockAPI) CreateChannelSidebarCategory ¶
func (_m *MockAPI) CreateChannelSidebarCategory(userID string, teamID string, newCategory *model.SidebarCategoryWithChannels) (*model.SidebarCategoryWithChannels, *model.AppError)
CreateChannelSidebarCategory provides a mock function with given fields: userID, teamID, newCategory
func (*MockAPI) CreateCommand ¶
CreateCommand provides a mock function with given fields: cmd
func (*MockAPI) CreateOAuthApp ¶
CreateOAuthApp provides a mock function with given fields: app
func (*MockAPI) CreatePost ¶
CreatePost provides a mock function with given fields: post
func (*MockAPI) CreateSession ¶
CreateSession provides a mock function with given fields: session
func (*MockAPI) CreateTeam ¶
CreateTeam provides a mock function with given fields: team
func (*MockAPI) CreateTeamMember ¶
func (_m *MockAPI) CreateTeamMember(teamID string, userID string) (*model.TeamMember, *model.AppError)
CreateTeamMember provides a mock function with given fields: teamID, userID
func (*MockAPI) CreateTeamMembers ¶
func (_m *MockAPI) CreateTeamMembers(teamID string, userIds []string, requestorId string) ([]*model.TeamMember, *model.AppError)
CreateTeamMembers provides a mock function with given fields: teamID, userIds, requestorId
func (*MockAPI) CreateTeamMembersGracefully ¶
func (_m *MockAPI) CreateTeamMembersGracefully(teamID string, userIds []string, requestorId string) ([]*model.TeamMemberWithError, *model.AppError)
CreateTeamMembersGracefully provides a mock function with given fields: teamID, userIds, requestorId
func (*MockAPI) CreateUploadSession ¶
func (_m *MockAPI) CreateUploadSession(us *model.UploadSession) (*model.UploadSession, error)
CreateUploadSession provides a mock function with given fields: us
func (*MockAPI) CreateUser ¶
CreateUser provides a mock function with given fields: user
func (*MockAPI) CreateUserAccessToken ¶
func (_m *MockAPI) CreateUserAccessToken(token *model.UserAccessToken) (*model.UserAccessToken, *model.AppError)
CreateUserAccessToken provides a mock function with given fields: token
func (*MockAPI) DeleteChannel ¶
DeleteChannel provides a mock function with given fields: channelId
func (*MockAPI) DeleteChannelMember ¶
DeleteChannelMember provides a mock function with given fields: channelId, userID
func (*MockAPI) DeleteCommand ¶
DeleteCommand provides a mock function with given fields: commandID
func (*MockAPI) DeleteEphemeralPost ¶
DeleteEphemeralPost provides a mock function with given fields: userID, postId
func (*MockAPI) DeleteOAuthApp ¶
DeleteOAuthApp provides a mock function with given fields: appID
func (*MockAPI) DeletePost ¶
DeletePost provides a mock function with given fields: postId
func (*MockAPI) DeletePreferencesForUser ¶
func (_m *MockAPI) DeletePreferencesForUser(userID string, preferences []model.Preference) *model.AppError
DeletePreferencesForUser provides a mock function with given fields: userID, preferences
func (*MockAPI) DeleteTeam ¶
DeleteTeam provides a mock function with given fields: teamID
func (*MockAPI) DeleteTeamMember ¶
func (_m *MockAPI) DeleteTeamMember(teamID string, userID string, requestorId string) *model.AppError
DeleteTeamMember provides a mock function with given fields: teamID, userID, requestorId
func (*MockAPI) DeleteUser ¶
DeleteUser provides a mock function with given fields: userID
func (*MockAPI) DisablePlugin ¶
DisablePlugin provides a mock function with given fields: id
func (*MockAPI) EXPECT ¶
func (_m *MockAPI) EXPECT() *MockAPI_Expecter
func (*MockAPI) EnablePlugin ¶
EnablePlugin provides a mock function with given fields: id
func (*MockAPI) EnsureBotUser ¶
EnsureBotUser provides a mock function with given fields: bot
func (*MockAPI) ExecuteSlashCommand ¶
func (_m *MockAPI) ExecuteSlashCommand(commandArgs *model.CommandArgs) (*model.CommandResponse, error)
ExecuteSlashCommand provides a mock function with given fields: commandArgs
func (*MockAPI) ExtendSessionExpiry ¶
ExtendSessionExpiry provides a mock function with given fields: sessionID, newExpiry
func (*MockAPI) GetBot ¶
GetBot provides a mock function with given fields: botUserId, includeDeleted
func (*MockAPI) GetBundlePath ¶
GetBundlePath provides a mock function with given fields:
func (*MockAPI) GetChannel ¶
GetChannel provides a mock function with given fields: channelId
func (*MockAPI) GetChannelByName ¶
func (_m *MockAPI) GetChannelByName(teamID string, name string, includeDeleted bool) (*model.Channel, *model.AppError)
GetChannelByName provides a mock function with given fields: teamID, name, includeDeleted
func (*MockAPI) GetChannelByNameForTeamName ¶
func (_m *MockAPI) GetChannelByNameForTeamName(teamName string, channelName string, includeDeleted bool) (*model.Channel, *model.AppError)
GetChannelByNameForTeamName provides a mock function with given fields: teamName, channelName, includeDeleted
func (*MockAPI) GetChannelMember ¶
func (_m *MockAPI) GetChannelMember(channelId string, userID string) (*model.ChannelMember, *model.AppError)
GetChannelMember provides a mock function with given fields: channelId, userID
func (*MockAPI) GetChannelMembers ¶
func (_m *MockAPI) GetChannelMembers(channelId string, page int, perPage int) (model.ChannelMembers, *model.AppError)
GetChannelMembers provides a mock function with given fields: channelId, page, perPage
func (*MockAPI) GetChannelMembersByIds ¶
func (_m *MockAPI) GetChannelMembersByIds(channelId string, userIds []string) (model.ChannelMembers, *model.AppError)
GetChannelMembersByIds provides a mock function with given fields: channelId, userIds
func (*MockAPI) GetChannelMembersForUser ¶
func (_m *MockAPI) GetChannelMembersForUser(teamID string, userID string, page int, perPage int) ([]*model.ChannelMember, *model.AppError)
GetChannelMembersForUser provides a mock function with given fields: teamID, userID, page, perPage
func (*MockAPI) GetChannelSidebarCategories ¶
func (_m *MockAPI) GetChannelSidebarCategories(userID string, teamID string) (*model.OrderedSidebarCategories, *model.AppError)
GetChannelSidebarCategories provides a mock function with given fields: userID, teamID
func (*MockAPI) GetChannelStats ¶
GetChannelStats provides a mock function with given fields: channelId
func (*MockAPI) GetChannelsForTeamForUser ¶
func (_m *MockAPI) GetChannelsForTeamForUser(teamID string, userID string, includeDeleted bool) ([]*model.Channel, *model.AppError)
GetChannelsForTeamForUser provides a mock function with given fields: teamID, userID, includeDeleted
func (*MockAPI) GetCloudLimits ¶
func (_m *MockAPI) GetCloudLimits() (*model.ProductLimits, error)
GetCloudLimits provides a mock function with given fields:
func (*MockAPI) GetCommand ¶
GetCommand provides a mock function with given fields: commandID
func (*MockAPI) GetDiagnosticId ¶
GetDiagnosticId provides a mock function with given fields:
func (*MockAPI) GetDirectChannel ¶
func (_m *MockAPI) GetDirectChannel(userId1 string, userId2 string) (*model.Channel, *model.AppError)
GetDirectChannel provides a mock function with given fields: userId1, userId2
func (*MockAPI) GetEmojiByName ¶
GetEmojiByName provides a mock function with given fields: name
func (*MockAPI) GetEmojiImage ¶
GetEmojiImage provides a mock function with given fields: emojiId
func (*MockAPI) GetEmojiList ¶
func (_m *MockAPI) GetEmojiList(sortBy string, page int, perPage int) ([]*model.Emoji, *model.AppError)
GetEmojiList provides a mock function with given fields: sortBy, page, perPage
func (*MockAPI) GetFileInfo ¶
GetFileInfo provides a mock function with given fields: fileId
func (*MockAPI) GetFileInfos ¶
func (_m *MockAPI) GetFileInfos(page int, perPage int, opt *model.GetFileInfosOptions) ([]*model.FileInfo, *model.AppError)
GetFileInfos provides a mock function with given fields: page, perPage, opt
func (*MockAPI) GetFileLink ¶
GetFileLink provides a mock function with given fields: fileId
func (*MockAPI) GetGroupByName ¶
GetGroupByName provides a mock function with given fields: name
func (*MockAPI) GetGroupChannel ¶
GetGroupChannel provides a mock function with given fields: userIds
func (*MockAPI) GetGroupMemberUsers ¶
func (_m *MockAPI) GetGroupMemberUsers(groupID string, page int, perPage int) ([]*model.User, *model.AppError)
GetGroupMemberUsers provides a mock function with given fields: groupID, page, perPage
func (*MockAPI) GetGroupsBySource ¶
func (_m *MockAPI) GetGroupsBySource(groupSource model.GroupSource) ([]*model.Group, *model.AppError)
GetGroupsBySource provides a mock function with given fields: groupSource
func (*MockAPI) GetGroupsForUser ¶
GetGroupsForUser provides a mock function with given fields: userID
func (*MockAPI) GetLDAPUserAttributes ¶
func (_m *MockAPI) GetLDAPUserAttributes(userID string, attributes []string) (map[string]string, *model.AppError)
GetLDAPUserAttributes provides a mock function with given fields: userID, attributes
func (*MockAPI) GetLicense ¶
GetLicense provides a mock function with given fields:
func (*MockAPI) GetOAuthApp ¶
GetOAuthApp provides a mock function with given fields: appID
func (*MockAPI) GetPluginConfig ¶
GetPluginConfig provides a mock function with given fields:
func (*MockAPI) GetPluginStatus ¶
GetPluginStatus provides a mock function with given fields: id
func (*MockAPI) GetPlugins ¶
GetPlugins provides a mock function with given fields:
func (*MockAPI) GetPostThread ¶
GetPostThread provides a mock function with given fields: postId
func (*MockAPI) GetPostsAfter ¶
func (_m *MockAPI) GetPostsAfter(channelId string, postId string, page int, perPage int) (*model.PostList, *model.AppError)
GetPostsAfter provides a mock function with given fields: channelId, postId, page, perPage
func (*MockAPI) GetPostsBefore ¶
func (_m *MockAPI) GetPostsBefore(channelId string, postId string, page int, perPage int) (*model.PostList, *model.AppError)
GetPostsBefore provides a mock function with given fields: channelId, postId, page, perPage
func (*MockAPI) GetPostsForChannel ¶
func (_m *MockAPI) GetPostsForChannel(channelId string, page int, perPage int) (*model.PostList, *model.AppError)
GetPostsForChannel provides a mock function with given fields: channelId, page, perPage
func (*MockAPI) GetPostsSince ¶
GetPostsSince provides a mock function with given fields: channelId, time
func (*MockAPI) GetPreferencesForUser ¶
GetPreferencesForUser provides a mock function with given fields: userID
func (*MockAPI) GetProfileImage ¶
GetProfileImage provides a mock function with given fields: userID
func (*MockAPI) GetPublicChannelsForTeam ¶
func (_m *MockAPI) GetPublicChannelsForTeam(teamID string, page int, perPage int) ([]*model.Channel, *model.AppError)
GetPublicChannelsForTeam provides a mock function with given fields: teamID, page, perPage
func (*MockAPI) GetReactions ¶
GetReactions provides a mock function with given fields: postId
func (*MockAPI) GetServerVersion ¶
GetServerVersion provides a mock function with given fields:
func (*MockAPI) GetSession ¶
GetSession provides a mock function with given fields: sessionID
func (*MockAPI) GetSystemInstallDate ¶
GetSystemInstallDate provides a mock function with given fields:
func (*MockAPI) GetTeamByName ¶
GetTeamByName provides a mock function with given fields: name
func (*MockAPI) GetTeamIcon ¶
GetTeamIcon provides a mock function with given fields: teamID
func (*MockAPI) GetTeamMember ¶
GetTeamMember provides a mock function with given fields: teamID, userID
func (*MockAPI) GetTeamMembers ¶
func (_m *MockAPI) GetTeamMembers(teamID string, page int, perPage int) ([]*model.TeamMember, *model.AppError)
GetTeamMembers provides a mock function with given fields: teamID, page, perPage
func (*MockAPI) GetTeamMembersForUser ¶
func (_m *MockAPI) GetTeamMembersForUser(userID string, page int, perPage int) ([]*model.TeamMember, *model.AppError)
GetTeamMembersForUser provides a mock function with given fields: userID, page, perPage
func (*MockAPI) GetTeamStats ¶
GetTeamStats provides a mock function with given fields: teamID
func (*MockAPI) GetTeamsForUser ¶
GetTeamsForUser provides a mock function with given fields: userID
func (*MockAPI) GetTeamsUnreadForUser ¶
GetTeamsUnreadForUser provides a mock function with given fields: userID
func (*MockAPI) GetTelemetryId ¶
GetTelemetryId provides a mock function with given fields:
func (*MockAPI) GetUnsanitizedConfig ¶
GetUnsanitizedConfig provides a mock function with given fields:
func (*MockAPI) GetUploadSession ¶
func (_m *MockAPI) GetUploadSession(uploadID string) (*model.UploadSession, error)
GetUploadSession provides a mock function with given fields: uploadID
func (*MockAPI) GetUserByEmail ¶
GetUserByEmail provides a mock function with given fields: email
func (*MockAPI) GetUserByUsername ¶
GetUserByUsername provides a mock function with given fields: name
func (*MockAPI) GetUserStatus ¶
GetUserStatus provides a mock function with given fields: userID
func (*MockAPI) GetUserStatusesByIds ¶
GetUserStatusesByIds provides a mock function with given fields: userIds
func (*MockAPI) GetUsersByUsernames ¶
GetUsersByUsernames provides a mock function with given fields: usernames
func (*MockAPI) GetUsersInChannel ¶
func (_m *MockAPI) GetUsersInChannel(channelID string, sortBy string, page int, perPage int) ([]*model.User, *model.AppError)
GetUsersInChannel provides a mock function with given fields: channelID, sortBy, page, perPage
func (*MockAPI) GetUsersInTeam ¶
func (_m *MockAPI) GetUsersInTeam(teamID string, page int, perPage int) ([]*model.User, *model.AppError)
GetUsersInTeam provides a mock function with given fields: teamID, page, perPage
func (*MockAPI) HasPermissionTo ¶
func (_m *MockAPI) HasPermissionTo(userID string, permission *model.Permission) bool
HasPermissionTo provides a mock function with given fields: userID, permission
func (*MockAPI) HasPermissionToChannel ¶
func (_m *MockAPI) HasPermissionToChannel(userID string, channelId string, permission *model.Permission) bool
HasPermissionToChannel provides a mock function with given fields: userID, channelId, permission
func (*MockAPI) HasPermissionToTeam ¶
func (_m *MockAPI) HasPermissionToTeam(userID string, teamID string, permission *model.Permission) bool
HasPermissionToTeam provides a mock function with given fields: userID, teamID, permission
func (*MockAPI) InstallPlugin ¶
InstallPlugin provides a mock function with given fields: file, replace
func (*MockAPI) IsEnterpriseReady ¶
IsEnterpriseReady provides a mock function with given fields:
func (*MockAPI) KVCompareAndDelete ¶
KVCompareAndDelete provides a mock function with given fields: key, oldValue
func (*MockAPI) KVCompareAndSet ¶
func (_m *MockAPI) KVCompareAndSet(key string, oldValue []byte, newValue []byte) (bool, *model.AppError)
KVCompareAndSet provides a mock function with given fields: key, oldValue, newValue
func (*MockAPI) KVDeleteAll ¶
KVDeleteAll provides a mock function with given fields:
func (*MockAPI) KVSetWithExpiry ¶
KVSetWithExpiry provides a mock function with given fields: key, value, expireInSeconds
func (*MockAPI) KVSetWithOptions ¶
func (_m *MockAPI) KVSetWithOptions(key string, value []byte, options model.PluginKVSetOptions) (bool, *model.AppError)
KVSetWithOptions provides a mock function with given fields: key, value, options
func (*MockAPI) ListBuiltInCommands ¶
ListBuiltInCommands provides a mock function with given fields:
func (*MockAPI) ListCommands ¶
ListCommands provides a mock function with given fields: teamID
func (*MockAPI) ListCustomCommands ¶
ListCustomCommands provides a mock function with given fields: teamID
func (*MockAPI) ListPluginCommands ¶
ListPluginCommands provides a mock function with given fields: teamID
func (*MockAPI) LoadPluginConfiguration ¶
LoadPluginConfiguration provides a mock function with given fields: dest
func (*MockAPI) OpenInteractiveDialog ¶
func (_m *MockAPI) OpenInteractiveDialog(dialog model.OpenDialogRequest) *model.AppError
OpenInteractiveDialog provides a mock function with given fields: dialog
func (*MockAPI) PatchBot ¶
func (_m *MockAPI) PatchBot(botUserId string, botPatch *model.BotPatch) (*model.Bot, *model.AppError)
PatchBot provides a mock function with given fields: botUserId, botPatch
func (*MockAPI) PermanentDeleteBot ¶
PermanentDeleteBot provides a mock function with given fields: botUserId
func (*MockAPI) PluginHTTP ¶
PluginHTTP provides a mock function with given fields: request
func (*MockAPI) PublishPluginClusterEvent ¶
func (_m *MockAPI) PublishPluginClusterEvent(ev model.PluginClusterEvent, opts model.PluginClusterEventSendOptions) error
PublishPluginClusterEvent provides a mock function with given fields: ev, opts
func (*MockAPI) PublishUserTyping ¶
func (_m *MockAPI) PublishUserTyping(userID string, channelId string, parentId string) *model.AppError
PublishUserTyping provides a mock function with given fields: userID, channelId, parentId
func (*MockAPI) PublishWebSocketEvent ¶
func (_m *MockAPI) PublishWebSocketEvent(event string, payload map[string]interface{}, broadcast *model.WebsocketBroadcast)
PublishWebSocketEvent provides a mock function with given fields: event, payload, broadcast
func (*MockAPI) RegisterCollectionAndTopic ¶
RegisterCollectionAndTopic provides a mock function with given fields: collectionType, topicType
func (*MockAPI) RegisterCommand ¶
RegisterCommand provides a mock function with given fields: command
func (*MockAPI) RemovePlugin ¶
RemovePlugin provides a mock function with given fields: id
func (*MockAPI) RemoveReaction ¶
RemoveReaction provides a mock function with given fields: reaction
func (*MockAPI) RemoveTeamIcon ¶
RemoveTeamIcon provides a mock function with given fields: teamID
func (*MockAPI) RemoveUserCustomStatus ¶
RemoveUserCustomStatus provides a mock function with given fields: userID
func (*MockAPI) RequestTrialLicense ¶
func (_m *MockAPI) RequestTrialLicense(requesterID string, users int, termsAccepted bool, receiveEmailsAccepted bool) *model.AppError
RequestTrialLicense provides a mock function with given fields: requesterID, users, termsAccepted, receiveEmailsAccepted
func (*MockAPI) RevokeSession ¶
RevokeSession provides a mock function with given fields: sessionID
func (*MockAPI) RevokeUserAccessToken ¶
RevokeUserAccessToken provides a mock function with given fields: tokenID
func (*MockAPI) RolesGrantPermission ¶
RolesGrantPermission provides a mock function with given fields: roleNames, permissionId
func (*MockAPI) SaveConfig ¶
SaveConfig provides a mock function with given fields: config
func (*MockAPI) SavePluginConfig ¶
SavePluginConfig provides a mock function with given fields: config
func (*MockAPI) SearchChannels ¶
SearchChannels provides a mock function with given fields: teamID, term
func (*MockAPI) SearchPostsInTeam ¶
func (_m *MockAPI) SearchPostsInTeam(teamID string, paramsList []*model.SearchParams) ([]*model.Post, *model.AppError)
SearchPostsInTeam provides a mock function with given fields: teamID, paramsList
func (*MockAPI) SearchPostsInTeamForUser ¶
func (_m *MockAPI) SearchPostsInTeamForUser(teamID string, userID string, searchParams model.SearchParameter) (*model.PostSearchResults, *model.AppError)
SearchPostsInTeamForUser provides a mock function with given fields: teamID, userID, searchParams
func (*MockAPI) SearchTeams ¶
SearchTeams provides a mock function with given fields: term
func (*MockAPI) SearchUsers ¶
SearchUsers provides a mock function with given fields: search
func (*MockAPI) SendEphemeralPost ¶
SendEphemeralPost provides a mock function with given fields: userID, post
func (*MockAPI) SendMail ¶
SendMail provides a mock function with given fields: to, subject, htmlBody
func (*MockAPI) SendPushNotification ¶
func (_m *MockAPI) SendPushNotification(notification *model.PushNotification, userID string) *model.AppError
SendPushNotification provides a mock function with given fields: notification, userID
func (*MockAPI) SetFileSearchableContent ¶
SetFileSearchableContent provides a mock function with given fields: fileID, content
func (*MockAPI) SetProfileImage ¶
SetProfileImage provides a mock function with given fields: userID, data
func (*MockAPI) SetTeamIcon ¶
SetTeamIcon provides a mock function with given fields: teamID, data
func (*MockAPI) SetUserStatusTimedDND ¶
func (_m *MockAPI) SetUserStatusTimedDND(userId string, endtime int64) (*model.Status, *model.AppError)
SetUserStatusTimedDND provides a mock function with given fields: userId, endtime
func (*MockAPI) UnregisterCommand ¶
UnregisterCommand provides a mock function with given fields: teamID, trigger
func (*MockAPI) UpdateBotActive ¶
UpdateBotActive provides a mock function with given fields: botUserId, active
func (*MockAPI) UpdateChannel ¶
UpdateChannel provides a mock function with given fields: channel
func (*MockAPI) UpdateChannelMemberNotifications ¶
func (_m *MockAPI) UpdateChannelMemberNotifications(channelId string, userID string, notifications map[string]string) (*model.ChannelMember, *model.AppError)
UpdateChannelMemberNotifications provides a mock function with given fields: channelId, userID, notifications
func (*MockAPI) UpdateChannelMemberRoles ¶
func (_m *MockAPI) UpdateChannelMemberRoles(channelId string, userID string, newRoles string) (*model.ChannelMember, *model.AppError)
UpdateChannelMemberRoles provides a mock function with given fields: channelId, userID, newRoles
func (*MockAPI) UpdateChannelSidebarCategories ¶
func (_m *MockAPI) UpdateChannelSidebarCategories(userID string, teamID string, categories []*model.SidebarCategoryWithChannels) ([]*model.SidebarCategoryWithChannels, *model.AppError)
UpdateChannelSidebarCategories provides a mock function with given fields: userID, teamID, categories
func (*MockAPI) UpdateCommand ¶
func (_m *MockAPI) UpdateCommand(commandID string, updatedCmd *model.Command) (*model.Command, error)
UpdateCommand provides a mock function with given fields: commandID, updatedCmd
func (*MockAPI) UpdateEphemeralPost ¶
UpdateEphemeralPost provides a mock function with given fields: userID, post
func (*MockAPI) UpdateOAuthApp ¶
UpdateOAuthApp provides a mock function with given fields: app
func (*MockAPI) UpdatePost ¶
UpdatePost provides a mock function with given fields: post
func (*MockAPI) UpdatePreferencesForUser ¶
func (_m *MockAPI) UpdatePreferencesForUser(userID string, preferences []model.Preference) *model.AppError
UpdatePreferencesForUser provides a mock function with given fields: userID, preferences
func (*MockAPI) UpdateTeam ¶
UpdateTeam provides a mock function with given fields: team
func (*MockAPI) UpdateTeamMemberRoles ¶
func (_m *MockAPI) UpdateTeamMemberRoles(teamID string, userID string, newRoles string) (*model.TeamMember, *model.AppError)
UpdateTeamMemberRoles provides a mock function with given fields: teamID, userID, newRoles
func (*MockAPI) UpdateUser ¶
UpdateUser provides a mock function with given fields: user
func (*MockAPI) UpdateUserActive ¶
UpdateUserActive provides a mock function with given fields: userID, active
func (*MockAPI) UpdateUserAuth ¶
func (_m *MockAPI) UpdateUserAuth(userID string, userAuth *model.UserAuth) (*model.UserAuth, *model.AppError)
UpdateUserAuth provides a mock function with given fields: userID, userAuth
func (*MockAPI) UpdateUserCustomStatus ¶
func (_m *MockAPI) UpdateUserCustomStatus(userID string, customStatus *model.CustomStatus) *model.AppError
UpdateUserCustomStatus provides a mock function with given fields: userID, customStatus
func (*MockAPI) UpdateUserStatus ¶
UpdateUserStatus provides a mock function with given fields: userID, status
func (*MockAPI) UploadData ¶
UploadData provides a mock function with given fields: us, rd
type MockAPI_AddChannelMember_Call ¶
MockAPI_AddChannelMember_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddChannelMember'
func (*MockAPI_AddChannelMember_Call) Return ¶
func (_c *MockAPI_AddChannelMember_Call) Return(_a0 *model.ChannelMember, _a1 *model.AppError) *MockAPI_AddChannelMember_Call
func (*MockAPI_AddChannelMember_Call) Run ¶
func (_c *MockAPI_AddChannelMember_Call) Run(run func(channelId string, userID string)) *MockAPI_AddChannelMember_Call
func (*MockAPI_AddChannelMember_Call) RunAndReturn ¶
func (_c *MockAPI_AddChannelMember_Call) RunAndReturn(run func(string, string) (*model.ChannelMember, *model.AppError)) *MockAPI_AddChannelMember_Call
type MockAPI_AddReaction_Call ¶
MockAPI_AddReaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddReaction'
func (*MockAPI_AddReaction_Call) Return ¶
func (_c *MockAPI_AddReaction_Call) Return(_a0 *model.Reaction, _a1 *model.AppError) *MockAPI_AddReaction_Call
func (*MockAPI_AddReaction_Call) Run ¶
func (_c *MockAPI_AddReaction_Call) Run(run func(reaction *model.Reaction)) *MockAPI_AddReaction_Call
func (*MockAPI_AddReaction_Call) RunAndReturn ¶
func (_c *MockAPI_AddReaction_Call) RunAndReturn(run func(*model.Reaction) (*model.Reaction, *model.AppError)) *MockAPI_AddReaction_Call
type MockAPI_AddUserToChannel_Call ¶
MockAPI_AddUserToChannel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUserToChannel'
func (*MockAPI_AddUserToChannel_Call) Return ¶
func (_c *MockAPI_AddUserToChannel_Call) Return(_a0 *model.ChannelMember, _a1 *model.AppError) *MockAPI_AddUserToChannel_Call
func (*MockAPI_AddUserToChannel_Call) Run ¶
func (_c *MockAPI_AddUserToChannel_Call) Run(run func(channelId string, userID string, asUserId string)) *MockAPI_AddUserToChannel_Call
func (*MockAPI_AddUserToChannel_Call) RunAndReturn ¶
func (_c *MockAPI_AddUserToChannel_Call) RunAndReturn(run func(string, string, string) (*model.ChannelMember, *model.AppError)) *MockAPI_AddUserToChannel_Call
type MockAPI_CopyFileInfos_Call ¶
MockAPI_CopyFileInfos_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CopyFileInfos'
func (*MockAPI_CopyFileInfos_Call) Return ¶
func (_c *MockAPI_CopyFileInfos_Call) Return(_a0 []string, _a1 *model.AppError) *MockAPI_CopyFileInfos_Call
func (*MockAPI_CopyFileInfos_Call) Run ¶
func (_c *MockAPI_CopyFileInfos_Call) Run(run func(userID string, fileIds []string)) *MockAPI_CopyFileInfos_Call
func (*MockAPI_CopyFileInfos_Call) RunAndReturn ¶
func (_c *MockAPI_CopyFileInfos_Call) RunAndReturn(run func(string, []string) ([]string, *model.AppError)) *MockAPI_CopyFileInfos_Call
type MockAPI_CreateBot_Call ¶
MockAPI_CreateBot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateBot'
func (*MockAPI_CreateBot_Call) Return ¶
func (_c *MockAPI_CreateBot_Call) Return(_a0 *model.Bot, _a1 *model.AppError) *MockAPI_CreateBot_Call
func (*MockAPI_CreateBot_Call) Run ¶
func (_c *MockAPI_CreateBot_Call) Run(run func(bot *model.Bot)) *MockAPI_CreateBot_Call
func (*MockAPI_CreateBot_Call) RunAndReturn ¶
func (_c *MockAPI_CreateBot_Call) RunAndReturn(run func(*model.Bot) (*model.Bot, *model.AppError)) *MockAPI_CreateBot_Call
type MockAPI_CreateChannelSidebarCategory_Call ¶
MockAPI_CreateChannelSidebarCategory_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateChannelSidebarCategory'
func (*MockAPI_CreateChannelSidebarCategory_Call) Return ¶
func (_c *MockAPI_CreateChannelSidebarCategory_Call) Return(_a0 *model.SidebarCategoryWithChannels, _a1 *model.AppError) *MockAPI_CreateChannelSidebarCategory_Call
func (*MockAPI_CreateChannelSidebarCategory_Call) Run ¶
func (_c *MockAPI_CreateChannelSidebarCategory_Call) Run(run func(userID string, teamID string, newCategory *model.SidebarCategoryWithChannels)) *MockAPI_CreateChannelSidebarCategory_Call
func (*MockAPI_CreateChannelSidebarCategory_Call) RunAndReturn ¶
func (_c *MockAPI_CreateChannelSidebarCategory_Call) RunAndReturn(run func(string, string, *model.SidebarCategoryWithChannels) (*model.SidebarCategoryWithChannels, *model.AppError)) *MockAPI_CreateChannelSidebarCategory_Call
type MockAPI_CreateChannel_Call ¶
MockAPI_CreateChannel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateChannel'
func (*MockAPI_CreateChannel_Call) Return ¶
func (_c *MockAPI_CreateChannel_Call) Return(_a0 *model.Channel, _a1 *model.AppError) *MockAPI_CreateChannel_Call
func (*MockAPI_CreateChannel_Call) Run ¶
func (_c *MockAPI_CreateChannel_Call) Run(run func(channel *model.Channel)) *MockAPI_CreateChannel_Call
func (*MockAPI_CreateChannel_Call) RunAndReturn ¶
func (_c *MockAPI_CreateChannel_Call) RunAndReturn(run func(*model.Channel) (*model.Channel, *model.AppError)) *MockAPI_CreateChannel_Call
type MockAPI_CreateCommand_Call ¶
MockAPI_CreateCommand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateCommand'
func (*MockAPI_CreateCommand_Call) Return ¶
func (_c *MockAPI_CreateCommand_Call) Return(_a0 *model.Command, _a1 error) *MockAPI_CreateCommand_Call
func (*MockAPI_CreateCommand_Call) Run ¶
func (_c *MockAPI_CreateCommand_Call) Run(run func(cmd *model.Command)) *MockAPI_CreateCommand_Call
func (*MockAPI_CreateCommand_Call) RunAndReturn ¶
func (_c *MockAPI_CreateCommand_Call) RunAndReturn(run func(*model.Command) (*model.Command, error)) *MockAPI_CreateCommand_Call
type MockAPI_CreateOAuthApp_Call ¶
MockAPI_CreateOAuthApp_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateOAuthApp'
func (*MockAPI_CreateOAuthApp_Call) Return ¶
func (_c *MockAPI_CreateOAuthApp_Call) Return(_a0 *model.OAuthApp, _a1 *model.AppError) *MockAPI_CreateOAuthApp_Call
func (*MockAPI_CreateOAuthApp_Call) Run ¶
func (_c *MockAPI_CreateOAuthApp_Call) Run(run func(app *model.OAuthApp)) *MockAPI_CreateOAuthApp_Call
func (*MockAPI_CreateOAuthApp_Call) RunAndReturn ¶
func (_c *MockAPI_CreateOAuthApp_Call) RunAndReturn(run func(*model.OAuthApp) (*model.OAuthApp, *model.AppError)) *MockAPI_CreateOAuthApp_Call
type MockAPI_CreatePost_Call ¶
MockAPI_CreatePost_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreatePost'
func (*MockAPI_CreatePost_Call) Return ¶
func (_c *MockAPI_CreatePost_Call) Return(_a0 *model.Post, _a1 *model.AppError) *MockAPI_CreatePost_Call
func (*MockAPI_CreatePost_Call) Run ¶
func (_c *MockAPI_CreatePost_Call) Run(run func(post *model.Post)) *MockAPI_CreatePost_Call
func (*MockAPI_CreatePost_Call) RunAndReturn ¶
func (_c *MockAPI_CreatePost_Call) RunAndReturn(run func(*model.Post) (*model.Post, *model.AppError)) *MockAPI_CreatePost_Call
type MockAPI_CreateSession_Call ¶
MockAPI_CreateSession_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateSession'
func (*MockAPI_CreateSession_Call) Return ¶
func (_c *MockAPI_CreateSession_Call) Return(_a0 *model.Session, _a1 *model.AppError) *MockAPI_CreateSession_Call
func (*MockAPI_CreateSession_Call) Run ¶
func (_c *MockAPI_CreateSession_Call) Run(run func(session *model.Session)) *MockAPI_CreateSession_Call
func (*MockAPI_CreateSession_Call) RunAndReturn ¶
func (_c *MockAPI_CreateSession_Call) RunAndReturn(run func(*model.Session) (*model.Session, *model.AppError)) *MockAPI_CreateSession_Call
type MockAPI_CreateTeamMember_Call ¶
MockAPI_CreateTeamMember_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateTeamMember'
func (*MockAPI_CreateTeamMember_Call) Return ¶
func (_c *MockAPI_CreateTeamMember_Call) Return(_a0 *model.TeamMember, _a1 *model.AppError) *MockAPI_CreateTeamMember_Call
func (*MockAPI_CreateTeamMember_Call) Run ¶
func (_c *MockAPI_CreateTeamMember_Call) Run(run func(teamID string, userID string)) *MockAPI_CreateTeamMember_Call
func (*MockAPI_CreateTeamMember_Call) RunAndReturn ¶
func (_c *MockAPI_CreateTeamMember_Call) RunAndReturn(run func(string, string) (*model.TeamMember, *model.AppError)) *MockAPI_CreateTeamMember_Call
type MockAPI_CreateTeamMembersGracefully_Call ¶
MockAPI_CreateTeamMembersGracefully_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateTeamMembersGracefully'
func (*MockAPI_CreateTeamMembersGracefully_Call) Return ¶
func (_c *MockAPI_CreateTeamMembersGracefully_Call) Return(_a0 []*model.TeamMemberWithError, _a1 *model.AppError) *MockAPI_CreateTeamMembersGracefully_Call
func (*MockAPI_CreateTeamMembersGracefully_Call) Run ¶
func (_c *MockAPI_CreateTeamMembersGracefully_Call) Run(run func(teamID string, userIds []string, requestorId string)) *MockAPI_CreateTeamMembersGracefully_Call
func (*MockAPI_CreateTeamMembersGracefully_Call) RunAndReturn ¶
func (_c *MockAPI_CreateTeamMembersGracefully_Call) RunAndReturn(run func(string, []string, string) ([]*model.TeamMemberWithError, *model.AppError)) *MockAPI_CreateTeamMembersGracefully_Call
type MockAPI_CreateTeamMembers_Call ¶
MockAPI_CreateTeamMembers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateTeamMembers'
func (*MockAPI_CreateTeamMembers_Call) Return ¶
func (_c *MockAPI_CreateTeamMembers_Call) Return(_a0 []*model.TeamMember, _a1 *model.AppError) *MockAPI_CreateTeamMembers_Call
func (*MockAPI_CreateTeamMembers_Call) Run ¶
func (_c *MockAPI_CreateTeamMembers_Call) Run(run func(teamID string, userIds []string, requestorId string)) *MockAPI_CreateTeamMembers_Call
func (*MockAPI_CreateTeamMembers_Call) RunAndReturn ¶
func (_c *MockAPI_CreateTeamMembers_Call) RunAndReturn(run func(string, []string, string) ([]*model.TeamMember, *model.AppError)) *MockAPI_CreateTeamMembers_Call
type MockAPI_CreateTeam_Call ¶
MockAPI_CreateTeam_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateTeam'
func (*MockAPI_CreateTeam_Call) Return ¶
func (_c *MockAPI_CreateTeam_Call) Return(_a0 *model.Team, _a1 *model.AppError) *MockAPI_CreateTeam_Call
func (*MockAPI_CreateTeam_Call) Run ¶
func (_c *MockAPI_CreateTeam_Call) Run(run func(team *model.Team)) *MockAPI_CreateTeam_Call
func (*MockAPI_CreateTeam_Call) RunAndReturn ¶
func (_c *MockAPI_CreateTeam_Call) RunAndReturn(run func(*model.Team) (*model.Team, *model.AppError)) *MockAPI_CreateTeam_Call
type MockAPI_CreateUploadSession_Call ¶
MockAPI_CreateUploadSession_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateUploadSession'
func (*MockAPI_CreateUploadSession_Call) Return ¶
func (_c *MockAPI_CreateUploadSession_Call) Return(_a0 *model.UploadSession, _a1 error) *MockAPI_CreateUploadSession_Call
func (*MockAPI_CreateUploadSession_Call) Run ¶
func (_c *MockAPI_CreateUploadSession_Call) Run(run func(us *model.UploadSession)) *MockAPI_CreateUploadSession_Call
func (*MockAPI_CreateUploadSession_Call) RunAndReturn ¶
func (_c *MockAPI_CreateUploadSession_Call) RunAndReturn(run func(*model.UploadSession) (*model.UploadSession, error)) *MockAPI_CreateUploadSession_Call
type MockAPI_CreateUserAccessToken_Call ¶
MockAPI_CreateUserAccessToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateUserAccessToken'
func (*MockAPI_CreateUserAccessToken_Call) Return ¶
func (_c *MockAPI_CreateUserAccessToken_Call) Return(_a0 *model.UserAccessToken, _a1 *model.AppError) *MockAPI_CreateUserAccessToken_Call
func (*MockAPI_CreateUserAccessToken_Call) Run ¶
func (_c *MockAPI_CreateUserAccessToken_Call) Run(run func(token *model.UserAccessToken)) *MockAPI_CreateUserAccessToken_Call
func (*MockAPI_CreateUserAccessToken_Call) RunAndReturn ¶
func (_c *MockAPI_CreateUserAccessToken_Call) RunAndReturn(run func(*model.UserAccessToken) (*model.UserAccessToken, *model.AppError)) *MockAPI_CreateUserAccessToken_Call
type MockAPI_CreateUser_Call ¶
MockAPI_CreateUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateUser'
func (*MockAPI_CreateUser_Call) Return ¶
func (_c *MockAPI_CreateUser_Call) Return(_a0 *model.User, _a1 *model.AppError) *MockAPI_CreateUser_Call
func (*MockAPI_CreateUser_Call) Run ¶
func (_c *MockAPI_CreateUser_Call) Run(run func(user *model.User)) *MockAPI_CreateUser_Call
func (*MockAPI_CreateUser_Call) RunAndReturn ¶
func (_c *MockAPI_CreateUser_Call) RunAndReturn(run func(*model.User) (*model.User, *model.AppError)) *MockAPI_CreateUser_Call
type MockAPI_DeleteChannelMember_Call ¶
MockAPI_DeleteChannelMember_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteChannelMember'
func (*MockAPI_DeleteChannelMember_Call) Return ¶
func (_c *MockAPI_DeleteChannelMember_Call) Return(_a0 *model.AppError) *MockAPI_DeleteChannelMember_Call
func (*MockAPI_DeleteChannelMember_Call) Run ¶
func (_c *MockAPI_DeleteChannelMember_Call) Run(run func(channelId string, userID string)) *MockAPI_DeleteChannelMember_Call
func (*MockAPI_DeleteChannelMember_Call) RunAndReturn ¶
func (_c *MockAPI_DeleteChannelMember_Call) RunAndReturn(run func(string, string) *model.AppError) *MockAPI_DeleteChannelMember_Call
type MockAPI_DeleteChannel_Call ¶
MockAPI_DeleteChannel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteChannel'
func (*MockAPI_DeleteChannel_Call) Return ¶
func (_c *MockAPI_DeleteChannel_Call) Return(_a0 *model.AppError) *MockAPI_DeleteChannel_Call
func (*MockAPI_DeleteChannel_Call) Run ¶
func (_c *MockAPI_DeleteChannel_Call) Run(run func(channelId string)) *MockAPI_DeleteChannel_Call
func (*MockAPI_DeleteChannel_Call) RunAndReturn ¶
func (_c *MockAPI_DeleteChannel_Call) RunAndReturn(run func(string) *model.AppError) *MockAPI_DeleteChannel_Call
type MockAPI_DeleteCommand_Call ¶
MockAPI_DeleteCommand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteCommand'
func (*MockAPI_DeleteCommand_Call) Return ¶
func (_c *MockAPI_DeleteCommand_Call) Return(_a0 error) *MockAPI_DeleteCommand_Call
func (*MockAPI_DeleteCommand_Call) Run ¶
func (_c *MockAPI_DeleteCommand_Call) Run(run func(commandID string)) *MockAPI_DeleteCommand_Call
func (*MockAPI_DeleteCommand_Call) RunAndReturn ¶
func (_c *MockAPI_DeleteCommand_Call) RunAndReturn(run func(string) error) *MockAPI_DeleteCommand_Call
type MockAPI_DeleteEphemeralPost_Call ¶
MockAPI_DeleteEphemeralPost_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteEphemeralPost'
func (*MockAPI_DeleteEphemeralPost_Call) Return ¶
func (_c *MockAPI_DeleteEphemeralPost_Call) Return() *MockAPI_DeleteEphemeralPost_Call
func (*MockAPI_DeleteEphemeralPost_Call) Run ¶
func (_c *MockAPI_DeleteEphemeralPost_Call) Run(run func(userID string, postId string)) *MockAPI_DeleteEphemeralPost_Call
func (*MockAPI_DeleteEphemeralPost_Call) RunAndReturn ¶
func (_c *MockAPI_DeleteEphemeralPost_Call) RunAndReturn(run func(string, string)) *MockAPI_DeleteEphemeralPost_Call
type MockAPI_DeleteOAuthApp_Call ¶
MockAPI_DeleteOAuthApp_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteOAuthApp'
func (*MockAPI_DeleteOAuthApp_Call) Return ¶
func (_c *MockAPI_DeleteOAuthApp_Call) Return(_a0 *model.AppError) *MockAPI_DeleteOAuthApp_Call
func (*MockAPI_DeleteOAuthApp_Call) Run ¶
func (_c *MockAPI_DeleteOAuthApp_Call) Run(run func(appID string)) *MockAPI_DeleteOAuthApp_Call
func (*MockAPI_DeleteOAuthApp_Call) RunAndReturn ¶
func (_c *MockAPI_DeleteOAuthApp_Call) RunAndReturn(run func(string) *model.AppError) *MockAPI_DeleteOAuthApp_Call
type MockAPI_DeletePost_Call ¶
MockAPI_DeletePost_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeletePost'
func (*MockAPI_DeletePost_Call) Return ¶
func (_c *MockAPI_DeletePost_Call) Return(_a0 *model.AppError) *MockAPI_DeletePost_Call
func (*MockAPI_DeletePost_Call) Run ¶
func (_c *MockAPI_DeletePost_Call) Run(run func(postId string)) *MockAPI_DeletePost_Call
func (*MockAPI_DeletePost_Call) RunAndReturn ¶
func (_c *MockAPI_DeletePost_Call) RunAndReturn(run func(string) *model.AppError) *MockAPI_DeletePost_Call
type MockAPI_DeletePreferencesForUser_Call ¶
MockAPI_DeletePreferencesForUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeletePreferencesForUser'
func (*MockAPI_DeletePreferencesForUser_Call) Return ¶
func (_c *MockAPI_DeletePreferencesForUser_Call) Return(_a0 *model.AppError) *MockAPI_DeletePreferencesForUser_Call
func (*MockAPI_DeletePreferencesForUser_Call) Run ¶
func (_c *MockAPI_DeletePreferencesForUser_Call) Run(run func(userID string, preferences []model.Preference)) *MockAPI_DeletePreferencesForUser_Call
func (*MockAPI_DeletePreferencesForUser_Call) RunAndReturn ¶
func (_c *MockAPI_DeletePreferencesForUser_Call) RunAndReturn(run func(string, []model.Preference) *model.AppError) *MockAPI_DeletePreferencesForUser_Call
type MockAPI_DeleteTeamMember_Call ¶
MockAPI_DeleteTeamMember_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteTeamMember'
func (*MockAPI_DeleteTeamMember_Call) Return ¶
func (_c *MockAPI_DeleteTeamMember_Call) Return(_a0 *model.AppError) *MockAPI_DeleteTeamMember_Call
func (*MockAPI_DeleteTeamMember_Call) Run ¶
func (_c *MockAPI_DeleteTeamMember_Call) Run(run func(teamID string, userID string, requestorId string)) *MockAPI_DeleteTeamMember_Call
func (*MockAPI_DeleteTeamMember_Call) RunAndReturn ¶
func (_c *MockAPI_DeleteTeamMember_Call) RunAndReturn(run func(string, string, string) *model.AppError) *MockAPI_DeleteTeamMember_Call
type MockAPI_DeleteTeam_Call ¶
MockAPI_DeleteTeam_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteTeam'
func (*MockAPI_DeleteTeam_Call) Return ¶
func (_c *MockAPI_DeleteTeam_Call) Return(_a0 *model.AppError) *MockAPI_DeleteTeam_Call
func (*MockAPI_DeleteTeam_Call) Run ¶
func (_c *MockAPI_DeleteTeam_Call) Run(run func(teamID string)) *MockAPI_DeleteTeam_Call
func (*MockAPI_DeleteTeam_Call) RunAndReturn ¶
func (_c *MockAPI_DeleteTeam_Call) RunAndReturn(run func(string) *model.AppError) *MockAPI_DeleteTeam_Call
type MockAPI_DeleteUser_Call ¶
MockAPI_DeleteUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteUser'
func (*MockAPI_DeleteUser_Call) Return ¶
func (_c *MockAPI_DeleteUser_Call) Return(_a0 *model.AppError) *MockAPI_DeleteUser_Call
func (*MockAPI_DeleteUser_Call) Run ¶
func (_c *MockAPI_DeleteUser_Call) Run(run func(userID string)) *MockAPI_DeleteUser_Call
func (*MockAPI_DeleteUser_Call) RunAndReturn ¶
func (_c *MockAPI_DeleteUser_Call) RunAndReturn(run func(string) *model.AppError) *MockAPI_DeleteUser_Call
type MockAPI_DisablePlugin_Call ¶
MockAPI_DisablePlugin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DisablePlugin'
func (*MockAPI_DisablePlugin_Call) Return ¶
func (_c *MockAPI_DisablePlugin_Call) Return(_a0 *model.AppError) *MockAPI_DisablePlugin_Call
func (*MockAPI_DisablePlugin_Call) Run ¶
func (_c *MockAPI_DisablePlugin_Call) Run(run func(id string)) *MockAPI_DisablePlugin_Call
func (*MockAPI_DisablePlugin_Call) RunAndReturn ¶
func (_c *MockAPI_DisablePlugin_Call) RunAndReturn(run func(string) *model.AppError) *MockAPI_DisablePlugin_Call
type MockAPI_EnablePlugin_Call ¶
MockAPI_EnablePlugin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnablePlugin'
func (*MockAPI_EnablePlugin_Call) Return ¶
func (_c *MockAPI_EnablePlugin_Call) Return(_a0 *model.AppError) *MockAPI_EnablePlugin_Call
func (*MockAPI_EnablePlugin_Call) Run ¶
func (_c *MockAPI_EnablePlugin_Call) Run(run func(id string)) *MockAPI_EnablePlugin_Call
func (*MockAPI_EnablePlugin_Call) RunAndReturn ¶
func (_c *MockAPI_EnablePlugin_Call) RunAndReturn(run func(string) *model.AppError) *MockAPI_EnablePlugin_Call
type MockAPI_EnsureBotUser_Call ¶
MockAPI_EnsureBotUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnsureBotUser'
func (*MockAPI_EnsureBotUser_Call) Return ¶
func (_c *MockAPI_EnsureBotUser_Call) Return(_a0 string, _a1 error) *MockAPI_EnsureBotUser_Call
func (*MockAPI_EnsureBotUser_Call) Run ¶
func (_c *MockAPI_EnsureBotUser_Call) Run(run func(bot *model.Bot)) *MockAPI_EnsureBotUser_Call
func (*MockAPI_EnsureBotUser_Call) RunAndReturn ¶
func (_c *MockAPI_EnsureBotUser_Call) RunAndReturn(run func(*model.Bot) (string, error)) *MockAPI_EnsureBotUser_Call
type MockAPI_ExecuteSlashCommand_Call ¶
MockAPI_ExecuteSlashCommand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecuteSlashCommand'
func (*MockAPI_ExecuteSlashCommand_Call) Return ¶
func (_c *MockAPI_ExecuteSlashCommand_Call) Return(_a0 *model.CommandResponse, _a1 error) *MockAPI_ExecuteSlashCommand_Call
func (*MockAPI_ExecuteSlashCommand_Call) Run ¶
func (_c *MockAPI_ExecuteSlashCommand_Call) Run(run func(commandArgs *model.CommandArgs)) *MockAPI_ExecuteSlashCommand_Call
func (*MockAPI_ExecuteSlashCommand_Call) RunAndReturn ¶
func (_c *MockAPI_ExecuteSlashCommand_Call) RunAndReturn(run func(*model.CommandArgs) (*model.CommandResponse, error)) *MockAPI_ExecuteSlashCommand_Call
type MockAPI_Expecter ¶
type MockAPI_Expecter struct {
// contains filtered or unexported fields
}
func (*MockAPI_Expecter) AddChannelMember ¶
func (_e *MockAPI_Expecter) AddChannelMember(channelId interface{}, userID interface{}) *MockAPI_AddChannelMember_Call
AddChannelMember is a helper method to define mock.On call
- channelId string
- userID string
func (*MockAPI_Expecter) AddReaction ¶
func (_e *MockAPI_Expecter) AddReaction(reaction interface{}) *MockAPI_AddReaction_Call
AddReaction is a helper method to define mock.On call
- reaction *model.Reaction
func (*MockAPI_Expecter) AddUserToChannel ¶
func (_e *MockAPI_Expecter) AddUserToChannel(channelId interface{}, userID interface{}, asUserId interface{}) *MockAPI_AddUserToChannel_Call
AddUserToChannel is a helper method to define mock.On call
- channelId string
- userID string
- asUserId string
func (*MockAPI_Expecter) CopyFileInfos ¶
func (_e *MockAPI_Expecter) CopyFileInfos(userID interface{}, fileIds interface{}) *MockAPI_CopyFileInfos_Call
CopyFileInfos is a helper method to define mock.On call
- userID string
- fileIds []string
func (*MockAPI_Expecter) CreateBot ¶
func (_e *MockAPI_Expecter) CreateBot(bot interface{}) *MockAPI_CreateBot_Call
CreateBot is a helper method to define mock.On call
- bot *model.Bot
func (*MockAPI_Expecter) CreateChannel ¶
func (_e *MockAPI_Expecter) CreateChannel(channel interface{}) *MockAPI_CreateChannel_Call
CreateChannel is a helper method to define mock.On call
- channel *model.Channel
func (*MockAPI_Expecter) CreateChannelSidebarCategory ¶
func (_e *MockAPI_Expecter) CreateChannelSidebarCategory(userID interface{}, teamID interface{}, newCategory interface{}) *MockAPI_CreateChannelSidebarCategory_Call
CreateChannelSidebarCategory is a helper method to define mock.On call
- userID string
- teamID string
- newCategory *model.SidebarCategoryWithChannels
func (*MockAPI_Expecter) CreateCommand ¶
func (_e *MockAPI_Expecter) CreateCommand(cmd interface{}) *MockAPI_CreateCommand_Call
CreateCommand is a helper method to define mock.On call
- cmd *model.Command
func (*MockAPI_Expecter) CreateOAuthApp ¶
func (_e *MockAPI_Expecter) CreateOAuthApp(app interface{}) *MockAPI_CreateOAuthApp_Call
CreateOAuthApp is a helper method to define mock.On call
- app *model.OAuthApp
func (*MockAPI_Expecter) CreatePost ¶
func (_e *MockAPI_Expecter) CreatePost(post interface{}) *MockAPI_CreatePost_Call
CreatePost is a helper method to define mock.On call
- post *model.Post
func (*MockAPI_Expecter) CreateSession ¶
func (_e *MockAPI_Expecter) CreateSession(session interface{}) *MockAPI_CreateSession_Call
CreateSession is a helper method to define mock.On call
- session *model.Session
func (*MockAPI_Expecter) CreateTeam ¶
func (_e *MockAPI_Expecter) CreateTeam(team interface{}) *MockAPI_CreateTeam_Call
CreateTeam is a helper method to define mock.On call
- team *model.Team
func (*MockAPI_Expecter) CreateTeamMember ¶
func (_e *MockAPI_Expecter) CreateTeamMember(teamID interface{}, userID interface{}) *MockAPI_CreateTeamMember_Call
CreateTeamMember is a helper method to define mock.On call
- teamID string
- userID string
func (*MockAPI_Expecter) CreateTeamMembers ¶
func (_e *MockAPI_Expecter) CreateTeamMembers(teamID interface{}, userIds interface{}, requestorId interface{}) *MockAPI_CreateTeamMembers_Call
CreateTeamMembers is a helper method to define mock.On call
- teamID string
- userIds []string
- requestorId string
func (*MockAPI_Expecter) CreateTeamMembersGracefully ¶
func (_e *MockAPI_Expecter) CreateTeamMembersGracefully(teamID interface{}, userIds interface{}, requestorId interface{}) *MockAPI_CreateTeamMembersGracefully_Call
CreateTeamMembersGracefully is a helper method to define mock.On call
- teamID string
- userIds []string
- requestorId string
func (*MockAPI_Expecter) CreateUploadSession ¶
func (_e *MockAPI_Expecter) CreateUploadSession(us interface{}) *MockAPI_CreateUploadSession_Call
CreateUploadSession is a helper method to define mock.On call
- us *model.UploadSession
func (*MockAPI_Expecter) CreateUser ¶
func (_e *MockAPI_Expecter) CreateUser(user interface{}) *MockAPI_CreateUser_Call
CreateUser is a helper method to define mock.On call
- user *model.User
func (*MockAPI_Expecter) CreateUserAccessToken ¶
func (_e *MockAPI_Expecter) CreateUserAccessToken(token interface{}) *MockAPI_CreateUserAccessToken_Call
CreateUserAccessToken is a helper method to define mock.On call
- token *model.UserAccessToken
func (*MockAPI_Expecter) DeleteChannel ¶
func (_e *MockAPI_Expecter) DeleteChannel(channelId interface{}) *MockAPI_DeleteChannel_Call
DeleteChannel is a helper method to define mock.On call
- channelId string
func (*MockAPI_Expecter) DeleteChannelMember ¶
func (_e *MockAPI_Expecter) DeleteChannelMember(channelId interface{}, userID interface{}) *MockAPI_DeleteChannelMember_Call
DeleteChannelMember is a helper method to define mock.On call
- channelId string
- userID string
func (*MockAPI_Expecter) DeleteCommand ¶
func (_e *MockAPI_Expecter) DeleteCommand(commandID interface{}) *MockAPI_DeleteCommand_Call
DeleteCommand is a helper method to define mock.On call
- commandID string
func (*MockAPI_Expecter) DeleteEphemeralPost ¶
func (_e *MockAPI_Expecter) DeleteEphemeralPost(userID interface{}, postId interface{}) *MockAPI_DeleteEphemeralPost_Call
DeleteEphemeralPost is a helper method to define mock.On call
- userID string
- postId string
func (*MockAPI_Expecter) DeleteOAuthApp ¶
func (_e *MockAPI_Expecter) DeleteOAuthApp(appID interface{}) *MockAPI_DeleteOAuthApp_Call
DeleteOAuthApp is a helper method to define mock.On call
- appID string
func (*MockAPI_Expecter) DeletePost ¶
func (_e *MockAPI_Expecter) DeletePost(postId interface{}) *MockAPI_DeletePost_Call
DeletePost is a helper method to define mock.On call
- postId string
func (*MockAPI_Expecter) DeletePreferencesForUser ¶
func (_e *MockAPI_Expecter) DeletePreferencesForUser(userID interface{}, preferences interface{}) *MockAPI_DeletePreferencesForUser_Call
DeletePreferencesForUser is a helper method to define mock.On call
- userID string
- preferences []model.Preference
func (*MockAPI_Expecter) DeleteTeam ¶
func (_e *MockAPI_Expecter) DeleteTeam(teamID interface{}) *MockAPI_DeleteTeam_Call
DeleteTeam is a helper method to define mock.On call
- teamID string
func (*MockAPI_Expecter) DeleteTeamMember ¶
func (_e *MockAPI_Expecter) DeleteTeamMember(teamID interface{}, userID interface{}, requestorId interface{}) *MockAPI_DeleteTeamMember_Call
DeleteTeamMember is a helper method to define mock.On call
- teamID string
- userID string
- requestorId string
func (*MockAPI_Expecter) DeleteUser ¶
func (_e *MockAPI_Expecter) DeleteUser(userID interface{}) *MockAPI_DeleteUser_Call
DeleteUser is a helper method to define mock.On call
- userID string
func (*MockAPI_Expecter) DisablePlugin ¶
func (_e *MockAPI_Expecter) DisablePlugin(id interface{}) *MockAPI_DisablePlugin_Call
DisablePlugin is a helper method to define mock.On call
- id string
func (*MockAPI_Expecter) EnablePlugin ¶
func (_e *MockAPI_Expecter) EnablePlugin(id interface{}) *MockAPI_EnablePlugin_Call
EnablePlugin is a helper method to define mock.On call
- id string
func (*MockAPI_Expecter) EnsureBotUser ¶
func (_e *MockAPI_Expecter) EnsureBotUser(bot interface{}) *MockAPI_EnsureBotUser_Call
EnsureBotUser is a helper method to define mock.On call
- bot *model.Bot
func (*MockAPI_Expecter) ExecuteSlashCommand ¶
func (_e *MockAPI_Expecter) ExecuteSlashCommand(commandArgs interface{}) *MockAPI_ExecuteSlashCommand_Call
ExecuteSlashCommand is a helper method to define mock.On call
- commandArgs *model.CommandArgs
func (*MockAPI_Expecter) ExtendSessionExpiry ¶
func (_e *MockAPI_Expecter) ExtendSessionExpiry(sessionID interface{}, newExpiry interface{}) *MockAPI_ExtendSessionExpiry_Call
ExtendSessionExpiry is a helper method to define mock.On call
- sessionID string
- newExpiry int64
func (*MockAPI_Expecter) GetBot ¶
func (_e *MockAPI_Expecter) GetBot(botUserId interface{}, includeDeleted interface{}) *MockAPI_GetBot_Call
GetBot is a helper method to define mock.On call
- botUserId string
- includeDeleted bool
func (*MockAPI_Expecter) GetBots ¶
func (_e *MockAPI_Expecter) GetBots(options interface{}) *MockAPI_GetBots_Call
GetBots is a helper method to define mock.On call
- options *model.BotGetOptions
func (*MockAPI_Expecter) GetBundlePath ¶
func (_e *MockAPI_Expecter) GetBundlePath() *MockAPI_GetBundlePath_Call
GetBundlePath is a helper method to define mock.On call
func (*MockAPI_Expecter) GetChannel ¶
func (_e *MockAPI_Expecter) GetChannel(channelId interface{}) *MockAPI_GetChannel_Call
GetChannel is a helper method to define mock.On call
- channelId string
func (*MockAPI_Expecter) GetChannelByName ¶
func (_e *MockAPI_Expecter) GetChannelByName(teamID interface{}, name interface{}, includeDeleted interface{}) *MockAPI_GetChannelByName_Call
GetChannelByName is a helper method to define mock.On call
- teamID string
- name string
- includeDeleted bool
func (*MockAPI_Expecter) GetChannelByNameForTeamName ¶
func (_e *MockAPI_Expecter) GetChannelByNameForTeamName(teamName interface{}, channelName interface{}, includeDeleted interface{}) *MockAPI_GetChannelByNameForTeamName_Call
GetChannelByNameForTeamName is a helper method to define mock.On call
- teamName string
- channelName string
- includeDeleted bool
func (*MockAPI_Expecter) GetChannelMember ¶
func (_e *MockAPI_Expecter) GetChannelMember(channelId interface{}, userID interface{}) *MockAPI_GetChannelMember_Call
GetChannelMember is a helper method to define mock.On call
- channelId string
- userID string
func (*MockAPI_Expecter) GetChannelMembers ¶
func (_e *MockAPI_Expecter) GetChannelMembers(channelId interface{}, page interface{}, perPage interface{}) *MockAPI_GetChannelMembers_Call
GetChannelMembers is a helper method to define mock.On call
- channelId string
- page int
- perPage int
func (*MockAPI_Expecter) GetChannelMembersByIds ¶
func (_e *MockAPI_Expecter) GetChannelMembersByIds(channelId interface{}, userIds interface{}) *MockAPI_GetChannelMembersByIds_Call
GetChannelMembersByIds is a helper method to define mock.On call
- channelId string
- userIds []string
func (*MockAPI_Expecter) GetChannelMembersForUser ¶
func (_e *MockAPI_Expecter) GetChannelMembersForUser(teamID interface{}, userID interface{}, page interface{}, perPage interface{}) *MockAPI_GetChannelMembersForUser_Call
GetChannelMembersForUser is a helper method to define mock.On call
- teamID string
- userID string
- page int
- perPage int
func (*MockAPI_Expecter) GetChannelSidebarCategories ¶
func (_e *MockAPI_Expecter) GetChannelSidebarCategories(userID interface{}, teamID interface{}) *MockAPI_GetChannelSidebarCategories_Call
GetChannelSidebarCategories is a helper method to define mock.On call
- userID string
- teamID string
func (*MockAPI_Expecter) GetChannelStats ¶
func (_e *MockAPI_Expecter) GetChannelStats(channelId interface{}) *MockAPI_GetChannelStats_Call
GetChannelStats is a helper method to define mock.On call
- channelId string
func (*MockAPI_Expecter) GetChannelsForTeamForUser ¶
func (_e *MockAPI_Expecter) GetChannelsForTeamForUser(teamID interface{}, userID interface{}, includeDeleted interface{}) *MockAPI_GetChannelsForTeamForUser_Call
GetChannelsForTeamForUser is a helper method to define mock.On call
- teamID string
- userID string
- includeDeleted bool
func (*MockAPI_Expecter) GetCloudLimits ¶
func (_e *MockAPI_Expecter) GetCloudLimits() *MockAPI_GetCloudLimits_Call
GetCloudLimits is a helper method to define mock.On call
func (*MockAPI_Expecter) GetCommand ¶
func (_e *MockAPI_Expecter) GetCommand(commandID interface{}) *MockAPI_GetCommand_Call
GetCommand is a helper method to define mock.On call
- commandID string
func (*MockAPI_Expecter) GetConfig ¶
func (_e *MockAPI_Expecter) GetConfig() *MockAPI_GetConfig_Call
GetConfig is a helper method to define mock.On call
func (*MockAPI_Expecter) GetDiagnosticId ¶
func (_e *MockAPI_Expecter) GetDiagnosticId() *MockAPI_GetDiagnosticId_Call
GetDiagnosticId is a helper method to define mock.On call
func (*MockAPI_Expecter) GetDirectChannel ¶
func (_e *MockAPI_Expecter) GetDirectChannel(userId1 interface{}, userId2 interface{}) *MockAPI_GetDirectChannel_Call
GetDirectChannel is a helper method to define mock.On call
- userId1 string
- userId2 string
func (*MockAPI_Expecter) GetEmoji ¶
func (_e *MockAPI_Expecter) GetEmoji(emojiId interface{}) *MockAPI_GetEmoji_Call
GetEmoji is a helper method to define mock.On call
- emojiId string
func (*MockAPI_Expecter) GetEmojiByName ¶
func (_e *MockAPI_Expecter) GetEmojiByName(name interface{}) *MockAPI_GetEmojiByName_Call
GetEmojiByName is a helper method to define mock.On call
- name string
func (*MockAPI_Expecter) GetEmojiImage ¶
func (_e *MockAPI_Expecter) GetEmojiImage(emojiId interface{}) *MockAPI_GetEmojiImage_Call
GetEmojiImage is a helper method to define mock.On call
- emojiId string
func (*MockAPI_Expecter) GetEmojiList ¶
func (_e *MockAPI_Expecter) GetEmojiList(sortBy interface{}, page interface{}, perPage interface{}) *MockAPI_GetEmojiList_Call
GetEmojiList is a helper method to define mock.On call
- sortBy string
- page int
- perPage int
func (*MockAPI_Expecter) GetFile ¶
func (_e *MockAPI_Expecter) GetFile(fileId interface{}) *MockAPI_GetFile_Call
GetFile is a helper method to define mock.On call
- fileId string
func (*MockAPI_Expecter) GetFileInfo ¶
func (_e *MockAPI_Expecter) GetFileInfo(fileId interface{}) *MockAPI_GetFileInfo_Call
GetFileInfo is a helper method to define mock.On call
- fileId string
func (*MockAPI_Expecter) GetFileInfos ¶
func (_e *MockAPI_Expecter) GetFileInfos(page interface{}, perPage interface{}, opt interface{}) *MockAPI_GetFileInfos_Call
GetFileInfos is a helper method to define mock.On call
- page int
- perPage int
- opt *model.GetFileInfosOptions
func (*MockAPI_Expecter) GetFileLink ¶
func (_e *MockAPI_Expecter) GetFileLink(fileId interface{}) *MockAPI_GetFileLink_Call
GetFileLink is a helper method to define mock.On call
- fileId string
func (*MockAPI_Expecter) GetGroup ¶
func (_e *MockAPI_Expecter) GetGroup(groupId interface{}) *MockAPI_GetGroup_Call
GetGroup is a helper method to define mock.On call
- groupId string
func (*MockAPI_Expecter) GetGroupByName ¶
func (_e *MockAPI_Expecter) GetGroupByName(name interface{}) *MockAPI_GetGroupByName_Call
GetGroupByName is a helper method to define mock.On call
- name string
func (*MockAPI_Expecter) GetGroupChannel ¶
func (_e *MockAPI_Expecter) GetGroupChannel(userIds interface{}) *MockAPI_GetGroupChannel_Call
GetGroupChannel is a helper method to define mock.On call
- userIds []string
func (*MockAPI_Expecter) GetGroupMemberUsers ¶
func (_e *MockAPI_Expecter) GetGroupMemberUsers(groupID interface{}, page interface{}, perPage interface{}) *MockAPI_GetGroupMemberUsers_Call
GetGroupMemberUsers is a helper method to define mock.On call
- groupID string
- page int
- perPage int
func (*MockAPI_Expecter) GetGroupsBySource ¶
func (_e *MockAPI_Expecter) GetGroupsBySource(groupSource interface{}) *MockAPI_GetGroupsBySource_Call
GetGroupsBySource is a helper method to define mock.On call
- groupSource model.GroupSource
func (*MockAPI_Expecter) GetGroupsForUser ¶
func (_e *MockAPI_Expecter) GetGroupsForUser(userID interface{}) *MockAPI_GetGroupsForUser_Call
GetGroupsForUser is a helper method to define mock.On call
- userID string
func (*MockAPI_Expecter) GetLDAPUserAttributes ¶
func (_e *MockAPI_Expecter) GetLDAPUserAttributes(userID interface{}, attributes interface{}) *MockAPI_GetLDAPUserAttributes_Call
GetLDAPUserAttributes is a helper method to define mock.On call
- userID string
- attributes []string
func (*MockAPI_Expecter) GetLicense ¶
func (_e *MockAPI_Expecter) GetLicense() *MockAPI_GetLicense_Call
GetLicense is a helper method to define mock.On call
func (*MockAPI_Expecter) GetOAuthApp ¶
func (_e *MockAPI_Expecter) GetOAuthApp(appID interface{}) *MockAPI_GetOAuthApp_Call
GetOAuthApp is a helper method to define mock.On call
- appID string
func (*MockAPI_Expecter) GetPluginConfig ¶
func (_e *MockAPI_Expecter) GetPluginConfig() *MockAPI_GetPluginConfig_Call
GetPluginConfig is a helper method to define mock.On call
func (*MockAPI_Expecter) GetPluginStatus ¶
func (_e *MockAPI_Expecter) GetPluginStatus(id interface{}) *MockAPI_GetPluginStatus_Call
GetPluginStatus is a helper method to define mock.On call
- id string
func (*MockAPI_Expecter) GetPlugins ¶
func (_e *MockAPI_Expecter) GetPlugins() *MockAPI_GetPlugins_Call
GetPlugins is a helper method to define mock.On call
func (*MockAPI_Expecter) GetPost ¶
func (_e *MockAPI_Expecter) GetPost(postId interface{}) *MockAPI_GetPost_Call
GetPost is a helper method to define mock.On call
- postId string
func (*MockAPI_Expecter) GetPostThread ¶
func (_e *MockAPI_Expecter) GetPostThread(postId interface{}) *MockAPI_GetPostThread_Call
GetPostThread is a helper method to define mock.On call
- postId string
func (*MockAPI_Expecter) GetPostsAfter ¶
func (_e *MockAPI_Expecter) GetPostsAfter(channelId interface{}, postId interface{}, page interface{}, perPage interface{}) *MockAPI_GetPostsAfter_Call
GetPostsAfter is a helper method to define mock.On call
- channelId string
- postId string
- page int
- perPage int
func (*MockAPI_Expecter) GetPostsBefore ¶
func (_e *MockAPI_Expecter) GetPostsBefore(channelId interface{}, postId interface{}, page interface{}, perPage interface{}) *MockAPI_GetPostsBefore_Call
GetPostsBefore is a helper method to define mock.On call
- channelId string
- postId string
- page int
- perPage int
func (*MockAPI_Expecter) GetPostsForChannel ¶
func (_e *MockAPI_Expecter) GetPostsForChannel(channelId interface{}, page interface{}, perPage interface{}) *MockAPI_GetPostsForChannel_Call
GetPostsForChannel is a helper method to define mock.On call
- channelId string
- page int
- perPage int
func (*MockAPI_Expecter) GetPostsSince ¶
func (_e *MockAPI_Expecter) GetPostsSince(channelId interface{}, time interface{}) *MockAPI_GetPostsSince_Call
GetPostsSince is a helper method to define mock.On call
- channelId string
- time int64
func (*MockAPI_Expecter) GetPreferencesForUser ¶
func (_e *MockAPI_Expecter) GetPreferencesForUser(userID interface{}) *MockAPI_GetPreferencesForUser_Call
GetPreferencesForUser is a helper method to define mock.On call
- userID string
func (*MockAPI_Expecter) GetProfileImage ¶
func (_e *MockAPI_Expecter) GetProfileImage(userID interface{}) *MockAPI_GetProfileImage_Call
GetProfileImage is a helper method to define mock.On call
- userID string
func (*MockAPI_Expecter) GetPublicChannelsForTeam ¶
func (_e *MockAPI_Expecter) GetPublicChannelsForTeam(teamID interface{}, page interface{}, perPage interface{}) *MockAPI_GetPublicChannelsForTeam_Call
GetPublicChannelsForTeam is a helper method to define mock.On call
- teamID string
- page int
- perPage int
func (*MockAPI_Expecter) GetReactions ¶
func (_e *MockAPI_Expecter) GetReactions(postId interface{}) *MockAPI_GetReactions_Call
GetReactions is a helper method to define mock.On call
- postId string
func (*MockAPI_Expecter) GetServerVersion ¶
func (_e *MockAPI_Expecter) GetServerVersion() *MockAPI_GetServerVersion_Call
GetServerVersion is a helper method to define mock.On call
func (*MockAPI_Expecter) GetSession ¶
func (_e *MockAPI_Expecter) GetSession(sessionID interface{}) *MockAPI_GetSession_Call
GetSession is a helper method to define mock.On call
- sessionID string
func (*MockAPI_Expecter) GetSystemInstallDate ¶
func (_e *MockAPI_Expecter) GetSystemInstallDate() *MockAPI_GetSystemInstallDate_Call
GetSystemInstallDate is a helper method to define mock.On call
func (*MockAPI_Expecter) GetTeam ¶
func (_e *MockAPI_Expecter) GetTeam(teamID interface{}) *MockAPI_GetTeam_Call
GetTeam is a helper method to define mock.On call
- teamID string
func (*MockAPI_Expecter) GetTeamByName ¶
func (_e *MockAPI_Expecter) GetTeamByName(name interface{}) *MockAPI_GetTeamByName_Call
GetTeamByName is a helper method to define mock.On call
- name string
func (*MockAPI_Expecter) GetTeamIcon ¶
func (_e *MockAPI_Expecter) GetTeamIcon(teamID interface{}) *MockAPI_GetTeamIcon_Call
GetTeamIcon is a helper method to define mock.On call
- teamID string
func (*MockAPI_Expecter) GetTeamMember ¶
func (_e *MockAPI_Expecter) GetTeamMember(teamID interface{}, userID interface{}) *MockAPI_GetTeamMember_Call
GetTeamMember is a helper method to define mock.On call
- teamID string
- userID string
func (*MockAPI_Expecter) GetTeamMembers ¶
func (_e *MockAPI_Expecter) GetTeamMembers(teamID interface{}, page interface{}, perPage interface{}) *MockAPI_GetTeamMembers_Call
GetTeamMembers is a helper method to define mock.On call
- teamID string
- page int
- perPage int
func (*MockAPI_Expecter) GetTeamMembersForUser ¶
func (_e *MockAPI_Expecter) GetTeamMembersForUser(userID interface{}, page interface{}, perPage interface{}) *MockAPI_GetTeamMembersForUser_Call
GetTeamMembersForUser is a helper method to define mock.On call
- userID string
- page int
- perPage int
func (*MockAPI_Expecter) GetTeamStats ¶
func (_e *MockAPI_Expecter) GetTeamStats(teamID interface{}) *MockAPI_GetTeamStats_Call
GetTeamStats is a helper method to define mock.On call
- teamID string
func (*MockAPI_Expecter) GetTeams ¶
func (_e *MockAPI_Expecter) GetTeams() *MockAPI_GetTeams_Call
GetTeams is a helper method to define mock.On call
func (*MockAPI_Expecter) GetTeamsForUser ¶
func (_e *MockAPI_Expecter) GetTeamsForUser(userID interface{}) *MockAPI_GetTeamsForUser_Call
GetTeamsForUser is a helper method to define mock.On call
- userID string
func (*MockAPI_Expecter) GetTeamsUnreadForUser ¶
func (_e *MockAPI_Expecter) GetTeamsUnreadForUser(userID interface{}) *MockAPI_GetTeamsUnreadForUser_Call
GetTeamsUnreadForUser is a helper method to define mock.On call
- userID string
func (*MockAPI_Expecter) GetTelemetryId ¶
func (_e *MockAPI_Expecter) GetTelemetryId() *MockAPI_GetTelemetryId_Call
GetTelemetryId is a helper method to define mock.On call
func (*MockAPI_Expecter) GetUnsanitizedConfig ¶
func (_e *MockAPI_Expecter) GetUnsanitizedConfig() *MockAPI_GetUnsanitizedConfig_Call
GetUnsanitizedConfig is a helper method to define mock.On call
func (*MockAPI_Expecter) GetUploadSession ¶
func (_e *MockAPI_Expecter) GetUploadSession(uploadID interface{}) *MockAPI_GetUploadSession_Call
GetUploadSession is a helper method to define mock.On call
- uploadID string
func (*MockAPI_Expecter) GetUser ¶
func (_e *MockAPI_Expecter) GetUser(userID interface{}) *MockAPI_GetUser_Call
GetUser is a helper method to define mock.On call
- userID string
func (*MockAPI_Expecter) GetUserByEmail ¶
func (_e *MockAPI_Expecter) GetUserByEmail(email interface{}) *MockAPI_GetUserByEmail_Call
GetUserByEmail is a helper method to define mock.On call
- email string
func (*MockAPI_Expecter) GetUserByUsername ¶
func (_e *MockAPI_Expecter) GetUserByUsername(name interface{}) *MockAPI_GetUserByUsername_Call
GetUserByUsername is a helper method to define mock.On call
- name string
func (*MockAPI_Expecter) GetUserStatus ¶
func (_e *MockAPI_Expecter) GetUserStatus(userID interface{}) *MockAPI_GetUserStatus_Call
GetUserStatus is a helper method to define mock.On call
- userID string
func (*MockAPI_Expecter) GetUserStatusesByIds ¶
func (_e *MockAPI_Expecter) GetUserStatusesByIds(userIds interface{}) *MockAPI_GetUserStatusesByIds_Call
GetUserStatusesByIds is a helper method to define mock.On call
- userIds []string
func (*MockAPI_Expecter) GetUsers ¶
func (_e *MockAPI_Expecter) GetUsers(options interface{}) *MockAPI_GetUsers_Call
GetUsers is a helper method to define mock.On call
- options *model.UserGetOptions
func (*MockAPI_Expecter) GetUsersByUsernames ¶
func (_e *MockAPI_Expecter) GetUsersByUsernames(usernames interface{}) *MockAPI_GetUsersByUsernames_Call
GetUsersByUsernames is a helper method to define mock.On call
- usernames []string
func (*MockAPI_Expecter) GetUsersInChannel ¶
func (_e *MockAPI_Expecter) GetUsersInChannel(channelID interface{}, sortBy interface{}, page interface{}, perPage interface{}) *MockAPI_GetUsersInChannel_Call
GetUsersInChannel is a helper method to define mock.On call
- channelID string
- sortBy string
- page int
- perPage int
func (*MockAPI_Expecter) GetUsersInTeam ¶
func (_e *MockAPI_Expecter) GetUsersInTeam(teamID interface{}, page interface{}, perPage interface{}) *MockAPI_GetUsersInTeam_Call
GetUsersInTeam is a helper method to define mock.On call
- teamID string
- page int
- perPage int
func (*MockAPI_Expecter) HasPermissionTo ¶
func (_e *MockAPI_Expecter) HasPermissionTo(userID interface{}, permission interface{}) *MockAPI_HasPermissionTo_Call
HasPermissionTo is a helper method to define mock.On call
- userID string
- permission *model.Permission
func (*MockAPI_Expecter) HasPermissionToChannel ¶
func (_e *MockAPI_Expecter) HasPermissionToChannel(userID interface{}, channelId interface{}, permission interface{}) *MockAPI_HasPermissionToChannel_Call
HasPermissionToChannel is a helper method to define mock.On call
- userID string
- channelId string
- permission *model.Permission
func (*MockAPI_Expecter) HasPermissionToTeam ¶
func (_e *MockAPI_Expecter) HasPermissionToTeam(userID interface{}, teamID interface{}, permission interface{}) *MockAPI_HasPermissionToTeam_Call
HasPermissionToTeam is a helper method to define mock.On call
- userID string
- teamID string
- permission *model.Permission
func (*MockAPI_Expecter) InstallPlugin ¶
func (_e *MockAPI_Expecter) InstallPlugin(file interface{}, replace interface{}) *MockAPI_InstallPlugin_Call
InstallPlugin is a helper method to define mock.On call
- file io.Reader
- replace bool
func (*MockAPI_Expecter) IsEnterpriseReady ¶
func (_e *MockAPI_Expecter) IsEnterpriseReady() *MockAPI_IsEnterpriseReady_Call
IsEnterpriseReady is a helper method to define mock.On call
func (*MockAPI_Expecter) KVCompareAndDelete ¶
func (_e *MockAPI_Expecter) KVCompareAndDelete(key interface{}, oldValue interface{}) *MockAPI_KVCompareAndDelete_Call
KVCompareAndDelete is a helper method to define mock.On call
- key string
- oldValue []byte
func (*MockAPI_Expecter) KVCompareAndSet ¶
func (_e *MockAPI_Expecter) KVCompareAndSet(key interface{}, oldValue interface{}, newValue interface{}) *MockAPI_KVCompareAndSet_Call
KVCompareAndSet is a helper method to define mock.On call
- key string
- oldValue []byte
- newValue []byte
func (*MockAPI_Expecter) KVDelete ¶
func (_e *MockAPI_Expecter) KVDelete(key interface{}) *MockAPI_KVDelete_Call
KVDelete is a helper method to define mock.On call
- key string
func (*MockAPI_Expecter) KVDeleteAll ¶
func (_e *MockAPI_Expecter) KVDeleteAll() *MockAPI_KVDeleteAll_Call
KVDeleteAll is a helper method to define mock.On call
func (*MockAPI_Expecter) KVGet ¶
func (_e *MockAPI_Expecter) KVGet(key interface{}) *MockAPI_KVGet_Call
KVGet is a helper method to define mock.On call
- key string
func (*MockAPI_Expecter) KVList ¶
func (_e *MockAPI_Expecter) KVList(page interface{}, perPage interface{}) *MockAPI_KVList_Call
KVList is a helper method to define mock.On call
- page int
- perPage int
func (*MockAPI_Expecter) KVSet ¶
func (_e *MockAPI_Expecter) KVSet(key interface{}, value interface{}) *MockAPI_KVSet_Call
KVSet is a helper method to define mock.On call
- key string
- value []byte
func (*MockAPI_Expecter) KVSetWithExpiry ¶
func (_e *MockAPI_Expecter) KVSetWithExpiry(key interface{}, value interface{}, expireInSeconds interface{}) *MockAPI_KVSetWithExpiry_Call
KVSetWithExpiry is a helper method to define mock.On call
- key string
- value []byte
- expireInSeconds int64
func (*MockAPI_Expecter) KVSetWithOptions ¶
func (_e *MockAPI_Expecter) KVSetWithOptions(key interface{}, value interface{}, options interface{}) *MockAPI_KVSetWithOptions_Call
KVSetWithOptions is a helper method to define mock.On call
- key string
- value []byte
- options model.PluginKVSetOptions
func (*MockAPI_Expecter) ListBuiltInCommands ¶
func (_e *MockAPI_Expecter) ListBuiltInCommands() *MockAPI_ListBuiltInCommands_Call
ListBuiltInCommands is a helper method to define mock.On call
func (*MockAPI_Expecter) ListCommands ¶
func (_e *MockAPI_Expecter) ListCommands(teamID interface{}) *MockAPI_ListCommands_Call
ListCommands is a helper method to define mock.On call
- teamID string
func (*MockAPI_Expecter) ListCustomCommands ¶
func (_e *MockAPI_Expecter) ListCustomCommands(teamID interface{}) *MockAPI_ListCustomCommands_Call
ListCustomCommands is a helper method to define mock.On call
- teamID string
func (*MockAPI_Expecter) ListPluginCommands ¶
func (_e *MockAPI_Expecter) ListPluginCommands(teamID interface{}) *MockAPI_ListPluginCommands_Call
ListPluginCommands is a helper method to define mock.On call
- teamID string
func (*MockAPI_Expecter) LoadPluginConfiguration ¶
func (_e *MockAPI_Expecter) LoadPluginConfiguration(dest interface{}) *MockAPI_LoadPluginConfiguration_Call
LoadPluginConfiguration is a helper method to define mock.On call
- dest interface{}
func (*MockAPI_Expecter) LogDebug ¶
func (_e *MockAPI_Expecter) LogDebug(msg interface{}, keyValuePairs ...interface{}) *MockAPI_LogDebug_Call
LogDebug is a helper method to define mock.On call
- msg string
- keyValuePairs ...interface{}
func (*MockAPI_Expecter) LogError ¶
func (_e *MockAPI_Expecter) LogError(msg interface{}, keyValuePairs ...interface{}) *MockAPI_LogError_Call
LogError is a helper method to define mock.On call
- msg string
- keyValuePairs ...interface{}
func (*MockAPI_Expecter) LogInfo ¶
func (_e *MockAPI_Expecter) LogInfo(msg interface{}, keyValuePairs ...interface{}) *MockAPI_LogInfo_Call
LogInfo is a helper method to define mock.On call
- msg string
- keyValuePairs ...interface{}
func (*MockAPI_Expecter) LogWarn ¶
func (_e *MockAPI_Expecter) LogWarn(msg interface{}, keyValuePairs ...interface{}) *MockAPI_LogWarn_Call
LogWarn is a helper method to define mock.On call
- msg string
- keyValuePairs ...interface{}
func (*MockAPI_Expecter) OpenInteractiveDialog ¶
func (_e *MockAPI_Expecter) OpenInteractiveDialog(dialog interface{}) *MockAPI_OpenInteractiveDialog_Call
OpenInteractiveDialog is a helper method to define mock.On call
- dialog model.OpenDialogRequest
func (*MockAPI_Expecter) PatchBot ¶
func (_e *MockAPI_Expecter) PatchBot(botUserId interface{}, botPatch interface{}) *MockAPI_PatchBot_Call
PatchBot is a helper method to define mock.On call
- botUserId string
- botPatch *model.BotPatch
func (*MockAPI_Expecter) PermanentDeleteBot ¶
func (_e *MockAPI_Expecter) PermanentDeleteBot(botUserId interface{}) *MockAPI_PermanentDeleteBot_Call
PermanentDeleteBot is a helper method to define mock.On call
- botUserId string
func (*MockAPI_Expecter) PluginHTTP ¶
func (_e *MockAPI_Expecter) PluginHTTP(request interface{}) *MockAPI_PluginHTTP_Call
PluginHTTP is a helper method to define mock.On call
- request *http.Request
func (*MockAPI_Expecter) PublishPluginClusterEvent ¶
func (_e *MockAPI_Expecter) PublishPluginClusterEvent(ev interface{}, opts interface{}) *MockAPI_PublishPluginClusterEvent_Call
PublishPluginClusterEvent is a helper method to define mock.On call
- ev model.PluginClusterEvent
- opts model.PluginClusterEventSendOptions
func (*MockAPI_Expecter) PublishUserTyping ¶
func (_e *MockAPI_Expecter) PublishUserTyping(userID interface{}, channelId interface{}, parentId interface{}) *MockAPI_PublishUserTyping_Call
PublishUserTyping is a helper method to define mock.On call
- userID string
- channelId string
- parentId string
func (*MockAPI_Expecter) PublishWebSocketEvent ¶
func (_e *MockAPI_Expecter) PublishWebSocketEvent(event interface{}, payload interface{}, broadcast interface{}) *MockAPI_PublishWebSocketEvent_Call
PublishWebSocketEvent is a helper method to define mock.On call
- event string
- payload map[string]interface{}
- broadcast *model.WebsocketBroadcast
func (*MockAPI_Expecter) ReadFile ¶
func (_e *MockAPI_Expecter) ReadFile(path interface{}) *MockAPI_ReadFile_Call
ReadFile is a helper method to define mock.On call
- path string
func (*MockAPI_Expecter) RegisterCollectionAndTopic ¶
func (_e *MockAPI_Expecter) RegisterCollectionAndTopic(collectionType interface{}, topicType interface{}) *MockAPI_RegisterCollectionAndTopic_Call
RegisterCollectionAndTopic is a helper method to define mock.On call
- collectionType string
- topicType string
func (*MockAPI_Expecter) RegisterCommand ¶
func (_e *MockAPI_Expecter) RegisterCommand(command interface{}) *MockAPI_RegisterCommand_Call
RegisterCommand is a helper method to define mock.On call
- command *model.Command
func (*MockAPI_Expecter) RemovePlugin ¶
func (_e *MockAPI_Expecter) RemovePlugin(id interface{}) *MockAPI_RemovePlugin_Call
RemovePlugin is a helper method to define mock.On call
- id string
func (*MockAPI_Expecter) RemoveReaction ¶
func (_e *MockAPI_Expecter) RemoveReaction(reaction interface{}) *MockAPI_RemoveReaction_Call
RemoveReaction is a helper method to define mock.On call
- reaction *model.Reaction
func (*MockAPI_Expecter) RemoveTeamIcon ¶
func (_e *MockAPI_Expecter) RemoveTeamIcon(teamID interface{}) *MockAPI_RemoveTeamIcon_Call
RemoveTeamIcon is a helper method to define mock.On call
- teamID string
func (*MockAPI_Expecter) RemoveUserCustomStatus ¶
func (_e *MockAPI_Expecter) RemoveUserCustomStatus(userID interface{}) *MockAPI_RemoveUserCustomStatus_Call
RemoveUserCustomStatus is a helper method to define mock.On call
- userID string
func (*MockAPI_Expecter) RequestTrialLicense ¶
func (_e *MockAPI_Expecter) RequestTrialLicense(requesterID interface{}, users interface{}, termsAccepted interface{}, receiveEmailsAccepted interface{}) *MockAPI_RequestTrialLicense_Call
RequestTrialLicense is a helper method to define mock.On call
- requesterID string
- users int
- termsAccepted bool
- receiveEmailsAccepted bool
func (*MockAPI_Expecter) RevokeSession ¶
func (_e *MockAPI_Expecter) RevokeSession(sessionID interface{}) *MockAPI_RevokeSession_Call
RevokeSession is a helper method to define mock.On call
- sessionID string
func (*MockAPI_Expecter) RevokeUserAccessToken ¶
func (_e *MockAPI_Expecter) RevokeUserAccessToken(tokenID interface{}) *MockAPI_RevokeUserAccessToken_Call
RevokeUserAccessToken is a helper method to define mock.On call
- tokenID string
func (*MockAPI_Expecter) RolesGrantPermission ¶
func (_e *MockAPI_Expecter) RolesGrantPermission(roleNames interface{}, permissionId interface{}) *MockAPI_RolesGrantPermission_Call
RolesGrantPermission is a helper method to define mock.On call
- roleNames []string
- permissionId string
func (*MockAPI_Expecter) SaveConfig ¶
func (_e *MockAPI_Expecter) SaveConfig(config interface{}) *MockAPI_SaveConfig_Call
SaveConfig is a helper method to define mock.On call
- config *model.Config
func (*MockAPI_Expecter) SavePluginConfig ¶
func (_e *MockAPI_Expecter) SavePluginConfig(config interface{}) *MockAPI_SavePluginConfig_Call
SavePluginConfig is a helper method to define mock.On call
- config map[string]interface{}
func (*MockAPI_Expecter) SearchChannels ¶
func (_e *MockAPI_Expecter) SearchChannels(teamID interface{}, term interface{}) *MockAPI_SearchChannels_Call
SearchChannels is a helper method to define mock.On call
- teamID string
- term string
func (*MockAPI_Expecter) SearchPostsInTeam ¶
func (_e *MockAPI_Expecter) SearchPostsInTeam(teamID interface{}, paramsList interface{}) *MockAPI_SearchPostsInTeam_Call
SearchPostsInTeam is a helper method to define mock.On call
- teamID string
- paramsList []*model.SearchParams
func (*MockAPI_Expecter) SearchPostsInTeamForUser ¶
func (_e *MockAPI_Expecter) SearchPostsInTeamForUser(teamID interface{}, userID interface{}, searchParams interface{}) *MockAPI_SearchPostsInTeamForUser_Call
SearchPostsInTeamForUser is a helper method to define mock.On call
- teamID string
- userID string
- searchParams model.SearchParameter
func (*MockAPI_Expecter) SearchTeams ¶
func (_e *MockAPI_Expecter) SearchTeams(term interface{}) *MockAPI_SearchTeams_Call
SearchTeams is a helper method to define mock.On call
- term string
func (*MockAPI_Expecter) SearchUsers ¶
func (_e *MockAPI_Expecter) SearchUsers(search interface{}) *MockAPI_SearchUsers_Call
SearchUsers is a helper method to define mock.On call
- search *model.UserSearch
func (*MockAPI_Expecter) SendEphemeralPost ¶
func (_e *MockAPI_Expecter) SendEphemeralPost(userID interface{}, post interface{}) *MockAPI_SendEphemeralPost_Call
SendEphemeralPost is a helper method to define mock.On call
- userID string
- post *model.Post
func (*MockAPI_Expecter) SendMail ¶
func (_e *MockAPI_Expecter) SendMail(to interface{}, subject interface{}, htmlBody interface{}) *MockAPI_SendMail_Call
SendMail is a helper method to define mock.On call
- to string
- subject string
- htmlBody string
func (*MockAPI_Expecter) SendPushNotification ¶
func (_e *MockAPI_Expecter) SendPushNotification(notification interface{}, userID interface{}) *MockAPI_SendPushNotification_Call
SendPushNotification is a helper method to define mock.On call
- notification *model.PushNotification
- userID string
func (*MockAPI_Expecter) SetFileSearchableContent ¶
func (_e *MockAPI_Expecter) SetFileSearchableContent(fileID interface{}, content interface{}) *MockAPI_SetFileSearchableContent_Call
SetFileSearchableContent is a helper method to define mock.On call
- fileID string
- content string
func (*MockAPI_Expecter) SetProfileImage ¶
func (_e *MockAPI_Expecter) SetProfileImage(userID interface{}, data interface{}) *MockAPI_SetProfileImage_Call
SetProfileImage is a helper method to define mock.On call
- userID string
- data []byte
func (*MockAPI_Expecter) SetTeamIcon ¶
func (_e *MockAPI_Expecter) SetTeamIcon(teamID interface{}, data interface{}) *MockAPI_SetTeamIcon_Call
SetTeamIcon is a helper method to define mock.On call
- teamID string
- data []byte
func (*MockAPI_Expecter) SetUserStatusTimedDND ¶
func (_e *MockAPI_Expecter) SetUserStatusTimedDND(userId interface{}, endtime interface{}) *MockAPI_SetUserStatusTimedDND_Call
SetUserStatusTimedDND is a helper method to define mock.On call
- userId string
- endtime int64
func (*MockAPI_Expecter) UnregisterCommand ¶
func (_e *MockAPI_Expecter) UnregisterCommand(teamID interface{}, trigger interface{}) *MockAPI_UnregisterCommand_Call
UnregisterCommand is a helper method to define mock.On call
- teamID string
- trigger string
func (*MockAPI_Expecter) UpdateBotActive ¶
func (_e *MockAPI_Expecter) UpdateBotActive(botUserId interface{}, active interface{}) *MockAPI_UpdateBotActive_Call
UpdateBotActive is a helper method to define mock.On call
- botUserId string
- active bool
func (*MockAPI_Expecter) UpdateChannel ¶
func (_e *MockAPI_Expecter) UpdateChannel(channel interface{}) *MockAPI_UpdateChannel_Call
UpdateChannel is a helper method to define mock.On call
- channel *model.Channel
func (*MockAPI_Expecter) UpdateChannelMemberNotifications ¶
func (_e *MockAPI_Expecter) UpdateChannelMemberNotifications(channelId interface{}, userID interface{}, notifications interface{}) *MockAPI_UpdateChannelMemberNotifications_Call
UpdateChannelMemberNotifications is a helper method to define mock.On call
- channelId string
- userID string
- notifications map[string]string
func (*MockAPI_Expecter) UpdateChannelMemberRoles ¶
func (_e *MockAPI_Expecter) UpdateChannelMemberRoles(channelId interface{}, userID interface{}, newRoles interface{}) *MockAPI_UpdateChannelMemberRoles_Call
UpdateChannelMemberRoles is a helper method to define mock.On call
- channelId string
- userID string
- newRoles string
func (*MockAPI_Expecter) UpdateChannelSidebarCategories ¶
func (_e *MockAPI_Expecter) UpdateChannelSidebarCategories(userID interface{}, teamID interface{}, categories interface{}) *MockAPI_UpdateChannelSidebarCategories_Call
UpdateChannelSidebarCategories is a helper method to define mock.On call
- userID string
- teamID string
- categories []*model.SidebarCategoryWithChannels
func (*MockAPI_Expecter) UpdateCommand ¶
func (_e *MockAPI_Expecter) UpdateCommand(commandID interface{}, updatedCmd interface{}) *MockAPI_UpdateCommand_Call
UpdateCommand is a helper method to define mock.On call
- commandID string
- updatedCmd *model.Command
func (*MockAPI_Expecter) UpdateEphemeralPost ¶
func (_e *MockAPI_Expecter) UpdateEphemeralPost(userID interface{}, post interface{}) *MockAPI_UpdateEphemeralPost_Call
UpdateEphemeralPost is a helper method to define mock.On call
- userID string
- post *model.Post
func (*MockAPI_Expecter) UpdateOAuthApp ¶
func (_e *MockAPI_Expecter) UpdateOAuthApp(app interface{}) *MockAPI_UpdateOAuthApp_Call
UpdateOAuthApp is a helper method to define mock.On call
- app *model.OAuthApp
func (*MockAPI_Expecter) UpdatePost ¶
func (_e *MockAPI_Expecter) UpdatePost(post interface{}) *MockAPI_UpdatePost_Call
UpdatePost is a helper method to define mock.On call
- post *model.Post
func (*MockAPI_Expecter) UpdatePreferencesForUser ¶
func (_e *MockAPI_Expecter) UpdatePreferencesForUser(userID interface{}, preferences interface{}) *MockAPI_UpdatePreferencesForUser_Call
UpdatePreferencesForUser is a helper method to define mock.On call
- userID string
- preferences []model.Preference
func (*MockAPI_Expecter) UpdateTeam ¶
func (_e *MockAPI_Expecter) UpdateTeam(team interface{}) *MockAPI_UpdateTeam_Call
UpdateTeam is a helper method to define mock.On call
- team *model.Team
func (*MockAPI_Expecter) UpdateTeamMemberRoles ¶
func (_e *MockAPI_Expecter) UpdateTeamMemberRoles(teamID interface{}, userID interface{}, newRoles interface{}) *MockAPI_UpdateTeamMemberRoles_Call
UpdateTeamMemberRoles is a helper method to define mock.On call
- teamID string
- userID string
- newRoles string
func (*MockAPI_Expecter) UpdateUser ¶
func (_e *MockAPI_Expecter) UpdateUser(user interface{}) *MockAPI_UpdateUser_Call
UpdateUser is a helper method to define mock.On call
- user *model.User
func (*MockAPI_Expecter) UpdateUserActive ¶
func (_e *MockAPI_Expecter) UpdateUserActive(userID interface{}, active interface{}) *MockAPI_UpdateUserActive_Call
UpdateUserActive is a helper method to define mock.On call
- userID string
- active bool
func (*MockAPI_Expecter) UpdateUserAuth ¶
func (_e *MockAPI_Expecter) UpdateUserAuth(userID interface{}, userAuth interface{}) *MockAPI_UpdateUserAuth_Call
UpdateUserAuth is a helper method to define mock.On call
- userID string
- userAuth *model.UserAuth
func (*MockAPI_Expecter) UpdateUserCustomStatus ¶
func (_e *MockAPI_Expecter) UpdateUserCustomStatus(userID interface{}, customStatus interface{}) *MockAPI_UpdateUserCustomStatus_Call
UpdateUserCustomStatus is a helper method to define mock.On call
- userID string
- customStatus *model.CustomStatus
func (*MockAPI_Expecter) UpdateUserStatus ¶
func (_e *MockAPI_Expecter) UpdateUserStatus(userID interface{}, status interface{}) *MockAPI_UpdateUserStatus_Call
UpdateUserStatus is a helper method to define mock.On call
- userID string
- status string
func (*MockAPI_Expecter) UploadData ¶
func (_e *MockAPI_Expecter) UploadData(us interface{}, rd interface{}) *MockAPI_UploadData_Call
UploadData is a helper method to define mock.On call
- us *model.UploadSession
- rd io.Reader
func (*MockAPI_Expecter) UploadFile ¶
func (_e *MockAPI_Expecter) UploadFile(data interface{}, channelId interface{}, filename interface{}) *MockAPI_UploadFile_Call
UploadFile is a helper method to define mock.On call
- data []byte
- channelId string
- filename string
type MockAPI_ExtendSessionExpiry_Call ¶
MockAPI_ExtendSessionExpiry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExtendSessionExpiry'
func (*MockAPI_ExtendSessionExpiry_Call) Return ¶
func (_c *MockAPI_ExtendSessionExpiry_Call) Return(_a0 *model.AppError) *MockAPI_ExtendSessionExpiry_Call
func (*MockAPI_ExtendSessionExpiry_Call) Run ¶
func (_c *MockAPI_ExtendSessionExpiry_Call) Run(run func(sessionID string, newExpiry int64)) *MockAPI_ExtendSessionExpiry_Call
func (*MockAPI_ExtendSessionExpiry_Call) RunAndReturn ¶
func (_c *MockAPI_ExtendSessionExpiry_Call) RunAndReturn(run func(string, int64) *model.AppError) *MockAPI_ExtendSessionExpiry_Call
type MockAPI_GetBot_Call ¶
MockAPI_GetBot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBot'
func (*MockAPI_GetBot_Call) Return ¶
func (_c *MockAPI_GetBot_Call) Return(_a0 *model.Bot, _a1 *model.AppError) *MockAPI_GetBot_Call
func (*MockAPI_GetBot_Call) Run ¶
func (_c *MockAPI_GetBot_Call) Run(run func(botUserId string, includeDeleted bool)) *MockAPI_GetBot_Call
func (*MockAPI_GetBot_Call) RunAndReturn ¶
func (_c *MockAPI_GetBot_Call) RunAndReturn(run func(string, bool) (*model.Bot, *model.AppError)) *MockAPI_GetBot_Call
type MockAPI_GetBots_Call ¶
MockAPI_GetBots_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBots'
func (*MockAPI_GetBots_Call) Return ¶
func (_c *MockAPI_GetBots_Call) Return(_a0 []*model.Bot, _a1 *model.AppError) *MockAPI_GetBots_Call
func (*MockAPI_GetBots_Call) Run ¶
func (_c *MockAPI_GetBots_Call) Run(run func(options *model.BotGetOptions)) *MockAPI_GetBots_Call
func (*MockAPI_GetBots_Call) RunAndReturn ¶
func (_c *MockAPI_GetBots_Call) RunAndReturn(run func(*model.BotGetOptions) ([]*model.Bot, *model.AppError)) *MockAPI_GetBots_Call
type MockAPI_GetBundlePath_Call ¶
MockAPI_GetBundlePath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBundlePath'
func (*MockAPI_GetBundlePath_Call) Return ¶
func (_c *MockAPI_GetBundlePath_Call) Return(_a0 string, _a1 error) *MockAPI_GetBundlePath_Call
func (*MockAPI_GetBundlePath_Call) Run ¶
func (_c *MockAPI_GetBundlePath_Call) Run(run func()) *MockAPI_GetBundlePath_Call
func (*MockAPI_GetBundlePath_Call) RunAndReturn ¶
func (_c *MockAPI_GetBundlePath_Call) RunAndReturn(run func() (string, error)) *MockAPI_GetBundlePath_Call
type MockAPI_GetChannelByNameForTeamName_Call ¶
MockAPI_GetChannelByNameForTeamName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetChannelByNameForTeamName'
func (*MockAPI_GetChannelByNameForTeamName_Call) Return ¶
func (_c *MockAPI_GetChannelByNameForTeamName_Call) Return(_a0 *model.Channel, _a1 *model.AppError) *MockAPI_GetChannelByNameForTeamName_Call
func (*MockAPI_GetChannelByNameForTeamName_Call) Run ¶
func (_c *MockAPI_GetChannelByNameForTeamName_Call) Run(run func(teamName string, channelName string, includeDeleted bool)) *MockAPI_GetChannelByNameForTeamName_Call
func (*MockAPI_GetChannelByNameForTeamName_Call) RunAndReturn ¶
func (_c *MockAPI_GetChannelByNameForTeamName_Call) RunAndReturn(run func(string, string, bool) (*model.Channel, *model.AppError)) *MockAPI_GetChannelByNameForTeamName_Call
type MockAPI_GetChannelByName_Call ¶
MockAPI_GetChannelByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetChannelByName'
func (*MockAPI_GetChannelByName_Call) Return ¶
func (_c *MockAPI_GetChannelByName_Call) Return(_a0 *model.Channel, _a1 *model.AppError) *MockAPI_GetChannelByName_Call
func (*MockAPI_GetChannelByName_Call) Run ¶
func (_c *MockAPI_GetChannelByName_Call) Run(run func(teamID string, name string, includeDeleted bool)) *MockAPI_GetChannelByName_Call
func (*MockAPI_GetChannelByName_Call) RunAndReturn ¶
func (_c *MockAPI_GetChannelByName_Call) RunAndReturn(run func(string, string, bool) (*model.Channel, *model.AppError)) *MockAPI_GetChannelByName_Call
type MockAPI_GetChannelMember_Call ¶
MockAPI_GetChannelMember_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetChannelMember'
func (*MockAPI_GetChannelMember_Call) Return ¶
func (_c *MockAPI_GetChannelMember_Call) Return(_a0 *model.ChannelMember, _a1 *model.AppError) *MockAPI_GetChannelMember_Call
func (*MockAPI_GetChannelMember_Call) Run ¶
func (_c *MockAPI_GetChannelMember_Call) Run(run func(channelId string, userID string)) *MockAPI_GetChannelMember_Call
func (*MockAPI_GetChannelMember_Call) RunAndReturn ¶
func (_c *MockAPI_GetChannelMember_Call) RunAndReturn(run func(string, string) (*model.ChannelMember, *model.AppError)) *MockAPI_GetChannelMember_Call
type MockAPI_GetChannelMembersByIds_Call ¶
MockAPI_GetChannelMembersByIds_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetChannelMembersByIds'
func (*MockAPI_GetChannelMembersByIds_Call) Return ¶
func (_c *MockAPI_GetChannelMembersByIds_Call) Return(_a0 model.ChannelMembers, _a1 *model.AppError) *MockAPI_GetChannelMembersByIds_Call
func (*MockAPI_GetChannelMembersByIds_Call) Run ¶
func (_c *MockAPI_GetChannelMembersByIds_Call) Run(run func(channelId string, userIds []string)) *MockAPI_GetChannelMembersByIds_Call
func (*MockAPI_GetChannelMembersByIds_Call) RunAndReturn ¶
func (_c *MockAPI_GetChannelMembersByIds_Call) RunAndReturn(run func(string, []string) (model.ChannelMembers, *model.AppError)) *MockAPI_GetChannelMembersByIds_Call
type MockAPI_GetChannelMembersForUser_Call ¶
MockAPI_GetChannelMembersForUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetChannelMembersForUser'
func (*MockAPI_GetChannelMembersForUser_Call) Return ¶
func (_c *MockAPI_GetChannelMembersForUser_Call) Return(_a0 []*model.ChannelMember, _a1 *model.AppError) *MockAPI_GetChannelMembersForUser_Call
func (*MockAPI_GetChannelMembersForUser_Call) Run ¶
func (_c *MockAPI_GetChannelMembersForUser_Call) Run(run func(teamID string, userID string, page int, perPage int)) *MockAPI_GetChannelMembersForUser_Call
func (*MockAPI_GetChannelMembersForUser_Call) RunAndReturn ¶
func (_c *MockAPI_GetChannelMembersForUser_Call) RunAndReturn(run func(string, string, int, int) ([]*model.ChannelMember, *model.AppError)) *MockAPI_GetChannelMembersForUser_Call
type MockAPI_GetChannelMembers_Call ¶
MockAPI_GetChannelMembers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetChannelMembers'
func (*MockAPI_GetChannelMembers_Call) Return ¶
func (_c *MockAPI_GetChannelMembers_Call) Return(_a0 model.ChannelMembers, _a1 *model.AppError) *MockAPI_GetChannelMembers_Call
func (*MockAPI_GetChannelMembers_Call) Run ¶
func (_c *MockAPI_GetChannelMembers_Call) Run(run func(channelId string, page int, perPage int)) *MockAPI_GetChannelMembers_Call
func (*MockAPI_GetChannelMembers_Call) RunAndReturn ¶
func (_c *MockAPI_GetChannelMembers_Call) RunAndReturn(run func(string, int, int) (model.ChannelMembers, *model.AppError)) *MockAPI_GetChannelMembers_Call
type MockAPI_GetChannelSidebarCategories_Call ¶
MockAPI_GetChannelSidebarCategories_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetChannelSidebarCategories'
func (*MockAPI_GetChannelSidebarCategories_Call) Return ¶
func (_c *MockAPI_GetChannelSidebarCategories_Call) Return(_a0 *model.OrderedSidebarCategories, _a1 *model.AppError) *MockAPI_GetChannelSidebarCategories_Call
func (*MockAPI_GetChannelSidebarCategories_Call) Run ¶
func (_c *MockAPI_GetChannelSidebarCategories_Call) Run(run func(userID string, teamID string)) *MockAPI_GetChannelSidebarCategories_Call
func (*MockAPI_GetChannelSidebarCategories_Call) RunAndReturn ¶
func (_c *MockAPI_GetChannelSidebarCategories_Call) RunAndReturn(run func(string, string) (*model.OrderedSidebarCategories, *model.AppError)) *MockAPI_GetChannelSidebarCategories_Call
type MockAPI_GetChannelStats_Call ¶
MockAPI_GetChannelStats_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetChannelStats'
func (*MockAPI_GetChannelStats_Call) Return ¶
func (_c *MockAPI_GetChannelStats_Call) Return(_a0 *model.ChannelStats, _a1 *model.AppError) *MockAPI_GetChannelStats_Call
func (*MockAPI_GetChannelStats_Call) Run ¶
func (_c *MockAPI_GetChannelStats_Call) Run(run func(channelId string)) *MockAPI_GetChannelStats_Call
func (*MockAPI_GetChannelStats_Call) RunAndReturn ¶
func (_c *MockAPI_GetChannelStats_Call) RunAndReturn(run func(string) (*model.ChannelStats, *model.AppError)) *MockAPI_GetChannelStats_Call
type MockAPI_GetChannel_Call ¶
MockAPI_GetChannel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetChannel'
func (*MockAPI_GetChannel_Call) Return ¶
func (_c *MockAPI_GetChannel_Call) Return(_a0 *model.Channel, _a1 *model.AppError) *MockAPI_GetChannel_Call
func (*MockAPI_GetChannel_Call) Run ¶
func (_c *MockAPI_GetChannel_Call) Run(run func(channelId string)) *MockAPI_GetChannel_Call
func (*MockAPI_GetChannel_Call) RunAndReturn ¶
func (_c *MockAPI_GetChannel_Call) RunAndReturn(run func(string) (*model.Channel, *model.AppError)) *MockAPI_GetChannel_Call
type MockAPI_GetChannelsForTeamForUser_Call ¶
MockAPI_GetChannelsForTeamForUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetChannelsForTeamForUser'
func (*MockAPI_GetChannelsForTeamForUser_Call) Return ¶
func (_c *MockAPI_GetChannelsForTeamForUser_Call) Return(_a0 []*model.Channel, _a1 *model.AppError) *MockAPI_GetChannelsForTeamForUser_Call
func (*MockAPI_GetChannelsForTeamForUser_Call) Run ¶
func (_c *MockAPI_GetChannelsForTeamForUser_Call) Run(run func(teamID string, userID string, includeDeleted bool)) *MockAPI_GetChannelsForTeamForUser_Call
func (*MockAPI_GetChannelsForTeamForUser_Call) RunAndReturn ¶
func (_c *MockAPI_GetChannelsForTeamForUser_Call) RunAndReturn(run func(string, string, bool) ([]*model.Channel, *model.AppError)) *MockAPI_GetChannelsForTeamForUser_Call
type MockAPI_GetCloudLimits_Call ¶
MockAPI_GetCloudLimits_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCloudLimits'
func (*MockAPI_GetCloudLimits_Call) Return ¶
func (_c *MockAPI_GetCloudLimits_Call) Return(_a0 *model.ProductLimits, _a1 error) *MockAPI_GetCloudLimits_Call
func (*MockAPI_GetCloudLimits_Call) Run ¶
func (_c *MockAPI_GetCloudLimits_Call) Run(run func()) *MockAPI_GetCloudLimits_Call
func (*MockAPI_GetCloudLimits_Call) RunAndReturn ¶
func (_c *MockAPI_GetCloudLimits_Call) RunAndReturn(run func() (*model.ProductLimits, error)) *MockAPI_GetCloudLimits_Call
type MockAPI_GetCommand_Call ¶
MockAPI_GetCommand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCommand'
func (*MockAPI_GetCommand_Call) Return ¶
func (_c *MockAPI_GetCommand_Call) Return(_a0 *model.Command, _a1 error) *MockAPI_GetCommand_Call
func (*MockAPI_GetCommand_Call) Run ¶
func (_c *MockAPI_GetCommand_Call) Run(run func(commandID string)) *MockAPI_GetCommand_Call
func (*MockAPI_GetCommand_Call) RunAndReturn ¶
func (_c *MockAPI_GetCommand_Call) RunAndReturn(run func(string) (*model.Command, error)) *MockAPI_GetCommand_Call
type MockAPI_GetConfig_Call ¶
MockAPI_GetConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetConfig'
func (*MockAPI_GetConfig_Call) Return ¶
func (_c *MockAPI_GetConfig_Call) Return(_a0 *model.Config) *MockAPI_GetConfig_Call
func (*MockAPI_GetConfig_Call) Run ¶
func (_c *MockAPI_GetConfig_Call) Run(run func()) *MockAPI_GetConfig_Call
func (*MockAPI_GetConfig_Call) RunAndReturn ¶
func (_c *MockAPI_GetConfig_Call) RunAndReturn(run func() *model.Config) *MockAPI_GetConfig_Call
type MockAPI_GetDiagnosticId_Call ¶
MockAPI_GetDiagnosticId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDiagnosticId'
func (*MockAPI_GetDiagnosticId_Call) Return ¶
func (_c *MockAPI_GetDiagnosticId_Call) Return(_a0 string) *MockAPI_GetDiagnosticId_Call
func (*MockAPI_GetDiagnosticId_Call) Run ¶
func (_c *MockAPI_GetDiagnosticId_Call) Run(run func()) *MockAPI_GetDiagnosticId_Call
func (*MockAPI_GetDiagnosticId_Call) RunAndReturn ¶
func (_c *MockAPI_GetDiagnosticId_Call) RunAndReturn(run func() string) *MockAPI_GetDiagnosticId_Call
type MockAPI_GetDirectChannel_Call ¶
MockAPI_GetDirectChannel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDirectChannel'
func (*MockAPI_GetDirectChannel_Call) Return ¶
func (_c *MockAPI_GetDirectChannel_Call) Return(_a0 *model.Channel, _a1 *model.AppError) *MockAPI_GetDirectChannel_Call
func (*MockAPI_GetDirectChannel_Call) Run ¶
func (_c *MockAPI_GetDirectChannel_Call) Run(run func(userId1 string, userId2 string)) *MockAPI_GetDirectChannel_Call
func (*MockAPI_GetDirectChannel_Call) RunAndReturn ¶
func (_c *MockAPI_GetDirectChannel_Call) RunAndReturn(run func(string, string) (*model.Channel, *model.AppError)) *MockAPI_GetDirectChannel_Call
type MockAPI_GetEmojiByName_Call ¶
MockAPI_GetEmojiByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEmojiByName'
func (*MockAPI_GetEmojiByName_Call) Return ¶
func (_c *MockAPI_GetEmojiByName_Call) Return(_a0 *model.Emoji, _a1 *model.AppError) *MockAPI_GetEmojiByName_Call
func (*MockAPI_GetEmojiByName_Call) Run ¶
func (_c *MockAPI_GetEmojiByName_Call) Run(run func(name string)) *MockAPI_GetEmojiByName_Call
func (*MockAPI_GetEmojiByName_Call) RunAndReturn ¶
func (_c *MockAPI_GetEmojiByName_Call) RunAndReturn(run func(string) (*model.Emoji, *model.AppError)) *MockAPI_GetEmojiByName_Call
type MockAPI_GetEmojiImage_Call ¶
MockAPI_GetEmojiImage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEmojiImage'
func (*MockAPI_GetEmojiImage_Call) Return ¶
func (_c *MockAPI_GetEmojiImage_Call) Return(_a0 []byte, _a1 string, _a2 *model.AppError) *MockAPI_GetEmojiImage_Call
func (*MockAPI_GetEmojiImage_Call) Run ¶
func (_c *MockAPI_GetEmojiImage_Call) Run(run func(emojiId string)) *MockAPI_GetEmojiImage_Call
func (*MockAPI_GetEmojiImage_Call) RunAndReturn ¶
func (_c *MockAPI_GetEmojiImage_Call) RunAndReturn(run func(string) ([]byte, string, *model.AppError)) *MockAPI_GetEmojiImage_Call
type MockAPI_GetEmojiList_Call ¶
MockAPI_GetEmojiList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEmojiList'
func (*MockAPI_GetEmojiList_Call) Return ¶
func (_c *MockAPI_GetEmojiList_Call) Return(_a0 []*model.Emoji, _a1 *model.AppError) *MockAPI_GetEmojiList_Call
func (*MockAPI_GetEmojiList_Call) Run ¶
func (_c *MockAPI_GetEmojiList_Call) Run(run func(sortBy string, page int, perPage int)) *MockAPI_GetEmojiList_Call
func (*MockAPI_GetEmojiList_Call) RunAndReturn ¶
func (_c *MockAPI_GetEmojiList_Call) RunAndReturn(run func(string, int, int) ([]*model.Emoji, *model.AppError)) *MockAPI_GetEmojiList_Call
type MockAPI_GetEmoji_Call ¶
MockAPI_GetEmoji_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEmoji'
func (*MockAPI_GetEmoji_Call) Return ¶
func (_c *MockAPI_GetEmoji_Call) Return(_a0 *model.Emoji, _a1 *model.AppError) *MockAPI_GetEmoji_Call
func (*MockAPI_GetEmoji_Call) Run ¶
func (_c *MockAPI_GetEmoji_Call) Run(run func(emojiId string)) *MockAPI_GetEmoji_Call
func (*MockAPI_GetEmoji_Call) RunAndReturn ¶
func (_c *MockAPI_GetEmoji_Call) RunAndReturn(run func(string) (*model.Emoji, *model.AppError)) *MockAPI_GetEmoji_Call
type MockAPI_GetFileInfo_Call ¶
MockAPI_GetFileInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFileInfo'
func (*MockAPI_GetFileInfo_Call) Return ¶
func (_c *MockAPI_GetFileInfo_Call) Return(_a0 *model.FileInfo, _a1 *model.AppError) *MockAPI_GetFileInfo_Call
func (*MockAPI_GetFileInfo_Call) Run ¶
func (_c *MockAPI_GetFileInfo_Call) Run(run func(fileId string)) *MockAPI_GetFileInfo_Call
func (*MockAPI_GetFileInfo_Call) RunAndReturn ¶
func (_c *MockAPI_GetFileInfo_Call) RunAndReturn(run func(string) (*model.FileInfo, *model.AppError)) *MockAPI_GetFileInfo_Call
type MockAPI_GetFileInfos_Call ¶
MockAPI_GetFileInfos_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFileInfos'
func (*MockAPI_GetFileInfos_Call) Return ¶
func (_c *MockAPI_GetFileInfos_Call) Return(_a0 []*model.FileInfo, _a1 *model.AppError) *MockAPI_GetFileInfos_Call
func (*MockAPI_GetFileInfos_Call) Run ¶
func (_c *MockAPI_GetFileInfos_Call) Run(run func(page int, perPage int, opt *model.GetFileInfosOptions)) *MockAPI_GetFileInfos_Call
func (*MockAPI_GetFileInfos_Call) RunAndReturn ¶
func (_c *MockAPI_GetFileInfos_Call) RunAndReturn(run func(int, int, *model.GetFileInfosOptions) ([]*model.FileInfo, *model.AppError)) *MockAPI_GetFileInfos_Call
type MockAPI_GetFileLink_Call ¶
MockAPI_GetFileLink_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFileLink'
func (*MockAPI_GetFileLink_Call) Return ¶
func (_c *MockAPI_GetFileLink_Call) Return(_a0 string, _a1 *model.AppError) *MockAPI_GetFileLink_Call
func (*MockAPI_GetFileLink_Call) Run ¶
func (_c *MockAPI_GetFileLink_Call) Run(run func(fileId string)) *MockAPI_GetFileLink_Call
func (*MockAPI_GetFileLink_Call) RunAndReturn ¶
func (_c *MockAPI_GetFileLink_Call) RunAndReturn(run func(string) (string, *model.AppError)) *MockAPI_GetFileLink_Call
type MockAPI_GetFile_Call ¶
MockAPI_GetFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFile'
func (*MockAPI_GetFile_Call) Return ¶
func (_c *MockAPI_GetFile_Call) Return(_a0 []byte, _a1 *model.AppError) *MockAPI_GetFile_Call
func (*MockAPI_GetFile_Call) Run ¶
func (_c *MockAPI_GetFile_Call) Run(run func(fileId string)) *MockAPI_GetFile_Call
func (*MockAPI_GetFile_Call) RunAndReturn ¶
func (_c *MockAPI_GetFile_Call) RunAndReturn(run func(string) ([]byte, *model.AppError)) *MockAPI_GetFile_Call
type MockAPI_GetGroupByName_Call ¶
MockAPI_GetGroupByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetGroupByName'
func (*MockAPI_GetGroupByName_Call) Return ¶
func (_c *MockAPI_GetGroupByName_Call) Return(_a0 *model.Group, _a1 *model.AppError) *MockAPI_GetGroupByName_Call
func (*MockAPI_GetGroupByName_Call) Run ¶
func (_c *MockAPI_GetGroupByName_Call) Run(run func(name string)) *MockAPI_GetGroupByName_Call
func (*MockAPI_GetGroupByName_Call) RunAndReturn ¶
func (_c *MockAPI_GetGroupByName_Call) RunAndReturn(run func(string) (*model.Group, *model.AppError)) *MockAPI_GetGroupByName_Call
type MockAPI_GetGroupChannel_Call ¶
MockAPI_GetGroupChannel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetGroupChannel'
func (*MockAPI_GetGroupChannel_Call) Return ¶
func (_c *MockAPI_GetGroupChannel_Call) Return(_a0 *model.Channel, _a1 *model.AppError) *MockAPI_GetGroupChannel_Call
func (*MockAPI_GetGroupChannel_Call) Run ¶
func (_c *MockAPI_GetGroupChannel_Call) Run(run func(userIds []string)) *MockAPI_GetGroupChannel_Call
func (*MockAPI_GetGroupChannel_Call) RunAndReturn ¶
func (_c *MockAPI_GetGroupChannel_Call) RunAndReturn(run func([]string) (*model.Channel, *model.AppError)) *MockAPI_GetGroupChannel_Call
type MockAPI_GetGroupMemberUsers_Call ¶
MockAPI_GetGroupMemberUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetGroupMemberUsers'
func (*MockAPI_GetGroupMemberUsers_Call) Return ¶
func (_c *MockAPI_GetGroupMemberUsers_Call) Return(_a0 []*model.User, _a1 *model.AppError) *MockAPI_GetGroupMemberUsers_Call
func (*MockAPI_GetGroupMemberUsers_Call) Run ¶
func (_c *MockAPI_GetGroupMemberUsers_Call) Run(run func(groupID string, page int, perPage int)) *MockAPI_GetGroupMemberUsers_Call
func (*MockAPI_GetGroupMemberUsers_Call) RunAndReturn ¶
func (_c *MockAPI_GetGroupMemberUsers_Call) RunAndReturn(run func(string, int, int) ([]*model.User, *model.AppError)) *MockAPI_GetGroupMemberUsers_Call
type MockAPI_GetGroup_Call ¶
MockAPI_GetGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetGroup'
func (*MockAPI_GetGroup_Call) Return ¶
func (_c *MockAPI_GetGroup_Call) Return(_a0 *model.Group, _a1 *model.AppError) *MockAPI_GetGroup_Call
func (*MockAPI_GetGroup_Call) Run ¶
func (_c *MockAPI_GetGroup_Call) Run(run func(groupId string)) *MockAPI_GetGroup_Call
func (*MockAPI_GetGroup_Call) RunAndReturn ¶
func (_c *MockAPI_GetGroup_Call) RunAndReturn(run func(string) (*model.Group, *model.AppError)) *MockAPI_GetGroup_Call
type MockAPI_GetGroupsBySource_Call ¶
MockAPI_GetGroupsBySource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetGroupsBySource'
func (*MockAPI_GetGroupsBySource_Call) Return ¶
func (_c *MockAPI_GetGroupsBySource_Call) Return(_a0 []*model.Group, _a1 *model.AppError) *MockAPI_GetGroupsBySource_Call
func (*MockAPI_GetGroupsBySource_Call) Run ¶
func (_c *MockAPI_GetGroupsBySource_Call) Run(run func(groupSource model.GroupSource)) *MockAPI_GetGroupsBySource_Call
func (*MockAPI_GetGroupsBySource_Call) RunAndReturn ¶
func (_c *MockAPI_GetGroupsBySource_Call) RunAndReturn(run func(model.GroupSource) ([]*model.Group, *model.AppError)) *MockAPI_GetGroupsBySource_Call
type MockAPI_GetGroupsForUser_Call ¶
MockAPI_GetGroupsForUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetGroupsForUser'
func (*MockAPI_GetGroupsForUser_Call) Return ¶
func (_c *MockAPI_GetGroupsForUser_Call) Return(_a0 []*model.Group, _a1 *model.AppError) *MockAPI_GetGroupsForUser_Call
func (*MockAPI_GetGroupsForUser_Call) Run ¶
func (_c *MockAPI_GetGroupsForUser_Call) Run(run func(userID string)) *MockAPI_GetGroupsForUser_Call
func (*MockAPI_GetGroupsForUser_Call) RunAndReturn ¶
func (_c *MockAPI_GetGroupsForUser_Call) RunAndReturn(run func(string) ([]*model.Group, *model.AppError)) *MockAPI_GetGroupsForUser_Call
type MockAPI_GetLDAPUserAttributes_Call ¶
MockAPI_GetLDAPUserAttributes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLDAPUserAttributes'
func (*MockAPI_GetLDAPUserAttributes_Call) Return ¶
func (_c *MockAPI_GetLDAPUserAttributes_Call) Return(_a0 map[string]string, _a1 *model.AppError) *MockAPI_GetLDAPUserAttributes_Call
func (*MockAPI_GetLDAPUserAttributes_Call) Run ¶
func (_c *MockAPI_GetLDAPUserAttributes_Call) Run(run func(userID string, attributes []string)) *MockAPI_GetLDAPUserAttributes_Call
func (*MockAPI_GetLDAPUserAttributes_Call) RunAndReturn ¶
func (_c *MockAPI_GetLDAPUserAttributes_Call) RunAndReturn(run func(string, []string) (map[string]string, *model.AppError)) *MockAPI_GetLDAPUserAttributes_Call
type MockAPI_GetLicense_Call ¶
MockAPI_GetLicense_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLicense'
func (*MockAPI_GetLicense_Call) Return ¶
func (_c *MockAPI_GetLicense_Call) Return(_a0 *model.License) *MockAPI_GetLicense_Call
func (*MockAPI_GetLicense_Call) Run ¶
func (_c *MockAPI_GetLicense_Call) Run(run func()) *MockAPI_GetLicense_Call
func (*MockAPI_GetLicense_Call) RunAndReturn ¶
func (_c *MockAPI_GetLicense_Call) RunAndReturn(run func() *model.License) *MockAPI_GetLicense_Call
type MockAPI_GetOAuthApp_Call ¶
MockAPI_GetOAuthApp_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOAuthApp'
func (*MockAPI_GetOAuthApp_Call) Return ¶
func (_c *MockAPI_GetOAuthApp_Call) Return(_a0 *model.OAuthApp, _a1 *model.AppError) *MockAPI_GetOAuthApp_Call
func (*MockAPI_GetOAuthApp_Call) Run ¶
func (_c *MockAPI_GetOAuthApp_Call) Run(run func(appID string)) *MockAPI_GetOAuthApp_Call
func (*MockAPI_GetOAuthApp_Call) RunAndReturn ¶
func (_c *MockAPI_GetOAuthApp_Call) RunAndReturn(run func(string) (*model.OAuthApp, *model.AppError)) *MockAPI_GetOAuthApp_Call
type MockAPI_GetPluginConfig_Call ¶
MockAPI_GetPluginConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPluginConfig'
func (*MockAPI_GetPluginConfig_Call) Return ¶
func (_c *MockAPI_GetPluginConfig_Call) Return(_a0 map[string]interface{}) *MockAPI_GetPluginConfig_Call
func (*MockAPI_GetPluginConfig_Call) Run ¶
func (_c *MockAPI_GetPluginConfig_Call) Run(run func()) *MockAPI_GetPluginConfig_Call
func (*MockAPI_GetPluginConfig_Call) RunAndReturn ¶
func (_c *MockAPI_GetPluginConfig_Call) RunAndReturn(run func() map[string]interface{}) *MockAPI_GetPluginConfig_Call
type MockAPI_GetPluginStatus_Call ¶
MockAPI_GetPluginStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPluginStatus'
func (*MockAPI_GetPluginStatus_Call) Return ¶
func (_c *MockAPI_GetPluginStatus_Call) Return(_a0 *model.PluginStatus, _a1 *model.AppError) *MockAPI_GetPluginStatus_Call
func (*MockAPI_GetPluginStatus_Call) Run ¶
func (_c *MockAPI_GetPluginStatus_Call) Run(run func(id string)) *MockAPI_GetPluginStatus_Call
func (*MockAPI_GetPluginStatus_Call) RunAndReturn ¶
func (_c *MockAPI_GetPluginStatus_Call) RunAndReturn(run func(string) (*model.PluginStatus, *model.AppError)) *MockAPI_GetPluginStatus_Call
type MockAPI_GetPlugins_Call ¶
MockAPI_GetPlugins_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPlugins'
func (*MockAPI_GetPlugins_Call) Return ¶
func (_c *MockAPI_GetPlugins_Call) Return(_a0 []*model.Manifest, _a1 *model.AppError) *MockAPI_GetPlugins_Call
func (*MockAPI_GetPlugins_Call) Run ¶
func (_c *MockAPI_GetPlugins_Call) Run(run func()) *MockAPI_GetPlugins_Call
func (*MockAPI_GetPlugins_Call) RunAndReturn ¶
func (_c *MockAPI_GetPlugins_Call) RunAndReturn(run func() ([]*model.Manifest, *model.AppError)) *MockAPI_GetPlugins_Call
type MockAPI_GetPostThread_Call ¶
MockAPI_GetPostThread_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPostThread'
func (*MockAPI_GetPostThread_Call) Return ¶
func (_c *MockAPI_GetPostThread_Call) Return(_a0 *model.PostList, _a1 *model.AppError) *MockAPI_GetPostThread_Call
func (*MockAPI_GetPostThread_Call) Run ¶
func (_c *MockAPI_GetPostThread_Call) Run(run func(postId string)) *MockAPI_GetPostThread_Call
func (*MockAPI_GetPostThread_Call) RunAndReturn ¶
func (_c *MockAPI_GetPostThread_Call) RunAndReturn(run func(string) (*model.PostList, *model.AppError)) *MockAPI_GetPostThread_Call
type MockAPI_GetPost_Call ¶
MockAPI_GetPost_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPost'
func (*MockAPI_GetPost_Call) Return ¶
func (_c *MockAPI_GetPost_Call) Return(_a0 *model.Post, _a1 *model.AppError) *MockAPI_GetPost_Call
func (*MockAPI_GetPost_Call) Run ¶
func (_c *MockAPI_GetPost_Call) Run(run func(postId string)) *MockAPI_GetPost_Call
func (*MockAPI_GetPost_Call) RunAndReturn ¶
func (_c *MockAPI_GetPost_Call) RunAndReturn(run func(string) (*model.Post, *model.AppError)) *MockAPI_GetPost_Call
type MockAPI_GetPostsAfter_Call ¶
MockAPI_GetPostsAfter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPostsAfter'
func (*MockAPI_GetPostsAfter_Call) Return ¶
func (_c *MockAPI_GetPostsAfter_Call) Return(_a0 *model.PostList, _a1 *model.AppError) *MockAPI_GetPostsAfter_Call
func (*MockAPI_GetPostsAfter_Call) Run ¶
func (_c *MockAPI_GetPostsAfter_Call) Run(run func(channelId string, postId string, page int, perPage int)) *MockAPI_GetPostsAfter_Call
func (*MockAPI_GetPostsAfter_Call) RunAndReturn ¶
func (_c *MockAPI_GetPostsAfter_Call) RunAndReturn(run func(string, string, int, int) (*model.PostList, *model.AppError)) *MockAPI_GetPostsAfter_Call
type MockAPI_GetPostsBefore_Call ¶
MockAPI_GetPostsBefore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPostsBefore'
func (*MockAPI_GetPostsBefore_Call) Return ¶
func (_c *MockAPI_GetPostsBefore_Call) Return(_a0 *model.PostList, _a1 *model.AppError) *MockAPI_GetPostsBefore_Call
func (*MockAPI_GetPostsBefore_Call) Run ¶
func (_c *MockAPI_GetPostsBefore_Call) Run(run func(channelId string, postId string, page int, perPage int)) *MockAPI_GetPostsBefore_Call
func (*MockAPI_GetPostsBefore_Call) RunAndReturn ¶
func (_c *MockAPI_GetPostsBefore_Call) RunAndReturn(run func(string, string, int, int) (*model.PostList, *model.AppError)) *MockAPI_GetPostsBefore_Call
type MockAPI_GetPostsForChannel_Call ¶
MockAPI_GetPostsForChannel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPostsForChannel'
func (*MockAPI_GetPostsForChannel_Call) Return ¶
func (_c *MockAPI_GetPostsForChannel_Call) Return(_a0 *model.PostList, _a1 *model.AppError) *MockAPI_GetPostsForChannel_Call
func (*MockAPI_GetPostsForChannel_Call) Run ¶
func (_c *MockAPI_GetPostsForChannel_Call) Run(run func(channelId string, page int, perPage int)) *MockAPI_GetPostsForChannel_Call
func (*MockAPI_GetPostsForChannel_Call) RunAndReturn ¶
func (_c *MockAPI_GetPostsForChannel_Call) RunAndReturn(run func(string, int, int) (*model.PostList, *model.AppError)) *MockAPI_GetPostsForChannel_Call
type MockAPI_GetPostsSince_Call ¶
MockAPI_GetPostsSince_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPostsSince'
func (*MockAPI_GetPostsSince_Call) Return ¶
func (_c *MockAPI_GetPostsSince_Call) Return(_a0 *model.PostList, _a1 *model.AppError) *MockAPI_GetPostsSince_Call
func (*MockAPI_GetPostsSince_Call) Run ¶
func (_c *MockAPI_GetPostsSince_Call) Run(run func(channelId string, time int64)) *MockAPI_GetPostsSince_Call
func (*MockAPI_GetPostsSince_Call) RunAndReturn ¶
func (_c *MockAPI_GetPostsSince_Call) RunAndReturn(run func(string, int64) (*model.PostList, *model.AppError)) *MockAPI_GetPostsSince_Call
type MockAPI_GetPreferencesForUser_Call ¶
MockAPI_GetPreferencesForUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPreferencesForUser'
func (*MockAPI_GetPreferencesForUser_Call) Return ¶
func (_c *MockAPI_GetPreferencesForUser_Call) Return(_a0 []model.Preference, _a1 *model.AppError) *MockAPI_GetPreferencesForUser_Call
func (*MockAPI_GetPreferencesForUser_Call) Run ¶
func (_c *MockAPI_GetPreferencesForUser_Call) Run(run func(userID string)) *MockAPI_GetPreferencesForUser_Call
func (*MockAPI_GetPreferencesForUser_Call) RunAndReturn ¶
func (_c *MockAPI_GetPreferencesForUser_Call) RunAndReturn(run func(string) ([]model.Preference, *model.AppError)) *MockAPI_GetPreferencesForUser_Call
type MockAPI_GetProfileImage_Call ¶
MockAPI_GetProfileImage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProfileImage'
func (*MockAPI_GetProfileImage_Call) Return ¶
func (_c *MockAPI_GetProfileImage_Call) Return(_a0 []byte, _a1 *model.AppError) *MockAPI_GetProfileImage_Call
func (*MockAPI_GetProfileImage_Call) Run ¶
func (_c *MockAPI_GetProfileImage_Call) Run(run func(userID string)) *MockAPI_GetProfileImage_Call
func (*MockAPI_GetProfileImage_Call) RunAndReturn ¶
func (_c *MockAPI_GetProfileImage_Call) RunAndReturn(run func(string) ([]byte, *model.AppError)) *MockAPI_GetProfileImage_Call
type MockAPI_GetPublicChannelsForTeam_Call ¶
MockAPI_GetPublicChannelsForTeam_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPublicChannelsForTeam'
func (*MockAPI_GetPublicChannelsForTeam_Call) Return ¶
func (_c *MockAPI_GetPublicChannelsForTeam_Call) Return(_a0 []*model.Channel, _a1 *model.AppError) *MockAPI_GetPublicChannelsForTeam_Call
func (*MockAPI_GetPublicChannelsForTeam_Call) Run ¶
func (_c *MockAPI_GetPublicChannelsForTeam_Call) Run(run func(teamID string, page int, perPage int)) *MockAPI_GetPublicChannelsForTeam_Call
func (*MockAPI_GetPublicChannelsForTeam_Call) RunAndReturn ¶
func (_c *MockAPI_GetPublicChannelsForTeam_Call) RunAndReturn(run func(string, int, int) ([]*model.Channel, *model.AppError)) *MockAPI_GetPublicChannelsForTeam_Call
type MockAPI_GetReactions_Call ¶
MockAPI_GetReactions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetReactions'
func (*MockAPI_GetReactions_Call) Return ¶
func (_c *MockAPI_GetReactions_Call) Return(_a0 []*model.Reaction, _a1 *model.AppError) *MockAPI_GetReactions_Call
func (*MockAPI_GetReactions_Call) Run ¶
func (_c *MockAPI_GetReactions_Call) Run(run func(postId string)) *MockAPI_GetReactions_Call
func (*MockAPI_GetReactions_Call) RunAndReturn ¶
func (_c *MockAPI_GetReactions_Call) RunAndReturn(run func(string) ([]*model.Reaction, *model.AppError)) *MockAPI_GetReactions_Call
type MockAPI_GetServerVersion_Call ¶
MockAPI_GetServerVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetServerVersion'
func (*MockAPI_GetServerVersion_Call) Return ¶
func (_c *MockAPI_GetServerVersion_Call) Return(_a0 string) *MockAPI_GetServerVersion_Call
func (*MockAPI_GetServerVersion_Call) Run ¶
func (_c *MockAPI_GetServerVersion_Call) Run(run func()) *MockAPI_GetServerVersion_Call
func (*MockAPI_GetServerVersion_Call) RunAndReturn ¶
func (_c *MockAPI_GetServerVersion_Call) RunAndReturn(run func() string) *MockAPI_GetServerVersion_Call
type MockAPI_GetSession_Call ¶
MockAPI_GetSession_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSession'
func (*MockAPI_GetSession_Call) Return ¶
func (_c *MockAPI_GetSession_Call) Return(_a0 *model.Session, _a1 *model.AppError) *MockAPI_GetSession_Call
func (*MockAPI_GetSession_Call) Run ¶
func (_c *MockAPI_GetSession_Call) Run(run func(sessionID string)) *MockAPI_GetSession_Call
func (*MockAPI_GetSession_Call) RunAndReturn ¶
func (_c *MockAPI_GetSession_Call) RunAndReturn(run func(string) (*model.Session, *model.AppError)) *MockAPI_GetSession_Call
type MockAPI_GetSystemInstallDate_Call ¶
MockAPI_GetSystemInstallDate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSystemInstallDate'
func (*MockAPI_GetSystemInstallDate_Call) Return ¶
func (_c *MockAPI_GetSystemInstallDate_Call) Return(_a0 int64, _a1 *model.AppError) *MockAPI_GetSystemInstallDate_Call
func (*MockAPI_GetSystemInstallDate_Call) Run ¶
func (_c *MockAPI_GetSystemInstallDate_Call) Run(run func()) *MockAPI_GetSystemInstallDate_Call
func (*MockAPI_GetSystemInstallDate_Call) RunAndReturn ¶
func (_c *MockAPI_GetSystemInstallDate_Call) RunAndReturn(run func() (int64, *model.AppError)) *MockAPI_GetSystemInstallDate_Call
type MockAPI_GetTeamByName_Call ¶
MockAPI_GetTeamByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTeamByName'
func (*MockAPI_GetTeamByName_Call) Return ¶
func (_c *MockAPI_GetTeamByName_Call) Return(_a0 *model.Team, _a1 *model.AppError) *MockAPI_GetTeamByName_Call
func (*MockAPI_GetTeamByName_Call) Run ¶
func (_c *MockAPI_GetTeamByName_Call) Run(run func(name string)) *MockAPI_GetTeamByName_Call
func (*MockAPI_GetTeamByName_Call) RunAndReturn ¶
func (_c *MockAPI_GetTeamByName_Call) RunAndReturn(run func(string) (*model.Team, *model.AppError)) *MockAPI_GetTeamByName_Call
type MockAPI_GetTeamIcon_Call ¶
MockAPI_GetTeamIcon_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTeamIcon'
func (*MockAPI_GetTeamIcon_Call) Return ¶
func (_c *MockAPI_GetTeamIcon_Call) Return(_a0 []byte, _a1 *model.AppError) *MockAPI_GetTeamIcon_Call
func (*MockAPI_GetTeamIcon_Call) Run ¶
func (_c *MockAPI_GetTeamIcon_Call) Run(run func(teamID string)) *MockAPI_GetTeamIcon_Call
func (*MockAPI_GetTeamIcon_Call) RunAndReturn ¶
func (_c *MockAPI_GetTeamIcon_Call) RunAndReturn(run func(string) ([]byte, *model.AppError)) *MockAPI_GetTeamIcon_Call
type MockAPI_GetTeamMember_Call ¶
MockAPI_GetTeamMember_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTeamMember'
func (*MockAPI_GetTeamMember_Call) Return ¶
func (_c *MockAPI_GetTeamMember_Call) Return(_a0 *model.TeamMember, _a1 *model.AppError) *MockAPI_GetTeamMember_Call
func (*MockAPI_GetTeamMember_Call) Run ¶
func (_c *MockAPI_GetTeamMember_Call) Run(run func(teamID string, userID string)) *MockAPI_GetTeamMember_Call
func (*MockAPI_GetTeamMember_Call) RunAndReturn ¶
func (_c *MockAPI_GetTeamMember_Call) RunAndReturn(run func(string, string) (*model.TeamMember, *model.AppError)) *MockAPI_GetTeamMember_Call
type MockAPI_GetTeamMembersForUser_Call ¶
MockAPI_GetTeamMembersForUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTeamMembersForUser'
func (*MockAPI_GetTeamMembersForUser_Call) Return ¶
func (_c *MockAPI_GetTeamMembersForUser_Call) Return(_a0 []*model.TeamMember, _a1 *model.AppError) *MockAPI_GetTeamMembersForUser_Call
func (*MockAPI_GetTeamMembersForUser_Call) Run ¶
func (_c *MockAPI_GetTeamMembersForUser_Call) Run(run func(userID string, page int, perPage int)) *MockAPI_GetTeamMembersForUser_Call
func (*MockAPI_GetTeamMembersForUser_Call) RunAndReturn ¶
func (_c *MockAPI_GetTeamMembersForUser_Call) RunAndReturn(run func(string, int, int) ([]*model.TeamMember, *model.AppError)) *MockAPI_GetTeamMembersForUser_Call
type MockAPI_GetTeamMembers_Call ¶
MockAPI_GetTeamMembers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTeamMembers'
func (*MockAPI_GetTeamMembers_Call) Return ¶
func (_c *MockAPI_GetTeamMembers_Call) Return(_a0 []*model.TeamMember, _a1 *model.AppError) *MockAPI_GetTeamMembers_Call
func (*MockAPI_GetTeamMembers_Call) Run ¶
func (_c *MockAPI_GetTeamMembers_Call) Run(run func(teamID string, page int, perPage int)) *MockAPI_GetTeamMembers_Call
func (*MockAPI_GetTeamMembers_Call) RunAndReturn ¶
func (_c *MockAPI_GetTeamMembers_Call) RunAndReturn(run func(string, int, int) ([]*model.TeamMember, *model.AppError)) *MockAPI_GetTeamMembers_Call
type MockAPI_GetTeamStats_Call ¶
MockAPI_GetTeamStats_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTeamStats'
func (*MockAPI_GetTeamStats_Call) Return ¶
func (_c *MockAPI_GetTeamStats_Call) Return(_a0 *model.TeamStats, _a1 *model.AppError) *MockAPI_GetTeamStats_Call
func (*MockAPI_GetTeamStats_Call) Run ¶
func (_c *MockAPI_GetTeamStats_Call) Run(run func(teamID string)) *MockAPI_GetTeamStats_Call
func (*MockAPI_GetTeamStats_Call) RunAndReturn ¶
func (_c *MockAPI_GetTeamStats_Call) RunAndReturn(run func(string) (*model.TeamStats, *model.AppError)) *MockAPI_GetTeamStats_Call
type MockAPI_GetTeam_Call ¶
MockAPI_GetTeam_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTeam'
func (*MockAPI_GetTeam_Call) Return ¶
func (_c *MockAPI_GetTeam_Call) Return(_a0 *model.Team, _a1 *model.AppError) *MockAPI_GetTeam_Call
func (*MockAPI_GetTeam_Call) Run ¶
func (_c *MockAPI_GetTeam_Call) Run(run func(teamID string)) *MockAPI_GetTeam_Call
func (*MockAPI_GetTeam_Call) RunAndReturn ¶
func (_c *MockAPI_GetTeam_Call) RunAndReturn(run func(string) (*model.Team, *model.AppError)) *MockAPI_GetTeam_Call
type MockAPI_GetTeamsForUser_Call ¶
MockAPI_GetTeamsForUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTeamsForUser'
func (*MockAPI_GetTeamsForUser_Call) Return ¶
func (_c *MockAPI_GetTeamsForUser_Call) Return(_a0 []*model.Team, _a1 *model.AppError) *MockAPI_GetTeamsForUser_Call
func (*MockAPI_GetTeamsForUser_Call) Run ¶
func (_c *MockAPI_GetTeamsForUser_Call) Run(run func(userID string)) *MockAPI_GetTeamsForUser_Call
func (*MockAPI_GetTeamsForUser_Call) RunAndReturn ¶
func (_c *MockAPI_GetTeamsForUser_Call) RunAndReturn(run func(string) ([]*model.Team, *model.AppError)) *MockAPI_GetTeamsForUser_Call
type MockAPI_GetTeamsUnreadForUser_Call ¶
MockAPI_GetTeamsUnreadForUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTeamsUnreadForUser'
func (*MockAPI_GetTeamsUnreadForUser_Call) Return ¶
func (_c *MockAPI_GetTeamsUnreadForUser_Call) Return(_a0 []*model.TeamUnread, _a1 *model.AppError) *MockAPI_GetTeamsUnreadForUser_Call
func (*MockAPI_GetTeamsUnreadForUser_Call) Run ¶
func (_c *MockAPI_GetTeamsUnreadForUser_Call) Run(run func(userID string)) *MockAPI_GetTeamsUnreadForUser_Call
func (*MockAPI_GetTeamsUnreadForUser_Call) RunAndReturn ¶
func (_c *MockAPI_GetTeamsUnreadForUser_Call) RunAndReturn(run func(string) ([]*model.TeamUnread, *model.AppError)) *MockAPI_GetTeamsUnreadForUser_Call
type MockAPI_GetTeams_Call ¶
MockAPI_GetTeams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTeams'
func (*MockAPI_GetTeams_Call) Return ¶
func (_c *MockAPI_GetTeams_Call) Return(_a0 []*model.Team, _a1 *model.AppError) *MockAPI_GetTeams_Call
func (*MockAPI_GetTeams_Call) Run ¶
func (_c *MockAPI_GetTeams_Call) Run(run func()) *MockAPI_GetTeams_Call
func (*MockAPI_GetTeams_Call) RunAndReturn ¶
func (_c *MockAPI_GetTeams_Call) RunAndReturn(run func() ([]*model.Team, *model.AppError)) *MockAPI_GetTeams_Call
type MockAPI_GetTelemetryId_Call ¶
MockAPI_GetTelemetryId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTelemetryId'
func (*MockAPI_GetTelemetryId_Call) Return ¶
func (_c *MockAPI_GetTelemetryId_Call) Return(_a0 string) *MockAPI_GetTelemetryId_Call
func (*MockAPI_GetTelemetryId_Call) Run ¶
func (_c *MockAPI_GetTelemetryId_Call) Run(run func()) *MockAPI_GetTelemetryId_Call
func (*MockAPI_GetTelemetryId_Call) RunAndReturn ¶
func (_c *MockAPI_GetTelemetryId_Call) RunAndReturn(run func() string) *MockAPI_GetTelemetryId_Call
type MockAPI_GetUnsanitizedConfig_Call ¶
MockAPI_GetUnsanitizedConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUnsanitizedConfig'
func (*MockAPI_GetUnsanitizedConfig_Call) Return ¶
func (_c *MockAPI_GetUnsanitizedConfig_Call) Return(_a0 *model.Config) *MockAPI_GetUnsanitizedConfig_Call
func (*MockAPI_GetUnsanitizedConfig_Call) Run ¶
func (_c *MockAPI_GetUnsanitizedConfig_Call) Run(run func()) *MockAPI_GetUnsanitizedConfig_Call
func (*MockAPI_GetUnsanitizedConfig_Call) RunAndReturn ¶
func (_c *MockAPI_GetUnsanitizedConfig_Call) RunAndReturn(run func() *model.Config) *MockAPI_GetUnsanitizedConfig_Call
type MockAPI_GetUploadSession_Call ¶
MockAPI_GetUploadSession_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUploadSession'
func (*MockAPI_GetUploadSession_Call) Return ¶
func (_c *MockAPI_GetUploadSession_Call) Return(_a0 *model.UploadSession, _a1 error) *MockAPI_GetUploadSession_Call
func (*MockAPI_GetUploadSession_Call) Run ¶
func (_c *MockAPI_GetUploadSession_Call) Run(run func(uploadID string)) *MockAPI_GetUploadSession_Call
func (*MockAPI_GetUploadSession_Call) RunAndReturn ¶
func (_c *MockAPI_GetUploadSession_Call) RunAndReturn(run func(string) (*model.UploadSession, error)) *MockAPI_GetUploadSession_Call
type MockAPI_GetUserByEmail_Call ¶
MockAPI_GetUserByEmail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUserByEmail'
func (*MockAPI_GetUserByEmail_Call) Return ¶
func (_c *MockAPI_GetUserByEmail_Call) Return(_a0 *model.User, _a1 *model.AppError) *MockAPI_GetUserByEmail_Call
func (*MockAPI_GetUserByEmail_Call) Run ¶
func (_c *MockAPI_GetUserByEmail_Call) Run(run func(email string)) *MockAPI_GetUserByEmail_Call
func (*MockAPI_GetUserByEmail_Call) RunAndReturn ¶
func (_c *MockAPI_GetUserByEmail_Call) RunAndReturn(run func(string) (*model.User, *model.AppError)) *MockAPI_GetUserByEmail_Call
type MockAPI_GetUserByUsername_Call ¶
MockAPI_GetUserByUsername_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUserByUsername'
func (*MockAPI_GetUserByUsername_Call) Return ¶
func (_c *MockAPI_GetUserByUsername_Call) Return(_a0 *model.User, _a1 *model.AppError) *MockAPI_GetUserByUsername_Call
func (*MockAPI_GetUserByUsername_Call) Run ¶
func (_c *MockAPI_GetUserByUsername_Call) Run(run func(name string)) *MockAPI_GetUserByUsername_Call
func (*MockAPI_GetUserByUsername_Call) RunAndReturn ¶
func (_c *MockAPI_GetUserByUsername_Call) RunAndReturn(run func(string) (*model.User, *model.AppError)) *MockAPI_GetUserByUsername_Call
type MockAPI_GetUserStatus_Call ¶
MockAPI_GetUserStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUserStatus'
func (*MockAPI_GetUserStatus_Call) Return ¶
func (_c *MockAPI_GetUserStatus_Call) Return(_a0 *model.Status, _a1 *model.AppError) *MockAPI_GetUserStatus_Call
func (*MockAPI_GetUserStatus_Call) Run ¶
func (_c *MockAPI_GetUserStatus_Call) Run(run func(userID string)) *MockAPI_GetUserStatus_Call
func (*MockAPI_GetUserStatus_Call) RunAndReturn ¶
func (_c *MockAPI_GetUserStatus_Call) RunAndReturn(run func(string) (*model.Status, *model.AppError)) *MockAPI_GetUserStatus_Call
type MockAPI_GetUserStatusesByIds_Call ¶
MockAPI_GetUserStatusesByIds_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUserStatusesByIds'
func (*MockAPI_GetUserStatusesByIds_Call) Return ¶
func (_c *MockAPI_GetUserStatusesByIds_Call) Return(_a0 []*model.Status, _a1 *model.AppError) *MockAPI_GetUserStatusesByIds_Call
func (*MockAPI_GetUserStatusesByIds_Call) Run ¶
func (_c *MockAPI_GetUserStatusesByIds_Call) Run(run func(userIds []string)) *MockAPI_GetUserStatusesByIds_Call
func (*MockAPI_GetUserStatusesByIds_Call) RunAndReturn ¶
func (_c *MockAPI_GetUserStatusesByIds_Call) RunAndReturn(run func([]string) ([]*model.Status, *model.AppError)) *MockAPI_GetUserStatusesByIds_Call
type MockAPI_GetUser_Call ¶
MockAPI_GetUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUser'
func (*MockAPI_GetUser_Call) Return ¶
func (_c *MockAPI_GetUser_Call) Return(_a0 *model.User, _a1 *model.AppError) *MockAPI_GetUser_Call
func (*MockAPI_GetUser_Call) Run ¶
func (_c *MockAPI_GetUser_Call) Run(run func(userID string)) *MockAPI_GetUser_Call
func (*MockAPI_GetUser_Call) RunAndReturn ¶
func (_c *MockAPI_GetUser_Call) RunAndReturn(run func(string) (*model.User, *model.AppError)) *MockAPI_GetUser_Call
type MockAPI_GetUsersByUsernames_Call ¶
MockAPI_GetUsersByUsernames_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUsersByUsernames'
func (*MockAPI_GetUsersByUsernames_Call) Return ¶
func (_c *MockAPI_GetUsersByUsernames_Call) Return(_a0 []*model.User, _a1 *model.AppError) *MockAPI_GetUsersByUsernames_Call
func (*MockAPI_GetUsersByUsernames_Call) Run ¶
func (_c *MockAPI_GetUsersByUsernames_Call) Run(run func(usernames []string)) *MockAPI_GetUsersByUsernames_Call
func (*MockAPI_GetUsersByUsernames_Call) RunAndReturn ¶
func (_c *MockAPI_GetUsersByUsernames_Call) RunAndReturn(run func([]string) ([]*model.User, *model.AppError)) *MockAPI_GetUsersByUsernames_Call
type MockAPI_GetUsersInChannel_Call ¶
MockAPI_GetUsersInChannel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUsersInChannel'
func (*MockAPI_GetUsersInChannel_Call) Return ¶
func (_c *MockAPI_GetUsersInChannel_Call) Return(_a0 []*model.User, _a1 *model.AppError) *MockAPI_GetUsersInChannel_Call
func (*MockAPI_GetUsersInChannel_Call) Run ¶
func (_c *MockAPI_GetUsersInChannel_Call) Run(run func(channelID string, sortBy string, page int, perPage int)) *MockAPI_GetUsersInChannel_Call
func (*MockAPI_GetUsersInChannel_Call) RunAndReturn ¶
func (_c *MockAPI_GetUsersInChannel_Call) RunAndReturn(run func(string, string, int, int) ([]*model.User, *model.AppError)) *MockAPI_GetUsersInChannel_Call
type MockAPI_GetUsersInTeam_Call ¶
MockAPI_GetUsersInTeam_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUsersInTeam'
func (*MockAPI_GetUsersInTeam_Call) Return ¶
func (_c *MockAPI_GetUsersInTeam_Call) Return(_a0 []*model.User, _a1 *model.AppError) *MockAPI_GetUsersInTeam_Call
func (*MockAPI_GetUsersInTeam_Call) Run ¶
func (_c *MockAPI_GetUsersInTeam_Call) Run(run func(teamID string, page int, perPage int)) *MockAPI_GetUsersInTeam_Call
func (*MockAPI_GetUsersInTeam_Call) RunAndReturn ¶
func (_c *MockAPI_GetUsersInTeam_Call) RunAndReturn(run func(string, int, int) ([]*model.User, *model.AppError)) *MockAPI_GetUsersInTeam_Call
type MockAPI_GetUsers_Call ¶
MockAPI_GetUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUsers'
func (*MockAPI_GetUsers_Call) Return ¶
func (_c *MockAPI_GetUsers_Call) Return(_a0 []*model.User, _a1 *model.AppError) *MockAPI_GetUsers_Call
func (*MockAPI_GetUsers_Call) Run ¶
func (_c *MockAPI_GetUsers_Call) Run(run func(options *model.UserGetOptions)) *MockAPI_GetUsers_Call
func (*MockAPI_GetUsers_Call) RunAndReturn ¶
func (_c *MockAPI_GetUsers_Call) RunAndReturn(run func(*model.UserGetOptions) ([]*model.User, *model.AppError)) *MockAPI_GetUsers_Call
type MockAPI_HasPermissionToChannel_Call ¶
MockAPI_HasPermissionToChannel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasPermissionToChannel'
func (*MockAPI_HasPermissionToChannel_Call) Return ¶
func (_c *MockAPI_HasPermissionToChannel_Call) Return(_a0 bool) *MockAPI_HasPermissionToChannel_Call
func (*MockAPI_HasPermissionToChannel_Call) Run ¶
func (_c *MockAPI_HasPermissionToChannel_Call) Run(run func(userID string, channelId string, permission *model.Permission)) *MockAPI_HasPermissionToChannel_Call
func (*MockAPI_HasPermissionToChannel_Call) RunAndReturn ¶
func (_c *MockAPI_HasPermissionToChannel_Call) RunAndReturn(run func(string, string, *model.Permission) bool) *MockAPI_HasPermissionToChannel_Call
type MockAPI_HasPermissionToTeam_Call ¶
MockAPI_HasPermissionToTeam_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasPermissionToTeam'
func (*MockAPI_HasPermissionToTeam_Call) Return ¶
func (_c *MockAPI_HasPermissionToTeam_Call) Return(_a0 bool) *MockAPI_HasPermissionToTeam_Call
func (*MockAPI_HasPermissionToTeam_Call) Run ¶
func (_c *MockAPI_HasPermissionToTeam_Call) Run(run func(userID string, teamID string, permission *model.Permission)) *MockAPI_HasPermissionToTeam_Call
func (*MockAPI_HasPermissionToTeam_Call) RunAndReturn ¶
func (_c *MockAPI_HasPermissionToTeam_Call) RunAndReturn(run func(string, string, *model.Permission) bool) *MockAPI_HasPermissionToTeam_Call
type MockAPI_HasPermissionTo_Call ¶
MockAPI_HasPermissionTo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasPermissionTo'
func (*MockAPI_HasPermissionTo_Call) Return ¶
func (_c *MockAPI_HasPermissionTo_Call) Return(_a0 bool) *MockAPI_HasPermissionTo_Call
func (*MockAPI_HasPermissionTo_Call) Run ¶
func (_c *MockAPI_HasPermissionTo_Call) Run(run func(userID string, permission *model.Permission)) *MockAPI_HasPermissionTo_Call
func (*MockAPI_HasPermissionTo_Call) RunAndReturn ¶
func (_c *MockAPI_HasPermissionTo_Call) RunAndReturn(run func(string, *model.Permission) bool) *MockAPI_HasPermissionTo_Call
type MockAPI_InstallPlugin_Call ¶
MockAPI_InstallPlugin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InstallPlugin'
func (*MockAPI_InstallPlugin_Call) Return ¶
func (_c *MockAPI_InstallPlugin_Call) Return(_a0 *model.Manifest, _a1 *model.AppError) *MockAPI_InstallPlugin_Call
func (*MockAPI_InstallPlugin_Call) Run ¶
func (_c *MockAPI_InstallPlugin_Call) Run(run func(file io.Reader, replace bool)) *MockAPI_InstallPlugin_Call
func (*MockAPI_InstallPlugin_Call) RunAndReturn ¶
func (_c *MockAPI_InstallPlugin_Call) RunAndReturn(run func(io.Reader, bool) (*model.Manifest, *model.AppError)) *MockAPI_InstallPlugin_Call
type MockAPI_IsEnterpriseReady_Call ¶
MockAPI_IsEnterpriseReady_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsEnterpriseReady'
func (*MockAPI_IsEnterpriseReady_Call) Return ¶
func (_c *MockAPI_IsEnterpriseReady_Call) Return(_a0 bool) *MockAPI_IsEnterpriseReady_Call
func (*MockAPI_IsEnterpriseReady_Call) Run ¶
func (_c *MockAPI_IsEnterpriseReady_Call) Run(run func()) *MockAPI_IsEnterpriseReady_Call
func (*MockAPI_IsEnterpriseReady_Call) RunAndReturn ¶
func (_c *MockAPI_IsEnterpriseReady_Call) RunAndReturn(run func() bool) *MockAPI_IsEnterpriseReady_Call
type MockAPI_KVCompareAndDelete_Call ¶
MockAPI_KVCompareAndDelete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'KVCompareAndDelete'
func (*MockAPI_KVCompareAndDelete_Call) Return ¶
func (_c *MockAPI_KVCompareAndDelete_Call) Return(_a0 bool, _a1 *model.AppError) *MockAPI_KVCompareAndDelete_Call
func (*MockAPI_KVCompareAndDelete_Call) Run ¶
func (_c *MockAPI_KVCompareAndDelete_Call) Run(run func(key string, oldValue []byte)) *MockAPI_KVCompareAndDelete_Call
func (*MockAPI_KVCompareAndDelete_Call) RunAndReturn ¶
func (_c *MockAPI_KVCompareAndDelete_Call) RunAndReturn(run func(string, []byte) (bool, *model.AppError)) *MockAPI_KVCompareAndDelete_Call
type MockAPI_KVCompareAndSet_Call ¶
MockAPI_KVCompareAndSet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'KVCompareAndSet'
func (*MockAPI_KVCompareAndSet_Call) Return ¶
func (_c *MockAPI_KVCompareAndSet_Call) Return(_a0 bool, _a1 *model.AppError) *MockAPI_KVCompareAndSet_Call
func (*MockAPI_KVCompareAndSet_Call) Run ¶
func (_c *MockAPI_KVCompareAndSet_Call) Run(run func(key string, oldValue []byte, newValue []byte)) *MockAPI_KVCompareAndSet_Call
func (*MockAPI_KVCompareAndSet_Call) RunAndReturn ¶
func (_c *MockAPI_KVCompareAndSet_Call) RunAndReturn(run func(string, []byte, []byte) (bool, *model.AppError)) *MockAPI_KVCompareAndSet_Call
type MockAPI_KVDeleteAll_Call ¶
MockAPI_KVDeleteAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'KVDeleteAll'
func (*MockAPI_KVDeleteAll_Call) Return ¶
func (_c *MockAPI_KVDeleteAll_Call) Return(_a0 *model.AppError) *MockAPI_KVDeleteAll_Call
func (*MockAPI_KVDeleteAll_Call) Run ¶
func (_c *MockAPI_KVDeleteAll_Call) Run(run func()) *MockAPI_KVDeleteAll_Call
func (*MockAPI_KVDeleteAll_Call) RunAndReturn ¶
func (_c *MockAPI_KVDeleteAll_Call) RunAndReturn(run func() *model.AppError) *MockAPI_KVDeleteAll_Call
type MockAPI_KVDelete_Call ¶
MockAPI_KVDelete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'KVDelete'
func (*MockAPI_KVDelete_Call) Return ¶
func (_c *MockAPI_KVDelete_Call) Return(_a0 *model.AppError) *MockAPI_KVDelete_Call
func (*MockAPI_KVDelete_Call) Run ¶
func (_c *MockAPI_KVDelete_Call) Run(run func(key string)) *MockAPI_KVDelete_Call
func (*MockAPI_KVDelete_Call) RunAndReturn ¶
func (_c *MockAPI_KVDelete_Call) RunAndReturn(run func(string) *model.AppError) *MockAPI_KVDelete_Call
type MockAPI_KVGet_Call ¶
MockAPI_KVGet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'KVGet'
func (*MockAPI_KVGet_Call) Return ¶
func (_c *MockAPI_KVGet_Call) Return(_a0 []byte, _a1 *model.AppError) *MockAPI_KVGet_Call
func (*MockAPI_KVGet_Call) Run ¶
func (_c *MockAPI_KVGet_Call) Run(run func(key string)) *MockAPI_KVGet_Call
func (*MockAPI_KVGet_Call) RunAndReturn ¶
func (_c *MockAPI_KVGet_Call) RunAndReturn(run func(string) ([]byte, *model.AppError)) *MockAPI_KVGet_Call
type MockAPI_KVList_Call ¶
MockAPI_KVList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'KVList'
func (*MockAPI_KVList_Call) Return ¶
func (_c *MockAPI_KVList_Call) Return(_a0 []string, _a1 *model.AppError) *MockAPI_KVList_Call
func (*MockAPI_KVList_Call) Run ¶
func (_c *MockAPI_KVList_Call) Run(run func(page int, perPage int)) *MockAPI_KVList_Call
func (*MockAPI_KVList_Call) RunAndReturn ¶
func (_c *MockAPI_KVList_Call) RunAndReturn(run func(int, int) ([]string, *model.AppError)) *MockAPI_KVList_Call
type MockAPI_KVSetWithExpiry_Call ¶
MockAPI_KVSetWithExpiry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'KVSetWithExpiry'
func (*MockAPI_KVSetWithExpiry_Call) Return ¶
func (_c *MockAPI_KVSetWithExpiry_Call) Return(_a0 *model.AppError) *MockAPI_KVSetWithExpiry_Call
func (*MockAPI_KVSetWithExpiry_Call) Run ¶
func (_c *MockAPI_KVSetWithExpiry_Call) Run(run func(key string, value []byte, expireInSeconds int64)) *MockAPI_KVSetWithExpiry_Call
func (*MockAPI_KVSetWithExpiry_Call) RunAndReturn ¶
func (_c *MockAPI_KVSetWithExpiry_Call) RunAndReturn(run func(string, []byte, int64) *model.AppError) *MockAPI_KVSetWithExpiry_Call
type MockAPI_KVSetWithOptions_Call ¶
MockAPI_KVSetWithOptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'KVSetWithOptions'
func (*MockAPI_KVSetWithOptions_Call) Return ¶
func (_c *MockAPI_KVSetWithOptions_Call) Return(_a0 bool, _a1 *model.AppError) *MockAPI_KVSetWithOptions_Call
func (*MockAPI_KVSetWithOptions_Call) Run ¶
func (_c *MockAPI_KVSetWithOptions_Call) Run(run func(key string, value []byte, options model.PluginKVSetOptions)) *MockAPI_KVSetWithOptions_Call
func (*MockAPI_KVSetWithOptions_Call) RunAndReturn ¶
func (_c *MockAPI_KVSetWithOptions_Call) RunAndReturn(run func(string, []byte, model.PluginKVSetOptions) (bool, *model.AppError)) *MockAPI_KVSetWithOptions_Call
type MockAPI_KVSet_Call ¶
MockAPI_KVSet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'KVSet'
func (*MockAPI_KVSet_Call) Return ¶
func (_c *MockAPI_KVSet_Call) Return(_a0 *model.AppError) *MockAPI_KVSet_Call
func (*MockAPI_KVSet_Call) Run ¶
func (_c *MockAPI_KVSet_Call) Run(run func(key string, value []byte)) *MockAPI_KVSet_Call
func (*MockAPI_KVSet_Call) RunAndReturn ¶
func (_c *MockAPI_KVSet_Call) RunAndReturn(run func(string, []byte) *model.AppError) *MockAPI_KVSet_Call
type MockAPI_ListBuiltInCommands_Call ¶
MockAPI_ListBuiltInCommands_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListBuiltInCommands'
func (*MockAPI_ListBuiltInCommands_Call) Return ¶
func (_c *MockAPI_ListBuiltInCommands_Call) Return(_a0 []*model.Command, _a1 error) *MockAPI_ListBuiltInCommands_Call
func (*MockAPI_ListBuiltInCommands_Call) Run ¶
func (_c *MockAPI_ListBuiltInCommands_Call) Run(run func()) *MockAPI_ListBuiltInCommands_Call
func (*MockAPI_ListBuiltInCommands_Call) RunAndReturn ¶
func (_c *MockAPI_ListBuiltInCommands_Call) RunAndReturn(run func() ([]*model.Command, error)) *MockAPI_ListBuiltInCommands_Call
type MockAPI_ListCommands_Call ¶
MockAPI_ListCommands_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListCommands'
func (*MockAPI_ListCommands_Call) Return ¶
func (_c *MockAPI_ListCommands_Call) Return(_a0 []*model.Command, _a1 error) *MockAPI_ListCommands_Call
func (*MockAPI_ListCommands_Call) Run ¶
func (_c *MockAPI_ListCommands_Call) Run(run func(teamID string)) *MockAPI_ListCommands_Call
func (*MockAPI_ListCommands_Call) RunAndReturn ¶
func (_c *MockAPI_ListCommands_Call) RunAndReturn(run func(string) ([]*model.Command, error)) *MockAPI_ListCommands_Call
type MockAPI_ListCustomCommands_Call ¶
MockAPI_ListCustomCommands_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListCustomCommands'
func (*MockAPI_ListCustomCommands_Call) Return ¶
func (_c *MockAPI_ListCustomCommands_Call) Return(_a0 []*model.Command, _a1 error) *MockAPI_ListCustomCommands_Call
func (*MockAPI_ListCustomCommands_Call) Run ¶
func (_c *MockAPI_ListCustomCommands_Call) Run(run func(teamID string)) *MockAPI_ListCustomCommands_Call
func (*MockAPI_ListCustomCommands_Call) RunAndReturn ¶
func (_c *MockAPI_ListCustomCommands_Call) RunAndReturn(run func(string) ([]*model.Command, error)) *MockAPI_ListCustomCommands_Call
type MockAPI_ListPluginCommands_Call ¶
MockAPI_ListPluginCommands_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPluginCommands'
func (*MockAPI_ListPluginCommands_Call) Return ¶
func (_c *MockAPI_ListPluginCommands_Call) Return(_a0 []*model.Command, _a1 error) *MockAPI_ListPluginCommands_Call
func (*MockAPI_ListPluginCommands_Call) Run ¶
func (_c *MockAPI_ListPluginCommands_Call) Run(run func(teamID string)) *MockAPI_ListPluginCommands_Call
func (*MockAPI_ListPluginCommands_Call) RunAndReturn ¶
func (_c *MockAPI_ListPluginCommands_Call) RunAndReturn(run func(string) ([]*model.Command, error)) *MockAPI_ListPluginCommands_Call
type MockAPI_LoadPluginConfiguration_Call ¶
MockAPI_LoadPluginConfiguration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LoadPluginConfiguration'
func (*MockAPI_LoadPluginConfiguration_Call) Return ¶
func (_c *MockAPI_LoadPluginConfiguration_Call) Return(_a0 error) *MockAPI_LoadPluginConfiguration_Call
func (*MockAPI_LoadPluginConfiguration_Call) Run ¶
func (_c *MockAPI_LoadPluginConfiguration_Call) Run(run func(dest interface{})) *MockAPI_LoadPluginConfiguration_Call
func (*MockAPI_LoadPluginConfiguration_Call) RunAndReturn ¶
func (_c *MockAPI_LoadPluginConfiguration_Call) RunAndReturn(run func(interface{}) error) *MockAPI_LoadPluginConfiguration_Call
type MockAPI_LogDebug_Call ¶
MockAPI_LogDebug_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogDebug'
func (*MockAPI_LogDebug_Call) Return ¶
func (_c *MockAPI_LogDebug_Call) Return() *MockAPI_LogDebug_Call
func (*MockAPI_LogDebug_Call) Run ¶
func (_c *MockAPI_LogDebug_Call) Run(run func(msg string, keyValuePairs ...interface{})) *MockAPI_LogDebug_Call
func (*MockAPI_LogDebug_Call) RunAndReturn ¶
func (_c *MockAPI_LogDebug_Call) RunAndReturn(run func(string, ...interface{})) *MockAPI_LogDebug_Call
type MockAPI_LogError_Call ¶
MockAPI_LogError_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogError'
func (*MockAPI_LogError_Call) Return ¶
func (_c *MockAPI_LogError_Call) Return() *MockAPI_LogError_Call
func (*MockAPI_LogError_Call) Run ¶
func (_c *MockAPI_LogError_Call) Run(run func(msg string, keyValuePairs ...interface{})) *MockAPI_LogError_Call
func (*MockAPI_LogError_Call) RunAndReturn ¶
func (_c *MockAPI_LogError_Call) RunAndReturn(run func(string, ...interface{})) *MockAPI_LogError_Call
type MockAPI_LogInfo_Call ¶
MockAPI_LogInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogInfo'
func (*MockAPI_LogInfo_Call) Return ¶
func (_c *MockAPI_LogInfo_Call) Return() *MockAPI_LogInfo_Call
func (*MockAPI_LogInfo_Call) Run ¶
func (_c *MockAPI_LogInfo_Call) Run(run func(msg string, keyValuePairs ...interface{})) *MockAPI_LogInfo_Call
func (*MockAPI_LogInfo_Call) RunAndReturn ¶
func (_c *MockAPI_LogInfo_Call) RunAndReturn(run func(string, ...interface{})) *MockAPI_LogInfo_Call
type MockAPI_LogWarn_Call ¶
MockAPI_LogWarn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogWarn'
func (*MockAPI_LogWarn_Call) Return ¶
func (_c *MockAPI_LogWarn_Call) Return() *MockAPI_LogWarn_Call
func (*MockAPI_LogWarn_Call) Run ¶
func (_c *MockAPI_LogWarn_Call) Run(run func(msg string, keyValuePairs ...interface{})) *MockAPI_LogWarn_Call
func (*MockAPI_LogWarn_Call) RunAndReturn ¶
func (_c *MockAPI_LogWarn_Call) RunAndReturn(run func(string, ...interface{})) *MockAPI_LogWarn_Call
type MockAPI_OpenInteractiveDialog_Call ¶
MockAPI_OpenInteractiveDialog_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OpenInteractiveDialog'
func (*MockAPI_OpenInteractiveDialog_Call) Return ¶
func (_c *MockAPI_OpenInteractiveDialog_Call) Return(_a0 *model.AppError) *MockAPI_OpenInteractiveDialog_Call
func (*MockAPI_OpenInteractiveDialog_Call) Run ¶
func (_c *MockAPI_OpenInteractiveDialog_Call) Run(run func(dialog model.OpenDialogRequest)) *MockAPI_OpenInteractiveDialog_Call
func (*MockAPI_OpenInteractiveDialog_Call) RunAndReturn ¶
func (_c *MockAPI_OpenInteractiveDialog_Call) RunAndReturn(run func(model.OpenDialogRequest) *model.AppError) *MockAPI_OpenInteractiveDialog_Call
type MockAPI_PatchBot_Call ¶
MockAPI_PatchBot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PatchBot'
func (*MockAPI_PatchBot_Call) Return ¶
func (_c *MockAPI_PatchBot_Call) Return(_a0 *model.Bot, _a1 *model.AppError) *MockAPI_PatchBot_Call
func (*MockAPI_PatchBot_Call) Run ¶
func (_c *MockAPI_PatchBot_Call) Run(run func(botUserId string, botPatch *model.BotPatch)) *MockAPI_PatchBot_Call
func (*MockAPI_PatchBot_Call) RunAndReturn ¶
func (_c *MockAPI_PatchBot_Call) RunAndReturn(run func(string, *model.BotPatch) (*model.Bot, *model.AppError)) *MockAPI_PatchBot_Call
type MockAPI_PermanentDeleteBot_Call ¶
MockAPI_PermanentDeleteBot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PermanentDeleteBot'
func (*MockAPI_PermanentDeleteBot_Call) Return ¶
func (_c *MockAPI_PermanentDeleteBot_Call) Return(_a0 *model.AppError) *MockAPI_PermanentDeleteBot_Call
func (*MockAPI_PermanentDeleteBot_Call) Run ¶
func (_c *MockAPI_PermanentDeleteBot_Call) Run(run func(botUserId string)) *MockAPI_PermanentDeleteBot_Call
func (*MockAPI_PermanentDeleteBot_Call) RunAndReturn ¶
func (_c *MockAPI_PermanentDeleteBot_Call) RunAndReturn(run func(string) *model.AppError) *MockAPI_PermanentDeleteBot_Call
type MockAPI_PluginHTTP_Call ¶
MockAPI_PluginHTTP_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PluginHTTP'
func (*MockAPI_PluginHTTP_Call) Return ¶
func (_c *MockAPI_PluginHTTP_Call) Return(_a0 *http.Response) *MockAPI_PluginHTTP_Call
func (*MockAPI_PluginHTTP_Call) Run ¶
func (_c *MockAPI_PluginHTTP_Call) Run(run func(request *http.Request)) *MockAPI_PluginHTTP_Call
func (*MockAPI_PluginHTTP_Call) RunAndReturn ¶
func (_c *MockAPI_PluginHTTP_Call) RunAndReturn(run func(*http.Request) *http.Response) *MockAPI_PluginHTTP_Call
type MockAPI_PublishPluginClusterEvent_Call ¶
MockAPI_PublishPluginClusterEvent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PublishPluginClusterEvent'
func (*MockAPI_PublishPluginClusterEvent_Call) Return ¶
func (_c *MockAPI_PublishPluginClusterEvent_Call) Return(_a0 error) *MockAPI_PublishPluginClusterEvent_Call
func (*MockAPI_PublishPluginClusterEvent_Call) Run ¶
func (_c *MockAPI_PublishPluginClusterEvent_Call) Run(run func(ev model.PluginClusterEvent, opts model.PluginClusterEventSendOptions)) *MockAPI_PublishPluginClusterEvent_Call
func (*MockAPI_PublishPluginClusterEvent_Call) RunAndReturn ¶
func (_c *MockAPI_PublishPluginClusterEvent_Call) RunAndReturn(run func(model.PluginClusterEvent, model.PluginClusterEventSendOptions) error) *MockAPI_PublishPluginClusterEvent_Call
type MockAPI_PublishUserTyping_Call ¶
MockAPI_PublishUserTyping_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PublishUserTyping'
func (*MockAPI_PublishUserTyping_Call) Return ¶
func (_c *MockAPI_PublishUserTyping_Call) Return(_a0 *model.AppError) *MockAPI_PublishUserTyping_Call
func (*MockAPI_PublishUserTyping_Call) Run ¶
func (_c *MockAPI_PublishUserTyping_Call) Run(run func(userID string, channelId string, parentId string)) *MockAPI_PublishUserTyping_Call
func (*MockAPI_PublishUserTyping_Call) RunAndReturn ¶
func (_c *MockAPI_PublishUserTyping_Call) RunAndReturn(run func(string, string, string) *model.AppError) *MockAPI_PublishUserTyping_Call
type MockAPI_PublishWebSocketEvent_Call ¶
MockAPI_PublishWebSocketEvent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PublishWebSocketEvent'
func (*MockAPI_PublishWebSocketEvent_Call) Return ¶
func (_c *MockAPI_PublishWebSocketEvent_Call) Return() *MockAPI_PublishWebSocketEvent_Call
func (*MockAPI_PublishWebSocketEvent_Call) Run ¶
func (_c *MockAPI_PublishWebSocketEvent_Call) Run(run func(event string, payload map[string]interface{}, broadcast *model.WebsocketBroadcast)) *MockAPI_PublishWebSocketEvent_Call
func (*MockAPI_PublishWebSocketEvent_Call) RunAndReturn ¶
func (_c *MockAPI_PublishWebSocketEvent_Call) RunAndReturn(run func(string, map[string]interface{}, *model.WebsocketBroadcast)) *MockAPI_PublishWebSocketEvent_Call
type MockAPI_ReadFile_Call ¶
MockAPI_ReadFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadFile'
func (*MockAPI_ReadFile_Call) Return ¶
func (_c *MockAPI_ReadFile_Call) Return(_a0 []byte, _a1 *model.AppError) *MockAPI_ReadFile_Call
func (*MockAPI_ReadFile_Call) Run ¶
func (_c *MockAPI_ReadFile_Call) Run(run func(path string)) *MockAPI_ReadFile_Call
func (*MockAPI_ReadFile_Call) RunAndReturn ¶
func (_c *MockAPI_ReadFile_Call) RunAndReturn(run func(string) ([]byte, *model.AppError)) *MockAPI_ReadFile_Call
type MockAPI_RegisterCollectionAndTopic_Call ¶
MockAPI_RegisterCollectionAndTopic_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterCollectionAndTopic'
func (*MockAPI_RegisterCollectionAndTopic_Call) Return ¶
func (_c *MockAPI_RegisterCollectionAndTopic_Call) Return(_a0 error) *MockAPI_RegisterCollectionAndTopic_Call
func (*MockAPI_RegisterCollectionAndTopic_Call) Run ¶
func (_c *MockAPI_RegisterCollectionAndTopic_Call) Run(run func(collectionType string, topicType string)) *MockAPI_RegisterCollectionAndTopic_Call
func (*MockAPI_RegisterCollectionAndTopic_Call) RunAndReturn ¶
func (_c *MockAPI_RegisterCollectionAndTopic_Call) RunAndReturn(run func(string, string) error) *MockAPI_RegisterCollectionAndTopic_Call
type MockAPI_RegisterCommand_Call ¶
MockAPI_RegisterCommand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterCommand'
func (*MockAPI_RegisterCommand_Call) Return ¶
func (_c *MockAPI_RegisterCommand_Call) Return(_a0 error) *MockAPI_RegisterCommand_Call
func (*MockAPI_RegisterCommand_Call) Run ¶
func (_c *MockAPI_RegisterCommand_Call) Run(run func(command *model.Command)) *MockAPI_RegisterCommand_Call
func (*MockAPI_RegisterCommand_Call) RunAndReturn ¶
func (_c *MockAPI_RegisterCommand_Call) RunAndReturn(run func(*model.Command) error) *MockAPI_RegisterCommand_Call
type MockAPI_RemovePlugin_Call ¶
MockAPI_RemovePlugin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemovePlugin'
func (*MockAPI_RemovePlugin_Call) Return ¶
func (_c *MockAPI_RemovePlugin_Call) Return(_a0 *model.AppError) *MockAPI_RemovePlugin_Call
func (*MockAPI_RemovePlugin_Call) Run ¶
func (_c *MockAPI_RemovePlugin_Call) Run(run func(id string)) *MockAPI_RemovePlugin_Call
func (*MockAPI_RemovePlugin_Call) RunAndReturn ¶
func (_c *MockAPI_RemovePlugin_Call) RunAndReturn(run func(string) *model.AppError) *MockAPI_RemovePlugin_Call
type MockAPI_RemoveReaction_Call ¶
MockAPI_RemoveReaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveReaction'
func (*MockAPI_RemoveReaction_Call) Return ¶
func (_c *MockAPI_RemoveReaction_Call) Return(_a0 *model.AppError) *MockAPI_RemoveReaction_Call
func (*MockAPI_RemoveReaction_Call) Run ¶
func (_c *MockAPI_RemoveReaction_Call) Run(run func(reaction *model.Reaction)) *MockAPI_RemoveReaction_Call
func (*MockAPI_RemoveReaction_Call) RunAndReturn ¶
func (_c *MockAPI_RemoveReaction_Call) RunAndReturn(run func(*model.Reaction) *model.AppError) *MockAPI_RemoveReaction_Call
type MockAPI_RemoveTeamIcon_Call ¶
MockAPI_RemoveTeamIcon_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveTeamIcon'
func (*MockAPI_RemoveTeamIcon_Call) Return ¶
func (_c *MockAPI_RemoveTeamIcon_Call) Return(_a0 *model.AppError) *MockAPI_RemoveTeamIcon_Call
func (*MockAPI_RemoveTeamIcon_Call) Run ¶
func (_c *MockAPI_RemoveTeamIcon_Call) Run(run func(teamID string)) *MockAPI_RemoveTeamIcon_Call
func (*MockAPI_RemoveTeamIcon_Call) RunAndReturn ¶
func (_c *MockAPI_RemoveTeamIcon_Call) RunAndReturn(run func(string) *model.AppError) *MockAPI_RemoveTeamIcon_Call
type MockAPI_RemoveUserCustomStatus_Call ¶
MockAPI_RemoveUserCustomStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUserCustomStatus'
func (*MockAPI_RemoveUserCustomStatus_Call) Return ¶
func (_c *MockAPI_RemoveUserCustomStatus_Call) Return(_a0 *model.AppError) *MockAPI_RemoveUserCustomStatus_Call
func (*MockAPI_RemoveUserCustomStatus_Call) Run ¶
func (_c *MockAPI_RemoveUserCustomStatus_Call) Run(run func(userID string)) *MockAPI_RemoveUserCustomStatus_Call
func (*MockAPI_RemoveUserCustomStatus_Call) RunAndReturn ¶
func (_c *MockAPI_RemoveUserCustomStatus_Call) RunAndReturn(run func(string) *model.AppError) *MockAPI_RemoveUserCustomStatus_Call
type MockAPI_RequestTrialLicense_Call ¶
MockAPI_RequestTrialLicense_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestTrialLicense'
func (*MockAPI_RequestTrialLicense_Call) Return ¶
func (_c *MockAPI_RequestTrialLicense_Call) Return(_a0 *model.AppError) *MockAPI_RequestTrialLicense_Call
func (*MockAPI_RequestTrialLicense_Call) Run ¶
func (_c *MockAPI_RequestTrialLicense_Call) Run(run func(requesterID string, users int, termsAccepted bool, receiveEmailsAccepted bool)) *MockAPI_RequestTrialLicense_Call
func (*MockAPI_RequestTrialLicense_Call) RunAndReturn ¶
func (_c *MockAPI_RequestTrialLicense_Call) RunAndReturn(run func(string, int, bool, bool) *model.AppError) *MockAPI_RequestTrialLicense_Call
type MockAPI_RevokeSession_Call ¶
MockAPI_RevokeSession_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RevokeSession'
func (*MockAPI_RevokeSession_Call) Return ¶
func (_c *MockAPI_RevokeSession_Call) Return(_a0 *model.AppError) *MockAPI_RevokeSession_Call
func (*MockAPI_RevokeSession_Call) Run ¶
func (_c *MockAPI_RevokeSession_Call) Run(run func(sessionID string)) *MockAPI_RevokeSession_Call
func (*MockAPI_RevokeSession_Call) RunAndReturn ¶
func (_c *MockAPI_RevokeSession_Call) RunAndReturn(run func(string) *model.AppError) *MockAPI_RevokeSession_Call
type MockAPI_RevokeUserAccessToken_Call ¶
MockAPI_RevokeUserAccessToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RevokeUserAccessToken'
func (*MockAPI_RevokeUserAccessToken_Call) Return ¶
func (_c *MockAPI_RevokeUserAccessToken_Call) Return(_a0 *model.AppError) *MockAPI_RevokeUserAccessToken_Call
func (*MockAPI_RevokeUserAccessToken_Call) Run ¶
func (_c *MockAPI_RevokeUserAccessToken_Call) Run(run func(tokenID string)) *MockAPI_RevokeUserAccessToken_Call
func (*MockAPI_RevokeUserAccessToken_Call) RunAndReturn ¶
func (_c *MockAPI_RevokeUserAccessToken_Call) RunAndReturn(run func(string) *model.AppError) *MockAPI_RevokeUserAccessToken_Call
type MockAPI_RolesGrantPermission_Call ¶
MockAPI_RolesGrantPermission_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RolesGrantPermission'
func (*MockAPI_RolesGrantPermission_Call) Return ¶
func (_c *MockAPI_RolesGrantPermission_Call) Return(_a0 bool) *MockAPI_RolesGrantPermission_Call
func (*MockAPI_RolesGrantPermission_Call) Run ¶
func (_c *MockAPI_RolesGrantPermission_Call) Run(run func(roleNames []string, permissionId string)) *MockAPI_RolesGrantPermission_Call
func (*MockAPI_RolesGrantPermission_Call) RunAndReturn ¶
func (_c *MockAPI_RolesGrantPermission_Call) RunAndReturn(run func([]string, string) bool) *MockAPI_RolesGrantPermission_Call
type MockAPI_SaveConfig_Call ¶
MockAPI_SaveConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SaveConfig'
func (*MockAPI_SaveConfig_Call) Return ¶
func (_c *MockAPI_SaveConfig_Call) Return(_a0 *model.AppError) *MockAPI_SaveConfig_Call
func (*MockAPI_SaveConfig_Call) Run ¶
func (_c *MockAPI_SaveConfig_Call) Run(run func(config *model.Config)) *MockAPI_SaveConfig_Call
func (*MockAPI_SaveConfig_Call) RunAndReturn ¶
func (_c *MockAPI_SaveConfig_Call) RunAndReturn(run func(*model.Config) *model.AppError) *MockAPI_SaveConfig_Call
type MockAPI_SavePluginConfig_Call ¶
MockAPI_SavePluginConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SavePluginConfig'
func (*MockAPI_SavePluginConfig_Call) Return ¶
func (_c *MockAPI_SavePluginConfig_Call) Return(_a0 *model.AppError) *MockAPI_SavePluginConfig_Call
func (*MockAPI_SavePluginConfig_Call) Run ¶
func (_c *MockAPI_SavePluginConfig_Call) Run(run func(config map[string]interface{})) *MockAPI_SavePluginConfig_Call
func (*MockAPI_SavePluginConfig_Call) RunAndReturn ¶
func (_c *MockAPI_SavePluginConfig_Call) RunAndReturn(run func(map[string]interface{}) *model.AppError) *MockAPI_SavePluginConfig_Call
type MockAPI_SearchChannels_Call ¶
MockAPI_SearchChannels_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SearchChannels'
func (*MockAPI_SearchChannels_Call) Return ¶
func (_c *MockAPI_SearchChannels_Call) Return(_a0 []*model.Channel, _a1 *model.AppError) *MockAPI_SearchChannels_Call
func (*MockAPI_SearchChannels_Call) Run ¶
func (_c *MockAPI_SearchChannels_Call) Run(run func(teamID string, term string)) *MockAPI_SearchChannels_Call
func (*MockAPI_SearchChannels_Call) RunAndReturn ¶
func (_c *MockAPI_SearchChannels_Call) RunAndReturn(run func(string, string) ([]*model.Channel, *model.AppError)) *MockAPI_SearchChannels_Call
type MockAPI_SearchPostsInTeamForUser_Call ¶
MockAPI_SearchPostsInTeamForUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SearchPostsInTeamForUser'
func (*MockAPI_SearchPostsInTeamForUser_Call) Return ¶
func (_c *MockAPI_SearchPostsInTeamForUser_Call) Return(_a0 *model.PostSearchResults, _a1 *model.AppError) *MockAPI_SearchPostsInTeamForUser_Call
func (*MockAPI_SearchPostsInTeamForUser_Call) Run ¶
func (_c *MockAPI_SearchPostsInTeamForUser_Call) Run(run func(teamID string, userID string, searchParams model.SearchParameter)) *MockAPI_SearchPostsInTeamForUser_Call
func (*MockAPI_SearchPostsInTeamForUser_Call) RunAndReturn ¶
func (_c *MockAPI_SearchPostsInTeamForUser_Call) RunAndReturn(run func(string, string, model.SearchParameter) (*model.PostSearchResults, *model.AppError)) *MockAPI_SearchPostsInTeamForUser_Call
type MockAPI_SearchPostsInTeam_Call ¶
MockAPI_SearchPostsInTeam_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SearchPostsInTeam'
func (*MockAPI_SearchPostsInTeam_Call) Return ¶
func (_c *MockAPI_SearchPostsInTeam_Call) Return(_a0 []*model.Post, _a1 *model.AppError) *MockAPI_SearchPostsInTeam_Call
func (*MockAPI_SearchPostsInTeam_Call) Run ¶
func (_c *MockAPI_SearchPostsInTeam_Call) Run(run func(teamID string, paramsList []*model.SearchParams)) *MockAPI_SearchPostsInTeam_Call
func (*MockAPI_SearchPostsInTeam_Call) RunAndReturn ¶
func (_c *MockAPI_SearchPostsInTeam_Call) RunAndReturn(run func(string, []*model.SearchParams) ([]*model.Post, *model.AppError)) *MockAPI_SearchPostsInTeam_Call
type MockAPI_SearchTeams_Call ¶
MockAPI_SearchTeams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SearchTeams'
func (*MockAPI_SearchTeams_Call) Return ¶
func (_c *MockAPI_SearchTeams_Call) Return(_a0 []*model.Team, _a1 *model.AppError) *MockAPI_SearchTeams_Call
func (*MockAPI_SearchTeams_Call) Run ¶
func (_c *MockAPI_SearchTeams_Call) Run(run func(term string)) *MockAPI_SearchTeams_Call
func (*MockAPI_SearchTeams_Call) RunAndReturn ¶
func (_c *MockAPI_SearchTeams_Call) RunAndReturn(run func(string) ([]*model.Team, *model.AppError)) *MockAPI_SearchTeams_Call
type MockAPI_SearchUsers_Call ¶
MockAPI_SearchUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SearchUsers'
func (*MockAPI_SearchUsers_Call) Return ¶
func (_c *MockAPI_SearchUsers_Call) Return(_a0 []*model.User, _a1 *model.AppError) *MockAPI_SearchUsers_Call
func (*MockAPI_SearchUsers_Call) Run ¶
func (_c *MockAPI_SearchUsers_Call) Run(run func(search *model.UserSearch)) *MockAPI_SearchUsers_Call
func (*MockAPI_SearchUsers_Call) RunAndReturn ¶
func (_c *MockAPI_SearchUsers_Call) RunAndReturn(run func(*model.UserSearch) ([]*model.User, *model.AppError)) *MockAPI_SearchUsers_Call
type MockAPI_SendEphemeralPost_Call ¶
MockAPI_SendEphemeralPost_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendEphemeralPost'
func (*MockAPI_SendEphemeralPost_Call) Return ¶
func (_c *MockAPI_SendEphemeralPost_Call) Return(_a0 *model.Post) *MockAPI_SendEphemeralPost_Call
func (*MockAPI_SendEphemeralPost_Call) Run ¶
func (_c *MockAPI_SendEphemeralPost_Call) Run(run func(userID string, post *model.Post)) *MockAPI_SendEphemeralPost_Call
func (*MockAPI_SendEphemeralPost_Call) RunAndReturn ¶
func (_c *MockAPI_SendEphemeralPost_Call) RunAndReturn(run func(string, *model.Post) *model.Post) *MockAPI_SendEphemeralPost_Call
type MockAPI_SendMail_Call ¶
MockAPI_SendMail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendMail'
func (*MockAPI_SendMail_Call) Return ¶
func (_c *MockAPI_SendMail_Call) Return(_a0 *model.AppError) *MockAPI_SendMail_Call
func (*MockAPI_SendMail_Call) Run ¶
func (_c *MockAPI_SendMail_Call) Run(run func(to string, subject string, htmlBody string)) *MockAPI_SendMail_Call
func (*MockAPI_SendMail_Call) RunAndReturn ¶
func (_c *MockAPI_SendMail_Call) RunAndReturn(run func(string, string, string) *model.AppError) *MockAPI_SendMail_Call
type MockAPI_SendPushNotification_Call ¶
MockAPI_SendPushNotification_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendPushNotification'
func (*MockAPI_SendPushNotification_Call) Return ¶
func (_c *MockAPI_SendPushNotification_Call) Return(_a0 *model.AppError) *MockAPI_SendPushNotification_Call
func (*MockAPI_SendPushNotification_Call) Run ¶
func (_c *MockAPI_SendPushNotification_Call) Run(run func(notification *model.PushNotification, userID string)) *MockAPI_SendPushNotification_Call
func (*MockAPI_SendPushNotification_Call) RunAndReturn ¶
func (_c *MockAPI_SendPushNotification_Call) RunAndReturn(run func(*model.PushNotification, string) *model.AppError) *MockAPI_SendPushNotification_Call
type MockAPI_SetFileSearchableContent_Call ¶
MockAPI_SetFileSearchableContent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFileSearchableContent'
func (*MockAPI_SetFileSearchableContent_Call) Return ¶
func (_c *MockAPI_SetFileSearchableContent_Call) Return(_a0 *model.AppError) *MockAPI_SetFileSearchableContent_Call
func (*MockAPI_SetFileSearchableContent_Call) Run ¶
func (_c *MockAPI_SetFileSearchableContent_Call) Run(run func(fileID string, content string)) *MockAPI_SetFileSearchableContent_Call
func (*MockAPI_SetFileSearchableContent_Call) RunAndReturn ¶
func (_c *MockAPI_SetFileSearchableContent_Call) RunAndReturn(run func(string, string) *model.AppError) *MockAPI_SetFileSearchableContent_Call
type MockAPI_SetProfileImage_Call ¶
MockAPI_SetProfileImage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetProfileImage'
func (*MockAPI_SetProfileImage_Call) Return ¶
func (_c *MockAPI_SetProfileImage_Call) Return(_a0 *model.AppError) *MockAPI_SetProfileImage_Call
func (*MockAPI_SetProfileImage_Call) Run ¶
func (_c *MockAPI_SetProfileImage_Call) Run(run func(userID string, data []byte)) *MockAPI_SetProfileImage_Call
func (*MockAPI_SetProfileImage_Call) RunAndReturn ¶
func (_c *MockAPI_SetProfileImage_Call) RunAndReturn(run func(string, []byte) *model.AppError) *MockAPI_SetProfileImage_Call
type MockAPI_SetTeamIcon_Call ¶
MockAPI_SetTeamIcon_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTeamIcon'
func (*MockAPI_SetTeamIcon_Call) Return ¶
func (_c *MockAPI_SetTeamIcon_Call) Return(_a0 *model.AppError) *MockAPI_SetTeamIcon_Call
func (*MockAPI_SetTeamIcon_Call) Run ¶
func (_c *MockAPI_SetTeamIcon_Call) Run(run func(teamID string, data []byte)) *MockAPI_SetTeamIcon_Call
func (*MockAPI_SetTeamIcon_Call) RunAndReturn ¶
func (_c *MockAPI_SetTeamIcon_Call) RunAndReturn(run func(string, []byte) *model.AppError) *MockAPI_SetTeamIcon_Call
type MockAPI_SetUserStatusTimedDND_Call ¶
MockAPI_SetUserStatusTimedDND_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetUserStatusTimedDND'
func (*MockAPI_SetUserStatusTimedDND_Call) Return ¶
func (_c *MockAPI_SetUserStatusTimedDND_Call) Return(_a0 *model.Status, _a1 *model.AppError) *MockAPI_SetUserStatusTimedDND_Call
func (*MockAPI_SetUserStatusTimedDND_Call) Run ¶
func (_c *MockAPI_SetUserStatusTimedDND_Call) Run(run func(userId string, endtime int64)) *MockAPI_SetUserStatusTimedDND_Call
func (*MockAPI_SetUserStatusTimedDND_Call) RunAndReturn ¶
func (_c *MockAPI_SetUserStatusTimedDND_Call) RunAndReturn(run func(string, int64) (*model.Status, *model.AppError)) *MockAPI_SetUserStatusTimedDND_Call
type MockAPI_UnregisterCommand_Call ¶
MockAPI_UnregisterCommand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnregisterCommand'
func (*MockAPI_UnregisterCommand_Call) Return ¶
func (_c *MockAPI_UnregisterCommand_Call) Return(_a0 error) *MockAPI_UnregisterCommand_Call
func (*MockAPI_UnregisterCommand_Call) Run ¶
func (_c *MockAPI_UnregisterCommand_Call) Run(run func(teamID string, trigger string)) *MockAPI_UnregisterCommand_Call
func (*MockAPI_UnregisterCommand_Call) RunAndReturn ¶
func (_c *MockAPI_UnregisterCommand_Call) RunAndReturn(run func(string, string) error) *MockAPI_UnregisterCommand_Call
type MockAPI_UpdateBotActive_Call ¶
MockAPI_UpdateBotActive_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateBotActive'
func (*MockAPI_UpdateBotActive_Call) Return ¶
func (_c *MockAPI_UpdateBotActive_Call) Return(_a0 *model.Bot, _a1 *model.AppError) *MockAPI_UpdateBotActive_Call
func (*MockAPI_UpdateBotActive_Call) Run ¶
func (_c *MockAPI_UpdateBotActive_Call) Run(run func(botUserId string, active bool)) *MockAPI_UpdateBotActive_Call
func (*MockAPI_UpdateBotActive_Call) RunAndReturn ¶
func (_c *MockAPI_UpdateBotActive_Call) RunAndReturn(run func(string, bool) (*model.Bot, *model.AppError)) *MockAPI_UpdateBotActive_Call
type MockAPI_UpdateChannelMemberNotifications_Call ¶
MockAPI_UpdateChannelMemberNotifications_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateChannelMemberNotifications'
func (*MockAPI_UpdateChannelMemberNotifications_Call) Return ¶
func (_c *MockAPI_UpdateChannelMemberNotifications_Call) Return(_a0 *model.ChannelMember, _a1 *model.AppError) *MockAPI_UpdateChannelMemberNotifications_Call
func (*MockAPI_UpdateChannelMemberNotifications_Call) Run ¶
func (_c *MockAPI_UpdateChannelMemberNotifications_Call) Run(run func(channelId string, userID string, notifications map[string]string)) *MockAPI_UpdateChannelMemberNotifications_Call
func (*MockAPI_UpdateChannelMemberNotifications_Call) RunAndReturn ¶
func (_c *MockAPI_UpdateChannelMemberNotifications_Call) RunAndReturn(run func(string, string, map[string]string) (*model.ChannelMember, *model.AppError)) *MockAPI_UpdateChannelMemberNotifications_Call
type MockAPI_UpdateChannelMemberRoles_Call ¶
MockAPI_UpdateChannelMemberRoles_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateChannelMemberRoles'
func (*MockAPI_UpdateChannelMemberRoles_Call) Return ¶
func (_c *MockAPI_UpdateChannelMemberRoles_Call) Return(_a0 *model.ChannelMember, _a1 *model.AppError) *MockAPI_UpdateChannelMemberRoles_Call
func (*MockAPI_UpdateChannelMemberRoles_Call) Run ¶
func (_c *MockAPI_UpdateChannelMemberRoles_Call) Run(run func(channelId string, userID string, newRoles string)) *MockAPI_UpdateChannelMemberRoles_Call
func (*MockAPI_UpdateChannelMemberRoles_Call) RunAndReturn ¶
func (_c *MockAPI_UpdateChannelMemberRoles_Call) RunAndReturn(run func(string, string, string) (*model.ChannelMember, *model.AppError)) *MockAPI_UpdateChannelMemberRoles_Call
type MockAPI_UpdateChannelSidebarCategories_Call ¶
MockAPI_UpdateChannelSidebarCategories_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateChannelSidebarCategories'
func (*MockAPI_UpdateChannelSidebarCategories_Call) Return ¶
func (_c *MockAPI_UpdateChannelSidebarCategories_Call) Return(_a0 []*model.SidebarCategoryWithChannels, _a1 *model.AppError) *MockAPI_UpdateChannelSidebarCategories_Call
func (*MockAPI_UpdateChannelSidebarCategories_Call) Run ¶
func (_c *MockAPI_UpdateChannelSidebarCategories_Call) Run(run func(userID string, teamID string, categories []*model.SidebarCategoryWithChannels)) *MockAPI_UpdateChannelSidebarCategories_Call
func (*MockAPI_UpdateChannelSidebarCategories_Call) RunAndReturn ¶
func (_c *MockAPI_UpdateChannelSidebarCategories_Call) RunAndReturn(run func(string, string, []*model.SidebarCategoryWithChannels) ([]*model.SidebarCategoryWithChannels, *model.AppError)) *MockAPI_UpdateChannelSidebarCategories_Call
type MockAPI_UpdateChannel_Call ¶
MockAPI_UpdateChannel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateChannel'
func (*MockAPI_UpdateChannel_Call) Return ¶
func (_c *MockAPI_UpdateChannel_Call) Return(_a0 *model.Channel, _a1 *model.AppError) *MockAPI_UpdateChannel_Call
func (*MockAPI_UpdateChannel_Call) Run ¶
func (_c *MockAPI_UpdateChannel_Call) Run(run func(channel *model.Channel)) *MockAPI_UpdateChannel_Call
func (*MockAPI_UpdateChannel_Call) RunAndReturn ¶
func (_c *MockAPI_UpdateChannel_Call) RunAndReturn(run func(*model.Channel) (*model.Channel, *model.AppError)) *MockAPI_UpdateChannel_Call
type MockAPI_UpdateCommand_Call ¶
MockAPI_UpdateCommand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateCommand'
func (*MockAPI_UpdateCommand_Call) Return ¶
func (_c *MockAPI_UpdateCommand_Call) Return(_a0 *model.Command, _a1 error) *MockAPI_UpdateCommand_Call
func (*MockAPI_UpdateCommand_Call) Run ¶
func (_c *MockAPI_UpdateCommand_Call) Run(run func(commandID string, updatedCmd *model.Command)) *MockAPI_UpdateCommand_Call
func (*MockAPI_UpdateCommand_Call) RunAndReturn ¶
func (_c *MockAPI_UpdateCommand_Call) RunAndReturn(run func(string, *model.Command) (*model.Command, error)) *MockAPI_UpdateCommand_Call
type MockAPI_UpdateEphemeralPost_Call ¶
MockAPI_UpdateEphemeralPost_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateEphemeralPost'
func (*MockAPI_UpdateEphemeralPost_Call) Return ¶
func (_c *MockAPI_UpdateEphemeralPost_Call) Return(_a0 *model.Post) *MockAPI_UpdateEphemeralPost_Call
func (*MockAPI_UpdateEphemeralPost_Call) Run ¶
func (_c *MockAPI_UpdateEphemeralPost_Call) Run(run func(userID string, post *model.Post)) *MockAPI_UpdateEphemeralPost_Call
func (*MockAPI_UpdateEphemeralPost_Call) RunAndReturn ¶
func (_c *MockAPI_UpdateEphemeralPost_Call) RunAndReturn(run func(string, *model.Post) *model.Post) *MockAPI_UpdateEphemeralPost_Call
type MockAPI_UpdateOAuthApp_Call ¶
MockAPI_UpdateOAuthApp_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateOAuthApp'
func (*MockAPI_UpdateOAuthApp_Call) Return ¶
func (_c *MockAPI_UpdateOAuthApp_Call) Return(_a0 *model.OAuthApp, _a1 *model.AppError) *MockAPI_UpdateOAuthApp_Call
func (*MockAPI_UpdateOAuthApp_Call) Run ¶
func (_c *MockAPI_UpdateOAuthApp_Call) Run(run func(app *model.OAuthApp)) *MockAPI_UpdateOAuthApp_Call
func (*MockAPI_UpdateOAuthApp_Call) RunAndReturn ¶
func (_c *MockAPI_UpdateOAuthApp_Call) RunAndReturn(run func(*model.OAuthApp) (*model.OAuthApp, *model.AppError)) *MockAPI_UpdateOAuthApp_Call
type MockAPI_UpdatePost_Call ¶
MockAPI_UpdatePost_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdatePost'
func (*MockAPI_UpdatePost_Call) Return ¶
func (_c *MockAPI_UpdatePost_Call) Return(_a0 *model.Post, _a1 *model.AppError) *MockAPI_UpdatePost_Call
func (*MockAPI_UpdatePost_Call) Run ¶
func (_c *MockAPI_UpdatePost_Call) Run(run func(post *model.Post)) *MockAPI_UpdatePost_Call
func (*MockAPI_UpdatePost_Call) RunAndReturn ¶
func (_c *MockAPI_UpdatePost_Call) RunAndReturn(run func(*model.Post) (*model.Post, *model.AppError)) *MockAPI_UpdatePost_Call
type MockAPI_UpdatePreferencesForUser_Call ¶
MockAPI_UpdatePreferencesForUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdatePreferencesForUser'
func (*MockAPI_UpdatePreferencesForUser_Call) Return ¶
func (_c *MockAPI_UpdatePreferencesForUser_Call) Return(_a0 *model.AppError) *MockAPI_UpdatePreferencesForUser_Call
func (*MockAPI_UpdatePreferencesForUser_Call) Run ¶
func (_c *MockAPI_UpdatePreferencesForUser_Call) Run(run func(userID string, preferences []model.Preference)) *MockAPI_UpdatePreferencesForUser_Call
func (*MockAPI_UpdatePreferencesForUser_Call) RunAndReturn ¶
func (_c *MockAPI_UpdatePreferencesForUser_Call) RunAndReturn(run func(string, []model.Preference) *model.AppError) *MockAPI_UpdatePreferencesForUser_Call
type MockAPI_UpdateTeamMemberRoles_Call ¶
MockAPI_UpdateTeamMemberRoles_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateTeamMemberRoles'
func (*MockAPI_UpdateTeamMemberRoles_Call) Return ¶
func (_c *MockAPI_UpdateTeamMemberRoles_Call) Return(_a0 *model.TeamMember, _a1 *model.AppError) *MockAPI_UpdateTeamMemberRoles_Call
func (*MockAPI_UpdateTeamMemberRoles_Call) Run ¶
func (_c *MockAPI_UpdateTeamMemberRoles_Call) Run(run func(teamID string, userID string, newRoles string)) *MockAPI_UpdateTeamMemberRoles_Call
func (*MockAPI_UpdateTeamMemberRoles_Call) RunAndReturn ¶
func (_c *MockAPI_UpdateTeamMemberRoles_Call) RunAndReturn(run func(string, string, string) (*model.TeamMember, *model.AppError)) *MockAPI_UpdateTeamMemberRoles_Call
type MockAPI_UpdateTeam_Call ¶
MockAPI_UpdateTeam_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateTeam'
func (*MockAPI_UpdateTeam_Call) Return ¶
func (_c *MockAPI_UpdateTeam_Call) Return(_a0 *model.Team, _a1 *model.AppError) *MockAPI_UpdateTeam_Call
func (*MockAPI_UpdateTeam_Call) Run ¶
func (_c *MockAPI_UpdateTeam_Call) Run(run func(team *model.Team)) *MockAPI_UpdateTeam_Call
func (*MockAPI_UpdateTeam_Call) RunAndReturn ¶
func (_c *MockAPI_UpdateTeam_Call) RunAndReturn(run func(*model.Team) (*model.Team, *model.AppError)) *MockAPI_UpdateTeam_Call
type MockAPI_UpdateUserActive_Call ¶
MockAPI_UpdateUserActive_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUserActive'
func (*MockAPI_UpdateUserActive_Call) Return ¶
func (_c *MockAPI_UpdateUserActive_Call) Return(_a0 *model.AppError) *MockAPI_UpdateUserActive_Call
func (*MockAPI_UpdateUserActive_Call) Run ¶
func (_c *MockAPI_UpdateUserActive_Call) Run(run func(userID string, active bool)) *MockAPI_UpdateUserActive_Call
func (*MockAPI_UpdateUserActive_Call) RunAndReturn ¶
func (_c *MockAPI_UpdateUserActive_Call) RunAndReturn(run func(string, bool) *model.AppError) *MockAPI_UpdateUserActive_Call
type MockAPI_UpdateUserAuth_Call ¶
MockAPI_UpdateUserAuth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUserAuth'
func (*MockAPI_UpdateUserAuth_Call) Return ¶
func (_c *MockAPI_UpdateUserAuth_Call) Return(_a0 *model.UserAuth, _a1 *model.AppError) *MockAPI_UpdateUserAuth_Call
func (*MockAPI_UpdateUserAuth_Call) Run ¶
func (_c *MockAPI_UpdateUserAuth_Call) Run(run func(userID string, userAuth *model.UserAuth)) *MockAPI_UpdateUserAuth_Call
func (*MockAPI_UpdateUserAuth_Call) RunAndReturn ¶
func (_c *MockAPI_UpdateUserAuth_Call) RunAndReturn(run func(string, *model.UserAuth) (*model.UserAuth, *model.AppError)) *MockAPI_UpdateUserAuth_Call
type MockAPI_UpdateUserCustomStatus_Call ¶
MockAPI_UpdateUserCustomStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUserCustomStatus'
func (*MockAPI_UpdateUserCustomStatus_Call) Return ¶
func (_c *MockAPI_UpdateUserCustomStatus_Call) Return(_a0 *model.AppError) *MockAPI_UpdateUserCustomStatus_Call
func (*MockAPI_UpdateUserCustomStatus_Call) Run ¶
func (_c *MockAPI_UpdateUserCustomStatus_Call) Run(run func(userID string, customStatus *model.CustomStatus)) *MockAPI_UpdateUserCustomStatus_Call
func (*MockAPI_UpdateUserCustomStatus_Call) RunAndReturn ¶
func (_c *MockAPI_UpdateUserCustomStatus_Call) RunAndReturn(run func(string, *model.CustomStatus) *model.AppError) *MockAPI_UpdateUserCustomStatus_Call
type MockAPI_UpdateUserStatus_Call ¶
MockAPI_UpdateUserStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUserStatus'
func (*MockAPI_UpdateUserStatus_Call) Return ¶
func (_c *MockAPI_UpdateUserStatus_Call) Return(_a0 *model.Status, _a1 *model.AppError) *MockAPI_UpdateUserStatus_Call
func (*MockAPI_UpdateUserStatus_Call) Run ¶
func (_c *MockAPI_UpdateUserStatus_Call) Run(run func(userID string, status string)) *MockAPI_UpdateUserStatus_Call
func (*MockAPI_UpdateUserStatus_Call) RunAndReturn ¶
func (_c *MockAPI_UpdateUserStatus_Call) RunAndReturn(run func(string, string) (*model.Status, *model.AppError)) *MockAPI_UpdateUserStatus_Call
type MockAPI_UpdateUser_Call ¶
MockAPI_UpdateUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUser'
func (*MockAPI_UpdateUser_Call) Return ¶
func (_c *MockAPI_UpdateUser_Call) Return(_a0 *model.User, _a1 *model.AppError) *MockAPI_UpdateUser_Call
func (*MockAPI_UpdateUser_Call) Run ¶
func (_c *MockAPI_UpdateUser_Call) Run(run func(user *model.User)) *MockAPI_UpdateUser_Call
func (*MockAPI_UpdateUser_Call) RunAndReturn ¶
func (_c *MockAPI_UpdateUser_Call) RunAndReturn(run func(*model.User) (*model.User, *model.AppError)) *MockAPI_UpdateUser_Call
type MockAPI_UploadData_Call ¶
MockAPI_UploadData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadData'
func (*MockAPI_UploadData_Call) Return ¶
func (_c *MockAPI_UploadData_Call) Return(_a0 *model.FileInfo, _a1 error) *MockAPI_UploadData_Call
func (*MockAPI_UploadData_Call) Run ¶
func (_c *MockAPI_UploadData_Call) Run(run func(us *model.UploadSession, rd io.Reader)) *MockAPI_UploadData_Call
func (*MockAPI_UploadData_Call) RunAndReturn ¶
func (_c *MockAPI_UploadData_Call) RunAndReturn(run func(*model.UploadSession, io.Reader) (*model.FileInfo, error)) *MockAPI_UploadData_Call
type MockAPI_UploadFile_Call ¶
MockAPI_UploadFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadFile'
func (*MockAPI_UploadFile_Call) Return ¶
func (_c *MockAPI_UploadFile_Call) Return(_a0 *model.FileInfo, _a1 *model.AppError) *MockAPI_UploadFile_Call
func (*MockAPI_UploadFile_Call) Run ¶
func (_c *MockAPI_UploadFile_Call) Run(run func(data []byte, channelId string, filename string)) *MockAPI_UploadFile_Call
func (*MockAPI_UploadFile_Call) RunAndReturn ¶
func (_c *MockAPI_UploadFile_Call) RunAndReturn(run func([]byte, string, string) (*model.FileInfo, *model.AppError)) *MockAPI_UploadFile_Call
type MockDriver ¶
MockDriver is an autogenerated mock type for the Driver type
func NewMockDriver ¶
func NewMockDriver(t interface { mock.TestingT Cleanup(func()) }) *MockDriver
NewMockDriver creates a new instance of MockDriver. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockDriver) Conn ¶
func (_m *MockDriver) Conn(isMaster bool) (string, error)
Conn provides a mock function with given fields: isMaster
func (*MockDriver) ConnClose ¶
func (_m *MockDriver) ConnClose(connID string) error
ConnClose provides a mock function with given fields: connID
func (*MockDriver) ConnExec ¶
func (_m *MockDriver) ConnExec(connID string, q string, args []driver.NamedValue) (plugin.ResultContainer, error)
ConnExec provides a mock function with given fields: connID, q, args
func (*MockDriver) ConnPing ¶
func (_m *MockDriver) ConnPing(connID string) error
ConnPing provides a mock function with given fields: connID
func (*MockDriver) ConnQuery ¶
func (_m *MockDriver) ConnQuery(connID string, q string, args []driver.NamedValue) (string, error)
ConnQuery provides a mock function with given fields: connID, q, args
func (*MockDriver) EXPECT ¶
func (_m *MockDriver) EXPECT() *MockDriver_Expecter
func (*MockDriver) RowsClose ¶
func (_m *MockDriver) RowsClose(rowsID string) error
RowsClose provides a mock function with given fields: rowsID
func (*MockDriver) RowsColumnTypeDatabaseTypeName ¶
func (_m *MockDriver) RowsColumnTypeDatabaseTypeName(rowsID string, index int) string
RowsColumnTypeDatabaseTypeName provides a mock function with given fields: rowsID, index
func (*MockDriver) RowsColumnTypePrecisionScale ¶
RowsColumnTypePrecisionScale provides a mock function with given fields: rowsID, index
func (*MockDriver) RowsColumns ¶
func (_m *MockDriver) RowsColumns(rowsID string) []string
RowsColumns provides a mock function with given fields: rowsID
func (*MockDriver) RowsHasNextResultSet ¶
func (_m *MockDriver) RowsHasNextResultSet(rowsID string) bool
RowsHasNextResultSet provides a mock function with given fields: rowsID
func (*MockDriver) RowsNext ¶
func (_m *MockDriver) RowsNext(rowsID string, dest []driver.Value) error
RowsNext provides a mock function with given fields: rowsID, dest
func (*MockDriver) RowsNextResultSet ¶
func (_m *MockDriver) RowsNextResultSet(rowsID string) error
RowsNextResultSet provides a mock function with given fields: rowsID
func (*MockDriver) Stmt ¶
func (_m *MockDriver) Stmt(connID string, q string) (string, error)
Stmt provides a mock function with given fields: connID, q
func (*MockDriver) StmtClose ¶
func (_m *MockDriver) StmtClose(stID string) error
StmtClose provides a mock function with given fields: stID
func (*MockDriver) StmtExec ¶
func (_m *MockDriver) StmtExec(stID string, args []driver.NamedValue) (plugin.ResultContainer, error)
StmtExec provides a mock function with given fields: stID, args
func (*MockDriver) StmtNumInput ¶
func (_m *MockDriver) StmtNumInput(stID string) int
StmtNumInput provides a mock function with given fields: stID
func (*MockDriver) StmtQuery ¶
func (_m *MockDriver) StmtQuery(stID string, args []driver.NamedValue) (string, error)
StmtQuery provides a mock function with given fields: stID, args
func (*MockDriver) TxCommit ¶
func (_m *MockDriver) TxCommit(txID string) error
TxCommit provides a mock function with given fields: txID
func (*MockDriver) TxRollback ¶
func (_m *MockDriver) TxRollback(txID string) error
TxRollback provides a mock function with given fields: txID
type MockDriver_ConnClose_Call ¶
MockDriver_ConnClose_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConnClose'
func (*MockDriver_ConnClose_Call) Return ¶
func (_c *MockDriver_ConnClose_Call) Return(_a0 error) *MockDriver_ConnClose_Call
func (*MockDriver_ConnClose_Call) Run ¶
func (_c *MockDriver_ConnClose_Call) Run(run func(connID string)) *MockDriver_ConnClose_Call
func (*MockDriver_ConnClose_Call) RunAndReturn ¶
func (_c *MockDriver_ConnClose_Call) RunAndReturn(run func(string) error) *MockDriver_ConnClose_Call
type MockDriver_ConnExec_Call ¶
MockDriver_ConnExec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConnExec'
func (*MockDriver_ConnExec_Call) Return ¶
func (_c *MockDriver_ConnExec_Call) Return(_a0 plugin.ResultContainer, _a1 error) *MockDriver_ConnExec_Call
func (*MockDriver_ConnExec_Call) Run ¶
func (_c *MockDriver_ConnExec_Call) Run(run func(connID string, q string, args []driver.NamedValue)) *MockDriver_ConnExec_Call
func (*MockDriver_ConnExec_Call) RunAndReturn ¶
func (_c *MockDriver_ConnExec_Call) RunAndReturn(run func(string, string, []driver.NamedValue) (plugin.ResultContainer, error)) *MockDriver_ConnExec_Call
type MockDriver_ConnPing_Call ¶
MockDriver_ConnPing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConnPing'
func (*MockDriver_ConnPing_Call) Return ¶
func (_c *MockDriver_ConnPing_Call) Return(_a0 error) *MockDriver_ConnPing_Call
func (*MockDriver_ConnPing_Call) Run ¶
func (_c *MockDriver_ConnPing_Call) Run(run func(connID string)) *MockDriver_ConnPing_Call
func (*MockDriver_ConnPing_Call) RunAndReturn ¶
func (_c *MockDriver_ConnPing_Call) RunAndReturn(run func(string) error) *MockDriver_ConnPing_Call
type MockDriver_ConnQuery_Call ¶
MockDriver_ConnQuery_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConnQuery'
func (*MockDriver_ConnQuery_Call) Return ¶
func (_c *MockDriver_ConnQuery_Call) Return(_a0 string, _a1 error) *MockDriver_ConnQuery_Call
func (*MockDriver_ConnQuery_Call) Run ¶
func (_c *MockDriver_ConnQuery_Call) Run(run func(connID string, q string, args []driver.NamedValue)) *MockDriver_ConnQuery_Call
func (*MockDriver_ConnQuery_Call) RunAndReturn ¶
func (_c *MockDriver_ConnQuery_Call) RunAndReturn(run func(string, string, []driver.NamedValue) (string, error)) *MockDriver_ConnQuery_Call
type MockDriver_Conn_Call ¶
MockDriver_Conn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Conn'
func (*MockDriver_Conn_Call) Return ¶
func (_c *MockDriver_Conn_Call) Return(_a0 string, _a1 error) *MockDriver_Conn_Call
func (*MockDriver_Conn_Call) Run ¶
func (_c *MockDriver_Conn_Call) Run(run func(isMaster bool)) *MockDriver_Conn_Call
func (*MockDriver_Conn_Call) RunAndReturn ¶
func (_c *MockDriver_Conn_Call) RunAndReturn(run func(bool) (string, error)) *MockDriver_Conn_Call
type MockDriver_Expecter ¶
type MockDriver_Expecter struct {
// contains filtered or unexported fields
}
func (*MockDriver_Expecter) Conn ¶
func (_e *MockDriver_Expecter) Conn(isMaster interface{}) *MockDriver_Conn_Call
Conn is a helper method to define mock.On call
- isMaster bool
func (*MockDriver_Expecter) ConnClose ¶
func (_e *MockDriver_Expecter) ConnClose(connID interface{}) *MockDriver_ConnClose_Call
ConnClose is a helper method to define mock.On call
- connID string
func (*MockDriver_Expecter) ConnExec ¶
func (_e *MockDriver_Expecter) ConnExec(connID interface{}, q interface{}, args interface{}) *MockDriver_ConnExec_Call
ConnExec is a helper method to define mock.On call
- connID string
- q string
- args []driver.NamedValue
func (*MockDriver_Expecter) ConnPing ¶
func (_e *MockDriver_Expecter) ConnPing(connID interface{}) *MockDriver_ConnPing_Call
ConnPing is a helper method to define mock.On call
- connID string
func (*MockDriver_Expecter) ConnQuery ¶
func (_e *MockDriver_Expecter) ConnQuery(connID interface{}, q interface{}, args interface{}) *MockDriver_ConnQuery_Call
ConnQuery is a helper method to define mock.On call
- connID string
- q string
- args []driver.NamedValue
func (*MockDriver_Expecter) RowsClose ¶
func (_e *MockDriver_Expecter) RowsClose(rowsID interface{}) *MockDriver_RowsClose_Call
RowsClose is a helper method to define mock.On call
- rowsID string
func (*MockDriver_Expecter) RowsColumnTypeDatabaseTypeName ¶
func (_e *MockDriver_Expecter) RowsColumnTypeDatabaseTypeName(rowsID interface{}, index interface{}) *MockDriver_RowsColumnTypeDatabaseTypeName_Call
RowsColumnTypeDatabaseTypeName is a helper method to define mock.On call
- rowsID string
- index int
func (*MockDriver_Expecter) RowsColumnTypePrecisionScale ¶
func (_e *MockDriver_Expecter) RowsColumnTypePrecisionScale(rowsID interface{}, index interface{}) *MockDriver_RowsColumnTypePrecisionScale_Call
RowsColumnTypePrecisionScale is a helper method to define mock.On call
- rowsID string
- index int
func (*MockDriver_Expecter) RowsColumns ¶
func (_e *MockDriver_Expecter) RowsColumns(rowsID interface{}) *MockDriver_RowsColumns_Call
RowsColumns is a helper method to define mock.On call
- rowsID string
func (*MockDriver_Expecter) RowsHasNextResultSet ¶
func (_e *MockDriver_Expecter) RowsHasNextResultSet(rowsID interface{}) *MockDriver_RowsHasNextResultSet_Call
RowsHasNextResultSet is a helper method to define mock.On call
- rowsID string
func (*MockDriver_Expecter) RowsNext ¶
func (_e *MockDriver_Expecter) RowsNext(rowsID interface{}, dest interface{}) *MockDriver_RowsNext_Call
RowsNext is a helper method to define mock.On call
- rowsID string
- dest []driver.Value
func (*MockDriver_Expecter) RowsNextResultSet ¶
func (_e *MockDriver_Expecter) RowsNextResultSet(rowsID interface{}) *MockDriver_RowsNextResultSet_Call
RowsNextResultSet is a helper method to define mock.On call
- rowsID string
func (*MockDriver_Expecter) Stmt ¶
func (_e *MockDriver_Expecter) Stmt(connID interface{}, q interface{}) *MockDriver_Stmt_Call
Stmt is a helper method to define mock.On call
- connID string
- q string
func (*MockDriver_Expecter) StmtClose ¶
func (_e *MockDriver_Expecter) StmtClose(stID interface{}) *MockDriver_StmtClose_Call
StmtClose is a helper method to define mock.On call
- stID string
func (*MockDriver_Expecter) StmtExec ¶
func (_e *MockDriver_Expecter) StmtExec(stID interface{}, args interface{}) *MockDriver_StmtExec_Call
StmtExec is a helper method to define mock.On call
- stID string
- args []driver.NamedValue
func (*MockDriver_Expecter) StmtNumInput ¶
func (_e *MockDriver_Expecter) StmtNumInput(stID interface{}) *MockDriver_StmtNumInput_Call
StmtNumInput is a helper method to define mock.On call
- stID string
func (*MockDriver_Expecter) StmtQuery ¶
func (_e *MockDriver_Expecter) StmtQuery(stID interface{}, args interface{}) *MockDriver_StmtQuery_Call
StmtQuery is a helper method to define mock.On call
- stID string
- args []driver.NamedValue
func (*MockDriver_Expecter) Tx ¶
func (_e *MockDriver_Expecter) Tx(connID interface{}, opts interface{}) *MockDriver_Tx_Call
Tx is a helper method to define mock.On call
- connID string
- opts driver.TxOptions
func (*MockDriver_Expecter) TxCommit ¶
func (_e *MockDriver_Expecter) TxCommit(txID interface{}) *MockDriver_TxCommit_Call
TxCommit is a helper method to define mock.On call
- txID string
func (*MockDriver_Expecter) TxRollback ¶
func (_e *MockDriver_Expecter) TxRollback(txID interface{}) *MockDriver_TxRollback_Call
TxRollback is a helper method to define mock.On call
- txID string
type MockDriver_RowsClose_Call ¶
MockDriver_RowsClose_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RowsClose'
func (*MockDriver_RowsClose_Call) Return ¶
func (_c *MockDriver_RowsClose_Call) Return(_a0 error) *MockDriver_RowsClose_Call
func (*MockDriver_RowsClose_Call) Run ¶
func (_c *MockDriver_RowsClose_Call) Run(run func(rowsID string)) *MockDriver_RowsClose_Call
func (*MockDriver_RowsClose_Call) RunAndReturn ¶
func (_c *MockDriver_RowsClose_Call) RunAndReturn(run func(string) error) *MockDriver_RowsClose_Call
type MockDriver_RowsColumnTypeDatabaseTypeName_Call ¶
MockDriver_RowsColumnTypeDatabaseTypeName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RowsColumnTypeDatabaseTypeName'
func (*MockDriver_RowsColumnTypeDatabaseTypeName_Call) Return ¶
func (_c *MockDriver_RowsColumnTypeDatabaseTypeName_Call) Return(_a0 string) *MockDriver_RowsColumnTypeDatabaseTypeName_Call
func (*MockDriver_RowsColumnTypeDatabaseTypeName_Call) Run ¶
func (_c *MockDriver_RowsColumnTypeDatabaseTypeName_Call) Run(run func(rowsID string, index int)) *MockDriver_RowsColumnTypeDatabaseTypeName_Call
func (*MockDriver_RowsColumnTypeDatabaseTypeName_Call) RunAndReturn ¶
func (_c *MockDriver_RowsColumnTypeDatabaseTypeName_Call) RunAndReturn(run func(string, int) string) *MockDriver_RowsColumnTypeDatabaseTypeName_Call
type MockDriver_RowsColumnTypePrecisionScale_Call ¶
MockDriver_RowsColumnTypePrecisionScale_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RowsColumnTypePrecisionScale'
func (*MockDriver_RowsColumnTypePrecisionScale_Call) Return ¶
func (_c *MockDriver_RowsColumnTypePrecisionScale_Call) Return(_a0 int64, _a1 int64, _a2 bool) *MockDriver_RowsColumnTypePrecisionScale_Call
func (*MockDriver_RowsColumnTypePrecisionScale_Call) Run ¶
func (_c *MockDriver_RowsColumnTypePrecisionScale_Call) Run(run func(rowsID string, index int)) *MockDriver_RowsColumnTypePrecisionScale_Call
func (*MockDriver_RowsColumnTypePrecisionScale_Call) RunAndReturn ¶
func (_c *MockDriver_RowsColumnTypePrecisionScale_Call) RunAndReturn(run func(string, int) (int64, int64, bool)) *MockDriver_RowsColumnTypePrecisionScale_Call
type MockDriver_RowsColumns_Call ¶
MockDriver_RowsColumns_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RowsColumns'
func (*MockDriver_RowsColumns_Call) Return ¶
func (_c *MockDriver_RowsColumns_Call) Return(_a0 []string) *MockDriver_RowsColumns_Call
func (*MockDriver_RowsColumns_Call) Run ¶
func (_c *MockDriver_RowsColumns_Call) Run(run func(rowsID string)) *MockDriver_RowsColumns_Call
func (*MockDriver_RowsColumns_Call) RunAndReturn ¶
func (_c *MockDriver_RowsColumns_Call) RunAndReturn(run func(string) []string) *MockDriver_RowsColumns_Call
type MockDriver_RowsHasNextResultSet_Call ¶
MockDriver_RowsHasNextResultSet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RowsHasNextResultSet'
func (*MockDriver_RowsHasNextResultSet_Call) Return ¶
func (_c *MockDriver_RowsHasNextResultSet_Call) Return(_a0 bool) *MockDriver_RowsHasNextResultSet_Call
func (*MockDriver_RowsHasNextResultSet_Call) Run ¶
func (_c *MockDriver_RowsHasNextResultSet_Call) Run(run func(rowsID string)) *MockDriver_RowsHasNextResultSet_Call
func (*MockDriver_RowsHasNextResultSet_Call) RunAndReturn ¶
func (_c *MockDriver_RowsHasNextResultSet_Call) RunAndReturn(run func(string) bool) *MockDriver_RowsHasNextResultSet_Call
type MockDriver_RowsNextResultSet_Call ¶
MockDriver_RowsNextResultSet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RowsNextResultSet'
func (*MockDriver_RowsNextResultSet_Call) Return ¶
func (_c *MockDriver_RowsNextResultSet_Call) Return(_a0 error) *MockDriver_RowsNextResultSet_Call
func (*MockDriver_RowsNextResultSet_Call) Run ¶
func (_c *MockDriver_RowsNextResultSet_Call) Run(run func(rowsID string)) *MockDriver_RowsNextResultSet_Call
func (*MockDriver_RowsNextResultSet_Call) RunAndReturn ¶
func (_c *MockDriver_RowsNextResultSet_Call) RunAndReturn(run func(string) error) *MockDriver_RowsNextResultSet_Call
type MockDriver_RowsNext_Call ¶
MockDriver_RowsNext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RowsNext'
func (*MockDriver_RowsNext_Call) Return ¶
func (_c *MockDriver_RowsNext_Call) Return(_a0 error) *MockDriver_RowsNext_Call
func (*MockDriver_RowsNext_Call) Run ¶
func (_c *MockDriver_RowsNext_Call) Run(run func(rowsID string, dest []driver.Value)) *MockDriver_RowsNext_Call
func (*MockDriver_RowsNext_Call) RunAndReturn ¶
func (_c *MockDriver_RowsNext_Call) RunAndReturn(run func(string, []driver.Value) error) *MockDriver_RowsNext_Call
type MockDriver_StmtClose_Call ¶
MockDriver_StmtClose_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StmtClose'
func (*MockDriver_StmtClose_Call) Return ¶
func (_c *MockDriver_StmtClose_Call) Return(_a0 error) *MockDriver_StmtClose_Call
func (*MockDriver_StmtClose_Call) Run ¶
func (_c *MockDriver_StmtClose_Call) Run(run func(stID string)) *MockDriver_StmtClose_Call
func (*MockDriver_StmtClose_Call) RunAndReturn ¶
func (_c *MockDriver_StmtClose_Call) RunAndReturn(run func(string) error) *MockDriver_StmtClose_Call
type MockDriver_StmtExec_Call ¶
MockDriver_StmtExec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StmtExec'
func (*MockDriver_StmtExec_Call) Return ¶
func (_c *MockDriver_StmtExec_Call) Return(_a0 plugin.ResultContainer, _a1 error) *MockDriver_StmtExec_Call
func (*MockDriver_StmtExec_Call) Run ¶
func (_c *MockDriver_StmtExec_Call) Run(run func(stID string, args []driver.NamedValue)) *MockDriver_StmtExec_Call
func (*MockDriver_StmtExec_Call) RunAndReturn ¶
func (_c *MockDriver_StmtExec_Call) RunAndReturn(run func(string, []driver.NamedValue) (plugin.ResultContainer, error)) *MockDriver_StmtExec_Call
type MockDriver_StmtNumInput_Call ¶
MockDriver_StmtNumInput_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StmtNumInput'
func (*MockDriver_StmtNumInput_Call) Return ¶
func (_c *MockDriver_StmtNumInput_Call) Return(_a0 int) *MockDriver_StmtNumInput_Call
func (*MockDriver_StmtNumInput_Call) Run ¶
func (_c *MockDriver_StmtNumInput_Call) Run(run func(stID string)) *MockDriver_StmtNumInput_Call
func (*MockDriver_StmtNumInput_Call) RunAndReturn ¶
func (_c *MockDriver_StmtNumInput_Call) RunAndReturn(run func(string) int) *MockDriver_StmtNumInput_Call
type MockDriver_StmtQuery_Call ¶
MockDriver_StmtQuery_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StmtQuery'
func (*MockDriver_StmtQuery_Call) Return ¶
func (_c *MockDriver_StmtQuery_Call) Return(_a0 string, _a1 error) *MockDriver_StmtQuery_Call
func (*MockDriver_StmtQuery_Call) Run ¶
func (_c *MockDriver_StmtQuery_Call) Run(run func(stID string, args []driver.NamedValue)) *MockDriver_StmtQuery_Call
func (*MockDriver_StmtQuery_Call) RunAndReturn ¶
func (_c *MockDriver_StmtQuery_Call) RunAndReturn(run func(string, []driver.NamedValue) (string, error)) *MockDriver_StmtQuery_Call
type MockDriver_Stmt_Call ¶
MockDriver_Stmt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stmt'
func (*MockDriver_Stmt_Call) Return ¶
func (_c *MockDriver_Stmt_Call) Return(_a0 string, _a1 error) *MockDriver_Stmt_Call
func (*MockDriver_Stmt_Call) Run ¶
func (_c *MockDriver_Stmt_Call) Run(run func(connID string, q string)) *MockDriver_Stmt_Call
func (*MockDriver_Stmt_Call) RunAndReturn ¶
func (_c *MockDriver_Stmt_Call) RunAndReturn(run func(string, string) (string, error)) *MockDriver_Stmt_Call
type MockDriver_TxCommit_Call ¶
MockDriver_TxCommit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TxCommit'
func (*MockDriver_TxCommit_Call) Return ¶
func (_c *MockDriver_TxCommit_Call) Return(_a0 error) *MockDriver_TxCommit_Call
func (*MockDriver_TxCommit_Call) Run ¶
func (_c *MockDriver_TxCommit_Call) Run(run func(txID string)) *MockDriver_TxCommit_Call
func (*MockDriver_TxCommit_Call) RunAndReturn ¶
func (_c *MockDriver_TxCommit_Call) RunAndReturn(run func(string) error) *MockDriver_TxCommit_Call
type MockDriver_TxRollback_Call ¶
MockDriver_TxRollback_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TxRollback'
func (*MockDriver_TxRollback_Call) Return ¶
func (_c *MockDriver_TxRollback_Call) Return(_a0 error) *MockDriver_TxRollback_Call
func (*MockDriver_TxRollback_Call) Run ¶
func (_c *MockDriver_TxRollback_Call) Run(run func(txID string)) *MockDriver_TxRollback_Call
func (*MockDriver_TxRollback_Call) RunAndReturn ¶
func (_c *MockDriver_TxRollback_Call) RunAndReturn(run func(string) error) *MockDriver_TxRollback_Call
type MockDriver_Tx_Call ¶
MockDriver_Tx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Tx'
func (*MockDriver_Tx_Call) Return ¶
func (_c *MockDriver_Tx_Call) Return(_a0 string, _a1 error) *MockDriver_Tx_Call
func (*MockDriver_Tx_Call) Run ¶
func (_c *MockDriver_Tx_Call) Run(run func(connID string, opts driver.TxOptions)) *MockDriver_Tx_Call
func (*MockDriver_Tx_Call) RunAndReturn ¶
func (_c *MockDriver_Tx_Call) RunAndReturn(run func(string, driver.TxOptions) (string, error)) *MockDriver_Tx_Call