clientmock

package
Version: v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2021 License: MIT Imports: 5 Imported by: 22

Documentation

Overview

Package clientmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

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

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) Call

func (m *MockClient) Call(arg0 context.Context, arg1 map[string]string, arg2 *baz.SimpleService_Call_Args) (map[string]string, error)

Call mocks base method.

func (*MockClient) Compare

Compare mocks base method.

func (*MockClient) DeliberateDiffNoop

func (m *MockClient) DeliberateDiffNoop(arg0 context.Context, arg1 map[string]string) (map[string]string, error)

DeliberateDiffNoop mocks base method.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) EchoBinary

func (m *MockClient) EchoBinary(arg0 context.Context, arg1 map[string]string, arg2 *baz.SecondService_EchoBinary_Args) ([]byte, map[string]string, error)

EchoBinary mocks base method.

func (*MockClient) EchoBool

func (m *MockClient) EchoBool(arg0 context.Context, arg1 map[string]string, arg2 *baz.SecondService_EchoBool_Args) (bool, map[string]string, error)

EchoBool mocks base method.

func (*MockClient) EchoDouble

func (m *MockClient) EchoDouble(arg0 context.Context, arg1 map[string]string, arg2 *baz.SecondService_EchoDouble_Args) (float64, map[string]string, error)

EchoDouble mocks base method.

func (*MockClient) EchoEnum

func (m *MockClient) EchoEnum(arg0 context.Context, arg1 map[string]string, arg2 *baz.SecondService_EchoEnum_Args) (baz.Fruit, map[string]string, error)

EchoEnum mocks base method.

func (*MockClient) EchoI16

func (m *MockClient) EchoI16(arg0 context.Context, arg1 map[string]string, arg2 *baz.SecondService_EchoI16_Args) (int16, map[string]string, error)

EchoI16 mocks base method.

func (*MockClient) EchoI32

func (m *MockClient) EchoI32(arg0 context.Context, arg1 map[string]string, arg2 *baz.SecondService_EchoI32_Args) (int32, map[string]string, error)

EchoI32 mocks base method.

func (*MockClient) EchoI64

func (m *MockClient) EchoI64(arg0 context.Context, arg1 map[string]string, arg2 *baz.SecondService_EchoI64_Args) (int64, map[string]string, error)

EchoI64 mocks base method.

func (*MockClient) EchoI8

func (m *MockClient) EchoI8(arg0 context.Context, arg1 map[string]string, arg2 *baz.SecondService_EchoI8_Args) (int8, map[string]string, error)

EchoI8 mocks base method.

func (*MockClient) EchoString

func (m *MockClient) EchoString(arg0 context.Context, arg1 map[string]string, arg2 *baz.SecondService_EchoString_Args) (string, map[string]string, error)

EchoString mocks base method.

func (*MockClient) EchoStringList

func (m *MockClient) EchoStringList(arg0 context.Context, arg1 map[string]string, arg2 *baz.SecondService_EchoStringList_Args) ([]string, map[string]string, error)

EchoStringList mocks base method.

func (*MockClient) EchoStringMap

func (m *MockClient) EchoStringMap(arg0 context.Context, arg1 map[string]string, arg2 *baz.SecondService_EchoStringMap_Args) (map[string]*base.BazResponse, map[string]string, error)

EchoStringMap mocks base method.

func (*MockClient) EchoStringSet

func (m *MockClient) EchoStringSet(arg0 context.Context, arg1 map[string]string, arg2 *baz.SecondService_EchoStringSet_Args) (map[string]struct{}, map[string]string, error)

EchoStringSet mocks base method.

func (*MockClient) EchoStructList

func (m *MockClient) EchoStructList(arg0 context.Context, arg1 map[string]string, arg2 *baz.SecondService_EchoStructList_Args) ([]*base.BazResponse, map[string]string, error)

EchoStructList mocks base method.

func (*MockClient) EchoStructSet

