readeef: github.com/urandom/readeef/content/repo/mock_repo Index | Files

package mock_repo

import "github.com/urandom/readeef/content/repo/mock_repo"

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

Package Files

article.go extract.go feed.go scores.go service.go subscription.go tag.go thumbnail.go user.go

type MockArticle Uses

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

MockArticle is a mock of Article interface

func NewMockArticle Uses

func NewMockArticle(ctrl *gomock.Controller) *MockArticle

NewMockArticle creates a new mock instance

func (*MockArticle) All Uses

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

All mocks base method

func (*MockArticle) Count Uses

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

Count mocks base method

func (*MockArticle) EXPECT Uses

func (m *MockArticle) EXPECT() *MockArticleMockRecorder

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

func (*MockArticle) Favor Uses

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

Favor mocks base method

func (*MockArticle) ForUser Uses

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

ForUser mocks base method

func (*MockArticle) IDs Uses

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

IDs mocks base method

func (*MockArticle) Read Uses

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

Read mocks base method

func (*MockArticle) RemoveStaleUnreadRecords Uses

func (m *MockArticle) RemoveStaleUnreadRecords() error

RemoveStaleUnreadRecords mocks base method

type MockArticleMockRecorder Uses

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

MockArticleMockRecorder is the mock recorder for MockArticle

func (*MockArticleMockRecorder) All Uses

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

All indicates an expected call of All

func (*MockArticleMockRecorder) Count Uses

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

Count indicates an expected call of Count

func (*MockArticleMockRecorder) Favor Uses

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

Favor indicates an expected call of Favor

func (*MockArticleMockRecorder) ForUser Uses

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

ForUser indicates an expected call of ForUser

func (*MockArticleMockRecorder) IDs Uses

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

IDs indicates an expected call of IDs

func (*MockArticleMockRecorder) Read Uses

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

Read indicates an expected call of Read

func (*MockArticleMockRecorder) RemoveStaleUnreadRecords Uses

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

RemoveStaleUnreadRecords indicates an expected call of RemoveStaleUnreadRecords

type MockExtract Uses

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

MockExtract is a mock of Extract interface

func NewMockExtract Uses

func NewMockExtract(ctrl *gomock.Controller) *MockExtract

NewMockExtract creates a new mock instance

func (*MockExtract) EXPECT Uses

func (m *MockExtract) EXPECT() *MockExtractMockRecorder

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

func (*MockExtract) Get Uses

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

Get mocks base method

func (*MockExtract) Update Uses

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

Update mocks base method

type MockExtractMockRecorder Uses

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

MockExtractMockRecorder is the mock recorder for MockExtract

func (*MockExtractMockRecorder) Get Uses

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

Get indicates an expected call of Get

func (*MockExtractMockRecorder) Update Uses

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

Update indicates an expected call of Update

type MockFeed Uses

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

MockFeed is a mock of Feed interface

func NewMockFeed Uses

func NewMockFeed(ctrl *gomock.Controller) *MockFeed

NewMockFeed creates a new mock instance

func (*MockFeed) All Uses

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

All mocks base method

func (*MockFeed) AttachTo Uses

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

AttachTo mocks base method

func (*MockFeed) Delete Uses

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

Delete mocks base method

func (*MockFeed) DetachFrom Uses

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

DetachFrom mocks base method

func (*MockFeed) EXPECT Uses

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 Uses

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

ForTag mocks base method

func (*MockFeed) ForUser Uses

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

ForUser mocks base method

func (*MockFeed) Get Uses

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

Get mocks base method

func (*MockFeed) IDs Uses

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

IDs mocks base method

func (*MockFeed) SetUserTags Uses

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

SetUserTags mocks base method

func (*MockFeed) Unsubscribed Uses

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

Unsubscribed mocks base method

func (*MockFeed) Update Uses

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

Update mocks base method

func (*MockFeed) Users Uses

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

Users mocks base method

type MockFeedMockRecorder Uses

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

MockFeedMockRecorder is the mock recorder for MockFeed

func (*MockFeedMockRecorder) All Uses

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

