mocks

package
v5.28.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 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 added in v5.26.0

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

DeleteChannelPosts provides a mock function with given fields: channelID

func (*SearchEngineInterface) DeletePost

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

DeletePost provides a mock function with given fields: post

func (*SearchEngineInterface) DeleteUser

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

DeleteUser provides a mock function with given fields: user

func (*SearchEngineInterface) DeleteUserPosts added in v5.26.0

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

DeleteUserPosts provides a mock function with given fields: userID

func (*SearchEngineInterface) GetName

func (_m *SearchEngineInterface) GetName() string

GetName 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) *model.AppError

IndexChannel provides a mock function with given fields: channel

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 added in v5.24.0

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 added in v5.24.0

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

RefreshIndexes provides a mock function with given fields:

func (*SearchEngineInterface) SearchChannels

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

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

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