func (m *MockClient) EchoStructSet(arg0 context.Context, arg1 map[string]string, arg2 *baz.SecondService_EchoStructSet_Args) ([]*base.BazResponse, map[string]string, error)

EchoStructSet mocks base method.

func (*MockClient) EchoTypedef

func (m *MockClient) EchoTypedef(arg0 context.Context, arg1 map[string]string, arg2 *baz.SecondService_EchoTypedef_Args) (base.UUID, map[string]string, error)

EchoTypedef mocks base method.

func (*MockClient) GetProfile

GetProfile mocks base method.

func (*MockClient) HeaderSchema

func (m *MockClient) HeaderSchema(arg0 context.Context, arg1 map[string]string, arg2 *baz.SimpleService_HeaderSchema_Args) (*baz.HeaderSchema, map[string]string, error)

HeaderSchema mocks base method.

func (*MockClient) Ping

func (m *MockClient) Ping(arg0 context.Context, arg1 map[string]string) (*base.BazResponse, map[string]string, error)

Ping mocks base method.

func (*MockClient) TestUUID

func (m *MockClient) TestUUID(arg0 context.Context, arg1 map[string]string) (map[string]string, error)

TestUUID mocks base method.

func (*MockClient) Trans

Trans mocks base method.

func (*MockClient) TransHeaders

TransHeaders mocks base method.

func (*MockClient) TransHeadersNoReq

func (m *MockClient) TransHeadersNoReq(arg0 context.Context, arg1 map[string]string, arg2 *baz.SimpleService_TransHeadersNoReq_Args) (*base.TransHeaders, map[string]string, error)

TransHeadersNoReq mocks base method.

func (*MockClient) TransHeadersType

TransHeadersType mocks base method.

func (*MockClient) URLTest

func (m *MockClient) URLTest(arg0 context.Context, arg1 map[string]string) (map[string]string, error)

URLTest mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) Call

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

Call indicates an expected call of Call.

func (*MockClientMockRecorder) Compare

func (mr *MockClientMockRecorder) Compare(arg0, arg1, arg2 interface{}) *gomock.Call

Compare indicates an expected call of Compare.

func (*MockClientMockRecorder) DeliberateDiffNoop

func (mr *MockClientMockRecorder) DeliberateDiffNoop(arg0, arg1 interface{}) *gomock.Call

DeliberateDiffNoop indicates an expected call of DeliberateDiffNoop.

func (*MockClientMockRecorder) EchoBinary

func (mr *MockClientMockRecorder) EchoBinary(arg0, arg1, arg2 interface{}) *gomock.Call

EchoBinary indicates an expected call of EchoBinary.

func (*MockClientMockRecorder) EchoBool

func (mr *MockClientMockRecorder) EchoBool(arg0, arg1, arg2 interface{}) *gomock.Call

EchoBool indicates an expected call of EchoBool.

func (*MockClientMockRecorder) EchoDouble

func (mr *MockClientMockRecorder) EchoDouble(arg0, arg1, arg2 interface{}) *gomock.Call

EchoDouble indicates an expected call of EchoDouble.

func (*MockClientMockRecorder) EchoEnum

func (mr *MockClientMockRecorder) EchoEnum(arg0, arg1, arg2 interface{}) *gomock.Call

EchoEnum indicates an expected call of EchoEnum.

func (*MockClientMockRecorder) EchoI16

func (mr *MockClientMockRecorder) EchoI16(arg0, arg1, arg2 interface{}) *gomock.Call

EchoI16 indicates an expected call of EchoI16.

func (*MockClientMockRecorder) EchoI32

func (mr *MockClientMockRecorder) EchoI32(arg0, arg1, arg2 interface{}) *gomock.Call

EchoI32 indicates an expected call of EchoI32.

func (*MockClientMockRecorder) EchoI64

func (mr *MockClientMockRecorder) EchoI64(arg0, arg1, arg2 interface{}) *gomock.Call

EchoI64 indicates an expected call of EchoI64.

func (*MockClientMockRecorder) EchoI8

func (mr *MockClientMockRecorder) EchoI8(arg0, arg1, arg2 interface{}) *gomock.Call

EchoI8 indicates an expected call of EchoI8.

func (*MockClientMockRecorder) EchoString

func (mr *MockClientMockRecorder) EchoString(arg0, arg1, arg2 interface{}) *gomock.Call

EchoString indicates an expected call of EchoString.

func (*MockClientMockRecorder) EchoStringList

func (mr *MockClientMockRecorder) EchoStringList(arg0, arg1, arg2 interface{}) *gomock.Call

EchoStringList indicates an expected call of EchoStringList.

func (*MockClientMockRecorder) EchoStringMap

func (mr *MockClientMockRecorder) EchoStringMap(arg0, arg1, arg2 interface{}) *gomock.Call

EchoStringMap indicates an expected call of EchoStringMap.

func (*MockClientMockRecorder) EchoStringSet

func (mr *MockClientMockRecorder) EchoStringSet(arg0, arg1, arg2 interface{}) *gomock.Call

EchoStringSet indicates an expected call of EchoStringSet.

func (*MockClientMockRecorder) EchoStructList

func (mr *MockClientMockRecorder) EchoStructList(arg0, arg1, arg2 interface{}) *gomock.Call

EchoStructList indicates an expected call of EchoStructList.

func (*MockClientMockRecorder) EchoStructSet

func (mr *MockClientMockRecorder) EchoStructSet(arg0, arg1, arg2 interface{}) *gomock.Call

EchoStructSet indicates an expected call of EchoStructSet.

func (*MockClientMockRecorder) EchoTypedef

func (mr *MockClientMockRecorder) EchoTypedef(arg0, arg1, arg2 interface{}) *gomock.Call

EchoTypedef indicates an expected call of EchoTypedef.

func (*MockClientMockRecorder) GetProfile

func (mr *MockClientMockRecorder) GetProfile(arg0, arg1, arg2 interface{}) *gomock.Call

GetProfile indicates an expected call of GetProfile.

func (*MockClientMockRecorder) HeaderSchema

func (mr *MockClientMockRecorder) HeaderSchema(arg0, arg1, arg2 interface{}) *gomock.Call

HeaderSchema indicates an expected call of HeaderSchema.

func (*MockClientMockRecorder) Ping

func (mr *MockClientMockRecorder) Ping(arg0, arg1 interface{}) *gomock.Call

Ping indicates an expected call of Ping.

func (*MockClientMockRecorder) TestUUID

func (mr *MockClientMockRecorder) TestUUID(arg0, arg1 interface{}) *gomock.Call

TestUUID indicates an expected call of TestUUID.

func (*MockClientMockRecorder) Trans

func (mr *MockClientMockRecorder) Trans(arg0, arg1, arg2 interface{}) *gomock.Call

Trans indicates an expected call of Trans.

func (*MockClientMockRecorder) TransHeaders

func (mr *MockClientMockRecorder) TransHeaders(arg0, arg1, arg2 interface{}) *gomock.Call

TransHeaders indicates an expected call of TransHeaders.

func (*MockClientMockRecorder) TransHeadersNoReq

func (mr *MockClientMockRecorder) TransHeadersNoReq(arg0, arg1, arg2 interface{}) *gomock.Call

TransHeadersNoReq indicates an expected call of TransHeadersNoReq.

func (*MockClientMockRecorder) TransHeadersType

func (mr *MockClientMockRecorder) TransHeadersType(arg0, arg1, arg2 interface{}) *gomock.Call

TransHeadersType indicates an expected call of TransHeadersType.

func (*MockClientMockRecorder) URLTest

func (mr *MockClientMockRecorder) URLTest(arg0, arg1 interface{}) *gomock.Call

URLTest indicates an expected call of URLTest.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL