mock_plugins

package
v0.0.0-...-02c6b06 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_plugins is a generated GoMock package.

Index

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

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

func (*MockPersistence) Load

func (m *MockPersistence) Load() (map[string]map[string]*plugins.State, error)

Load mocks base method

func (*MockPersistence) Save

func (m *MockPersistence) Save(arg0 map[string]map[string]*plugins.State) error

Save mocks base method

type MockPersistenceMockRecorder

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

MockPersistenceMockRecorder is the mock recorder for MockPersistence

func (*MockPersistenceMockRecorder) Load

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) Command

func (m *MockPlugin) Command() string

Command mocks base method

func (*MockPlugin) Config

func (m *MockPlugin) Config() string

Config 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) Example

func (m *MockPlugin) Example() string

Example mocks base method

func (*MockPlugin) Flags

func (m *MockPlugin) Flags() *pflag.FlagSet

Flags mocks base method

func (*MockPlugin) New

func (m *MockPlugin) New(arg0 string) plugins.Plugin

New mocks base method

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

Jump to

Keyboard shortcuts

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