mocks

package
v0.0.0-...-9f76edf Latest Latest
Warning

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

Go to latest
Published: May 6, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAuthenticator

type MockAuthenticator struct {
	// contains filtered or unexported fields
}

MockAuthenticator is a mock of Authenticator interface.

func NewMockAuthenticator

func NewMockAuthenticator(ctrl *gomock.Controller) *MockAuthenticator

NewMockAuthenticator creates a new mock instance.

func (*MockAuthenticator) CompleteUserAuth

func (m *MockAuthenticator) CompleteUserAuth(provider string, w http.ResponseWriter, r *http.Request) (goth.User, error)

CompleteUserAuth mocks base method.

func (*MockAuthenticator) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAuthenticator) GetLoginUser

func (m *MockAuthenticator) GetLoginUser(r *http.Request) (goth.User, error)

GetLoginUser mocks base method.

func (*MockAuthenticator) InitProvider

func (m *MockAuthenticator) InitProvider(provider, callback, consumerKey, consumerSecret string)

InitProvider mocks base method.

func (*MockAuthenticator) Login

Login mocks base method.

func (*MockAuthenticator) Logout

Logout mocks base method.

func (*MockAuthenticator) SetProvider

func (m *MockAuthenticator) SetProvider(name string, r *http.Request)

SetProvider mocks base method.

type MockAuthenticatorMockRecorder

type MockAuthenticatorMockRecorder struct {
	// contains filtered or unexported fields
}

MockAuthenticatorMockRecorder is the mock recorder for MockAuthenticator.

func (*MockAuthenticatorMockRecorder) CompleteUserAuth

func (mr *MockAuthenticatorMockRecorder) CompleteUserAuth(provider, w, r interface{}) *gomock.Call

CompleteUserAuth indicates an expected call of CompleteUserAuth.

func (*MockAuthenticatorMockRecorder) GetLoginUser

func (mr *MockAuthenticatorMockRecorder) GetLoginUser(r interface{}) *gomock.Call

GetLoginUser indicates an expected call of GetLoginUser.

func (*MockAuthenticatorMockRecorder) InitProvider

func (mr *MockAuthenticatorMockRecorder) InitProvider(provider, callback, consumerKey, consumerSecret interface{}) *gomock.Call

InitProvider indicates an expected call of InitProvider.

func (*MockAuthenticatorMockRecorder) Login

func (mr *MockAuthenticatorMockRecorder) Login(user, w, r interface{}) *gomock.Call

Login indicates an expected call of Login.

func (*MockAuthenticatorMockRecorder) Logout

func (mr *MockAuthenticatorMockRecorder) Logout(w, r interface{}) *gomock.Call

Logout indicates an expected call of Logout.

func (*MockAuthenticatorMockRecorder) SetProvider

func (mr *MockAuthenticatorMockRecorder) SetProvider(name, r interface{}) *gomock.Call

SetProvider indicates an expected call of SetProvider.

type MockBatchRunner

type MockBatchRunner struct {
	// contains filtered or unexported fields
}

MockBatchRunner is a mock of BatchRunner interface.

func NewMockBatchRunner

func NewMockBatchRunner(ctrl *gomock.Controller) *MockBatchRunner

NewMockBatchRunner creates a new mock instance.

func (*MockBatchRunner) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockBatchRunner) IsAvailable

func (m *MockBatchRunner) IsAvailable() error

IsAvailable mocks base method.

func (*MockBatchRunner) Run

func (m *MockBatchRunner) Run() ([]interface{}, []data.Action, error)

Run mocks base method.

type MockBatchRunnerMockRecorder

type MockBatchRunnerMockRecorder struct {
	// contains filtered or unexported fields
}

MockBatchRunnerMockRecorder is the mock recorder for MockBatchRunner.

func (*MockBatchRunnerMockRecorder) IsAvailable

func (mr *MockBatchRunnerMockRecorder) IsAvailable() *gomock.Call

IsAvailable indicates an expected call of IsAvailable.

func (*MockBatchRunnerMockRecorder) Run

Run indicates an expected call of Run.

