Documentation ¶
Overview ¶
Package clientmock is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) Call(arg0 context.Context, arg1 map[string]string, ...) (map[string]string, error)
- func (m *MockClient) Compare(arg0 context.Context, arg1 map[string]string, ...) (*base.BazResponse, map[string]string, error)
- func (m *MockClient) DeliberateDiffNoop(arg0 context.Context, arg1 map[string]string) (map[string]string, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) EchoBinary(arg0 context.Context, arg1 map[string]string, ...) ([]byte, map[string]string, error)
- func (m *MockClient) EchoBool(arg0 context.Context, arg1 map[string]string, ...) (bool, map[string]string, error)
- func (m *MockClient) EchoDouble(arg0 context.Context, arg1 map[string]string, ...) (float64, map[string]string, error)
- func (m *MockClient) EchoEnum(arg0 context.Context, arg1 map[string]string, ...) (baz.Fruit, map[string]string, error)
- func (m *MockClient) EchoI16(arg0 context.Context, arg1 map[string]string, ...) (int16, map[string]string, error)
- func (m *MockClient) EchoI32(arg0 context.Context, arg1 map[string]string, ...) (int32, map[string]string, error)
- func (m *MockClient) EchoI64(arg0 context.Context, arg1 map[string]string, ...) (int64, map[string]string, error)
- func (m *MockClient) EchoI8(arg0 context.Context, arg1 map[string]string, ...) (int8, map[string]string, error)
- func (m *MockClient) EchoString(arg0 context.Context, arg1 map[string]string, ...) (string, map[string]string, error)
- func (m *MockClient) EchoStringList(arg0 context.Context, arg1 map[string]string, ...) ([]string, map[string]string, error)
- func (m *MockClient) EchoStringMap(arg0 context.Context, arg1 map[string]string, ...) (map[string]*base.BazResponse, map[string]string, error)
- func (m *MockClient) EchoStringSet(arg0 context.Context, arg1 map[string]string, ...) (map[string]struct{}, map[string]string, error)
- func (m *MockClient) EchoStructList(arg0 context.Context, arg1 map[string]string, ...) ([]*base.BazResponse, map[string]string, error)
- func (m *MockClient) EchoStructSet(arg0 context.Context, arg1 map[string]string, ...) ([]*base.BazResponse, map[string]string, error)
- func (m *MockClient) EchoTypedef(arg0 context.Context, arg1 map[string]string, ...) (base.UUID, map[string]string, error)
- func (m *MockClient) GetProfile(arg0 context.Context, arg1 map[string]string, ...) (*baz.GetProfileResponse, map[string]string, error)
- func (m *MockClient) HeaderSchema(arg0 context.Context, arg1 map[string]string, ...) (*baz.HeaderSchema, map[string]string, error)
- func (m *MockClient) Ping(arg0 context.Context, arg1 map[string]string) (*base.BazResponse, map[string]string, error)
- func (m *MockClient) TestUUID(arg0 context.Context, arg1 map[string]string) (map[string]string, error)
- func (m *MockClient) Trans(arg0 context.Context, arg1 map[string]string, ...) (*base.TransStruct, map[string]string, error)
- func (m *MockClient) TransHeaders(arg0 context.Context, arg1 map[string]string, ...) (*base.TransHeaders, map[string]string, error)
- func (m *MockClient) TransHeadersNoReq(arg0 context.Context, arg1 map[string]string, ...) (*base.TransHeaders, map[string]string, error)
- func (m *MockClient) TransHeadersType(arg0 context.Context, arg1 map[string]string, ...) (*baz.TransHeaderType, map[string]string, error)
- func (m *MockClient) URLTest(arg0 context.Context, arg1 map[string]string) (map[string]string, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) Call(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Compare(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeliberateDiffNoop(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) EchoBinary(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) EchoBool(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) EchoDouble(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) EchoEnum(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) EchoI16(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) EchoI32(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) EchoI64(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) EchoI8(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) EchoString(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) EchoStringList(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) EchoStringMap(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) EchoStringSet(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) EchoStructList(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) EchoStructSet(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) EchoTypedef(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetProfile(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) HeaderSchema(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Ping(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) TestUUID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Trans(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) TransHeaders(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) TransHeadersNoReq(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) TransHeadersType(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) URLTest(arg0, arg1 interface{}) *gomock.Call
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 ¶
func (m *MockClient) Compare(arg0 context.Context, arg1 map[string]string, arg2 *baz.SimpleService_Compare_Args) (*base.BazResponse, map[string]string, error)
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 ¶
func (m *MockClient) GetProfile(arg0 context.Context, arg1 map[string]string, arg2 *baz.SimpleService_GetProfile_Args) (*baz.GetProfileResponse, map[string]string, error)
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 ¶
func (m *MockClient) Trans(arg0 context.Context, arg1 map[string]string, arg2 *baz.SimpleService_Trans_Args) (*base.TransStruct, map[string]string, error)
Trans mocks base method.
func (*MockClient) TransHeaders ¶
func (m *MockClient) TransHeaders(arg0 context.Context, arg1 map[string]string, arg2 *baz.SimpleService_TransHeaders_Args) (*base.TransHeaders, map[string]string, error)
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 ¶
func (m *MockClient) TransHeadersType(arg0 context.Context, arg1 map[string]string, arg2 *baz.SimpleService_TransHeadersType_Args) (*baz.TransHeaderType, map[string]string, error)
TransHeadersType 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.