mock_models

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 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.

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.

Directories

Path Synopsis
Code generated by MockGen.
Code generated by MockGen.

Jump to

Keyboard shortcuts

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