type MockCache

type MockCache struct {
	// contains filtered or unexported fields
}

MockCache is a mock of Cache interface.

func NewMockCache

func NewMockCache(ctrl *gomock.Controller) *MockCache

NewMockCache creates a new mock instance.

func (*MockCache) Delete

func (m *MockCache) Delete() error

Delete mocks base method.

func (*MockCache) EXPECT

func (m *MockCache) EXPECT() *MockCacheMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockCache) GetLatestDMID

func (m *MockCache) GetLatestDMID() int64

GetLatestDMID mocks base method.

func (*MockCache) GetLatestFavoriteID

func (m *MockCache) GetLatestFavoriteID(screenName string) int64

GetLatestFavoriteID mocks base method.

func (*MockCache) GetLatestImages

func (m *MockCache) GetLatestImages(num int) []models.ImageCacheData

GetLatestImages mocks base method.

func (*MockCache) GetLatestTweetID

func (m *MockCache) GetLatestTweetID(screenName string) int64

GetLatestTweetID mocks base method.

func (*MockCache) GetTweetAction

func (m *MockCache) GetTweetAction(tweetID int64) data.Action

GetTweetAction mocks base method.

func (*MockCache) Save

func (m *MockCache) Save() error

Save mocks base method.

func (*MockCache) SetImage

func (m *MockCache) SetImage(data models.ImageCacheData)

SetImage mocks base method.

func (*MockCache) SetLatestDMID

func (m *MockCache) SetLatestDMID(id int64)

SetLatestDMID mocks base method.

func (*MockCache) SetLatestFavoriteID

func (m *MockCache) SetLatestFavoriteID(screenName string, id int64)

SetLatestFavoriteID mocks base method.

func (*MockCache) SetLatestTweetID

func (m *MockCache) SetLatestTweetID(screenName string, id int64)

SetLatestTweetID mocks base method.

func (*MockCache) SetTweetAction

func (m *MockCache) SetTweetAction(tweetID int64, action data.Action)

SetTweetAction mocks base method.

type MockCacheMockRecorder

type MockCacheMockRecorder struct {
	// contains filtered or unexported fields
}

MockCacheMockRecorder is the mock recorder for MockCache.

func (*MockCacheMockRecorder) Delete

func (mr *MockCacheMockRecorder) Delete() *gomock.Call

Delete indicates an expected call of Delete.

func (*MockCacheMockRecorder) GetLatestDMID

func (mr *MockCacheMockRecorder) GetLatestDMID() *gomock.Call

GetLatestDMID indicates an expected call of GetLatestDMID.

func (*MockCacheMockRecorder) GetLatestFavoriteID

func (mr *MockCacheMockRecorder) GetLatestFavoriteID(screenName interface{}) *gomock.Call

GetLatestFavoriteID indicates an expected call of GetLatestFavoriteID.

func (*MockCacheMockRecorder) GetLatestImages

func (mr *MockCacheMockRecorder) GetLatestImages(num interface{}) *gomock.Call

GetLatestImages indicates an expected call of GetLatestImages.

func (*MockCacheMockRecorder) GetLatestTweetID

func (mr *MockCacheMockRecorder) GetLatestTweetID(screenName interface{}) *gomock.Call

GetLatestTweetID indicates an expected call of GetLatestTweetID.

func (*MockCacheMockRecorder) GetTweetAction

func (mr *MockCacheMockRecorder) GetTweetAction(tweetID interface{}) *gomock.Call

GetTweetAction indicates an expected call of GetTweetAction.

func (*MockCacheMockRecorder) Save

func (mr *MockCacheMockRecorder) Save() *gomock.Call

Save indicates an expected call of Save.

func (*MockCacheMockRecorder) SetImage

func (mr *MockCacheMockRecorder) SetImage(data interface{}) *gomock.Call

SetImage indicates an expected call of SetImage.

func (*MockCacheMockRecorder) SetLatestDMID

func (mr *MockCacheMockRecorder) SetLatestDMID(id interface{}) *gomock.Call

