mock_models

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_models is a generated GoMock package.

Package mock_models is a generated GoMock package.

Package mock_models is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEntity

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

MockEntity is a mock of Entity interface.

func NewMockEntity

func NewMockEntity(ctrl *gomock.Controller) *MockEntity

NewMockEntity creates a new mock instance.

func (*MockEntity) EXPECT

func (m *MockEntity) EXPECT() *MockEntityMockRecorder

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

func (*MockEntity) GetID

func (m *MockEntity) GetID() int

GetID mocks base method.

type MockEntityMockRecorder

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

MockEntityMockRecorder is the mock recorder for MockEntity.

func (*MockEntityMockRecorder) GetID

func (mr *MockEntityMockRecorder) GetID() *gomock.Call

GetID indicates an expected call of GetID.

type MockKeywordStorer

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

MockKeywordStorer is a mock of KeywordStorer interface.

func NewMockKeywordStorer

func NewMockKeywordStorer(ctrl *gomock.Controller) *MockKeywordStorer

NewMockKeywordStorer creates a new mock instance.

func (*MockKeywordStorer) AddKeyword

func (m *MockKeywordStorer) AddKeyword(ctx context.Context, k models.Keyword) error

AddKeyword mocks base method.

func (*MockKeywordStorer) CastVote

func (m *MockKeywordStorer) CastVote(ctx context.Context, k models.Keyword) error

CastVote mocks base method.

func (*MockKeywordStorer) EXPECT

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

func (*MockKeywordStorer) GetKeyword

func (m *MockKeywordStorer) GetKeyword(ctx context.Context, mediaID v5.UUID) (models.Keyword, error)

GetKeyword mocks base method.

func (*MockKeywordStorer) GetKeywords

func (m *MockKeywordStorer) GetKeywords(ctx context.Context, mediaID v5.UUID) ([]models.Keyword, error)

GetKeywords mocks base method.

func (*MockKeywordStorer) RemoveVote

func (m *MockKeywordStorer) RemoveVote(ctx context.Context, k models.Keyword) error

RemoveVote mocks base method.

type MockKeywordStorerMockRecorder

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

MockKeywordStorerMockRecorder is the mock recorder for MockKeywordStorer.

func (*MockKeywordStorerMockRecorder) AddKeyword

func (mr *MockKeywordStorerMockRecorder) AddKeyword(ctx, k interface{}) *gomock.Call

AddKeyword indicates an expected call of AddKeyword.

func (*MockKeywordStorerMockRecorder) CastVote

func (mr *MockKeywordStorerMockRecorder) CastVote(ctx, k interface{}) *gomock.Call

CastVote indicates an expected call of CastVote.

func (*MockKeywordStorerMockRecorder) GetKeyword

func (mr *MockKeywordStorerMockRecorder) GetKeyword(ctx, mediaID interface{}) *gomock.Call

GetKeyword indicates an expected call of GetKeyword.

func (*MockKeywordStorerMockRecorder) GetKeywords

func (mr *MockKeywordStorerMockRecorder) GetKeywords(ctx, mediaID interface{}) *gomock.Call

GetKeywords indicates an expected call of GetKeywords.

func (*MockKeywordStorerMockRecorder) RemoveVote

func (mr *MockKeywordStorerMockRecorder) RemoveVote(ctx, k interface{}) *gomock.Call

RemoveVote indicates an expected call of RemoveVote.

type MockMemberStorer

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

MockMemberStorer is a mock of MemberStorer interface.

func NewMockMemberStorer

func NewMockMemberStorer(ctrl *gomock.Controller) *MockMemberStorer

NewMockMemberStorer creates a new mock instance.

func (*MockMemberStorer) Delete

func (m *MockMemberStorer) Delete(ctx context.Context, member *models.Member) error

Delete mocks base method.

func (*MockMemberStorer) EXPECT

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

func (*MockMemberStorer) Read

func (m *MockMemberStorer) Read(ctx context.Context, member *models.Member) error

Read mocks base method.

func (*MockMemberStorer) Save

func (m *MockMemberStorer) Save(ctx context.Context, member *models.Member) error

Save mocks base method.

func (*MockMemberStorer) Update

func (m *MockMemberStorer) Update(ctx context.Context, member *models.Member) error

Update mocks base method.

type MockMemberStorerMockRecorder

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

MockMemberStorerMockRecorder is the mock recorder for MockMemberStorer.

func (*MockMemberStorerMockRecorder) Delete

func (mr *MockMemberStorerMockRecorder) Delete(ctx, member interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockMemberStorerMockRecorder) Read

func (mr *MockMemberStorerMockRecorder) Read(ctx, member interface{}) *gomock.Call

Read indicates an expected call of Read.

func (*MockMemberStorerMockRecorder) Save

func (mr *MockMemberStorerMockRecorder) Save(ctx, member interface{}) *gomock.Call

Save indicates an expected call of Save.

func (*MockMemberStorerMockRecorder) Update

func (mr *MockMemberStorerMockRecorder) Update(ctx, member interface{}) *gomock.Call

Update indicates an expected call of Update.

Jump to

Keyboard shortcuts

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