clientmock

package
v1.1.0-hotfix-2 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: MIT Imports: 5 Imported by: 12

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

func (m *MockClient) ArgNotStruct(arg0 context.Context, arg1 map[string]string, arg2 *bar.Bar_ArgNotStruct_Args) (context.Context, map[string]string, error)

ArgNotStruct mocks base method.

func (*MockClient) ArgWithHeaders

func (m *MockClient) ArgWithHeaders(arg0 context.Context, arg1 map[string]string, arg2 *bar.Bar_ArgWithHeaders_Args) (context.Context, *bar.BarResponse, map[string]string, error)

ArgWithHeaders mocks base method.

func (*MockClient) ArgWithManyQueryParams

func (m *MockClient) ArgWithManyQueryParams(arg0 context.Context, arg1 map[string]string, arg2 *bar.Bar_ArgWithManyQueryParams_Args) (context.Context, *bar.BarResponse, map[string]string, error)

ArgWithManyQueryParams mocks base method.

func (*MockClient) ArgWithNearDupQueryParams added in v0.4.3

func (m *MockClient) ArgWithNearDupQueryParams(arg0 context.Context, arg1 map[string]string, arg2 *bar.Bar_ArgWithNearDupQueryParams_Args) (context.Context, *bar.BarResponse, map[string]string, error)

ArgWithNearDupQueryParams mocks base method.

func (*MockClient) ArgWithNestedQueryParams

func (m *MockClient) ArgWithNestedQueryParams(arg0 context.Context, arg1 map[string]string, arg2 *bar.Bar_ArgWithNestedQueryParams_Args) (context.Context, *bar.BarResponse, map[string]string, error)

ArgWithNestedQueryParams mocks base method.

func (*MockClient) ArgWithParams

func (m *MockClient) ArgWithParams(arg0 context.Context, arg1 map[string]string, arg2 *bar.Bar_ArgWithParams_Args) (context.Context, *bar.BarResponse, map[string]string, error)

ArgWithParams mocks base method.

func (*MockClient) ArgWithParamsAndDuplicateFields added in v0.3.0

func (m *MockClient) ArgWithParamsAndDuplicateFields(arg0 context.Context, arg1 map[string]string, arg2 *bar.Bar_ArgWithParamsAndDuplicateFields_Args) (context.Context, *bar.BarResponse, map[string]string, error)

ArgWithParamsAndDuplicateFields mocks base method.

func (*MockClient) ArgWithQueryHeader

func (m *MockClient) ArgWithQueryHeader(arg0 context.Context, arg1 map[string]string, arg2 *bar.Bar_ArgWithQueryHeader_Args) (context.Context, *bar.BarResponse, map[string]string, error)

ArgWithQueryHeader mocks base method.

func (*MockClient) ArgWithQueryParams

func (m *MockClient) ArgWithQueryParams(arg0 context.Context, arg1 map[string]string, arg2 *bar.Bar_ArgWithQueryParams_Args) (context.Context, *bar.BarResponse, map[string]string, error)

ArgWithQueryParams mocks base method.

func (*MockClient) DeleteFoo added in v0.2.0

func (m *MockClient) DeleteFoo(arg0 context.Context, arg1 map[string]string, arg2 *bar.Bar_DeleteFoo_Args) (context.Context, map[string]string, error)

DeleteFoo mocks base method.

func (*MockClient) DeleteWithBody added in v0.6.0

func (m *MockClient) DeleteWithBody(arg0 context.Context, arg1 map[string]string, arg2 *bar.Bar_DeleteWithBody_Args) (context.Context, map[string]string, error)

DeleteWithBody mocks base method.

func (*MockClient) DeleteWithQueryParams added in v0.3.1

func (m *MockClient) DeleteWithQueryParams(arg0 context.Context, arg1 map[string]string, arg2 *bar.Bar_DeleteWithQueryParams_Args) (context.Context, map[string]string, error)

DeleteWithQueryParams 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 *bar.Echo_EchoBinary_Args) (context.Context, []byte, map[string]string, error)

EchoBinary mocks base method.

func (*MockClient) EchoBool

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

EchoBool mocks base method.

func (*MockClient) EchoDouble

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

EchoDouble mocks base method.

func (*MockClient) EchoEnum

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

EchoEnum mocks base method.

func (*MockClient) EchoI16

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

EchoI16 mocks base method.

func (*MockClient) EchoI32

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

EchoI32 mocks base method.

func (*MockClient) EchoI32Map

func (m *MockClient) EchoI32Map(arg0 context.Context, arg1 map[string]string, arg2 *bar.Echo_EchoI32Map_Args) (context.Context, map[int32]*bar.BarResponse, map[string]string, error)

EchoI32Map mocks base method.

func (*MockClient) EchoI64

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

EchoI64 mocks base method.

func (*MockClient) EchoI8

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

EchoI8 mocks base method.

func (*MockClient) EchoString

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

EchoString mocks base method.

func (*MockClient) EchoStringList

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

