commandmock

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package commandmock is a generated GoMock package.

Package commandmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockArguments

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

MockArguments is a mock of Arguments interface.

func NewMockArguments

func NewMockArguments(ctrl *gomock.Controller) *MockArguments

NewMockArguments creates a new mock instance.

func (*MockArguments) EXPECT

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

func (*MockArguments) GetInt

func (m *MockArguments) GetInt(arg0 string) int

GetInt mocks base method.

func (*MockArguments) GetString

func (m *MockArguments) GetString(arg0 string) string

GetString mocks base method.

type MockArgumentsMockRecorder

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

MockArgumentsMockRecorder is the mock recorder for MockArguments.

func (*MockArgumentsMockRecorder) GetInt

func (mr *MockArgumentsMockRecorder) GetInt(arg0 interface{}) *gomock.Call

GetInt indicates an expected call of GetInt.

func (*MockArgumentsMockRecorder) GetString

func (mr *MockArgumentsMockRecorder) GetString(arg0 interface{}) *gomock.Call

GetString indicates an expected call of GetString.

type MockCommand

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

MockCommand is a mock of Command interface.

func NewMockCommand

func NewMockCommand(ctrl *gomock.Controller) *MockCommand

NewMockCommand creates a new mock instance.

func (*MockCommand) EXPECT

func (m *MockCommand) EXPECT() *MockCommandMockRecorder

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

func (*MockCommand) Execute

func (m *MockCommand) Execute(arg0 client.Client, arg1 command.Event) error

Execute mocks base method.

func (*MockCommand) Name

func (m *MockCommand) Name() string

Name mocks base method.

type MockCommandMockRecorder

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

MockCommandMockRecorder is the mock recorder for MockCommand.

func (*MockCommandMockRecorder) Execute

func (mr *MockCommandMockRecorder) Execute(arg0, arg1 interface{}) *gomock.Call

Execute indicates an expected call of Execute.

func (*MockCommandMockRecorder) Name

func (mr *MockCommandMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

Jump to

Keyboard shortcuts

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