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 ¶
- type MockIssueStore
- type MockIssueStoreMockRecorder
- type MockPullRequestStore
- func (m *MockPullRequestStore) EXPECT() *MockPullRequestStoreMockRecorder
- func (m *MockPullRequestStore) Get(arg0, arg1 string, arg2 int) (*model.PullRequest, error)
- func (m *MockPullRequestStore) ListOpen() ([]*model.PullRequest, error)
- func (m *MockPullRequestStore) Save(arg0 *model.PullRequest) (*model.PullRequest, error)
- type MockPullRequestStoreMockRecorder
- type MockSpinmintStore
- func (m *MockSpinmintStore) Delete(arg0 string) error
- func (m *MockSpinmintStore) EXPECT() *MockSpinmintStoreMockRecorder
- func (m *MockSpinmintStore) Get(arg0 int, arg1 string) (*model.Spinmint, error)
- func (m *MockSpinmintStore) List() ([]*model.Spinmint, error)
- func (m *MockSpinmintStore) Save(arg0 *model.Spinmint) (*model.Spinmint, error)
- type MockSpinmintStoreMockRecorder
- type MockStore
- type MockStoreMockRecorder
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 ¶
func (m *MockIssueStore) EXPECT() *MockIssueStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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 ¶
func (m *MockPullRequestStore) EXPECT() *MockPullRequestStoreMockRecorder
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 ¶
func (m *MockPullRequestStore) Save(arg0 *model.PullRequest) (*model.PullRequest, error)
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 ¶
func (mr *MockPullRequestStoreMockRecorder) ListOpen() *gomock.Call
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 ¶
func (m *MockSpinmintStore) EXPECT() *MockSpinmintStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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 ¶
func (mr *MockSpinmintStoreMockRecorder) List() *gomock.Call
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) 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) 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