mocks

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

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 MockCmd

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

MockCmd is a mock of Cmd interface

func NewMockCmd

func NewMockCmd(ctrl *gomock.Controller) *MockCmd

NewMockCmd creates a new mock instance

func (*MockCmd) EXPECT

func (m *MockCmd) EXPECT() *MockCmdMockRecorder

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

func (*MockCmd) Match

func (m *MockCmd) Match(arg0 []string) bool

Match mocks base method

func (*MockCmd) Run

func (m *MockCmd) Run(arg0 []string) error

Run mocks base method

type MockCmdMockRecorder added in v0.18.0

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

MockCmdMockRecorder is the mock recorder for MockCmd

func (*MockCmdMockRecorder) Match added in v0.18.0

func (mr *MockCmdMockRecorder) Match(arg0 interface{}) *gomock.Call

Match indicates an expected call of Match

func (*MockCmdMockRecorder) Run added in v0.18.0

func (mr *MockCmdMockRecorder) Run(arg0 interface{}) *gomock.Call

Run indicates an expected call of Run

type MockHelp

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

MockHelp is a mock of Help interface

func NewMockHelp

func NewMockHelp(ctrl *gomock.Controller) *MockHelp

NewMockHelp creates a new mock instance

func (*MockHelp) EXPECT

func (m *MockHelp) EXPECT() *MockHelpMockRecorder

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

func (*MockHelp) Long added in v0.2.0

func (m *MockHelp) Long()

Long mocks base method

func (*MockHelp) Short added in v0.2.0

func (m *MockHelp) Short()

Short mocks base method

type MockHelpMockRecorder added in v0.18.0

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

MockHelpMockRecorder is the mock recorder for MockHelp

func (*MockHelpMockRecorder) Long added in v0.18.0

func (mr *MockHelpMockRecorder) Long() *gomock.Call

Long indicates an expected call of Long

func (*MockHelpMockRecorder) Short added in v0.18.0

func (mr *MockHelpMockRecorder) Short() *gomock.Call

Short indicates an expected call of Short

Jump to

Keyboard shortcuts

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