Back to godoc.org

Package mock_repo

v0.0.0-...-ffd16d0
Latest Go to latest

The latest major version is .

Published: Jul 8, 2020 | License: LGPL-3.0 | Module: github.com/urandom/readeef

Overview

Package mock_repo is a generated GoMock package.

Package mock_repo is a generated GoMock package.

Package mock_repo is a generated GoMock package.

Package mock_repo is a generated GoMock package.

Package mock_repo is a generated GoMock package.

Package mock_repo is a generated GoMock package.

Package mock_repo is a generated GoMock package.

Package mock_repo is a generated GoMock package.

Package mock_repo is a generated GoMock package.

Index

type MockArticle

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

MockArticle is a mock of Article interface

func NewMockArticle

func NewMockArticle(ctrl *gomock.Controller) *MockArticle

NewMockArticle creates a new mock instance

func (*MockArticle) All

func (m *MockArticle) All(arg0 ...content.QueryOpt) ([]content.Article, error)

All mocks base method

func (*MockArticle) Count

func (m *MockArticle) Count(arg0 content.User, arg1 ...content.QueryOpt) (int64, error)

Count mocks base method

func (*MockArticle) EXPECT

func (m *MockArticle) EXPECT() *MockArticleMockRecorder

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

func (*MockArticle) Favor

func (m *MockArticle) Favor(arg0 bool, arg1 content.User, arg2 ...content.QueryOpt) error

Favor mocks base method

func (*MockArticle) ForUser

func (m *MockArticle) ForUser(arg0 content.User, arg1 ...content.QueryOpt) ([]content.Article, error)

ForUser mocks base method

func (*MockArticle) IDs

func (m *MockArticle) IDs(arg0 content.User, arg1 ...content.QueryOpt) ([]content.ArticleID, error)

IDs mocks base method

func (*MockArticle) Read

func (m *MockArticle) Read(arg0 bool, arg1 content.User, arg2 ...content.QueryOpt) error

Read mocks base method

func (*MockArticle) RemoveStaleUnreadRecords

func (m *MockArticle) RemoveStaleUnreadRecords() error

RemoveStaleUnreadRecords mocks base method

type MockArticleMockRecorder

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

MockArticleMockRecorder is the mock recorder for MockArticle

func (*MockArticleMockRecorder) All

func (mr *MockArticleMockRecorder) All(arg0 ...interface{}) *gomock.Call

All indicates an expected call of All

func (*MockArticleMockRecorder) Count