SetLatestDMID indicates an expected call of SetLatestDMID.

func (*MockCacheMockRecorder) SetLatestFavoriteID

func (mr *MockCacheMockRecorder) SetLatestFavoriteID(screenName, id interface{}) *gomock.Call

SetLatestFavoriteID indicates an expected call of SetLatestFavoriteID.

func (*MockCacheMockRecorder) SetLatestTweetID

func (mr *MockCacheMockRecorder) SetLatestTweetID(screenName, id interface{}) *gomock.Call

SetLatestTweetID indicates an expected call of SetLatestTweetID.

func (*MockCacheMockRecorder) SetTweetAction

func (mr *MockCacheMockRecorder) SetTweetAction(tweetID, action interface{}) *gomock.Call

SetTweetAction indicates an expected call of SetTweetAction.

type MockContext

type MockContext struct {
	// contains filtered or unexported fields
}

MockContext is a mock of Context interface.

func NewMockContext

func NewMockContext(ctrl *gomock.Controller) *MockContext

NewMockContext creates a new mock instance.

func (*MockContext) Bool

func (m *MockContext) Bool(key string) bool

Bool mocks base method.

func (*MockContext) Duration

func (m *MockContext) Duration(key string) time.Duration

Duration mocks base method.

func (*MockContext) EXPECT

func (m *MockContext) EXPECT() *MockContextMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockContext) Int

func (m *MockContext) Int(key string) int

Int mocks base method.

func (*MockContext) String

func (m *MockContext) String(key string) string

String mocks base method.

type MockContextMockRecorder

type MockContextMockRecorder struct {
	// contains filtered or unexported fields
}

MockContextMockRecorder is the mock recorder for MockContext.

func (*MockContextMockRecorder) Bool

func (mr *MockContextMockRecorder) Bool(key interface{}) *gomock.Call

Bool indicates an expected call of Bool.

func (*MockContextMockRecorder) Duration

func (mr *MockContextMockRecorder) Duration(key interface{}) *gomock.Call

Duration indicates an expected call of Duration.

func (*MockContextMockRecorder) Int

func (mr *MockContextMockRecorder) Int(key interface{}) *gomock.Call

Int indicates an expected call of Int.

func (*MockContextMockRecorder) String

func (mr *MockContextMockRecorder) String(key interface{}) *gomock.Call

String indicates an expected call of String.

type MockDeletable

type MockDeletable struct {
	// contains filtered or unexported fields
}

MockDeletable is a mock of Deletable interface.

func NewMockDeletable

func NewMockDeletable(ctrl *gomock.Controller) *MockDeletable

NewMockDeletable creates a new mock instance.

func (*MockDeletable) Delete

func (m *MockDeletable) Delete() error

Delete mocks base method.

func (*MockDeletable) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type MockDeletableMockRecorder

type MockDeletableMockRecorder struct {
	// contains filtered or unexported fields
}

MockDeletableMockRecorder is the mock recorder for MockDeletable.

func (*MockDeletableMockRecorder) Delete

func (mr *MockDeletableMockRecorder) Delete() *gomock.Call

Delete indicates an expected call of Delete.

type MockLanguageMatcher

type MockLanguageMatcher struct {
	// contains filtered or unexported fields
}

MockLanguageMatcher is a mock of LanguageMatcher interface.

func NewMockLanguageMatcher

func NewMockLanguageMatcher(ctrl *gomock.Controller) *MockLanguageMatcher

NewMockLanguageMatcher creates a new mock instance.

func (*MockLanguageMatcher) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLanguageMatcher) Enabled

func (m *MockLanguageMatcher) Enabled() bool

Enabled mocks base method.

func (*MockLanguageMatcher) MatchText

func (m *MockLanguageMatcher) MatchText(arg0 string, arg1 models.LanguageCondition) (string, bool, error)

MatchText mocks base method.

type MockLanguageMatcherMockRecorder

type MockLanguageMatcherMockRecorder struct {
	// contains filtered or unexported fields
}

MockLanguageMatcherMockRecorder is the mock recorder for MockLanguageMatcher.

