mockcli

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2019 License: AGPL-3.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mockcli is a generated GoMock package.

Package mockcli is a generated GoMock package.

Package mockcli is a generated GoMock package.

Package mockcli is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCLI

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

MockCLI is a mock of CLI interface

func NewMockCLI

func NewMockCLI(ctrl *gomock.Controller) *MockCLI

NewMockCLI creates a new mock instance

func (*MockCLI) Address

func (m *MockCLI) Address() string

Address mocks base method

func (*MockCLI) Commands

func (m *MockCLI) Commands() []cli.Cmd

Commands mocks base method

func (*MockCLI) Config

func (m *MockCLI) Config() cli.Config

Config mocks base method

func (*MockCLI) Connect

func (m *MockCLI) Connect(arg0 context.Context, arg1 string) error

Connect mocks base method

func (*MockCLI) Console

func (m *MockCLI) Console() *cli.Console

Console mocks base method

func (*MockCLI) DidJustExecute

func (m *MockCLI) DidJustExecute() bool

DidJustExecute mocks base method

func (*MockCLI) Disconnect

func (m *MockCLI) Disconnect() error

Disconnect mocks base method

func (*MockCLI) EXPECT

func (m *MockCLI) EXPECT() *MockCLIMockRecorder

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

func (*MockCLI) Exec

func (m *MockCLI) Exec(arg0 context.Context, arg1 string) error

Exec mocks base method

func (*MockCLI) Run

func (m *MockCLI) Run(arg0 context.Context, arg1 string)

Run mocks base method

func (*MockCLI) Start

func (m *MockCLI) Start(arg0 context.Context)

Start mocks base method

func (*MockCLI) Suggest

func (m *MockCLI) Suggest(arg0 cli.Content) []cli.Suggest

Suggest mocks base method

type MockCLIMockRecorder

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

MockCLIMockRecorder is the mock recorder for MockCLI

func (*MockCLIMockRecorder) Address

func (mr *MockCLIMockRecorder) Address() *gomock.Call

Address indicates an expected call of Address

func (*MockCLIMockRecorder) Commands

func (mr *MockCLIMockRecorder) Commands() *gomock.Call

Commands indicates an expected call of Commands

func (*MockCLIMockRecorder) Config

func (mr *MockCLIMockRecorder) Config() *gomock.Call

Config indicates an expected call of Config

func (*MockCLIMockRecorder) Connect

func (mr *MockCLIMockRecorder) Connect(arg0, arg1 interface{}) *gomock.Call

Connect indicates an expected call of Connect

func (*MockCLIMockRecorder) Console

func (mr *MockCLIMockRecorder) Console() *gomock.Call

Console indicates an expected call of Console

func (*MockCLIMockRecorder) DidJustExecute

func (mr *MockCLIMockRecorder) DidJustExecute() *gomock.Call

DidJustExecute indicates an expected call of DidJustExecute

func (*MockCLIMockRecorder) Disconnect

func (mr *MockCLIMockRecorder) Disconnect() *gomock.Call

Disconnect indicates an expected call of Disconnect

func (*MockCLIMockRecorder) Exec

func (mr *MockCLIMockRecorder) Exec(arg0, arg1 interface{}) *gomock.Call

Exec indicates an expected call of Exec

func (*MockCLIMockRecorder) Run

func (mr *MockCLIMockRecorder) Run(arg0, arg1 interface{}) *gomock.Call

Run indicates an expected call of Run

func (*MockCLIMockRecorder) Start

func (mr *MockCLIMockRecorder) Start(arg0 interface{}) *gomock.Call

Start indicates an expected call of Start

func (*MockCLIMockRecorder) Suggest

func (mr *MockCLIMockRecorder) Suggest(arg0 interface{}) *gomock.Call

Suggest indicates an expected call of Suggest

type MockServerStream

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

MockServerStream is a mock of ServerStream interface

func NewMockServerStream

func NewMockServerStream(ctrl *gomock.Controller) *MockServerStream

NewMockServerStream creates a new mock instance

func (*MockServerStream) EXPECT

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

func (*MockServerStream) RecvMsg

func (m *MockServerStream) RecvMsg() (proto.Message, error)

RecvMsg mocks base method

type MockServerStreamMockRecorder

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

MockServerStreamMockRecorder is the mock recorder for MockServerStream

func (*MockServerStreamMockRecorder) RecvMsg

func (mr *MockServerStreamMockRecorder) RecvMsg() *gomock.Call

RecvMsg indicates an expected call of RecvMsg

type MockServerStreamStub

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

MockServerStreamStub is a mock of ServerStreamStub interface

func NewMockServerStreamStub

func NewMockServerStreamStub(ctrl *gomock.Controller) *MockServerStreamStub

NewMockServerStreamStub creates a new mock instance

func (*MockServerStreamStub) EXPECT

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

func (*MockServerStreamStub) Invoke

Invoke mocks base method

func (*MockServerStreamStub) Name

func (m *MockServerStreamStub) Name() string

Name mocks base method

type MockServerStreamStubMockRecorder

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

MockServerStreamStubMockRecorder is the mock recorder for MockServerStreamStub

func (*MockServerStreamStubMockRecorder) Invoke

func (mr *MockServerStreamStubMockRecorder) Invoke(arg0 interface{}) *gomock.Call

Invoke indicates an expected call of Invoke

func (*MockServerStreamStubMockRecorder) Name

Name indicates an expected call of Name

type MockSignaler

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

MockSignaler is a mock of Signaler interface

func NewMockSignaler

func NewMockSignaler(ctrl *gomock.Controller) *MockSignaler

NewMockSignaler creates a new mock instance

func (*MockSignaler) EXPECT

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

func (*MockSignaler) Signal

func (m *MockSignaler) Signal(arg0 os.Signal) error

Signal mocks base method

type MockSignalerMockRecorder

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

MockSignalerMockRecorder is the mock recorder for MockSignaler

func (*MockSignalerMockRecorder) Signal

func (mr *MockSignalerMockRecorder) Signal(arg0 interface{}) *gomock.Call

Signal indicates an expected call of Signal

Jump to

Keyboard shortcuts

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