mocks

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: Apache-2.0 Imports: 4 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIssueStore

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

MockIssueStore is a mock of IssueStore interface

func NewMockIssueStore

func NewMockIssueStore(ctrl *gomock.Controller) *MockIssueStore

NewMockIssueStore creates a new mock instance

func (*MockIssueStore) EXPECT

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

func (*MockIssueStore) Get

func (m *MockIssueStore) Get(arg0, arg1 string, arg2 int) (*model.Issue, error)

Get mocks base method

func (*MockIssueStore) Save

func (m *MockIssueStore) Save(arg0 *model.Issue) (*model.Issue, error)

Save mocks base method

type MockIssueStoreMockRecorder

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

MockIssueStoreMockRecorder is the mock recorder for MockIssueStore

func (*MockIssueStoreMockRecorder) Get

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

Get indicates an expected call of Get

func (*MockIssueStoreMockRecorder) Save

func (mr *MockIssueStoreMockRecorder) Save(arg0 interface{}) *gomock.Call

Save indicates an expected call of Save

type MockPullRequestStore

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

MockPullRequestStore is a mock of PullRequestStore interface

func NewMockPullRequestStore

func NewMockPullRequestStore(ctrl *gomock.Controller) *MockPullRequestStore

NewMockPullRequestStore creates a new mock instance

func (*MockPullRequestStore) EXPECT

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

func (*MockPullRequestStore) Get

func (m *MockPullRequestStore) Get(arg0, arg1 string, arg2 int) (*model.PullRequest, error)

Get mocks base method

func (*MockPullRequestStore) ListOpen

func (m *MockPullRequestStore) ListOpen() ([]*model.PullRequest, error)

ListOpen mocks base method

func (*MockPullRequestStore) Save

Save mocks base method

type MockPullRequestStoreMockRecorder

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

MockPullRequestStoreMockRecorder is the mock recorder for MockPullRequestStore

func (*MockPullRequestStoreMockRecorder) Get

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

Get indicates an expected call of Get

func (*MockPullRequestStoreMockRecorder) ListOpen

ListOpen indicates an expected call of ListOpen

func (*MockPullRequestStoreMockRecorder) Save

func (mr *MockPullRequestStoreMockRecorder) Save(arg0 interface{}) *gomock.Call

Save indicates an expected call of Save

type MockStore

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

MockStore is a mock of Store interface

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance

func (*MockStore) Close

func (m *MockStore) Close()

Close mocks base method

func (*MockStore) DropAllTables

func (m *MockStore) DropAllTables()

DropAllTables mocks base method

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

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

func (*MockStore) Issue

func (m *MockStore) Issue() store.IssueStore

Issue mocks base method

func (*MockStore) PullRequest

func (m *MockStore) PullRequest() store.PullRequestStore

PullRequest mocks base method

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore

func (*MockStoreMockRecorder) Close

func (mr *MockStoreMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockStoreMockRecorder) DropAllTables

func (mr *MockStoreMockRecorder) DropAllTables() *gomock.Call

DropAllTables indicates an expected call of DropAllTables

func (*MockStoreMockRecorder) Issue

func (mr *MockStoreMockRecorder) Issue() *gomock.Call

Issue indicates an expected call of Issue

func (*MockStoreMockRecorder) PullRequest

func (mr *MockStoreMockRecorder) PullRequest() *gomock.Call

PullRequest indicates an expected call of PullRequest

Jump to

Keyboard shortcuts

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