func (*MockLanguageMatcherMockRecorder) Enabled

Enabled indicates an expected call of Enabled.

func (*MockLanguageMatcherMockRecorder) MatchText

func (mr *MockLanguageMatcherMockRecorder) MatchText(arg0, arg1 interface{}) *gomock.Call

MatchText indicates an expected call of MatchText.

type MockLoadable

type MockLoadable struct {
	// contains filtered or unexported fields
}

MockLoadable is a mock of Loadable interface.

func NewMockLoadable

func NewMockLoadable(ctrl *gomock.Controller) *MockLoadable

NewMockLoadable creates a new mock instance.

func (*MockLoadable) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLoadable) Load

func (m *MockLoadable) Load() error

Load mocks base method.

type MockLoadableMockRecorder

type MockLoadableMockRecorder struct {
	// contains filtered or unexported fields
}

MockLoadableMockRecorder is the mock recorder for MockLoadable.

func (*MockLoadableMockRecorder) Load

func (mr *MockLoadableMockRecorder) Load() *gomock.Call

Load indicates an expected call of Load.

type MockMgoCollection

type MockMgoCollection struct {
	// contains filtered or unexported fields
}

MockMgoCollection is a mock of MgoCollection interface.

func NewMockMgoCollection

func NewMockMgoCollection(ctrl *gomock.Controller) *MockMgoCollection

NewMockMgoCollection creates a new mock instance.

func (*MockMgoCollection) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockMgoCollection) Find

func (m *MockMgoCollection) Find(query interface{}) models.MgoQuery

Find mocks base method.

func (*MockMgoCollection) RemoveAll

func (m *MockMgoCollection) RemoveAll(selector interface{}) (*mgo.ChangeInfo, error)

RemoveAll mocks base method.

func (*MockMgoCollection) Upsert

func (m *MockMgoCollection) Upsert(selector, update interface{}) (*mgo.ChangeInfo, error)

Upsert mocks base method.

type MockMgoCollectionMockRecorder

type MockMgoCollectionMockRecorder struct {
	// contains filtered or unexported fields
}

MockMgoCollectionMockRecorder is the mock recorder for MockMgoCollection.

func (*MockMgoCollectionMockRecorder) Find

func (mr *MockMgoCollectionMockRecorder) Find(query interface{}) *gomock.Call

Find indicates an expected call of Find.

func (*MockMgoCollectionMockRecorder) RemoveAll

func (mr *MockMgoCollectionMockRecorder) RemoveAll(selector interface{}) *gomock.Call

RemoveAll indicates an expected call of RemoveAll.

func (*MockMgoCollectionMockRecorder) Upsert

func (mr *MockMgoCollectionMockRecorder) Upsert(selector, update interface{}) *gomock.Call

Upsert indicates an expected call of Upsert.

type MockMgoQuery

type MockMgoQuery struct {
	// contains filtered or unexported fields
}

MockMgoQuery is a mock of MgoQuery interface.

func NewMockMgoQuery

func NewMockMgoQuery(ctrl *gomock.Controller) *MockMgoQuery

NewMockMgoQuery creates a new mock instance.

func (*MockMgoQuery) Count

func (m *MockMgoQuery) Count() (int, error)

Count mocks base method.

func (*MockMgoQuery) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockMgoQuery) One

func (m *MockMgoQuery) One(result interface{}) error

One mocks base method.

type MockMgoQueryMockRecorder

type MockMgoQueryMockRecorder struct {
	// contains filtered or unexported fields
}

MockMgoQueryMockRecorder is the mock recorder for MockMgoQuery.

func (*MockMgoQueryMockRecorder) Count

func (mr *MockMgoQueryMockRecorder) Count() *gomock.Call

Count indicates an expected call of Count.

func (*MockMgoQueryMockRecorder) One

func (mr *MockMgoQueryMockRecorder) One(result interface{}) *gomock.Call

One indicates an expected call of One.

type MockSavable

type MockSavable struct {
	// contains filtered or unexported fields
}

MockSavable is a mock of Savable interface.

func NewMockSavable

func NewMockSavable(ctrl *gomock.Controller) *MockSavable

NewMockSavable creates a new mock instance.

func (*MockSavable) EXPECT

func (m *MockSavable) EXPECT() *MockSavableMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSavable) Save

func (m *MockSavable) Save() error

Save mocks base method.

type MockSavableMockRecorder

type MockSavableMockRecorder struct {
	// contains filtered or unexported fields
}

MockSavableMockRecorder is the mock recorder for MockSavable.

func (*MockSavableMockRecorder) Save

func (mr *MockSavableMockRecorder) Save() *gomock.Call

Save indicates an expected call of Save.

type MockSlackAPI

type MockSlackAPI struct {
	// contains filtered or unexported fields
}

MockSlackAPI is a mock of SlackAPI interface.

func NewMockSlackAPI

func NewMockSlackAPI(ctrl *gomock.Controller) *MockSlackAPI

NewMockSlackAPI creates a new mock instance.

func (*MockSlackAPI) AddPin

func (m *MockSlackAPI) AddPin(ch, timestamp string) error

AddPin mocks base method.

func (*MockSlackAPI) AddReaction

func (m *MockSlackAPI) AddReaction(ch, timestamp, name string) error

AddReaction mocks base method.

func (*MockSlackAPI) AddStar

func (m *MockSlackAPI) AddStar(ch, timestamp string) error

AddStar mocks base method.

func (*MockSlackAPI) AuthTest

func (m *MockSlackAPI) AuthTest() (*slack.AuthTestResponse, error)

AuthTest mocks base method.

func (*MockSlackAPI) CreateChannel

func (m *MockSlackAPI) CreateChannel(name string) error

CreateChannel mocks base method.

func (*MockSlackAPI) CreateGroup

func (m *MockSlackAPI) CreateGroup(group string) error

CreateGroup mocks base method.

func (*MockSlackAPI) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSlackAPI) GetChannels

func (m *MockSlackAPI) GetChannels(excludeArchived bool) ([]models.Channel, error)

GetChannels mocks base method.

func (*MockSlackAPI) GetGroups

func (m *MockSlackAPI) GetGroups(excludeArchived bool) ([]models.Group, error)

GetGroups mocks base method.

func (*MockSlackAPI) NewRTM

func (m *MockSlackAPI) NewRTM() *slack.RTM

NewRTM mocks base method.

func (*MockSlackAPI) PostMessage

func (m *MockSlackAPI) PostMessage(ch, msg string, opts []slack.MsgOption) error

PostMessage mocks base method.

type MockSlackAPIMockRecorder

type MockSlackAPIMockRecorder struct {
	// contains filtered or unexported fields
}

MockSlackAPIMockRecorder is the mock recorder for MockSlackAPI.

func (*MockSlackAPIMockRecorder) AddPin

func (mr *MockSlackAPIMockRecorder) AddPin(ch, timestamp interface{}) *gomock.Call

AddPin indicates an expected call of AddPin.

func (*MockSlackAPIMockRecorder) AddReaction

func (mr *MockSlackAPIMockRecorder) AddReaction(ch, timestamp, name interface{}) *gomock.Call

AddReaction indicates an expected call of AddReaction.

func (*MockSlackAPIMockRecorder) AddStar

func (mr *MockSlackAPIMockRecorder) AddStar(ch, timestamp interface{}) *gomock.Call

AddStar indicates an expected call of AddStar.

func (*MockSlackAPIMockRecorder) AuthTest

func (mr *MockSlackAPIMockRecorder) AuthTest() *gomock.Call

AuthTest indicates an expected call of AuthTest.

func (*MockSlackAPIMockRecorder) CreateChannel

func (mr *MockSlackAPIMockRecorder) CreateChannel(name interface{}) *gomock.Call

CreateChannel indicates an expected call of CreateChannel.

func (*MockSlackAPIMockRecorder) CreateGroup

func (mr *MockSlackAPIMockRecorder) CreateGroup(group interface{}) *gomock.Call

CreateGroup indicates an expected call of CreateGroup.

func (*MockSlackAPIMockRecorder) GetChannels

func (mr *MockSlackAPIMockRecorder) GetChannels(excludeArchived interface{}) *gomock.Call

GetChannels indicates an expected call of GetChannels.

func (*MockSlackAPIMockRecorder) GetGroups

func (mr *MockSlackAPIMockRecorder) GetGroups(excludeArchived interface{}) *gomock.Call

GetGroups indicates an expected call of GetGroups.

func (*MockSlackAPIMockRecorder) NewRTM

func (mr *MockSlackAPIMockRecorder) NewRTM() *gomock.Call

NewRTM indicates an expected call of NewRTM.

func (*MockSlackAPIMockRecorder) PostMessage

func (mr *MockSlackAPIMockRecorder) PostMessage(ch, msg, opts interface{}) *gomock.Call

PostMessage indicates an expected call of PostMessage.

type MockTwitterAPI

type MockTwitterAPI struct {
	// contains filtered or unexported fields
}

MockTwitterAPI is a mock of TwitterAPI interface.

func NewMockTwitterAPI

func NewMockTwitterAPI(ctrl *gomock.Controller) *MockTwitterAPI

NewMockTwitterAPI creates a new mock instance.

func (*MockTwitterAPI) AddEntryToCollection

func (m *MockTwitterAPI) AddEntryToCollection(arg0 string, arg1 int64, arg2 url.Values) (anaconda.CollectionEntryAddResult, error)

AddEntryToCollection mocks base method.

func (*MockTwitterAPI) CreateCollection

func (m *MockTwitterAPI) CreateCollection(arg0 string, arg1 url.Values) (anaconda.CollectionShowResult, error)

CreateCollection mocks base method.

func (*MockTwitterAPI) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTwitterAPI) Favorite

func (m *MockTwitterAPI) Favorite(arg0 int64) (anaconda.Tweet, error)

Favorite mocks base method.

func (*MockTwitterAPI) GetCollectionListByUserId

func (m *MockTwitterAPI) GetCollectionListByUserId(arg0 int64, arg1 url.Values) (anaconda.CollectionListResult, error)

GetCollectionListByUserId mocks base method.

func (*MockTwitterAPI) GetFavorites

func (m *MockTwitterAPI) GetFavorites(arg0 url.Values) ([]anaconda.Tweet, error)

GetFavorites mocks base method.

func (*MockTwitterAPI) GetFriendsList

func (m *MockTwitterAPI) GetFriendsList(arg0 url.Values) (anaconda.UserCursor, error)

GetFriendsList mocks base method.

func (*MockTwitterAPI) GetSearch

func (m *MockTwitterAPI) GetSearch(arg0 string, arg1 url.Values) (anaconda.SearchResponse, error)

GetSearch mocks base method.

func (*MockTwitterAPI) GetSelf

func (m *MockTwitterAPI) GetSelf(arg0 url.Values) (anaconda.User, error)

GetSelf mocks base method.

func (*MockTwitterAPI) GetUserSearch

func (m *MockTwitterAPI) GetUserSearch(arg0 string, arg1 url.Values) ([]anaconda.User, error)

GetUserSearch mocks base method.

func (*MockTwitterAPI) GetUserTimeline

func (m *MockTwitterAPI) GetUserTimeline(arg0 url.Values) ([]anaconda.Tweet, error)

GetUserTimeline mocks base method.

func (*MockTwitterAPI) GetUsersLookup

func (m *MockTwitterAPI) GetUsersLookup(arg0 string, arg1 url.Values) ([]anaconda.User, error)

GetUsersLookup mocks base method.

func (*MockTwitterAPI) GetUsersShow

func (m *MockTwitterAPI) GetUsersShow(arg0 string, arg1 url.Values) (anaconda.User, error)

GetUsersShow mocks base method.

func (*MockTwitterAPI) PostDMToScreenName

func (m *MockTwitterAPI) PostDMToScreenName(arg0, arg1 string) (anaconda.DirectMessage, error)

PostDMToScreenName mocks base method.

func (*MockTwitterAPI) PostTweet

func (m *MockTwitterAPI) PostTweet(arg0 string, arg1 url.Values) (anaconda.Tweet, error)

PostTweet mocks base method.

func (*MockTwitterAPI) PublicStreamFilter

func (m *MockTwitterAPI) PublicStreamFilter(arg0 url.Values) *anaconda.Stream

PublicStreamFilter mocks base method.

func (*MockTwitterAPI) Retweet

func (m *MockTwitterAPI) Retweet(arg0 int64, arg1 bool) (anaconda.Tweet, error)

Retweet mocks base method.

func (*MockTwitterAPI) UserStream

func (m *MockTwitterAPI) UserStream(arg0 url.Values) *anaconda.Stream

UserStream mocks base method.

func (*MockTwitterAPI) VerifyCredentials

func (m *MockTwitterAPI) VerifyCredentials() (bool, error)

VerifyCredentials mocks base method.

type MockTwitterAPIMockRecorder

type MockTwitterAPIMockRecorder struct {
	// contains filtered or unexported fields
}

MockTwitterAPIMockRecorder is the mock recorder for MockTwitterAPI.

func (*MockTwitterAPIMockRecorder) AddEntryToCollection

func (mr *MockTwitterAPIMockRecorder) AddEntryToCollection(arg0, arg1, arg2 interface{}) *gomock.Call

AddEntryToCollection indicates an expected call of AddEntryToCollection.

func (*MockTwitterAPIMockRecorder) CreateCollection

func (mr *MockTwitterAPIMockRecorder) CreateCollection(arg0, arg1 interface{}) *gomock.Call

CreateCollection indicates an expected call of CreateCollection.

func (*MockTwitterAPIMockRecorder) Favorite

func (mr *MockTwitterAPIMockRecorder) Favorite(arg0 interface{}) *gomock.Call

Favorite indicates an expected call of Favorite.

func (*MockTwitterAPIMockRecorder) GetCollectionListByUserId

func (mr *MockTwitterAPIMockRecorder) GetCollectionListByUserId(arg0, arg1 interface{}) *gomock.Call

GetCollectionListByUserId indicates an expected call of GetCollectionListByUserId.

func (*MockTwitterAPIMockRecorder) GetFavorites

func (mr *MockTwitterAPIMockRecorder) GetFavorites(arg0 interface{}) *gomock.Call

GetFavorites indicates an expected call of GetFavorites.

func (*MockTwitterAPIMockRecorder) GetFriendsList

func (mr *MockTwitterAPIMockRecorder) GetFriendsList(arg0 interface{}) *gomock.Call

GetFriendsList indicates an expected call of GetFriendsList.

func (*MockTwitterAPIMockRecorder) GetSearch

func (mr *MockTwitterAPIMockRecorder) GetSearch(arg0, arg1 interface{}) *gomock.Call

GetSearch indicates an expected call of GetSearch.

func (*MockTwitterAPIMockRecorder) GetSelf

func (mr *MockTwitterAPIMockRecorder) GetSelf(arg0 interface{}) *gomock.Call

GetSelf indicates an expected call of GetSelf.

func (*MockTwitterAPIMockRecorder) GetUserSearch

func (mr *MockTwitterAPIMockRecorder) GetUserSearch(arg0, arg1 interface{}) *gomock.Call

GetUserSearch indicates an expected call of GetUserSearch.

func (*MockTwitterAPIMockRecorder) GetUserTimeline

func (mr *MockTwitterAPIMockRecorder) GetUserTimeline(arg0 interface{}) *gomock.Call

GetUserTimeline indicates an expected call of GetUserTimeline.

func (*MockTwitterAPIMockRecorder) GetUsersLookup

func (mr *MockTwitterAPIMockRecorder) GetUsersLookup(arg0, arg1 interface{}) *gomock.Call

GetUsersLookup indicates an expected call of GetUsersLookup.

func (*MockTwitterAPIMockRecorder) GetUsersShow

func (mr *MockTwitterAPIMockRecorder) GetUsersShow(arg0, arg1 interface{}) *gomock.Call

GetUsersShow indicates an expected call of GetUsersShow.

func (*MockTwitterAPIMockRecorder) PostDMToScreenName

func (mr *MockTwitterAPIMockRecorder) PostDMToScreenName(arg0, arg1 interface{}) *gomock.Call

PostDMToScreenName indicates an expected call of PostDMToScreenName.

func (*MockTwitterAPIMockRecorder) PostTweet

func (mr *MockTwitterAPIMockRecorder) PostTweet(arg0, arg1 interface{}) *gomock.Call

PostTweet indicates an expected call of PostTweet.

func (*MockTwitterAPIMockRecorder) PublicStreamFilter

func (mr *MockTwitterAPIMockRecorder) PublicStreamFilter(arg0 interface{}) *gomock.Call

PublicStreamFilter indicates an expected call of PublicStreamFilter.

func (*MockTwitterAPIMockRecorder) Retweet

func (mr *MockTwitterAPIMockRecorder) Retweet(arg0, arg1 interface{}) *gomock.Call

Retweet indicates an expected call of Retweet.

func (*MockTwitterAPIMockRecorder) UserStream

func (mr *MockTwitterAPIMockRecorder) UserStream(arg0 interface{}) *gomock.Call

UserStream indicates an expected call of UserStream.

func (*MockTwitterAPIMockRecorder) VerifyCredentials

func (mr *MockTwitterAPIMockRecorder) VerifyCredentials() *gomock.Call

VerifyCredentials indicates an expected call of VerifyCredentials.

type MockVisionMatcher

type MockVisionMatcher struct {
	// contains filtered or unexported fields
}

MockVisionMatcher is a mock of VisionMatcher interface.

func NewMockVisionMatcher

func NewMockVisionMatcher(ctrl *gomock.Controller) *MockVisionMatcher

NewMockVisionMatcher creates a new mock instance.

func (*MockVisionMatcher) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockVisionMatcher) Enabled

func (m *MockVisionMatcher) Enabled() bool

Enabled mocks base method.

func (*MockVisionMatcher) MatchImages

func (m *MockVisionMatcher) MatchImages(arg0 []string, arg1 models.VisionCondition, arg2 []models.ImageCacheData) ([]string, []bool, error)

MatchImages mocks base method.

type MockVisionMatcherMockRecorder

type MockVisionMatcherMockRecorder struct {
	// contains filtered or unexported fields
}

MockVisionMatcherMockRecorder is the mock recorder for MockVisionMatcher.

func (*MockVisionMatcherMockRecorder) Enabled

func (mr *MockVisionMatcherMockRecorder) Enabled() *gomock.Call

Enabled indicates an expected call of Enabled.

func (*MockVisionMatcherMockRecorder) MatchImages

func (mr *MockVisionMatcherMockRecorder) MatchImages(arg0, arg1, arg2 interface{}) *gomock.Call

MatchImages indicates an expected call of MatchImages.

type MockWorker

type MockWorker struct {
	// contains filtered or unexported fields
}

MockWorker is a mock of Worker interface.

func NewMockWorker

func NewMockWorker(ctrl *gomock.Controller) *MockWorker

NewMockWorker creates a new mock instance.

func (*MockWorker) EXPECT

func (m *MockWorker) EXPECT() *MockWorkerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockWorker) Name

func (m *MockWorker) Name() string

Name mocks base method.

func (*MockWorker) Start

func (m *MockWorker) Start(ctx context.Context, outChan chan<- interface{}) error

Start mocks base method.

type MockWorkerMockRecorder

type MockWorkerMockRecorder struct {
	// contains filtered or unexported fields
}

MockWorkerMockRecorder is the mock recorder for MockWorker.

func (*MockWorkerMockRecorder) Name

func (mr *MockWorkerMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

func (*MockWorkerMockRecorder) Start

func (mr *MockWorkerMockRecorder) Start(ctx, outChan interface{}) *gomock.Call

Start indicates an expected call of Start.

Jump to

Keyboard shortcuts

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