mocks

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2020 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.

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 MockSpinmintStore

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

MockSpinmintStore is a mock of SpinmintStore interface

func NewMockSpinmintStore

func NewMockSpinmintStore(ctrl *gomock.Controller) *MockSpinmintStore

NewMockSpinmintStore creates a new mock instance

func (*MockSpinmintStore) Delete

func (m *MockSpinmintStore) Delete(arg0 string) error

Delete mocks base method

func (*MockSpinmintStore) EXPECT

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

func (*MockSpinmintStore) Get

func (m *MockSpinmintStore) Get(arg0 int, arg1 string) (*model.Spinmint, error)

Get mocks base method

func (*MockSpinmintStore) List

func (m *MockSpinmintStore) List() ([]*model.Spinmint, error)

List mocks base method

func (*MockSpinmintStore) Save

func (m *MockSpinmintStore) Save(arg0 *model.Spinmint) (*model.Spinmint, error)

Save mocks base method

type MockSpinmintStoreMockRecorder

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

MockSpinmintStoreMockRecorder is the mock recorder for MockSpinmintStore

func (*MockSpinmintStoreMockRecorder) Delete

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

Delete indicates an expected call of Delete

func (*MockSpinmintStoreMockRecorder) Get

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

Get indicates an expected call of Get

func (*MockSpinmintStoreMockRecorder) List

List indicates an expected call of List

func (*MockSpinmintStoreMockRecorder) Save

func (mr *MockSpinmintStoreMockRecorder) 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

func (*MockStore) Spinmint

func (m *MockStore) Spinmint() store.SpinmintStore

Spinmint 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

func (*MockStoreMockRecorder) Spinmint

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

Spinmint indicates an expected call of Spinmint

Jump to

Keyboard shortcuts

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