mockgrpc

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mockgrpc is a generated GoMock package.

Package mockgrpc is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockConfig

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

MockConfig is a mock of Config interface.

func NewMockConfig

func NewMockConfig(ctrl *gomock.Controller) *MockConfig

NewMockConfig creates a new mock instance.

func (*MockConfig) Addr

func (m *MockConfig) Addr() string

Addr mocks base method.

func (*MockConfig) CACert

func (m *MockConfig) CACert() string

CACert mocks base method.

func (*MockConfig) Cert

func (m *MockConfig) Cert() string

Cert mocks base method.

func (*MockConfig) EXPECT

func (m *MockConfig) EXPECT() *MockConfigMockRecorder

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

func (*MockConfig) Key

func (m *MockConfig) Key() string

Key mocks base method.

type MockConfigMockRecorder

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

MockConfigMockRecorder is the mock recorder for MockConfig.

func (*MockConfigMockRecorder) Addr

func (mr *MockConfigMockRecorder) Addr() *gomock.Call

Addr indicates an expected call of Addr.

func (*MockConfigMockRecorder) CACert

func (mr *MockConfigMockRecorder) CACert() *gomock.Call

CACert indicates an expected call of CACert.

func (*MockConfigMockRecorder) Cert

func (mr *MockConfigMockRecorder) Cert() *gomock.Call

Cert indicates an expected call of Cert.

func (*MockConfigMockRecorder) Key

func (mr *MockConfigMockRecorder) Key() *gomock.Call

Key indicates an expected call of Key.

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

func (m *MockService) EXPECT() *MockServiceMockRecorder

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

func (*MockService) LogFields

func (m *MockService) LogFields() map[string]interface{}

LogFields mocks base method.

func (*MockService) Register

func (m *MockService) Register(arg0 *grpc.Server)

Register mocks base method.

type MockServiceMockRecorder

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

MockServiceMockRecorder is the mock recorder for MockService.

func (*MockServiceMockRecorder) LogFields

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

LogFields indicates an expected call of LogFields.

func (*MockServiceMockRecorder) Register

func (mr *MockServiceMockRecorder) Register(arg0 interface{}) *gomock.Call

Register indicates an expected call of Register.

Jump to

Keyboard shortcuts

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