Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCaller ¶
type MockCaller struct {
// contains filtered or unexported fields
}
MockCaller is a mock of Caller interface.
func NewMockCaller ¶
func NewMockCaller(ctrl *gomock.Controller) *MockCaller
NewMockCaller creates a new mock instance.
func (*MockCaller) Call ¶
func (m *MockCaller) Call(arg0 string, arg1 *api.RequestData) (*api.Response, error)
Call mocks base method.
func (*MockCaller) EXPECT ¶
func (m *MockCaller) EXPECT() *MockCallerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCallerMockRecorder ¶
type MockCallerMockRecorder struct {
// contains filtered or unexported fields
}
MockCallerMockRecorder is the mock recorder for MockCaller.
func (*MockCallerMockRecorder) Call ¶
func (mr *MockCallerMockRecorder) Call(arg0, arg1 interface{}) *gomock.Call
Call indicates an expected call of Call.
type MockRequestConstructor ¶
type MockRequestConstructor struct {
// contains filtered or unexported fields
}
MockRequestConstructor is a mock of RequestConstructor interface.
func NewMockRequestConstructor ¶
func NewMockRequestConstructor(ctrl *gomock.Controller) *MockRequestConstructor
NewMockRequestConstructor creates a new mock instance.
func (*MockRequestConstructor) EXPECT ¶
func (m *MockRequestConstructor) EXPECT() *MockRequestConstructorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRequestConstructor) JSONRequest ¶
func (m *MockRequestConstructor) JSONRequest(arg0 interface{}) (*api.RequestData, error)
JSONRequest mocks base method.
func (*MockRequestConstructor) MultipartRequest ¶
func (m *MockRequestConstructor) MultipartRequest(arg0 map[string]string, arg1 map[string]api.NamedReader) (*api.RequestData, error)
MultipartRequest mocks base method.
type MockRequestConstructorMockRecorder ¶
type MockRequestConstructorMockRecorder struct {
// contains filtered or unexported fields
}
MockRequestConstructorMockRecorder is the mock recorder for MockRequestConstructor.
func (*MockRequestConstructorMockRecorder) JSONRequest ¶
func (mr *MockRequestConstructorMockRecorder) JSONRequest(arg0 interface{}) *gomock.Call
JSONRequest indicates an expected call of JSONRequest.
func (*MockRequestConstructorMockRecorder) MultipartRequest ¶
func (mr *MockRequestConstructorMockRecorder) MultipartRequest(arg0, arg1 interface{}) *gomock.Call
MultipartRequest indicates an expected call of MultipartRequest.