All indicates an expected call of All

func (*MockFeedMockRecorder) AttachTo Uses

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

AttachTo indicates an expected call of AttachTo

func (*MockFeedMockRecorder) Delete Uses

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

Delete indicates an expected call of Delete

func (*MockFeedMockRecorder) DetachFrom Uses

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 Uses

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

ForTag indicates an expected call of ForTag

func (*MockFeedMockRecorder) ForUser Uses

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

ForUser indicates an expected call of ForUser

func (*MockFeedMockRecorder) Get Uses

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

Get indicates an expected call of Get

func (*MockFeedMockRecorder) IDs Uses

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

IDs indicates an expected call of IDs

func (*MockFeedMockRecorder) SetUserTags Uses

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

SetUserTags indicates an expected call of SetUserTags

func (*MockFeedMockRecorder) Unsubscribed Uses

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

Unsubscribed indicates an expected call of Unsubscribed

func (*MockFeedMockRecorder) Update Uses

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

Update indicates an expected call of Update

func (*MockFeedMockRecorder) Users Uses

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

Users indicates an expected call of Users

type MockScores Uses

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

MockScores is a mock of Scores interface

func NewMockScores Uses

func NewMockScores(ctrl *gomock.Controller) *MockScores

NewMockScores creates a new mock instance

func (*MockScores) EXPECT Uses

func (m *MockScores) EXPECT() *MockScoresMockRecorder

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

func (*MockScores) Get Uses

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

Get mocks base method

func (*MockScores) Update Uses

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

Update mocks base method

type MockScoresMockRecorder Uses

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

MockScoresMockRecorder is the mock recorder for MockScores

func (*MockScoresMockRecorder) Get Uses

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

Get indicates an expected call of Get

func (*MockScoresMockRecorder) Update Uses

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

Update indicates an expected call of Update

type MockService Uses

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

MockService is a mock of Service interface

func NewMockService Uses

func NewMockService(ctrl *gomock.Controller) *MockService

NewMockService creates a new mock instance

func (*MockService) ArticleRepo Uses

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

ArticleRepo mocks base method

func (*MockService) EXPECT Uses

func (m *MockService) EXPECT() *MockServiceMockRecorder

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

func (*MockService) ExtractRepo Uses

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

ExtractRepo mocks base method

func (*MockService) FeedRepo Uses

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

FeedRepo mocks base method

func (*MockService) ScoresRepo Uses

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

ScoresRepo mocks base method

func (*MockService) SubscriptionRepo Uses

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

SubscriptionRepo mocks base method

func (*MockService) TagRepo Uses

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

TagRepo mocks base method

func (*MockService) ThumbnailRepo Uses

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

ThumbnailRepo mocks base method

func (*MockService) UserRepo Uses

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

UserRepo mocks base method

type MockServiceMockRecorder Uses

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

MockServiceMockRecorder is the mock recorder for MockService

func (*MockServiceMockRecorder) ArticleRepo Uses

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

ArticleRepo indicates an expected call of ArticleRepo

func (*MockServiceMockRecorder) ExtractRepo Uses

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

ExtractRepo indicates an expected call of ExtractRepo

func (*MockServiceMockRecorder) FeedRepo Uses

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

FeedRepo indicates an expected call of FeedRepo

func (*MockServiceMockRecorder) ScoresRepo Uses

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

ScoresRepo indicates an expected call of ScoresRepo

func (*MockServiceMockRecorder) SubscriptionRepo Uses

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

SubscriptionRepo indicates an expected call of SubscriptionRepo

func (*MockServiceMockRecorder) TagRepo Uses

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

TagRepo indicates an expected call of TagRepo

func (*MockServiceMockRecorder) ThumbnailRepo Uses

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

ThumbnailRepo indicates an expected call of ThumbnailRepo

func (*MockServiceMockRecorder) UserRepo Uses

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

UserRepo indicates an expected call of UserRepo

type MockSubscription Uses

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

MockSubscription is a mock of Subscription interface

func NewMockSubscription Uses

func NewMockSubscription(ctrl *gomock.Controller) *MockSubscription

