Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientHTTPRequester ¶
ClientHTTPRequester is an autogenerated mock type for the HTTPRequester type
func NewClientHTTPRequester ¶
func NewClientHTTPRequester(t interface { mock.TestingT Cleanup(func()) }) *ClientHTTPRequester
NewClientHTTPRequester creates a new instance of ClientHTTPRequester. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ClientHTTPRequester) Close ¶
func (_m *ClientHTTPRequester) Close()
Close provides a mock function with given fields:
func (*ClientHTTPRequester) EXPECT ¶
func (_m *ClientHTTPRequester) EXPECT() *ClientHTTPRequester_Expecter
type ClientHTTPRequester_Close_Call ¶
ClientHTTPRequester_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*ClientHTTPRequester_Close_Call) Return ¶
func (_c *ClientHTTPRequester_Close_Call) Return() *ClientHTTPRequester_Close_Call
func (*ClientHTTPRequester_Close_Call) Run ¶
func (_c *ClientHTTPRequester_Close_Call) Run(run func()) *ClientHTTPRequester_Close_Call
func (*ClientHTTPRequester_Close_Call) RunAndReturn ¶
func (_c *ClientHTTPRequester_Close_Call) RunAndReturn(run func()) *ClientHTTPRequester_Close_Call
type ClientHTTPRequester_Expecter ¶
type ClientHTTPRequester_Expecter struct {
// contains filtered or unexported fields
}
func (*ClientHTTPRequester_Expecter) Close ¶
func (_e *ClientHTTPRequester_Expecter) Close() *ClientHTTPRequester_Close_Call
Close is a helper method to define mock.On call
func (*ClientHTTPRequester_Expecter) Request ¶
func (_e *ClientHTTPRequester_Expecter) Request(ctx interface{}, method interface{}, path interface{}, input interface{}, output interface{}) *ClientHTTPRequester_Request_Call
Request is a helper method to define mock.On call
- ctx context.Context
- method string
- path string
- input interface{}
- output interface{}
type ClientHTTPRequester_Request_Call ¶
ClientHTTPRequester_Request_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Request'
func (*ClientHTTPRequester_Request_Call) Return ¶
func (_c *ClientHTTPRequester_Request_Call) Return(_a0 int, _a1 error) *ClientHTTPRequester_Request_Call
func (*ClientHTTPRequester_Request_Call) Run ¶
func (_c *ClientHTTPRequester_Request_Call) Run(run func(ctx context.Context, method string, path string, input interface{}, output interface{})) *ClientHTTPRequester_Request_Call
func (*ClientHTTPRequester_Request_Call) RunAndReturn ¶
func (_c *ClientHTTPRequester_Request_Call) RunAndReturn(run func(context.Context, string, string, interface{}, interface{}) (int, error)) *ClientHTTPRequester_Request_Call