Documentation ¶
Overview ¶
Package mock_plugins is a generated GoMock package.
Index ¶
- type MockPersistence
- type MockPersistenceMockRecorder
- type MockPlugin
- func (m *MockPlugin) Authorization() github.AuthorizationType
- func (m *MockPlugin) Command() string
- func (m *MockPlugin) Config() string
- func (m *MockPlugin) Description() string
- func (m *MockPlugin) EXPECT() *MockPluginMockRecorder
- func (m *MockPlugin) Example() string
- func (m *MockPlugin) Flags() *pflag.FlagSet
- func (m *MockPlugin) New(arg0 string) plugins.Plugin
- func (m *MockPlugin) ResumeFromState(arg0 github.Client, arg1 *github.GenericRequestEvent, arg2 string) error
- func (m *MockPlugin) Run(arg0 *pflag.FlagSet, arg1 github.Client, arg2 *github.GenericRequestEvent) error
- type MockPluginMockRecorder
- func (mr *MockPluginMockRecorder) Authorization() *gomock.Call
- func (mr *MockPluginMockRecorder) Command() *gomock.Call
- func (mr *MockPluginMockRecorder) Config() *gomock.Call
- func (mr *MockPluginMockRecorder) Description() *gomock.Call
- func (mr *MockPluginMockRecorder) Example() *gomock.Call
- func (mr *MockPluginMockRecorder) Flags() *gomock.Call
- func (mr *MockPluginMockRecorder) New(arg0 interface{}) *gomock.Call
- func (mr *MockPluginMockRecorder) ResumeFromState(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockPluginMockRecorder) Run(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPersistence ¶
type MockPersistence struct {
// contains filtered or unexported fields
}
MockPersistence is a mock of Persistence interface
func NewMockPersistence ¶
func NewMockPersistence(ctrl *gomock.Controller) *MockPersistence
NewMockPersistence creates a new mock instance
func (*MockPersistence) EXPECT ¶
func (m *MockPersistence) EXPECT() *MockPersistenceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockPersistenceMockRecorder ¶
type MockPersistenceMockRecorder struct {
// contains filtered or unexported fields
}
MockPersistenceMockRecorder is the mock recorder for MockPersistence
func (*MockPersistenceMockRecorder) Load ¶
func (mr *MockPersistenceMockRecorder) Load() *gomock.Call
Load indicates an expected call of Load
func (*MockPersistenceMockRecorder) Save ¶
func (mr *MockPersistenceMockRecorder) Save(arg0 interface{}) *gomock.Call
Save indicates an expected call of Save
type MockPlugin ¶
type MockPlugin struct {
// contains filtered or unexported fields
}
MockPlugin is a mock of Plugin interface
func NewMockPlugin ¶
func NewMockPlugin(ctrl *gomock.Controller) *MockPlugin
NewMockPlugin creates a new mock instance
func (*MockPlugin) Authorization ¶
func (m *MockPlugin) Authorization() github.AuthorizationType
Authorization mocks base method
func (*MockPlugin) Description ¶
func (m *MockPlugin) Description() string
Description mocks base method
func (*MockPlugin) EXPECT ¶
func (m *MockPlugin) EXPECT() *MockPluginMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPlugin) ResumeFromState ¶
func (m *MockPlugin) ResumeFromState(arg0 github.Client, arg1 *github.GenericRequestEvent, arg2 string) error
ResumeFromState mocks base method
func (*MockPlugin) Run ¶
func (m *MockPlugin) Run(arg0 *pflag.FlagSet, arg1 github.Client, arg2 *github.GenericRequestEvent) error
Run mocks base method
type MockPluginMockRecorder ¶
type MockPluginMockRecorder struct {
// contains filtered or unexported fields
}
MockPluginMockRecorder is the mock recorder for MockPlugin
func (*MockPluginMockRecorder) Authorization ¶
func (mr *MockPluginMockRecorder) Authorization() *gomock.Call
Authorization indicates an expected call of Authorization
func (*MockPluginMockRecorder) Command ¶
func (mr *MockPluginMockRecorder) Command() *gomock.Call
Command indicates an expected call of Command
func (*MockPluginMockRecorder) Config ¶
func (mr *MockPluginMockRecorder) Config() *gomock.Call
Config indicates an expected call of Config
func (*MockPluginMockRecorder) Description ¶
func (mr *MockPluginMockRecorder) Description() *gomock.Call
Description indicates an expected call of Description
func (*MockPluginMockRecorder) Example ¶
func (mr *MockPluginMockRecorder) Example() *gomock.Call
Example indicates an expected call of Example
func (*MockPluginMockRecorder) Flags ¶
func (mr *MockPluginMockRecorder) Flags() *gomock.Call
Flags indicates an expected call of Flags
func (*MockPluginMockRecorder) New ¶
func (mr *MockPluginMockRecorder) New(arg0 interface{}) *gomock.Call
New indicates an expected call of New
func (*MockPluginMockRecorder) ResumeFromState ¶
func (mr *MockPluginMockRecorder) ResumeFromState(arg0, arg1, arg2 interface{}) *gomock.Call
ResumeFromState indicates an expected call of ResumeFromState
func (*MockPluginMockRecorder) Run ¶
func (mr *MockPluginMockRecorder) Run(arg0, arg1, arg2 interface{}) *gomock.Call
Run indicates an expected call of Run