plugin

package
v0.26.2 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: AGPL-3.0, Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAPI

type MockAPI struct {
	mock.Mock
}

MockAPI is an autogenerated mock type for the API type

func NewMockAPI

func NewMockAPI(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockAPI

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

func (_m *MockAPI) AddReaction(reaction *model.Reaction) (*model.Reaction, *model.AppError)

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

func (_m *MockAPI) CopyFileInfos(userID string, fileIds []string) ([]string, *model.AppError)

CopyFileInfos provides a mock function with given fields: userID, fileIds

func (*MockAPI) CreateBot

func (_m *MockAPI) CreateBot(bot *model.Bot) (*model.Bot, *model.AppError)

CreateBot provides a mock function with given fields: bot

func (*MockAPI) CreateChannel

func (_m *MockAPI) CreateChannel(channel *model.Channel) (*model.Channel, *model.AppError)

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

func (_m *MockAPI) CreateCommand(cmd *model.Command) (*model.Command, error)

CreateCommand provides a mock function with given fields: cmd

func (*MockAPI) CreateOAuthApp

func (_m *MockAPI) CreateOAuthApp(app *model.OAuthApp) (*model.OAuthApp, *model.AppError)

CreateOAuthApp provides a mock function with given fields: app

func (*MockAPI) CreatePost

func (_m *MockAPI) CreatePost(post *model.Post) (*model.Post, *model.AppError)

CreatePost provides a mock function with given fields: post

func (*MockAPI) CreateSession

func (_m *MockAPI) CreateSession(session *model.Session) (*model.Session, *model.AppError)

CreateSession provides a mock function with given fields: session

func (*MockAPI) CreateTeam

func (_m *MockAPI) CreateTeam(team *model.Team) (*model.Team, *model.AppError)

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

func (_m *MockAPI) CreateUser(user *model.User) (*model.User, *model.AppError)

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

func (_m *MockAPI) DeleteChannel(channelId string) *model.AppError

DeleteChannel provides a mock function with given fields: channelId

func (*MockAPI) DeleteChannelMember

func (_m *MockAPI) DeleteChannelMember(channelId string, userID string) *model.AppError

DeleteChannelMember provides a mock function with given fields: channelId, userID

func (*MockAPI) DeleteCommand

func (_m *MockAPI) DeleteCommand(commandID string) error

DeleteCommand provides a mock function with given fields: commandID

func (*MockAPI) DeleteEphemeralPost

func (_m *MockAPI) DeleteEphemeralPost(userID string, postId string)

DeleteEphemeralPost provides a mock function with given fields: userID, postId

func (*MockAPI) DeleteOAuthApp

func (_m *MockAPI) DeleteOAuthApp(appID string) *model.AppError

DeleteOAuthApp provides a mock function with given fields: appID

func (*MockAPI) DeletePost

func (_m *MockAPI) DeletePost(postId string) *model.AppError

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

func (_m *MockAPI) DeleteTeam(teamID string) *model.AppError

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

func (_m *MockAPI) DeleteUser(userID string) *model.AppError

DeleteUser provides a mock function with given fields: userID

func (*MockAPI) DisablePlugin

func (_m *MockAPI) DisablePlugin(id string) *model.AppError

DisablePlugin provides a mock function with given fields: id

func (*MockAPI) EXPECT

func (_m *MockAPI) EXPECT() *MockAPI_Expecter

func (*MockAPI) EnablePlugin

func (_m *MockAPI) EnablePlugin(id string) *model.AppError

EnablePlugin provides a mock function with given fields: id

func (*MockAPI) EnsureBotUser

func (_m *MockAPI) EnsureBotUser(bot *model.Bot) (string, error)

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

func (_m *MockAPI) ExtendSessionExpiry(sessionID string, newExpiry int64) *model.AppError

ExtendSessionExpiry provides a mock function with given fields: sessionID, newExpiry

func (*MockAPI) GetBot

func (_m *MockAPI) GetBot(botUserId string, includeDeleted bool) (*model.Bot, *model.AppError)

GetBot provides a mock function with given fields: botUserId, includeDeleted

func (*MockAPI) GetBots

func (_m *MockAPI) GetBots(options *model.BotGetOptions) ([]*model.Bot, *model.AppError)

GetBots provides a mock function with given fields: options

func (*MockAPI) GetBundlePath

func (_m *MockAPI) GetBundlePath() (string, error)

GetBundlePath provides a mock function with given fields:

func (*MockAPI) GetChannel

func (_m *MockAPI) GetChannel(channelId string) (*model.Channel, *model.AppError)

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

func (_m *MockAPI) GetChannelStats(channelId string) (*model.ChannelStats, *model.AppError)

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

func (_m *MockAPI) GetCommand(commandID string) (*model.Command, error)

GetCommand provides a mock function with given fields: commandID

func (*MockAPI) GetConfig

func (_m *MockAPI) GetConfig() *model.Config

GetConfig provides a mock function with given fields:

func (*MockAPI) GetDiagnosticId

func (_m *MockAPI) GetDiagnosticId() string

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

func (_m *MockAPI) GetEmoji(emojiId string) (*model.Emoji, *model.AppError)

GetEmoji provides a mock function with given fields: emojiId

func (*MockAPI) GetEmojiByName

func (_m *MockAPI) GetEmojiByName(name string) (*model.Emoji, *model.AppError)

GetEmojiByName provides a mock function with given fields: name

func (*MockAPI) GetEmojiImage

func (_m *MockAPI) GetEmojiImage(emojiId string) ([]byte, string, *model.AppError)

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

func (_m *MockAPI) GetFile(fileId string) ([]byte, *model.AppError)

GetFile provides a mock function with given fields: fileId

func (*MockAPI) GetFileInfo

func (_m *MockAPI) GetFileInfo(fileId string) (*model.FileInfo, *model.AppError)

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 (_m *MockAPI) GetFileLink(fileId string) (string, *model.AppError)

GetFileLink provides a mock function with given fields: fileId

func (*MockAPI) GetGroup

func (_m *MockAPI) GetGroup(groupId string) (*model.Group, *model.AppError)

GetGroup provides a mock function with given fields: groupId

func (*MockAPI) GetGroupByName

func (_m *MockAPI) GetGroupByName(name string) (*model.Group, *model.AppError)

GetGroupByName provides a mock function with given fields: name

func (*MockAPI) GetGroupChannel

func (_m *MockAPI) GetGroupChannel(userIds []string) (*model.Channel, *model.AppError)

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

func (_m *MockAPI) GetGroupsForUser(userID string) ([]*model.Group, *model.AppError)

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

func (_m *MockAPI) GetLicense() *model.License

GetLicense provides a mock function with given fields:

func (*MockAPI) GetOAuthApp

func (_m *MockAPI) GetOAuthApp(appID string) (*model.OAuthApp, *model.AppError)

GetOAuthApp provides a mock function with given fields: appID

func (*MockAPI) GetPluginConfig

func (_m *MockAPI) GetPluginConfig() map[string]interface{}

GetPluginConfig provides a mock function with given fields:

func (*MockAPI) GetPluginStatus

func (_m *MockAPI) GetPluginStatus(id string) (*model.PluginStatus, *model.AppError)

GetPluginStatus provides a mock function with given fields: id

func (*MockAPI) GetPlugins

func (_m *MockAPI) GetPlugins() ([]*model.Manifest, *model.AppError)

GetPlugins provides a mock function with given fields:

func (*MockAPI) GetPost

func (_m *MockAPI) GetPost(postId string) (*model.Post, *model.AppError)

GetPost provides a mock function with given fields: postId

func (*MockAPI) GetPostThread

func (_m *MockAPI) GetPostThread(postId string) (*model.PostList, *model.AppError)

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

func (_m *MockAPI) GetPostsSince(channelId string, time int64) (*model.PostList, *model.AppError)

GetPostsSince provides a mock function with given fields: channelId, time

func (*MockAPI) GetPreferencesForUser

func (_m *MockAPI) GetPreferencesForUser(userID string) ([]model.Preference, *model.AppError)

GetPreferencesForUser provides a mock function with given fields: userID

func (*MockAPI) GetProfileImage

func (_m *MockAPI) GetProfileImage(userID string) ([]byte, *model.AppError)

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

func (_m *MockAPI) GetReactions(postId string) ([]*model.Reaction, *model.AppError)

GetReactions provides a mock function with given fields: postId

func (*MockAPI) GetServerVersion

func (_m *MockAPI) GetServerVersion() string

GetServerVersion provides a mock function with given fields:

func (*MockAPI) GetSession

func (_m *MockAPI) GetSession(sessionID string) (*model.Session, *model.AppError)

GetSession provides a mock function with given fields: sessionID

func (*MockAPI) GetSystemInstallDate

func (_m *MockAPI) GetSystemInstallDate() (int64, *model.AppError)

GetSystemInstallDate provides a mock function with given fields:

func (*MockAPI) GetTeam

func (_m *MockAPI) GetTeam(teamID string) (*model.Team, *model.AppError)

GetTeam provides a mock function with given fields: teamID

func (*MockAPI) GetTeamByName

func (_m *MockAPI) GetTeamByName(name string) (*model.Team, *model.AppError)

GetTeamByName provides a mock function with given fields: name

func (*MockAPI) GetTeamIcon

func (_m *MockAPI) GetTeamIcon(teamID string) ([]byte, *model.AppError)

GetTeamIcon provides a mock function with given fields: teamID

func (*MockAPI) GetTeamMember

func (_m *MockAPI) GetTeamMember(teamID string, userID string) (*model.TeamMember, *model.AppError)

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

func (_m *MockAPI) GetTeamStats(teamID string) (*model.TeamStats, *model.AppError)

GetTeamStats provides a mock function with given fields: teamID

func (*MockAPI) GetTeams

func (_m *MockAPI) GetTeams() ([]*model.Team, *model.AppError)

GetTeams provides a mock function with given fields:

func (*MockAPI) GetTeamsForUser

func (_m *MockAPI) GetTeamsForUser(userID string) ([]*model.Team, *model.AppError)

GetTeamsForUser provides a mock function with given fields: userID

func (*MockAPI) GetTeamsUnreadForUser

func (_m *MockAPI) GetTeamsUnreadForUser(userID string) ([]*model.TeamUnread, *model.AppError)

GetTeamsUnreadForUser provides a mock function with given fields: userID

func (*MockAPI) GetTelemetryId

func (_m *MockAPI) GetTelemetryId() string

GetTelemetryId provides a mock function with given fields:

func (*MockAPI) GetUnsanitizedConfig

func (_m *MockAPI) GetUnsanitizedConfig() *model.Config

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

func (_m *MockAPI) GetUser(userID string) (*model.User, *model.AppError)

GetUser provides a mock function with given fields: userID

func (*MockAPI) GetUserByEmail

func (_m *MockAPI) GetUserByEmail(email string) (*model.User, *model.AppError)

GetUserByEmail provides a mock function with given fields: email

func (*MockAPI) GetUserByUsername

func (_m *MockAPI) GetUserByUsername(name string) (*model.User, *model.AppError)

GetUserByUsername provides a mock function with given fields: name

func (*MockAPI) GetUserStatus

func (_m *MockAPI) GetUserStatus(userID string) (*model.Status, *model.AppError)

GetUserStatus provides a mock function with given fields: userID

func (*MockAPI) GetUserStatusesByIds

func (_m *MockAPI) GetUserStatusesByIds(userIds []string) ([]*model.Status, *model.AppError)

GetUserStatusesByIds provides a mock function with given fields: userIds

func (*MockAPI) GetUsers

func (_m *MockAPI) GetUsers(options *model.UserGetOptions) ([]*model.User, *model.AppError)

GetUsers provides a mock function with given fields: options

func (*MockAPI) GetUsersByUsernames

func (_m *MockAPI) GetUsersByUsernames(usernames []string) ([]*model.User, *model.AppError)

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

func (_m *MockAPI) InstallPlugin(file io.Reader, replace bool) (*model.Manifest, *model.AppError)

InstallPlugin provides a mock function with given fields: file, replace

func (*MockAPI) IsEnterpriseReady

func (_m *MockAPI) IsEnterpriseReady() bool

IsEnterpriseReady provides a mock function with given fields:

func (*MockAPI) KVCompareAndDelete

func (_m *MockAPI) KVCompareAndDelete(key string, oldValue []byte) (bool, *model.AppError)

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

func (_m *MockAPI) KVDelete(key string) *model.AppError

KVDelete provides a mock function with given fields: key

func (*MockAPI) KVDeleteAll

func (_m *MockAPI) KVDeleteAll() *model.AppError

KVDeleteAll provides a mock function with given fields:

func (*MockAPI) KVGet

func (_m *MockAPI) KVGet(key string) ([]byte, *model.AppError)

KVGet provides a mock function with given fields: key

func (*MockAPI) KVList

func (_m *MockAPI) KVList(page int, perPage int) ([]string, *model.AppError)

KVList provides a mock function with given fields: page, perPage

func (*MockAPI) KVSet

func (_m *MockAPI) KVSet(key string, value []byte) *model.AppError

KVSet provides a mock function with given fields: key, value

func (*MockAPI) KVSetWithExpiry

func (_m *MockAPI) KVSetWithExpiry(key string, value []byte, expireInSeconds int64) *model.AppError

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

func (_m *MockAPI) ListBuiltInCommands() ([]*model.Command, error)

ListBuiltInCommands provides a mock function with given fields:

func (*MockAPI) ListCommands

func (_m *MockAPI) ListCommands(teamID string) ([]*model.Command, error)

ListCommands provides a mock function with given fields: teamID

func (*MockAPI) ListCustomCommands

func (_m *MockAPI) ListCustomCommands(teamID string) ([]*model.Command, error)

ListCustomCommands provides a mock function with given fields: teamID

func (*MockAPI) ListPluginCommands

func (_m *MockAPI) ListPluginCommands(teamID string) ([]*model.Command, error)

ListPluginCommands provides a mock function with given fields: teamID

func (*MockAPI) LoadPluginConfiguration

func (_m *MockAPI) LoadPluginConfiguration(dest interface{}) error

LoadPluginConfiguration provides a mock function with given fields: dest

func (*MockAPI) LogDebug

func (_m *MockAPI) LogDebug(msg string, keyValuePairs ...interface{})

LogDebug provides a mock function with given fields: msg, keyValuePairs

func (*MockAPI) LogError

func (_m *MockAPI) LogError(msg string, keyValuePairs ...interface{})

LogError provides a mock function with given fields: msg, keyValuePairs

func (*MockAPI) LogInfo

func (_m *MockAPI) LogInfo(msg string, keyValuePairs ...interface{})

LogInfo provides a mock function with given fields: msg, keyValuePairs

func (*MockAPI) LogWarn

func (_m *MockAPI) LogWarn(msg string, keyValuePairs ...interface{})

LogWarn provides a mock function with given fields: msg, keyValuePairs

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

func (_m *MockAPI) PermanentDeleteBot(botUserId string) *model.AppError

PermanentDeleteBot provides a mock function with given fields: botUserId

func (*MockAPI) PluginHTTP

func (_m *MockAPI) PluginHTTP(request *http.Request) *http.Response

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

func (_m *MockAPI) ReadFile(path string) ([]byte, *model.AppError)

ReadFile provides a mock function with given fields: path

func (*MockAPI) RegisterCollectionAndTopic

func (_m *MockAPI) RegisterCollectionAndTopic(collectionType string, topicType string) error

RegisterCollectionAndTopic provides a mock function with given fields: collectionType, topicType

func (*MockAPI) RegisterCommand

func (_m *MockAPI) RegisterCommand(command *model.Command) error

RegisterCommand provides a mock function with given fields: command

func (*MockAPI) RemovePlugin

func (_m *MockAPI) RemovePlugin(id string) *model.AppError

RemovePlugin provides a mock function with given fields: id

func (*MockAPI) RemoveReaction

func (_m *MockAPI) RemoveReaction(reaction *model.Reaction) *model.AppError

RemoveReaction provides a mock function with given fields: reaction

func (*MockAPI) RemoveTeamIcon

func (_m *MockAPI) RemoveTeamIcon(teamID string) *model.AppError

RemoveTeamIcon provides a mock function with given fields: teamID

func (*MockAPI) RemoveUserCustomStatus

func (_m *MockAPI) RemoveUserCustomStatus(userID string) *model.AppError

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

func (_m *MockAPI) RevokeSession(sessionID string) *model.AppError

RevokeSession provides a mock function with given fields: sessionID

func (*MockAPI) RevokeUserAccessToken

func (_m *MockAPI) RevokeUserAccessToken(tokenID string) *model.AppError

RevokeUserAccessToken provides a mock function with given fields: tokenID

func (*MockAPI) RolesGrantPermission

func (_m *MockAPI) RolesGrantPermission(roleNames []string, permissionId string) bool

RolesGrantPermission provides a mock function with given fields: roleNames, permissionId

func (*MockAPI) SaveConfig

func (_m *MockAPI) SaveConfig(config *model.Config) *model.AppError

SaveConfig provides a mock function with given fields: config

func (*MockAPI) SavePluginConfig

func (_m *MockAPI) SavePluginConfig(config map[string]interface{}) *model.AppError

SavePluginConfig provides a mock function with given fields: config

func (*MockAPI) SearchChannels

func (_m *MockAPI) SearchChannels(teamID string, term string) ([]*model.Channel, *model.AppError)

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

func (_m *MockAPI) SearchTeams(term string) ([]*model.Team, *model.AppError)

SearchTeams provides a mock function with given fields: term

func (*MockAPI) SearchUsers

func (_m *MockAPI) SearchUsers(search *model.UserSearch) ([]*model.User, *model.AppError)

SearchUsers provides a mock function with given fields: search

func (*MockAPI) SendEphemeralPost

func (_m *MockAPI) SendEphemeralPost(userID string, post *model.Post) *model.Post

SendEphemeralPost provides a mock function with given fields: userID, post

func (*MockAPI) SendMail

func (_m *MockAPI) SendMail(to string, subject string, htmlBody string) *model.AppError

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

func (_m *MockAPI) SetFileSearchableContent(fileID string, content string) *model.AppError

SetFileSearchableContent provides a mock function with given fields: fileID, content

func (*MockAPI) SetProfileImage

func (_m *MockAPI) SetProfileImage(userID string, data []byte) *model.AppError

SetProfileImage provides a mock function with given fields: userID, data

func (*MockAPI) SetTeamIcon

func (_m *MockAPI) SetTeamIcon(teamID string, data []byte) *model.AppError

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

func (_m *MockAPI) UnregisterCommand(teamID string, trigger string) error

UnregisterCommand provides a mock function with given fields: teamID, trigger

func (*MockAPI) UpdateBotActive

func (_m *MockAPI) UpdateBotActive(botUserId string, active bool) (*model.Bot, *model.AppError)

UpdateBotActive provides a mock function with given fields: botUserId, active

func (*MockAPI) UpdateChannel

func (_m *MockAPI) UpdateChannel(channel *model.Channel) (*model.Channel, *model.AppError)

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

func (_m *MockAPI) UpdateEphemeralPost(userID string, post *model.Post) *model.Post

UpdateEphemeralPost provides a mock function with given fields: userID, post

func (*MockAPI) UpdateOAuthApp

func (_m *MockAPI) UpdateOAuthApp(app *model.OAuthApp) (*model.OAuthApp, *model.AppError)

UpdateOAuthApp provides a mock function with given fields: app

func (*MockAPI) UpdatePost

func (_m *MockAPI) UpdatePost(post *model.Post) (*model.Post, *model.AppError)

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

func (_m *MockAPI) UpdateTeam(team *model.Team) (*model.Team, *model.AppError)

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

func (_m *MockAPI) UpdateUser(user *model.User) (*model.User, *model.AppError)

UpdateUser provides a mock function with given fields: user

func (*MockAPI) UpdateUserActive

func (_m *MockAPI) UpdateUserActive(userID string, active bool) *model.AppError

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

func (_m *MockAPI) UpdateUserStatus(userID string, status string) (*model.Status, *model.AppError)

UpdateUserStatus provides a mock function with given fields: userID, status

func (*MockAPI) UploadData

func (_m *MockAPI) UploadData(us *model.UploadSession, rd io.Reader) (*model.FileInfo, error)

UploadData provides a mock function with given fields: us, rd

func (*MockAPI) UploadFile

func (_m *MockAPI) UploadFile(data []byte, channelId string, filename string) (*model.FileInfo, *model.AppError)

UploadFile provides a mock function with given fields: data, channelId, filename

type MockAPI_AddChannelMember_Call

type MockAPI_AddChannelMember_Call struct {
	*mock.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 (*MockAPI_AddChannelMember_Call) Run

func (_c *MockAPI_AddChannelMember_Call) Run(run func(channelId string, userID string)) *MockAPI_AddChannelMember_Call

func (*MockAPI_AddChannelMember_Call) RunAndReturn

type MockAPI_AddReaction_Call

type MockAPI_AddReaction_Call struct {
	*mock.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 (*MockAPI_AddReaction_Call) Run

func (_c *MockAPI_AddReaction_Call) Run(run func(reaction *model.Reaction)) *MockAPI_AddReaction_Call

func (*MockAPI_AddReaction_Call) RunAndReturn

type MockAPI_AddUserToChannel_Call

type MockAPI_AddUserToChannel_Call struct {
	*mock.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 (*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

type MockAPI_CopyFileInfos_Call

type MockAPI_CopyFileInfos_Call struct {
	*mock.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 (*MockAPI_CopyFileInfos_Call) Run

func (_c *MockAPI_CopyFileInfos_Call) Run(run func(userID string, fileIds []string)) *MockAPI_CopyFileInfos_Call

func (*MockAPI_CopyFileInfos_Call) RunAndReturn

type MockAPI_CreateBot_Call

type MockAPI_CreateBot_Call struct {
	*mock.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 (*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

type MockAPI_CreateChannelSidebarCategory_Call struct {
	*mock.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 (*MockAPI_CreateChannelSidebarCategory_Call) Run

type MockAPI_CreateChannel_Call

type MockAPI_CreateChannel_Call struct {
	*mock.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 (*MockAPI_CreateChannel_Call) Run

func (*MockAPI_CreateChannel_Call) RunAndReturn

type MockAPI_CreateCommand_Call

type MockAPI_CreateCommand_Call struct {
	*mock.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 (*MockAPI_CreateCommand_Call) Run

func (*MockAPI_CreateCommand_Call) RunAndReturn

type MockAPI_CreateOAuthApp_Call

type MockAPI_CreateOAuthApp_Call struct {
	*mock.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 (*MockAPI_CreateOAuthApp_Call) Run

func (*MockAPI_CreateOAuthApp_Call) RunAndReturn

type MockAPI_CreatePost_Call

type MockAPI_CreatePost_Call struct {
	*mock.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 (*MockAPI_CreatePost_Call) Run

func (_c *MockAPI_CreatePost_Call) Run(run func(post *model.Post)) *MockAPI_CreatePost_Call

func (*MockAPI_CreatePost_Call) RunAndReturn

type MockAPI_CreateSession_Call

type MockAPI_CreateSession_Call struct {
	*mock.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 (*MockAPI_CreateSession_Call) Run

func (*MockAPI_CreateSession_Call) RunAndReturn

type MockAPI_CreateTeamMember_Call

type MockAPI_CreateTeamMember_Call struct {
	*mock.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 (*MockAPI_CreateTeamMember_Call) Run

func (_c *MockAPI_CreateTeamMember_Call) Run(run func(teamID string, userID string)) *MockAPI_CreateTeamMember_Call

func (*MockAPI_CreateTeamMember_Call) RunAndReturn

type MockAPI_CreateTeamMembersGracefully_Call

type MockAPI_CreateTeamMembersGracefully_Call struct {
	*mock.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 (*MockAPI_CreateTeamMembersGracefully_Call) Run

func (*MockAPI_CreateTeamMembersGracefully_Call) RunAndReturn

type MockAPI_CreateTeamMembers_Call

type MockAPI_CreateTeamMembers_Call struct {
	*mock.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 (*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

type MockAPI_CreateTeam_Call

type MockAPI_CreateTeam_Call struct {
	*mock.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 (*MockAPI_CreateTeam_Call) Run

func (_c *MockAPI_CreateTeam_Call) Run(run func(team *model.Team)) *MockAPI_CreateTeam_Call

func (*MockAPI_CreateTeam_Call) RunAndReturn

type MockAPI_CreateUploadSession_Call

type MockAPI_CreateUploadSession_Call struct {
	*mock.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 (*MockAPI_CreateUploadSession_Call) Run

func (*MockAPI_CreateUploadSession_Call) RunAndReturn

type MockAPI_CreateUserAccessToken_Call

type MockAPI_CreateUserAccessToken_Call struct {
	*mock.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 (*MockAPI_CreateUserAccessToken_Call) Run

func (*MockAPI_CreateUserAccessToken_Call) RunAndReturn

type MockAPI_CreateUser_Call

type MockAPI_CreateUser_Call struct {
	*mock.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 (*MockAPI_CreateUser_Call) Run

func (_c *MockAPI_CreateUser_Call) Run(run func(user *model.User)) *MockAPI_CreateUser_Call

func (*MockAPI_CreateUser_Call) RunAndReturn

type MockAPI_DeleteChannelMember_Call

type MockAPI_DeleteChannelMember_Call struct {
	*mock.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 (*MockAPI_DeleteChannelMember_Call) Run

func (*MockAPI_DeleteChannelMember_Call) RunAndReturn

type MockAPI_DeleteChannel_Call

type MockAPI_DeleteChannel_Call struct {
	*mock.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 (*MockAPI_DeleteChannel_Call) Run

func (_c *MockAPI_DeleteChannel_Call) Run(run func(channelId string)) *MockAPI_DeleteChannel_Call

func (*MockAPI_DeleteChannel_Call) RunAndReturn

type MockAPI_DeleteCommand_Call

type MockAPI_DeleteCommand_Call struct {
	*mock.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 (*MockAPI_DeleteCommand_Call) Run

func (_c *MockAPI_DeleteCommand_Call) Run(run func(commandID string)) *MockAPI_DeleteCommand_Call

func (*MockAPI_DeleteCommand_Call) RunAndReturn

type MockAPI_DeleteEphemeralPost_Call

type MockAPI_DeleteEphemeralPost_Call struct {
	*mock.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 (*MockAPI_DeleteEphemeralPost_Call) Run

func (*MockAPI_DeleteEphemeralPost_Call) RunAndReturn

type MockAPI_DeleteOAuthApp_Call

type MockAPI_DeleteOAuthApp_Call struct {
	*mock.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 (*MockAPI_DeleteOAuthApp_Call) Run

func (*MockAPI_DeleteOAuthApp_Call) RunAndReturn

type MockAPI_DeletePost_Call

type MockAPI_DeletePost_Call struct {
	*mock.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 (*MockAPI_DeletePost_Call) Run

func (_c *MockAPI_DeletePost_Call) Run(run func(postId string)) *MockAPI_DeletePost_Call

func (*MockAPI_DeletePost_Call) RunAndReturn

type MockAPI_DeletePreferencesForUser_Call

type MockAPI_DeletePreferencesForUser_Call struct {
	*mock.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 (*MockAPI_DeletePreferencesForUser_Call) Run

func (*MockAPI_DeletePreferencesForUser_Call) RunAndReturn

type MockAPI_DeleteTeamMember_Call

type MockAPI_DeleteTeamMember_Call struct {
	*mock.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 (*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

type MockAPI_DeleteTeam_Call

type MockAPI_DeleteTeam_Call struct {
	*mock.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 (*MockAPI_DeleteTeam_Call) Run

func (_c *MockAPI_DeleteTeam_Call) Run(run func(teamID string)) *MockAPI_DeleteTeam_Call

func (*MockAPI_DeleteTeam_Call) RunAndReturn

type MockAPI_DeleteUser_Call

type MockAPI_DeleteUser_Call struct {
	*mock.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 (*MockAPI_DeleteUser_Call) Run

func (_c *MockAPI_DeleteUser_Call) Run(run func(userID string)) *MockAPI_DeleteUser_Call

func (*MockAPI_DeleteUser_Call) RunAndReturn

type MockAPI_DisablePlugin_Call

type MockAPI_DisablePlugin_Call struct {
	*mock.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 (*MockAPI_DisablePlugin_Call) Run

func (*MockAPI_DisablePlugin_Call) RunAndReturn

type MockAPI_EnablePlugin_Call

type MockAPI_EnablePlugin_Call struct {
	*mock.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 (*MockAPI_EnablePlugin_Call) Run

func (*MockAPI_EnablePlugin_Call) RunAndReturn

type MockAPI_EnsureBotUser_Call

type MockAPI_EnsureBotUser_Call struct {
	*mock.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 (*MockAPI_EnsureBotUser_Call) Run

func (*MockAPI_EnsureBotUser_Call) RunAndReturn

type MockAPI_ExecuteSlashCommand_Call

type MockAPI_ExecuteSlashCommand_Call struct {
	*mock.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 (*MockAPI_ExecuteSlashCommand_Call) Run

func (*MockAPI_ExecuteSlashCommand_Call) RunAndReturn

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 (_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

type MockAPI_ExtendSessionExpiry_Call struct {
	*mock.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 (*MockAPI_ExtendSessionExpiry_Call) Run

func (_c *MockAPI_ExtendSessionExpiry_Call) Run(run func(sessionID string, newExpiry int64)) *MockAPI_ExtendSessionExpiry_Call

func (*MockAPI_ExtendSessionExpiry_Call) RunAndReturn

type MockAPI_GetBot_Call

type MockAPI_GetBot_Call struct {
	*mock.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 (*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

type MockAPI_GetBots_Call struct {
	*mock.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 (*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

type MockAPI_GetBundlePath_Call struct {
	*mock.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 (*MockAPI_GetBundlePath_Call) Run

func (*MockAPI_GetBundlePath_Call) RunAndReturn

func (_c *MockAPI_GetBundlePath_Call) RunAndReturn(run func() (string, error)) *MockAPI_GetBundlePath_Call

type MockAPI_GetChannelByNameForTeamName_Call

type MockAPI_GetChannelByNameForTeamName_Call struct {
	*mock.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 (*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

type MockAPI_GetChannelByName_Call

type MockAPI_GetChannelByName_Call struct {
	*mock.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 (*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

type MockAPI_GetChannelMember_Call

type MockAPI_GetChannelMember_Call struct {
	*mock.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 (*MockAPI_GetChannelMember_Call) Run

func (_c *MockAPI_GetChannelMember_Call) Run(run func(channelId string, userID string)) *MockAPI_GetChannelMember_Call

func (*MockAPI_GetChannelMember_Call) RunAndReturn

type MockAPI_GetChannelMembersByIds_Call

type MockAPI_GetChannelMembersByIds_Call struct {
	*mock.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 (*MockAPI_GetChannelMembersByIds_Call) Run

func (*MockAPI_GetChannelMembersByIds_Call) RunAndReturn

type MockAPI_GetChannelMembersForUser_Call

type MockAPI_GetChannelMembersForUser_Call struct {
	*mock.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 (*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

type MockAPI_GetChannelMembers_Call

type MockAPI_GetChannelMembers_Call struct {
	*mock.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 (*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

type MockAPI_GetChannelSidebarCategories_Call

type MockAPI_GetChannelSidebarCategories_Call struct {
	*mock.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 (*MockAPI_GetChannelSidebarCategories_Call) Run

func (*MockAPI_GetChannelSidebarCategories_Call) RunAndReturn

type MockAPI_GetChannelStats_Call

type MockAPI_GetChannelStats_Call struct {
	*mock.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 (*MockAPI_GetChannelStats_Call) Run

func (*MockAPI_GetChannelStats_Call) RunAndReturn

type MockAPI_GetChannel_Call

type MockAPI_GetChannel_Call struct {
	*mock.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 (*MockAPI_GetChannel_Call) Run

func (_c *MockAPI_GetChannel_Call) Run(run func(channelId string)) *MockAPI_GetChannel_Call

func (*MockAPI_GetChannel_Call) RunAndReturn

type MockAPI_GetChannelsForTeamForUser_Call

type MockAPI_GetChannelsForTeamForUser_Call struct {
	*mock.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 (*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

type MockAPI_GetCloudLimits_Call

type MockAPI_GetCloudLimits_Call struct {
	*mock.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 (*MockAPI_GetCloudLimits_Call) Run

func (*MockAPI_GetCloudLimits_Call) RunAndReturn

type MockAPI_GetCommand_Call

type MockAPI_GetCommand_Call struct {
	*mock.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 (*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

type MockAPI_GetConfig_Call struct {
	*mock.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 (*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

type MockAPI_GetDiagnosticId_Call struct {
	*mock.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 (*MockAPI_GetDiagnosticId_Call) Run

func (*MockAPI_GetDiagnosticId_Call) RunAndReturn

type MockAPI_GetDirectChannel_Call

type MockAPI_GetDirectChannel_Call struct {
	*mock.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 (*MockAPI_GetDirectChannel_Call) Run

func (_c *MockAPI_GetDirectChannel_Call) Run(run func(userId1 string, userId2 string)) *MockAPI_GetDirectChannel_Call

func (*MockAPI_GetDirectChannel_Call) RunAndReturn

type MockAPI_GetEmojiByName_Call

type MockAPI_GetEmojiByName_Call struct {
	*mock.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 (*MockAPI_GetEmojiByName_Call) Run

func (*MockAPI_GetEmojiByName_Call) RunAndReturn

type MockAPI_GetEmojiImage_Call

type MockAPI_GetEmojiImage_Call struct {
	*mock.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 (*MockAPI_GetEmojiImage_Call) Run

func (_c *MockAPI_GetEmojiImage_Call) Run(run func(emojiId string)) *MockAPI_GetEmojiImage_Call

func (*MockAPI_GetEmojiImage_Call) RunAndReturn

type MockAPI_GetEmojiList_Call

type MockAPI_GetEmojiList_Call struct {
	*mock.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 (*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

type MockAPI_GetEmoji_Call

type MockAPI_GetEmoji_Call struct {
	*mock.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 (*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

type MockAPI_GetFileInfo_Call struct {
	*mock.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 (*MockAPI_GetFileInfo_Call) Run

func (_c *MockAPI_GetFileInfo_Call) Run(run func(fileId string)) *MockAPI_GetFileInfo_Call

func (*MockAPI_GetFileInfo_Call) RunAndReturn

type MockAPI_GetFileInfos_Call

type MockAPI_GetFileInfos_Call struct {
	*mock.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 (*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

type MockAPI_GetFileLink_Call struct {
	*mock.Call
}

MockAPI_GetFileLink_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFileLink'

func (_c *MockAPI_GetFileLink_Call) Run(run func(fileId string)) *MockAPI_GetFileLink_Call

type MockAPI_GetFile_Call

type MockAPI_GetFile_Call struct {
	*mock.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

type MockAPI_GetGroupByName_Call struct {
	*mock.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 (*MockAPI_GetGroupByName_Call) Run

func (*MockAPI_GetGroupByName_Call) RunAndReturn

type MockAPI_GetGroupChannel_Call

type MockAPI_GetGroupChannel_Call struct {
	*mock.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 (*MockAPI_GetGroupChannel_Call) Run

func (*MockAPI_GetGroupChannel_Call) RunAndReturn

type MockAPI_GetGroupMemberUsers_Call

type MockAPI_GetGroupMemberUsers_Call struct {
	*mock.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 (*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

type MockAPI_GetGroup_Call

type MockAPI_GetGroup_Call struct {
	*mock.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 (*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

type MockAPI_GetGroupsBySource_Call struct {
	*mock.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 (*MockAPI_GetGroupsBySource_Call) Run

func (*MockAPI_GetGroupsBySource_Call) RunAndReturn

type MockAPI_GetGroupsForUser_Call

type MockAPI_GetGroupsForUser_Call struct {
	*mock.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 (*MockAPI_GetGroupsForUser_Call) Run

func (*MockAPI_GetGroupsForUser_Call) RunAndReturn

type MockAPI_GetLDAPUserAttributes_Call

type MockAPI_GetLDAPUserAttributes_Call struct {
	*mock.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 (*MockAPI_GetLDAPUserAttributes_Call) Run

func (*MockAPI_GetLDAPUserAttributes_Call) RunAndReturn

type MockAPI_GetLicense_Call

type MockAPI_GetLicense_Call struct {
	*mock.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 (*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

type MockAPI_GetOAuthApp_Call struct {
	*mock.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 (*MockAPI_GetOAuthApp_Call) Run

func (_c *MockAPI_GetOAuthApp_Call) Run(run func(appID string)) *MockAPI_GetOAuthApp_Call

func (*MockAPI_GetOAuthApp_Call) RunAndReturn

type MockAPI_GetPluginConfig_Call

type MockAPI_GetPluginConfig_Call struct {
	*mock.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 (*MockAPI_GetPluginConfig_Call) RunAndReturn

func (_c *MockAPI_GetPluginConfig_Call) RunAndReturn(run func() map[string]interface{}) *MockAPI_GetPluginConfig_Call

type MockAPI_GetPluginStatus_Call

type MockAPI_GetPluginStatus_Call struct {
	*mock.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 (*MockAPI_GetPluginStatus_Call) Run

func (*MockAPI_GetPluginStatus_Call) RunAndReturn

type MockAPI_GetPlugins_Call

type MockAPI_GetPlugins_Call struct {
	*mock.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 (*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

type MockAPI_GetPostThread_Call struct {
	*mock.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 (*MockAPI_GetPostThread_Call) Run

func (*MockAPI_GetPostThread_Call) RunAndReturn

type MockAPI_GetPost_Call

type MockAPI_GetPost_Call struct {
	*mock.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 (*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

type MockAPI_GetPostsAfter_Call struct {
	*mock.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 (*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

type MockAPI_GetPostsBefore_Call

type MockAPI_GetPostsBefore_Call struct {
	*mock.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 (*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

type MockAPI_GetPostsForChannel_Call

type MockAPI_GetPostsForChannel_Call struct {
	*mock.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 (*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

type MockAPI_GetPostsSince_Call

type MockAPI_GetPostsSince_Call struct {
	*mock.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 (*MockAPI_GetPostsSince_Call) Run

func (_c *MockAPI_GetPostsSince_Call) Run(run func(channelId string, time int64)) *MockAPI_GetPostsSince_Call

func (*MockAPI_GetPostsSince_Call) RunAndReturn

type MockAPI_GetPreferencesForUser_Call

type MockAPI_GetPreferencesForUser_Call struct {
	*mock.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 (*MockAPI_GetPreferencesForUser_Call) Run

func (*MockAPI_GetPreferencesForUser_Call) RunAndReturn

type MockAPI_GetProfileImage_Call

type MockAPI_GetProfileImage_Call struct {
	*mock.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 (*MockAPI_GetProfileImage_Call) Run

func (*MockAPI_GetProfileImage_Call) RunAndReturn

type MockAPI_GetPublicChannelsForTeam_Call

type MockAPI_GetPublicChannelsForTeam_Call struct {
	*mock.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 (*MockAPI_GetPublicChannelsForTeam_Call) Run

func (*MockAPI_GetPublicChannelsForTeam_Call) RunAndReturn

type MockAPI_GetReactions_Call

type MockAPI_GetReactions_Call struct {
	*mock.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 (*MockAPI_GetReactions_Call) Run

func (_c *MockAPI_GetReactions_Call) Run(run func(postId string)) *MockAPI_GetReactions_Call

func (*MockAPI_GetReactions_Call) RunAndReturn

type MockAPI_GetServerVersion_Call

type MockAPI_GetServerVersion_Call struct {
	*mock.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 (*MockAPI_GetServerVersion_Call) Run

func (*MockAPI_GetServerVersion_Call) RunAndReturn

type MockAPI_GetSession_Call

type MockAPI_GetSession_Call struct {
	*mock.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 (*MockAPI_GetSession_Call) Run

func (_c *MockAPI_GetSession_Call) Run(run func(sessionID string)) *MockAPI_GetSession_Call

func (*MockAPI_GetSession_Call) RunAndReturn

type MockAPI_GetSystemInstallDate_Call

type MockAPI_GetSystemInstallDate_Call struct {
	*mock.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 (*MockAPI_GetSystemInstallDate_Call) Run

func (*MockAPI_GetSystemInstallDate_Call) RunAndReturn

type MockAPI_GetTeamByName_Call

type MockAPI_GetTeamByName_Call struct {
	*mock.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 (*MockAPI_GetTeamByName_Call) Run

func (*MockAPI_GetTeamByName_Call) RunAndReturn

type MockAPI_GetTeamIcon_Call

type MockAPI_GetTeamIcon_Call struct {
	*mock.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 (*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

type MockAPI_GetTeamMember_Call struct {
	*mock.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 (*MockAPI_GetTeamMember_Call) Run

func (_c *MockAPI_GetTeamMember_Call) Run(run func(teamID string, userID string)) *MockAPI_GetTeamMember_Call

func (*MockAPI_GetTeamMember_Call) RunAndReturn

type MockAPI_GetTeamMembersForUser_Call

type MockAPI_GetTeamMembersForUser_Call struct {
	*mock.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 (*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

type MockAPI_GetTeamMembers_Call

type MockAPI_GetTeamMembers_Call struct {
	*mock.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 (*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

type MockAPI_GetTeamStats_Call

type MockAPI_GetTeamStats_Call struct {
	*mock.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 (*MockAPI_GetTeamStats_Call) Run

func (_c *MockAPI_GetTeamStats_Call) Run(run func(teamID string)) *MockAPI_GetTeamStats_Call

func (*MockAPI_GetTeamStats_Call) RunAndReturn

type MockAPI_GetTeam_Call

type MockAPI_GetTeam_Call struct {
	*mock.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 (*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

type MockAPI_GetTeamsForUser_Call struct {
	*mock.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 (*MockAPI_GetTeamsForUser_Call) Run

func (*MockAPI_GetTeamsForUser_Call) RunAndReturn

type MockAPI_GetTeamsUnreadForUser_Call

type MockAPI_GetTeamsUnreadForUser_Call struct {
	*mock.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 (*MockAPI_GetTeamsUnreadForUser_Call) Run

func (*MockAPI_GetTeamsUnreadForUser_Call) RunAndReturn

type MockAPI_GetTeams_Call

type MockAPI_GetTeams_Call struct {
	*mock.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 (*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

type MockAPI_GetTelemetryId_Call struct {
	*mock.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 (*MockAPI_GetTelemetryId_Call) Run

func (*MockAPI_GetTelemetryId_Call) RunAndReturn

func (_c *MockAPI_GetTelemetryId_Call) RunAndReturn(run func() string) *MockAPI_GetTelemetryId_Call

type MockAPI_GetUnsanitizedConfig_Call

type MockAPI_GetUnsanitizedConfig_Call struct {
	*mock.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 (*MockAPI_GetUnsanitizedConfig_Call) Run

func (*MockAPI_GetUnsanitizedConfig_Call) RunAndReturn

type MockAPI_GetUploadSession_Call

type MockAPI_GetUploadSession_Call struct {
	*mock.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 (*MockAPI_GetUploadSession_Call) Run

func (*MockAPI_GetUploadSession_Call) RunAndReturn

type MockAPI_GetUserByEmail_Call

type MockAPI_GetUserByEmail_Call struct {
	*mock.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 (*MockAPI_GetUserByEmail_Call) Run

func (*MockAPI_GetUserByEmail_Call) RunAndReturn

type MockAPI_GetUserByUsername_Call

type MockAPI_GetUserByUsername_Call struct {
	*mock.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 (*MockAPI_GetUserByUsername_Call) Run

func (*MockAPI_GetUserByUsername_Call) RunAndReturn

type MockAPI_GetUserStatus_Call

type MockAPI_GetUserStatus_Call struct {
	*mock.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 (*MockAPI_GetUserStatus_Call) Run

func (*MockAPI_GetUserStatus_Call) RunAndReturn

type MockAPI_GetUserStatusesByIds_Call

type MockAPI_GetUserStatusesByIds_Call struct {
	*mock.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 (*MockAPI_GetUserStatusesByIds_Call) Run

func (*MockAPI_GetUserStatusesByIds_Call) RunAndReturn

type MockAPI_GetUser_Call

type MockAPI_GetUser_Call struct {
	*mock.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 (*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

type MockAPI_GetUsersByUsernames_Call struct {
	*mock.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 (*MockAPI_GetUsersByUsernames_Call) Run

func (*MockAPI_GetUsersByUsernames_Call) RunAndReturn

type MockAPI_GetUsersInChannel_Call

type MockAPI_GetUsersInChannel_Call struct {
	*mock.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 (*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

type MockAPI_GetUsersInTeam_Call

type MockAPI_GetUsersInTeam_Call struct {
	*mock.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 (*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

type MockAPI_GetUsers_Call

type MockAPI_GetUsers_Call struct {
	*mock.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 (*MockAPI_GetUsers_Call) Run

func (_c *MockAPI_GetUsers_Call) Run(run func(options *model.UserGetOptions)) *MockAPI_GetUsers_Call

func (*MockAPI_GetUsers_Call) RunAndReturn

type MockAPI_HasPermissionToChannel_Call

type MockAPI_HasPermissionToChannel_Call struct {
	*mock.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 (*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

type MockAPI_HasPermissionToTeam_Call

type MockAPI_HasPermissionToTeam_Call struct {
	*mock.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 (*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

type MockAPI_HasPermissionTo_Call

type MockAPI_HasPermissionTo_Call struct {
	*mock.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 (*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

type MockAPI_InstallPlugin_Call

type MockAPI_InstallPlugin_Call struct {
	*mock.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 (*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

type MockAPI_IsEnterpriseReady_Call

type MockAPI_IsEnterpriseReady_Call struct {
	*mock.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 (*MockAPI_IsEnterpriseReady_Call) Run

func (*MockAPI_IsEnterpriseReady_Call) RunAndReturn

type MockAPI_KVCompareAndDelete_Call

type MockAPI_KVCompareAndDelete_Call struct {
	*mock.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 (*MockAPI_KVCompareAndDelete_Call) Run

func (_c *MockAPI_KVCompareAndDelete_Call) Run(run func(key string, oldValue []byte)) *MockAPI_KVCompareAndDelete_Call

func (*MockAPI_KVCompareAndDelete_Call) RunAndReturn

type MockAPI_KVCompareAndSet_Call

type MockAPI_KVCompareAndSet_Call struct {
	*mock.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 (*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

type MockAPI_KVDeleteAll_Call

type MockAPI_KVDeleteAll_Call struct {
	*mock.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 (*MockAPI_KVDeleteAll_Call) Run

func (*MockAPI_KVDeleteAll_Call) RunAndReturn

func (_c *MockAPI_KVDeleteAll_Call) RunAndReturn(run func() *model.AppError) *MockAPI_KVDeleteAll_Call

type MockAPI_KVDelete_Call

type MockAPI_KVDelete_Call struct {
	*mock.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 (*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

type MockAPI_KVGet_Call struct {
	*mock.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

type MockAPI_KVList_Call struct {
	*mock.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

type MockAPI_KVSetWithExpiry_Call struct {
	*mock.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 (*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

type MockAPI_KVSetWithOptions_Call

type MockAPI_KVSetWithOptions_Call struct {
	*mock.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 (*MockAPI_KVSetWithOptions_Call) Run

func (*MockAPI_KVSetWithOptions_Call) RunAndReturn

type MockAPI_KVSet_Call

type MockAPI_KVSet_Call struct {
	*mock.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 (*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

type MockAPI_ListBuiltInCommands_Call struct {
	*mock.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 (*MockAPI_ListBuiltInCommands_Call) Run

func (*MockAPI_ListBuiltInCommands_Call) RunAndReturn

type MockAPI_ListCommands_Call

type MockAPI_ListCommands_Call struct {
	*mock.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 (*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

type MockAPI_ListCustomCommands_Call struct {
	*mock.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 (*MockAPI_ListCustomCommands_Call) Run

func (*MockAPI_ListCustomCommands_Call) RunAndReturn

type MockAPI_ListPluginCommands_Call

type MockAPI_ListPluginCommands_Call struct {
	*mock.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 (*MockAPI_ListPluginCommands_Call) Run

func (*MockAPI_ListPluginCommands_Call) RunAndReturn

type MockAPI_LoadPluginConfiguration_Call

type MockAPI_LoadPluginConfiguration_Call struct {
	*mock.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 (*MockAPI_LoadPluginConfiguration_Call) Run

func (*MockAPI_LoadPluginConfiguration_Call) RunAndReturn

func (_c *MockAPI_LoadPluginConfiguration_Call) RunAndReturn(run func(interface{}) error) *MockAPI_LoadPluginConfiguration_Call

type MockAPI_LogDebug_Call

type MockAPI_LogDebug_Call struct {
	*mock.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 (*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

type MockAPI_LogError_Call struct {
	*mock.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 (*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

type MockAPI_LogInfo_Call struct {
	*mock.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 (*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

type MockAPI_LogWarn_Call struct {
	*mock.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 (*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

type MockAPI_OpenInteractiveDialog_Call struct {
	*mock.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 (*MockAPI_OpenInteractiveDialog_Call) Run

func (*MockAPI_OpenInteractiveDialog_Call) RunAndReturn

type MockAPI_PatchBot_Call

type MockAPI_PatchBot_Call struct {
	*mock.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 (*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

type MockAPI_PermanentDeleteBot_Call

type MockAPI_PermanentDeleteBot_Call struct {
	*mock.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 (*MockAPI_PermanentDeleteBot_Call) Run

func (*MockAPI_PermanentDeleteBot_Call) RunAndReturn

type MockAPI_PluginHTTP_Call

type MockAPI_PluginHTTP_Call struct {
	*mock.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 (*MockAPI_PluginHTTP_Call) Run

func (_c *MockAPI_PluginHTTP_Call) Run(run func(request *http.Request)) *MockAPI_PluginHTTP_Call

func (*MockAPI_PluginHTTP_Call) RunAndReturn

type MockAPI_PublishPluginClusterEvent_Call

type MockAPI_PublishPluginClusterEvent_Call struct {
	*mock.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 (*MockAPI_PublishPluginClusterEvent_Call) Run

type MockAPI_PublishUserTyping_Call

type MockAPI_PublishUserTyping_Call struct {
	*mock.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 (*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

type MockAPI_PublishWebSocketEvent_Call

type MockAPI_PublishWebSocketEvent_Call struct {
	*mock.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 (*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

type MockAPI_ReadFile_Call

type MockAPI_ReadFile_Call struct {
	*mock.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 (*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

type MockAPI_RegisterCollectionAndTopic_Call struct {
	*mock.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 (*MockAPI_RegisterCollectionAndTopic_Call) Run

func (*MockAPI_RegisterCollectionAndTopic_Call) RunAndReturn

type MockAPI_RegisterCommand_Call

type MockAPI_RegisterCommand_Call struct {
	*mock.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 (*MockAPI_RegisterCommand_Call) Run

func (*MockAPI_RegisterCommand_Call) RunAndReturn

type MockAPI_RemovePlugin_Call

type MockAPI_RemovePlugin_Call struct {
	*mock.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 (*MockAPI_RemovePlugin_Call) Run

func (*MockAPI_RemovePlugin_Call) RunAndReturn

type MockAPI_RemoveReaction_Call

type MockAPI_RemoveReaction_Call struct {
	*mock.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 (*MockAPI_RemoveReaction_Call) Run

func (*MockAPI_RemoveReaction_Call) RunAndReturn

type MockAPI_RemoveTeamIcon_Call

type MockAPI_RemoveTeamIcon_Call struct {
	*mock.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 (*MockAPI_RemoveTeamIcon_Call) Run

func (*MockAPI_RemoveTeamIcon_Call) RunAndReturn

type MockAPI_RemoveUserCustomStatus_Call

type MockAPI_RemoveUserCustomStatus_Call struct {
	*mock.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 (*MockAPI_RemoveUserCustomStatus_Call) Run

func (*MockAPI_RemoveUserCustomStatus_Call) RunAndReturn

type MockAPI_RequestTrialLicense_Call

type MockAPI_RequestTrialLicense_Call struct {
	*mock.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 (*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

type MockAPI_RevokeSession_Call

type MockAPI_RevokeSession_Call struct {
	*mock.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 (*MockAPI_RevokeSession_Call) Run

func (_c *MockAPI_RevokeSession_Call) Run(run func(sessionID string)) *MockAPI_RevokeSession_Call

func (*MockAPI_RevokeSession_Call) RunAndReturn

type MockAPI_RevokeUserAccessToken_Call

type MockAPI_RevokeUserAccessToken_Call struct {
	*mock.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 (*MockAPI_RevokeUserAccessToken_Call) Run

func (*MockAPI_RevokeUserAccessToken_Call) RunAndReturn

type MockAPI_RolesGrantPermission_Call

type MockAPI_RolesGrantPermission_Call struct {
	*mock.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 (*MockAPI_RolesGrantPermission_Call) Run

func (_c *MockAPI_RolesGrantPermission_Call) Run(run func(roleNames []string, permissionId string)) *MockAPI_RolesGrantPermission_Call

func (*MockAPI_RolesGrantPermission_Call) RunAndReturn

type MockAPI_SaveConfig_Call

type MockAPI_SaveConfig_Call struct {
	*mock.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 (*MockAPI_SaveConfig_Call) Run

func (_c *MockAPI_SaveConfig_Call) Run(run func(config *model.Config)) *MockAPI_SaveConfig_Call

func (*MockAPI_SaveConfig_Call) RunAndReturn

type MockAPI_SavePluginConfig_Call

type MockAPI_SavePluginConfig_Call struct {
	*mock.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 (*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

type MockAPI_SearchChannels_Call struct {
	*mock.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 (*MockAPI_SearchChannels_Call) Run

func (_c *MockAPI_SearchChannels_Call) Run(run func(teamID string, term string)) *MockAPI_SearchChannels_Call

func (*MockAPI_SearchChannels_Call) RunAndReturn

type MockAPI_SearchPostsInTeamForUser_Call

type MockAPI_SearchPostsInTeamForUser_Call struct {
	*mock.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 (*MockAPI_SearchPostsInTeamForUser_Call) Run

type MockAPI_SearchPostsInTeam_Call

type MockAPI_SearchPostsInTeam_Call struct {
	*mock.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 (*MockAPI_SearchPostsInTeam_Call) Run

func (*MockAPI_SearchPostsInTeam_Call) RunAndReturn

type MockAPI_SearchTeams_Call

type MockAPI_SearchTeams_Call struct {
	*mock.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 (*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

type MockAPI_SearchUsers_Call struct {
	*mock.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 (*MockAPI_SearchUsers_Call) Run

func (*MockAPI_SearchUsers_Call) RunAndReturn

type MockAPI_SendEphemeralPost_Call

type MockAPI_SendEphemeralPost_Call struct {
	*mock.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 (*MockAPI_SendEphemeralPost_Call) Run

func (*MockAPI_SendEphemeralPost_Call) RunAndReturn

type MockAPI_SendMail_Call

type MockAPI_SendMail_Call struct {
	*mock.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 (*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

type MockAPI_SendPushNotification_Call

type MockAPI_SendPushNotification_Call struct {
	*mock.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 (*MockAPI_SendPushNotification_Call) Run

func (*MockAPI_SendPushNotification_Call) RunAndReturn

type MockAPI_SetFileSearchableContent_Call

type MockAPI_SetFileSearchableContent_Call struct {
	*mock.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 (*MockAPI_SetFileSearchableContent_Call) Run

func (*MockAPI_SetFileSearchableContent_Call) RunAndReturn

type MockAPI_SetProfileImage_Call

type MockAPI_SetProfileImage_Call struct {
	*mock.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 (*MockAPI_SetProfileImage_Call) Run

func (_c *MockAPI_SetProfileImage_Call) Run(run func(userID string, data []byte)) *MockAPI_SetProfileImage_Call

func (*MockAPI_SetProfileImage_Call) RunAndReturn

type MockAPI_SetTeamIcon_Call

type MockAPI_SetTeamIcon_Call struct {
	*mock.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 (*MockAPI_SetTeamIcon_Call) Run

func (_c *MockAPI_SetTeamIcon_Call) Run(run func(teamID string, data []byte)) *MockAPI_SetTeamIcon_Call

func (*MockAPI_SetTeamIcon_Call) RunAndReturn

type MockAPI_SetUserStatusTimedDND_Call

type MockAPI_SetUserStatusTimedDND_Call struct {
	*mock.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 (*MockAPI_SetUserStatusTimedDND_Call) Run

func (*MockAPI_SetUserStatusTimedDND_Call) RunAndReturn

type MockAPI_UnregisterCommand_Call

type MockAPI_UnregisterCommand_Call struct {
	*mock.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 (*MockAPI_UnregisterCommand_Call) Run

func (_c *MockAPI_UnregisterCommand_Call) Run(run func(teamID string, trigger string)) *MockAPI_UnregisterCommand_Call

func (*MockAPI_UnregisterCommand_Call) RunAndReturn

type MockAPI_UpdateBotActive_Call

type MockAPI_UpdateBotActive_Call struct {
	*mock.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 (*MockAPI_UpdateBotActive_Call) Run

func (_c *MockAPI_UpdateBotActive_Call) Run(run func(botUserId string, active bool)) *MockAPI_UpdateBotActive_Call

func (*MockAPI_UpdateBotActive_Call) RunAndReturn

type MockAPI_UpdateChannelMemberNotifications_Call

type MockAPI_UpdateChannelMemberNotifications_Call struct {
	*mock.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 (*MockAPI_UpdateChannelMemberNotifications_Call) Run

func (*MockAPI_UpdateChannelMemberNotifications_Call) RunAndReturn

type MockAPI_UpdateChannelMemberRoles_Call

type MockAPI_UpdateChannelMemberRoles_Call struct {
	*mock.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 (*MockAPI_UpdateChannelMemberRoles_Call) Run

func (*MockAPI_UpdateChannelMemberRoles_Call) RunAndReturn

type MockAPI_UpdateChannelSidebarCategories_Call

type MockAPI_UpdateChannelSidebarCategories_Call struct {
	*mock.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 (*MockAPI_UpdateChannelSidebarCategories_Call) Run

type MockAPI_UpdateChannel_Call

type MockAPI_UpdateChannel_Call struct {
	*mock.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 (*MockAPI_UpdateChannel_Call) Run

func (*MockAPI_UpdateChannel_Call) RunAndReturn

type MockAPI_UpdateCommand_Call

type MockAPI_UpdateCommand_Call struct {
	*mock.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 (*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

type MockAPI_UpdateEphemeralPost_Call

type MockAPI_UpdateEphemeralPost_Call struct {
	*mock.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 (*MockAPI_UpdateEphemeralPost_Call) Run

func (*MockAPI_UpdateEphemeralPost_Call) RunAndReturn

type MockAPI_UpdateOAuthApp_Call

type MockAPI_UpdateOAuthApp_Call struct {
	*mock.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 (*MockAPI_UpdateOAuthApp_Call) Run

func (*MockAPI_UpdateOAuthApp_Call) RunAndReturn

type MockAPI_UpdatePost_Call

type MockAPI_UpdatePost_Call struct {
	*mock.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 (*MockAPI_UpdatePost_Call) Run

func (_c *MockAPI_UpdatePost_Call) Run(run func(post *model.Post)) *MockAPI_UpdatePost_Call

func (*MockAPI_UpdatePost_Call) RunAndReturn

type MockAPI_UpdatePreferencesForUser_Call

type MockAPI_UpdatePreferencesForUser_Call struct {
	*mock.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 (*MockAPI_UpdatePreferencesForUser_Call) Run

func (*MockAPI_UpdatePreferencesForUser_Call) RunAndReturn

type MockAPI_UpdateTeamMemberRoles_Call

type MockAPI_UpdateTeamMemberRoles_Call struct {
	*mock.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 (*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

type MockAPI_UpdateTeam_Call

type MockAPI_UpdateTeam_Call struct {
	*mock.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 (*MockAPI_UpdateTeam_Call) Run

func (_c *MockAPI_UpdateTeam_Call) Run(run func(team *model.Team)) *MockAPI_UpdateTeam_Call

func (*MockAPI_UpdateTeam_Call) RunAndReturn

type MockAPI_UpdateUserActive_Call

type MockAPI_UpdateUserActive_Call struct {
	*mock.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 (*MockAPI_UpdateUserActive_Call) Run

func (_c *MockAPI_UpdateUserActive_Call) Run(run func(userID string, active bool)) *MockAPI_UpdateUserActive_Call

func (*MockAPI_UpdateUserActive_Call) RunAndReturn

type MockAPI_UpdateUserAuth_Call

type MockAPI_UpdateUserAuth_Call struct {
	*mock.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 (*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

type MockAPI_UpdateUserCustomStatus_Call

type MockAPI_UpdateUserCustomStatus_Call struct {
	*mock.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 (*MockAPI_UpdateUserCustomStatus_Call) Run

func (*MockAPI_UpdateUserCustomStatus_Call) RunAndReturn

type MockAPI_UpdateUserStatus_Call

type MockAPI_UpdateUserStatus_Call struct {
	*mock.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 (*MockAPI_UpdateUserStatus_Call) Run

func (_c *MockAPI_UpdateUserStatus_Call) Run(run func(userID string, status string)) *MockAPI_UpdateUserStatus_Call

func (*MockAPI_UpdateUserStatus_Call) RunAndReturn

type MockAPI_UpdateUser_Call

type MockAPI_UpdateUser_Call struct {
	*mock.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 (*MockAPI_UpdateUser_Call) Run

func (_c *MockAPI_UpdateUser_Call) Run(run func(user *model.User)) *MockAPI_UpdateUser_Call

func (*MockAPI_UpdateUser_Call) RunAndReturn

type MockAPI_UploadData_Call

type MockAPI_UploadData_Call struct {
	*mock.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 (*MockAPI_UploadData_Call) Run

func (*MockAPI_UploadData_Call) RunAndReturn

type MockAPI_UploadFile_Call

type MockAPI_UploadFile_Call struct {
	*mock.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 (*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

type MockDriver

type MockDriver struct {
	mock.Mock
}

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

func (_m *MockDriver) RowsColumnTypePrecisionScale(rowsID string, index int) (int64, int64, bool)

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

func (_m *MockDriver) Tx(connID string, opts driver.TxOptions) (string, error)

Tx provides a mock function with given fields: connID, opts

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

type MockDriver_ConnClose_Call struct {
	*mock.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 (*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

type MockDriver_ConnExec_Call struct {
	*mock.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 (*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

type MockDriver_ConnPing_Call

type MockDriver_ConnPing_Call struct {
	*mock.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 (*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

type MockDriver_ConnQuery_Call struct {
	*mock.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 (*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

type MockDriver_Conn_Call

type MockDriver_Conn_Call struct {
	*mock.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

type MockDriver_RowsClose_Call struct {
	*mock.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 (*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

type MockDriver_RowsColumnTypeDatabaseTypeName_Call struct {
	*mock.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 (*MockDriver_RowsColumnTypeDatabaseTypeName_Call) Run

func (*MockDriver_RowsColumnTypeDatabaseTypeName_Call) RunAndReturn

type MockDriver_RowsColumnTypePrecisionScale_Call

type MockDriver_RowsColumnTypePrecisionScale_Call struct {
	*mock.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 (*MockDriver_RowsColumnTypePrecisionScale_Call) Run

func (*MockDriver_RowsColumnTypePrecisionScale_Call) RunAndReturn

type MockDriver_RowsColumns_Call

type MockDriver_RowsColumns_Call struct {
	*mock.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 (*MockDriver_RowsColumns_Call) Run

func (*MockDriver_RowsColumns_Call) RunAndReturn

type MockDriver_RowsHasNextResultSet_Call

type MockDriver_RowsHasNextResultSet_Call struct {
	*mock.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 (*MockDriver_RowsHasNextResultSet_Call) Run

func (*MockDriver_RowsHasNextResultSet_Call) RunAndReturn

type MockDriver_RowsNextResultSet_Call

type MockDriver_RowsNextResultSet_Call struct {
	*mock.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 (*MockDriver_RowsNextResultSet_Call) Run

func (*MockDriver_RowsNextResultSet_Call) RunAndReturn

type MockDriver_RowsNext_Call

type MockDriver_RowsNext_Call struct {
	*mock.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 (*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

type MockDriver_StmtClose_Call

type MockDriver_StmtClose_Call struct {
	*mock.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 (*MockDriver_StmtClose_Call) Run

func (*MockDriver_StmtClose_Call) RunAndReturn

func (_c *MockDriver_StmtClose_Call) RunAndReturn(run func(string) error) *MockDriver_StmtClose_Call

type MockDriver_StmtExec_Call

type MockDriver_StmtExec_Call struct {
	*mock.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 (*MockDriver_StmtExec_Call) Run

func (*MockDriver_StmtExec_Call) RunAndReturn

type MockDriver_StmtNumInput_Call

type MockDriver_StmtNumInput_Call struct {
	*mock.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 (*MockDriver_StmtNumInput_Call) Run

func (*MockDriver_StmtNumInput_Call) RunAndReturn

type MockDriver_StmtQuery_Call

type MockDriver_StmtQuery_Call struct {
	*mock.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 (*MockDriver_StmtQuery_Call) Run

func (*MockDriver_StmtQuery_Call) RunAndReturn

type MockDriver_Stmt_Call

type MockDriver_Stmt_Call struct {
	*mock.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

type MockDriver_TxCommit_Call struct {
	*mock.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 (*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

type MockDriver_TxRollback_Call struct {
	*mock.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 (*MockDriver_TxRollback_Call) Run

func (*MockDriver_TxRollback_Call) RunAndReturn

type MockDriver_Tx_Call

type MockDriver_Tx_Call struct {
	*mock.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

Jump to

Keyboard shortcuts

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