mockmanager

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: 4 Imported by: 0 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 mockmanager is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockExposer

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

MockExposer is a mock of Exposer interface

func NewMockExposer

func NewMockExposer(ctrl *gomock.Controller) *MockExposer

NewMockExposer creates a new mock instance

func (*MockExposer) EXPECT

func (m *MockExposer) EXPECT() *MockExposerMockRecorder

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

func (*MockExposer) Expose

func (m *MockExposer) Expose() interface{}

Expose mocks base method

type MockExposerMockRecorder

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

MockExposerMockRecorder is the mock recorder for MockExposer

func (*MockExposerMockRecorder) Expose

func (mr *MockExposerMockRecorder) Expose() *gomock.Call

Expose indicates an expected call of Expose

type MockFriendly

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

MockFriendly is a mock of Friendly interface

func NewMockFriendly

func NewMockFriendly(ctrl *gomock.Controller) *MockFriendly

NewMockFriendly creates a new mock instance

func (*MockFriendly) Befriend

func (m *MockFriendly) Befriend(arg0 string, arg1 interface{})

Befriend mocks base method

func (*MockFriendly) EXPECT

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

func (*MockFriendly) Likes

func (m *MockFriendly) Likes() map[string]struct{}

Likes mocks base method

type MockFriendlyMockRecorder

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

MockFriendlyMockRecorder is the mock recorder for MockFriendly

func (*MockFriendlyMockRecorder) Befriend

func (mr *MockFriendlyMockRecorder) Befriend(arg0, arg1 interface{}) *gomock.Call

Befriend indicates an expected call of Befriend

func (*MockFriendlyMockRecorder) Likes

func (mr *MockFriendlyMockRecorder) Likes() *gomock.Call

Likes indicates an expected call of Likes

type MockGRPCManager

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

MockGRPCManager is a mock of GRPCManager interface

func NewMockGRPCManager

func NewMockGRPCManager(ctrl *gomock.Controller) *MockGRPCManager

NewMockGRPCManager creates a new mock instance

func (*MockGRPCManager) EXPECT

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

func (*MockGRPCManager) List

func (m *MockGRPCManager) List() []string

List mocks base method

func (*MockGRPCManager) Proto

func (m *MockGRPCManager) Proto(arg0 string) (*grpc.Service, error)

Proto mocks base method

func (*MockGRPCManager) Prune

func (m *MockGRPCManager) Prune()

Prune mocks base method

func (*MockGRPCManager) Start

func (m *MockGRPCManager) Start(arg0 string) error

Start mocks base method

func (*MockGRPCManager) Stop

func (m *MockGRPCManager) Stop(arg0 string) error

Stop mocks base method

type MockGRPCManagerMockRecorder

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

MockGRPCManagerMockRecorder is the mock recorder for MockGRPCManager

func (*MockGRPCManagerMockRecorder) List

List indicates an expected call of List

func (*MockGRPCManagerMockRecorder) Proto

func (mr *MockGRPCManagerMockRecorder) Proto(arg0 interface{}) *gomock.Call

Proto indicates an expected call of Proto

func (*MockGRPCManagerMockRecorder) Prune

Prune indicates an expected call of Prune

func (*MockGRPCManagerMockRecorder) Start

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

Start indicates an expected call of Start

func (*MockGRPCManagerMockRecorder) Stop

func (mr *MockGRPCManagerMockRecorder) Stop(arg0 interface{}) *gomock.Call

Stop indicates an expected call of Stop

type MockNeedy

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

MockNeedy is a mock of Needy interface

func NewMockNeedy

func NewMockNeedy(ctrl *gomock.Controller) *MockNeedy

NewMockNeedy creates a new mock instance

func (*MockNeedy) EXPECT

func (m *MockNeedy) EXPECT() *MockNeedyMockRecorder

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

func (*MockNeedy) Needs

func (m *MockNeedy) Needs() map[string]struct{}

Needs mocks base method

type MockNeedyMockRecorder

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

MockNeedyMockRecorder is the mock recorder for MockNeedy

func (*MockNeedyMockRecorder) Needs

func (mr *MockNeedyMockRecorder) Needs() *gomock.Call

Needs indicates an expected call of Needs

type MockPluggable

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

MockPluggable is a mock of Pluggable interface

func NewMockPluggable

func NewMockPluggable(ctrl *gomock.Controller) *MockPluggable

NewMockPluggable creates a new mock instance

func (*MockPluggable) EXPECT

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

func (*MockPluggable) Needs

func (m *MockPluggable) Needs() map[string]struct{}

Needs mocks base method

func (*MockPluggable) Plug

func (m *MockPluggable) Plug(arg0 map[string]interface{}) error

Plug mocks base method

type MockPluggableMockRecorder

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

MockPluggableMockRecorder is the mock recorder for MockPluggable

func (*MockPluggableMockRecorder) Needs

func (mr *MockPluggableMockRecorder) Needs() *gomock.Call

Needs indicates an expected call of Needs

func (*MockPluggableMockRecorder) Plug

func (mr *MockPluggableMockRecorder) Plug(arg0 interface{}) *gomock.Call

Plug indicates an expected call of Plug

type MockRunner

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

MockRunner is a mock of Runner interface

func NewMockRunner

func NewMockRunner(ctrl *gomock.Controller) *MockRunner

NewMockRunner creates a new mock instance

func (*MockRunner) EXPECT

func (m *MockRunner) EXPECT() *MockRunnerMockRecorder

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

func (*MockRunner) Run

func (m *MockRunner) Run(arg0 context.Context, arg1, arg2 func()) error

Run mocks base method

type MockRunnerMockRecorder

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

MockRunnerMockRecorder is the mock recorder for MockRunner

func (*MockRunnerMockRecorder) Run

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

Run indicates an expected call of Run

type MockService

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

MockService is a mock of Service interface

func NewMockService

func NewMockService(ctrl *gomock.Controller) *MockService

NewMockService creates a new mock instance

func (*MockService) Desc

func (m *MockService) Desc() string

Desc mocks base method

func (*MockService) EXPECT

func (m *MockService) EXPECT() *MockServiceMockRecorder

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

func (*MockService) ID

func (m *MockService) ID() string

ID mocks base method

func (*MockService) Name

func (m *MockService) Name() string

Name mocks base method

type MockServiceMockRecorder

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

MockServiceMockRecorder is the mock recorder for MockService

func (*MockServiceMockRecorder) Desc

func (mr *MockServiceMockRecorder) Desc() *gomock.Call

Desc indicates an expected call of Desc

func (*MockServiceMockRecorder) ID

ID indicates an expected call of ID

func (*MockServiceMockRecorder) Name

func (mr *MockServiceMockRecorder) 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