EchoStringList mocks base method.

func (*MockClient) EchoStringMap

func (m *MockClient) EchoStringMap(arg0 context.Context, arg1 map[string]string, arg2 *bar.Echo_EchoStringMap_Args) (context.Context, map[string]*bar.BarResponse, map[string]string, error)

EchoStringMap mocks base method.

func (*MockClient) EchoStringSet

func (m *MockClient) EchoStringSet(arg0 context.Context, arg1 map[string]string, arg2 *bar.Echo_EchoStringSet_Args) (context.Context, 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 *bar.Echo_EchoStructList_Args) (context.Context, []*bar.BarResponse, map[string]string, error)

EchoStructList mocks base method.

func (*MockClient) EchoStructSet

func (m *MockClient) EchoStructSet(arg0 context.Context, arg1 map[string]string, arg2 *bar.Echo_EchoStructSet_Args) (context.Context, []*bar.BarResponse, map[string]string, error)

EchoStructSet mocks base method.

func (*MockClient) EchoTypedef

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

EchoTypedef mocks base method.

func (*MockClient) HTTPClient

func (m *MockClient) HTTPClient() *zanzibar.HTTPClient

HTTPClient mocks base method.

func (*MockClient) Hello

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

Hello mocks base method.

func (*MockClient) ListAndEnum added in v0.3.0

func (m *MockClient) ListAndEnum(arg0 context.Context, arg1 map[string]string, arg2 *bar.Bar_ListAndEnum_Args) (context.Context, string, map[string]string, error)

ListAndEnum mocks base method.

func (*MockClient) MissingArg

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

MissingArg mocks base method.

func (*MockClient) NoRequest

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

NoRequest mocks base method.

func (*MockClient) Normal

Normal mocks base method.

func (*MockClient) NormalRecur

NormalRecur mocks base method.

func (*MockClient) TooManyArgs

func (m *MockClient) TooManyArgs(arg0 context.Context, arg1 map[string]string, arg2 *bar.Bar_TooManyArgs_Args) (context.Context, *bar.BarResponse, map[string]string, error)

TooManyArgs mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) ArgNotStruct

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

ArgNotStruct indicates an expected call of ArgNotStruct.

func (*MockClientMockRecorder) ArgWithHeaders

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

ArgWithHeaders indicates an expected call of ArgWithHeaders.

func (*MockClientMockRecorder) ArgWithManyQueryParams

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

ArgWithManyQueryParams indicates an expected call of ArgWithManyQueryParams.

func (*MockClientMockRecorder) ArgWithNearDupQueryParams added in v0.4.3

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

ArgWithNearDupQueryParams indicates an expected call of ArgWithNearDupQueryParams.

func (*MockClientMockRecorder) ArgWithNestedQueryParams

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

ArgWithNestedQueryParams indicates an expected call of ArgWithNestedQueryParams.

func (*MockClientMockRecorder) ArgWithParams

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

ArgWithParams indicates an expected call of ArgWithParams.

func (*MockClientMockRecorder) ArgWithParamsAndDuplicateFields added in v0.3.0

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

ArgWithParamsAndDuplicateFields indicates an expected call of ArgWithParamsAndDuplicateFields.

func (*MockClientMockRecorder) ArgWithQueryHeader

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

ArgWithQueryHeader indicates an expected call of ArgWithQueryHeader.

func (*MockClientMockRecorder) ArgWithQueryParams

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

ArgWithQueryParams indicates an expected call of ArgWithQueryParams.

func (*MockClientMockRecorder) DeleteFoo added in v0.2.0

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

DeleteFoo indicates an expected call of DeleteFoo.

func (*MockClientMockRecorder) DeleteWithBody added in v0.6.0

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

DeleteWithBody indicates an expected call of DeleteWithBody.

func (*MockClientMockRecorder) DeleteWithQueryParams added in v0.3.1

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

DeleteWithQueryParams indicates an expected call of DeleteWithQueryParams.

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

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

EchoI32Map indicates an expected call of EchoI32Map.

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

func (mr *MockClientMockRecorder) HTTPClient() *gomock.Call

HTTPClient indicates an expected call of HTTPClient.

func (*MockClientMockRecorder) Hello

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

Hello indicates an expected call of Hello.

func (*MockClientMockRecorder) ListAndEnum added in v0.3.0

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

ListAndEnum indicates an expected call of ListAndEnum.

func (*MockClientMockRecorder) MissingArg

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

MissingArg indicates an expected call of MissingArg.

func (*MockClientMockRecorder) NoRequest

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

NoRequest indicates an expected call of NoRequest.

func (*MockClientMockRecorder) Normal

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

Normal indicates an expected call of Normal.

func (*MockClientMockRecorder) NormalRecur

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

NormalRecur indicates an expected call of NormalRecur.

func (*MockClientMockRecorder) TooManyArgs

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

TooManyArgs indicates an expected call of TooManyArgs.

Jump to

Keyboard shortcuts

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