mocks

package
v6.2.4 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2022 License: AGPL-3.0, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SearchEngineInterface

type SearchEngineInterface struct {
	mock.Mock
}

SearchEngineInterface is an autogenerated mock type for the SearchEngineInterface type

func (*SearchEngineInterface) DataRetentionDeleteIndexes

func (_m *SearchEngineInterface) DataRetentionDeleteIndexes(cutoff time.Time) *model.AppError

DataRetentionDeleteIndexes provides a mock function with given fields: cutoff

func (*SearchEngineInterface) DeleteChannel

func (_m *SearchEngineInterface) DeleteChannel(channel *model.Channel) *model.AppError

DeleteChannel provides a mock function with given fields: channel

func (*SearchEngineInterface) DeleteChannelPosts

func (_m *SearchEngineInterface) DeleteChannelPosts(channelID string) *model.AppError

DeleteChannelPosts provides a mock function with given fields: channelID

func (*SearchEngineInterface) DeleteFile

func (_m *SearchEngineInterface) DeleteFile(fileID string) *model.AppError

DeleteFile provides a mock function with given fields: fileID

func (*SearchEngineInterface) DeleteFilesBatch

func (_m *SearchEngineInterface) DeleteFilesBatch(endTime int64, limit int64) *model.AppError

DeleteFilesBatch provides a mock function with given fields: endTime, limit

func (*SearchEngineInterface) DeletePost

func (_m *SearchEngineInterface) DeletePost(post *model.Post) *model.AppError

DeletePost provides a mock function with given fields: post

func (*SearchEngineInterface) DeletePostFiles

func (_m *SearchEngineInterface) DeletePostFiles(postID string) *model.AppError

DeletePostFiles provides a mock function with given fields: postID

func (*SearchEngineInterface) DeleteUser

func (_m *SearchEngineInterface) DeleteUser(user *model.User) *model.AppError

DeleteUser provides a mock function with given fields: user

func (*SearchEngineInterface) DeleteUserFiles

func (_m *SearchEngineInterface) DeleteUserFiles(userID string) *model.AppError

DeleteUserFiles provides a mock function with given fields: userID

func (*SearchEngineInterface) DeleteUserPosts

func (_m *SearchEngineInterface) DeleteUserPosts(userID string) *model.AppError

DeleteUserPosts provides a mock function with given fields: userID

func (*SearchEngineInterface) GetFullVersion

func (_m *SearchEngineInterface) GetFullVersion() string

GetFullVersion provides a mock function with given fields:

func (*SearchEngineInterface) GetName

func (_m *SearchEngineInterface) GetName() string

GetName provides a mock function with given fields:

func (*SearchEngineInterface) GetPlugins

func (_m *SearchEngineInterface) GetPlugins() []string

GetPlugins provides a mock function with given fields:

func (*SearchEngineInterface) GetVersion

func (_m *SearchEngineInterface) GetVersion() int

GetVersion provides a mock function with given fields:

func (*SearchEngineInterface) IndexChannel

func (_m *SearchEngineInterface) IndexChannel(channel *model.Channel, userIDs []string, teamMemberIDs []string) *model.AppError

IndexChannel provides a mock function with given fields: channel, userIDs, teamMemberIDs

func (*SearchEngineInterface) IndexFile

func (_m *SearchEngineInterface) IndexFile(file *model.FileInfo, channelId string) *model.AppError

IndexFile provides a mock function with given fields: file, channelId

func (*SearchEngineInterface) IndexPost

func (_m *SearchEngineInterface) IndexPost(post *model.Post, teamId string) *model.AppError

IndexPost provides a mock function with given fields: post, teamId

func (*SearchEngineInterface) IndexUser

func (_m *SearchEngineInterface) IndexUser(user *model.User, teamsIds []string, channelsIds []string) *model.AppError

IndexUser provides a mock function with given fields: user, teamsIds, channelsIds

func (*SearchEngineInterface) IsActive

func (_m *SearchEngineInterface) IsActive() bool

IsActive provides a mock function with given fields:

func (*SearchEngineInterface) IsAutocompletionEnabled

func (_m *SearchEngineInterface) IsAutocompletionEnabled() bool

IsAutocompletionEnabled provides a mock function with given fields:

func (*SearchEngineInterface) IsIndexingEnabled

func (_m *SearchEngineInterface) IsIndexingEnabled() bool

IsIndexingEnabled provides a mock function with given fields:

func (*SearchEngineInterface) IsIndexingSync

func (_m *SearchEngineInterface) IsIndexingSync() bool

IsIndexingSync provides a mock function with given fields:

func (*SearchEngineInterface) IsSearchEnabled

func (_m *SearchEngineInterface) IsSearchEnabled() bool

IsSearchEnabled provides a mock function with given fields:

func (*SearchEngineInterface) PurgeIndexes

func (_m *SearchEngineInterface) PurgeIndexes() *model.AppError

PurgeIndexes provides a mock function with given fields:

func (*SearchEngineInterface) RefreshIndexes

func (_m *SearchEngineInterface) RefreshIndexes() *model.AppError

RefreshIndexes provides a mock function with given fields:

func (*SearchEngineInterface) SearchChannels

func (_m *SearchEngineInterface) SearchChannels(teamId string, userID string, term string) ([]string, *model.AppError)

SearchChannels provides a mock function with given fields: teamId, userID, term

func (*SearchEngineInterface) SearchFiles

func (_m *SearchEngineInterface) SearchFiles(channels model.ChannelList, searchParams []*model.SearchParams, page int, perPage int) ([]string, *model.AppError)

SearchFiles provides a mock function with given fields: channels, searchParams, page, perPage

func (*SearchEngineInterface) SearchPosts

func (_m *SearchEngineInterface) SearchPosts(channels model.ChannelList, searchParams []*model.SearchParams, page int, perPage int) ([]string, model.PostSearchMatches, *model.AppError)

SearchPosts provides a mock function with given fields: channels, searchParams, page, perPage

func (*SearchEngineInterface) SearchUsersInChannel

func (_m *SearchEngineInterface) SearchUsersInChannel(teamId string, channelId string, restrictedToChannels []string, term string, options *model.UserSearchOptions) ([]string, []string, *model.AppError)

SearchUsersInChannel provides a mock function with given fields: teamId, channelId, restrictedToChannels, term, options

func (*SearchEngineInterface) SearchUsersInTeam

func (_m *SearchEngineInterface) SearchUsersInTeam(teamId string, restrictedToChannels []string, term string, options *model.UserSearchOptions) ([]string, *model.AppError)

SearchUsersInTeam provides a mock function with given fields: teamId, restrictedToChannels, term, options

func (*SearchEngineInterface) Start

func (_m *SearchEngineInterface) Start() *model.AppError

Start provides a mock function with given fields:

func (*SearchEngineInterface) Stop

func (_m *SearchEngineInterface) Stop() *model.AppError

Stop provides a mock function with given fields:

func (*SearchEngineInterface) TestConfig

func (_m *SearchEngineInterface) TestConfig(cfg *model.Config) *model.AppError

TestConfig provides a mock function with given fields: cfg

func (*SearchEngineInterface) UpdateConfig

func (_m *SearchEngineInterface) UpdateConfig(cfg *model.Config)

UpdateConfig provides a mock function with given fields: cfg

Jump to

Keyboard shortcuts

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