NewMockSubscription creates a new mock instance

func (*MockSubscription) All Uses

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

All mocks base method

func (*MockSubscription) EXPECT Uses

func (m *MockSubscription) EXPECT() *MockSubscriptionMockRecorder

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

func (*MockSubscription) Get Uses

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

Get mocks base method

func (*MockSubscription) Update Uses

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

Update mocks base method

type MockSubscriptionMockRecorder Uses

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

MockSubscriptionMockRecorder is the mock recorder for MockSubscription

func (*MockSubscriptionMockRecorder) All Uses

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

All indicates an expected call of All

func (*MockSubscriptionMockRecorder) Get Uses

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

Get indicates an expected call of Get

func (*MockSubscriptionMockRecorder) Update Uses

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

Update indicates an expected call of Update

type MockTag Uses

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

MockTag is a mock of Tag interface

func NewMockTag Uses

func NewMockTag(ctrl *gomock.Controller) *MockTag

NewMockTag creates a new mock instance

func (*MockTag) EXPECT Uses

func (m *MockTag) EXPECT() *MockTagMockRecorder

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

func (*MockTag) FeedIDs Uses

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

FeedIDs mocks base method

func (*MockTag) ForFeed Uses

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

ForFeed mocks base method

func (*MockTag) ForUser Uses

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

ForUser mocks base method

func (*MockTag) Get Uses

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

Get mocks base method

type MockTagMockRecorder Uses

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

MockTagMockRecorder is the mock recorder for MockTag

func (*MockTagMockRecorder) FeedIDs Uses

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

FeedIDs indicates an expected call of FeedIDs

func (*MockTagMockRecorder) ForFeed Uses

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

ForFeed indicates an expected call of ForFeed

func (*MockTagMockRecorder) ForUser Uses

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

ForUser indicates an expected call of ForUser

func (*MockTagMockRecorder) Get Uses

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

Get indicates an expected call of Get

type MockThumbnail Uses

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

MockThumbnail is a mock of Thumbnail interface

func NewMockThumbnail Uses

func NewMockThumbnail(ctrl *gomock.Controller) *MockThumbnail

NewMockThumbnail creates a new mock instance

func (*MockThumbnail) EXPECT Uses

func (m *MockThumbnail) EXPECT() *MockThumbnailMockRecorder

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

func (*MockThumbnail) Get Uses

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

Get mocks base method

func (*MockThumbnail) Update Uses

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

Update mocks base method

type MockThumbnailMockRecorder Uses

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

MockThumbnailMockRecorder is the mock recorder for MockThumbnail

func (*MockThumbnailMockRecorder) Get Uses

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

Get indicates an expected call of Get

func (*MockThumbnailMockRecorder) Update Uses

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

Update indicates an expected call of Update

type MockUser Uses

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

MockUser is a mock of User interface

func NewMockUser Uses

func NewMockUser(ctrl *gomock.Controller) *MockUser

NewMockUser creates a new mock instance

func (*MockUser) All Uses

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

All mocks base method

func (*MockUser) Delete Uses

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

Delete mocks base method

func (*MockUser) EXPECT Uses

func (m *MockUser) EXPECT() *MockUserMockRecorder

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

func (*MockUser) FindByMD5 Uses

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

FindByMD5 mocks base method

func (*MockUser) Get Uses

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

Get mocks base method

func (*MockUser) Update Uses

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

Update mocks base method

type MockUserMockRecorder Uses

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

MockUserMockRecorder is the mock recorder for MockUser

func (*MockUserMockRecorder) All Uses

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

All indicates an expected call of All

func (*MockUserMockRecorder) Delete Uses

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

Delete indicates an expected call of Delete

func (*MockUserMockRecorder) FindByMD5 Uses

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

FindByMD5 indicates an expected call of FindByMD5

func (*MockUserMockRecorder) Get Uses

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

Get indicates an expected call of Get

func (*MockUserMockRecorder) Update Uses

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

Update indicates an expected call of Update

Package mock_repo imports 4 packages (graph). Updated 2017-12-09. Refresh now. Tools for package owners.