func (mr *MockArticleMockRecorder) Count(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Count indicates an expected call of Count

func (*MockArticleMockRecorder) Favor

func (mr *MockArticleMockRecorder) Favor(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Favor indicates an expected call of Favor

func (*MockArticleMockRecorder) ForUser

func (mr *MockArticleMockRecorder) ForUser(arg0 interface{}, arg1 ...interface{}) *gomock.Call

ForUser indicates an expected call of ForUser

func (*MockArticleMockRecorder) IDs

func (mr *MockArticleMockRecorder) IDs(arg0 interface{}, arg1 ...interface{}) *gomock.Call

IDs indicates an expected call of IDs

func (*MockArticleMockRecorder) Read

func (mr *MockArticleMockRecorder) Read(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Read indicates an expected call of Read

func (*MockArticleMockRecorder) RemoveStaleUnreadRecords

func (mr *MockArticleMockRecorder) RemoveStaleUnreadRecords() *gomock.Call

RemoveStaleUnreadRecords indicates an expected call of RemoveStaleUnreadRecords

type MockExtract

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

MockExtract is a mock of Extract interface

func NewMockExtract

func NewMockExtract(ctrl *gomock.Controller) *MockExtract

NewMockExtract creates a new mock instance

func (*MockExtract) EXPECT

func (m *MockExtract) EXPECT() *MockExtractMockRecorder

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

func (*MockExtract) Get

func (m *MockExtract) Get(arg0 content.Article) (content.Extract, error)

Get mocks base method

func (*MockExtract) Update

func (m *MockExtract) Update(arg0 content.Extract) error

Update mocks base method

type MockExtractMockRecorder

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

MockExtractMockRecorder is the mock recorder for MockExtract

func (*MockExtractMockRecorder) Get

func (mr *MockExtractMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockExtractMockRecorder) Update

func (mr *MockExtractMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockFeed

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

MockFeed is a mock of Feed interface

func NewMockFeed

func NewMockFeed(ctrl *gomock.Controller) *MockFeed

NewMockFeed creates a new mock instance

func (*MockFeed) All

func (m *MockFeed) All() ([]content.Feed, error)

All mocks base method

func (*MockFeed) AttachTo

func (m *MockFeed) AttachTo(arg0 content.Feed, arg1 content.User) error

AttachTo mocks base method

func (*MockFeed) Delete

func (m *MockFeed) Delete(arg0 content.Feed) error

Delete mocks base method

func (*MockFeed) DetachFrom

func (m *MockFeed) DetachFrom(arg0 content.Feed, arg1 content.User) error

DetachFrom mocks base method

func (*MockFeed) EXPECT

func (m *MockFeed) EXPECT() *MockFeedMockRecorder

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

func (m *MockFeed) FindByLink(arg0 string) (content.Feed, error)

FindByLink mocks base method

func (*MockFeed) ForTag

func (m *MockFeed) ForTag(arg0 content.Tag, arg1 content.User) ([]content.Feed, error)

ForTag mocks base method

func (*MockFeed) ForUser

func (m *MockFeed) ForUser(arg0 content.User) ([]content.Feed, error)

ForUser mocks base method

func (*MockFeed) Get

func (m *MockFeed) Get(arg0 content.FeedID, arg1 content.User) (content.Feed, error)

Get mocks base method

func (*MockFeed) IDs

func (m *MockFeed) IDs() ([]content.FeedID, error)

IDs mocks base method

func (*MockFeed) SetUserTags

func (m *MockFeed) SetUserTags(arg0 content.Feed, arg1 content.User, arg2 []*content.Tag) error

SetUserTags mocks base method

func (*MockFeed) Unsubscribed

func (m *MockFeed) Unsubscribed() ([]content.Feed, error)

Unsubscribed mocks base method

func (*MockFeed) Update

func (m *MockFeed) Update(arg0 *content.Feed) ([]content.Article, error)

Update mocks base method

func (*MockFeed) Users

func (m *MockFeed) Users(arg0 content.Feed) ([]content.User, error)

Users mocks base method

type MockFeedMockRecorder

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

MockFeedMockRecorder is the mock recorder for MockFeed

func (*MockFeedMockRecorder) All

func (mr *MockFeedMockRecorder) All() *gomock.Call

All indicates an expected call of All

func (*MockFeedMockRecorder) AttachTo

func (mr *MockFeedMockRecorder) AttachTo(arg0, arg1 interface{}) *gomock.Call

AttachTo indicates an expected call of AttachTo

func (*MockFeedMockRecorder) Delete

func (mr *MockFeedMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockFeedMockRecorder) DetachFrom

func (mr *MockFeedMockRecorder) DetachFrom(arg0, arg1 interface{}) *gomock.Call

DetachFrom indicates an expected call of DetachFrom

func (mr *MockFeedMockRecorder) FindByLink(arg0 interface{}) *gomock.Call

FindByLink indicates an expected call of FindByLink

func (*MockFeedMockRecorder) ForTag

func (mr *MockFeedMockRecorder) ForTag(arg0, arg1 interface{}) *gomock.Call

ForTag indicates an expected call of ForTag

func (*MockFeedMockRecorder) ForUser

func (mr *MockFeedMockRecorder) ForUser(arg0 interface{}) *gomock.Call

ForUser indicates an expected call of ForUser

func (*MockFeedMockRecorder) Get

func (mr *MockFeedMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockFeedMockRecorder) IDs

func (mr *MockFeedMockRecorder) IDs() *gomock.Call

IDs indicates an expected call of IDs

func (*MockFeedMockRecorder) SetUserTags

func (mr *MockFeedMockRecorder) SetUserTags(arg0, arg1, arg2 interface{}) *gomock.Call

SetUserTags indicates an expected call of SetUserTags

func (*MockFeedMockRecorder) Unsubscribed

func (mr *MockFeedMockRecorder) Unsubscribed() *gomock.Call

Unsubscribed indicates an expected call of Unsubscribed

func (*MockFeedMockRecorder) Update

func (mr *MockFeedMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update

func (*MockFeedMockRecorder) Users

func (mr *MockFeedMockRecorder) Users(arg0 interface{}) *gomock.Call

Users indicates an expected call of Users

type MockScores

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

MockScores is a mock of Scores interface

func NewMockScores

func NewMockScores(ctrl *gomock.Controller) *MockScores

NewMockScores creates a new mock instance

func (*MockScores) EXPECT

func (m *MockScores) EXPECT() *MockScoresMockRecorder

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

func (*MockScores) Get

func (m *MockScores) Get(arg0 content.Article) (content.Scores, error)

Get mocks base method

func (*MockScores) Update

func (m *MockScores) Update(arg0 content.Scores) error

Update mocks base method

type MockScoresMockRecorder

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

MockScoresMockRecorder is the mock recorder for MockScores

func (*MockScoresMockRecorder) Get

func (mr *MockScoresMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockScoresMockRecorder) Update

func (mr *MockScoresMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockService

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

MockService is a mock of Service interface

func NewMockService

func NewMockService(ctrl *gomock.Controller) *MockService

NewMockService creates a new mock instance

func (*MockService) ArticleRepo

func (m *MockService) ArticleRepo() repo.Article

ArticleRepo mocks base method

func (*MockService) EXPECT

func (m *MockService) EXPECT() *MockServiceMockRecorder

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

func (*MockService) ExtractRepo

func (m *MockService) ExtractRepo() repo.Extract

ExtractRepo mocks base method

func (*MockService) FeedRepo

func (m *MockService) FeedRepo() repo.Feed

FeedRepo mocks base method

func (*MockService) ScoresRepo

func (m *MockService) ScoresRepo() repo.Scores

ScoresRepo mocks base method

func (*MockService) SubscriptionRepo

func (m *MockService) SubscriptionRepo() repo.Subscription

SubscriptionRepo mocks base method

func (*MockService) TagRepo

func (m *MockService) TagRepo() repo.Tag

TagRepo mocks base method

func (*MockService) ThumbnailRepo

func (m *MockService) ThumbnailRepo() repo.Thumbnail

ThumbnailRepo mocks base method

func (*MockService) UserRepo

func (m *MockService) UserRepo() repo.User

UserRepo mocks base method

type MockServiceMockRecorder

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

MockServiceMockRecorder is the mock recorder for MockService

func (*MockServiceMockRecorder) ArticleRepo

func (mr *MockServiceMockRecorder) ArticleRepo() *gomock.Call

ArticleRepo indicates an expected call of ArticleRepo

func (*MockServiceMockRecorder) ExtractRepo

func (mr *MockServiceMockRecorder) ExtractRepo() *gomock.Call

ExtractRepo indicates an expected call of ExtractRepo

func (*MockServiceMockRecorder) FeedRepo

func (mr *MockServiceMockRecorder) FeedRepo() *gomock.Call

FeedRepo indicates an expected call of FeedRepo

func (*MockServiceMockRecorder) ScoresRepo

func (mr *MockServiceMockRecorder) ScoresRepo() *gomock.Call

ScoresRepo indicates an expected call of ScoresRepo

func (*MockServiceMockRecorder) SubscriptionRepo

func (mr *MockServiceMockRecorder) SubscriptionRepo() *gomock.Call

SubscriptionRepo indicates an expected call of SubscriptionRepo

func (*MockServiceMockRecorder) TagRepo

func (mr *MockServiceMockRecorder) TagRepo() *gomock.Call

TagRepo indicates an expected call of TagRepo

func (*MockServiceMockRecorder) ThumbnailRepo

func (mr *MockServiceMockRecorder) ThumbnailRepo() *gomock.Call

ThumbnailRepo indicates an expected call of ThumbnailRepo

func (*MockServiceMockRecorder) UserRepo

func (mr *MockServiceMockRecorder) UserRepo() *gomock.Call

UserRepo indicates an expected call of UserRepo

type MockSubscription

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

MockSubscription is a mock of Subscription interface

func NewMockSubscription

func NewMockSubscription(ctrl *gomock.Controller) *MockSubscription

NewMockSubscription creates a new mock instance

func (*MockSubscription) All

func (m *MockSubscription) All() ([]content.Subscription, error)

All mocks base method

func (*MockSubscription) EXPECT

func (m *MockSubscription) EXPECT() *MockSubscriptionMockRecorder

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

func (*MockSubscription) Get

func (m *MockSubscription) Get(arg0 content.Feed) (content.Subscription, error)

Get mocks base method

func (*MockSubscription) Update

func (m *MockSubscription) Update(arg0 content.Subscription) error

Update mocks base method

type MockSubscriptionMockRecorder

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

MockSubscriptionMockRecorder is the mock recorder for MockSubscription

func (*MockSubscriptionMockRecorder) All

func (mr *MockSubscriptionMockRecorder) All() *gomock.Call

All indicates an expected call of All

func (*MockSubscriptionMockRecorder) Get

func (mr *MockSubscriptionMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockSubscriptionMockRecorder) Update

func (mr *MockSubscriptionMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockTag

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

MockTag is a mock of Tag interface

func NewMockTag

func NewMockTag(ctrl *gomock.Controller) *MockTag

NewMockTag creates a new mock instance

func (*MockTag) EXPECT

func (m *MockTag) EXPECT() *MockTagMockRecorder

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

func (*MockTag) FeedIDs

func (m *MockTag) FeedIDs(arg0 content.Tag, arg1 content.User) ([]content.FeedID, error)

FeedIDs mocks base method

func (*MockTag) ForFeed

func (m *MockTag) ForFeed(arg0 content.Feed, arg1 content.User) ([]content.Tag, error)

ForFeed mocks base method

func (*MockTag) ForUser

func (m *MockTag) ForUser(arg0 content.User) ([]content.Tag, error)

ForUser mocks base method

func (*MockTag) Get

func (m *MockTag) Get(arg0 content.TagID, arg1 content.User) (content.Tag, error)

Get mocks base method

type MockTagMockRecorder

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

MockTagMockRecorder is the mock recorder for MockTag

func (*MockTagMockRecorder) FeedIDs

func (mr *MockTagMockRecorder) FeedIDs(arg0, arg1 interface{}) *gomock.Call

FeedIDs indicates an expected call of FeedIDs

func (*MockTagMockRecorder) ForFeed

func (mr *MockTagMockRecorder) ForFeed(arg0, arg1 interface{}) *gomock.Call

ForFeed indicates an expected call of ForFeed

func (*MockTagMockRecorder) ForUser

func (mr *MockTagMockRecorder) ForUser(arg0 interface{}) *gomock.Call

ForUser indicates an expected call of ForUser

func (*MockTagMockRecorder) Get

func (mr *MockTagMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get

type MockThumbnail

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

MockThumbnail is a mock of Thumbnail interface

func NewMockThumbnail

func NewMockThumbnail(ctrl *gomock.Controller) *MockThumbnail

NewMockThumbnail creates a new mock instance

func (*MockThumbnail) EXPECT

func (m *MockThumbnail) EXPECT() *MockThumbnailMockRecorder

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

func (*MockThumbnail) Get

func (m *MockThumbnail) Get(arg0 content.Article) (content.Thumbnail, error)

Get mocks base method

func (*MockThumbnail) Update

func (m *MockThumbnail) Update(arg0 content.Thumbnail) error

Update mocks base method

type MockThumbnailMockRecorder

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

MockThumbnailMockRecorder is the mock recorder for MockThumbnail

func (*MockThumbnailMockRecorder) Get

func (mr *MockThumbnailMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockThumbnailMockRecorder) Update

func (mr *MockThumbnailMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockUser

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

MockUser is a mock of User interface

func NewMockUser

func NewMockUser(ctrl *gomock.Controller) *MockUser

NewMockUser creates a new mock instance

func (*MockUser) All

func (m *MockUser) All() ([]content.User, error)

All mocks base method

func (*MockUser) Delete

func (m *MockUser) Delete(arg0 content.User) error

Delete mocks base method

func (*MockUser) EXPECT

func (m *MockUser) EXPECT() *MockUserMockRecorder

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

func (*MockUser) FindByMD5

func (m *MockUser) FindByMD5(arg0 []byte) (content.User, error)

FindByMD5 mocks base method

func (*MockUser) Get

func (m *MockUser) Get(arg0 content.Login) (content.User, error)

Get mocks base method

func (*MockUser) Update

func (m *MockUser) Update(arg0 content.User) error

Update mocks base method

type MockUserMockRecorder

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

MockUserMockRecorder is the mock recorder for MockUser

func (*MockUserMockRecorder) All

func (mr *MockUserMockRecorder) All() *gomock.Call

All indicates an expected call of All

func (*MockUserMockRecorder) Delete

func (mr *MockUserMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockUserMockRecorder) FindByMD5

func (mr *MockUserMockRecorder) FindByMD5(arg0 interface{}) *gomock.Call

FindByMD5 indicates an expected call of FindByMD5

func (*MockUserMockRecorder) Get

func (mr *MockUserMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockUserMockRecorder) Update

func (mr *MockUserMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier