Documentation
¶
Overview ¶
Package mock_common is a generated GoMock package.
Index ¶
- type MockRCHTTPClienter
- func (m *MockRCHTTPClienter) Do(arg0 context.Context, arg1 *http.Request) (*http.Response, error)
- func (m *MockRCHTTPClienter) EXPECT() *MockRCHTTPClienterMockRecorder
- func (m *MockRCHTTPClienter) Get(arg0 context.Context, arg1 string) (*http.Response, error)
- func (m *MockRCHTTPClienter) GetMaxRetries() int
- func (m *MockRCHTTPClienter) Head(arg0 context.Context, arg1 string) (*http.Response, error)
- func (m *MockRCHTTPClienter) Post(arg0 context.Context, arg1, arg2 string, arg3 io.Reader) (*http.Response, error)
- func (m *MockRCHTTPClienter) PostForm(arg0 context.Context, arg1 string, arg2 url.Values) (*http.Response, error)
- func (m *MockRCHTTPClienter) Put(arg0 context.Context, arg1, arg2 string, arg3 io.Reader) (*http.Response, error)
- func (m *MockRCHTTPClienter) SetAuthToken(arg0 string)
- func (m *MockRCHTTPClienter) SetDownloadServiceToken(arg0 string)
- func (m *MockRCHTTPClienter) SetMaxRetries(arg0 int)
- func (m *MockRCHTTPClienter) SetTimeout(arg0 time.Duration)
- type MockRCHTTPClienterMockRecorder
- func (mr *MockRCHTTPClienterMockRecorder) Do(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRCHTTPClienterMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRCHTTPClienterMockRecorder) GetMaxRetries() *gomock.Call
- func (mr *MockRCHTTPClienterMockRecorder) Head(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRCHTTPClienterMockRecorder) Post(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockRCHTTPClienterMockRecorder) PostForm(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRCHTTPClienterMockRecorder) Put(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockRCHTTPClienterMockRecorder) SetAuthToken(arg0 interface{}) *gomock.Call
- func (mr *MockRCHTTPClienterMockRecorder) SetDownloadServiceToken(arg0 interface{}) *gomock.Call
- func (mr *MockRCHTTPClienterMockRecorder) SetMaxRetries(arg0 interface{}) *gomock.Call
- func (mr *MockRCHTTPClienterMockRecorder) SetTimeout(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRCHTTPClienter ¶
type MockRCHTTPClienter struct {
// contains filtered or unexported fields
}
MockRCHTTPClienter is a mock of RCHTTPClienter interface
func NewMockRCHTTPClienter ¶
func NewMockRCHTTPClienter(ctrl *gomock.Controller) *MockRCHTTPClienter
NewMockRCHTTPClienter creates a new mock instance
func (*MockRCHTTPClienter) EXPECT ¶
func (m *MockRCHTTPClienter) EXPECT() *MockRCHTTPClienterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRCHTTPClienter) GetMaxRetries ¶
func (m *MockRCHTTPClienter) GetMaxRetries() int
GetMaxRetries mocks base method
func (*MockRCHTTPClienter) Post ¶
func (m *MockRCHTTPClienter) Post(arg0 context.Context, arg1, arg2 string, arg3 io.Reader) (*http.Response, error)
Post mocks base method
func (*MockRCHTTPClienter) PostForm ¶
func (m *MockRCHTTPClienter) PostForm(arg0 context.Context, arg1 string, arg2 url.Values) (*http.Response, error)
PostForm mocks base method
func (*MockRCHTTPClienter) Put ¶
func (m *MockRCHTTPClienter) Put(arg0 context.Context, arg1, arg2 string, arg3 io.Reader) (*http.Response, error)
Put mocks base method
func (*MockRCHTTPClienter) SetAuthToken ¶
func (m *MockRCHTTPClienter) SetAuthToken(arg0 string)
SetAuthToken mocks base method
func (*MockRCHTTPClienter) SetDownloadServiceToken ¶
func (m *MockRCHTTPClienter) SetDownloadServiceToken(arg0 string)
SetDownloadServiceToken mocks base method
func (*MockRCHTTPClienter) SetMaxRetries ¶
func (m *MockRCHTTPClienter) SetMaxRetries(arg0 int)
SetMaxRetries mocks base method
func (*MockRCHTTPClienter) SetTimeout ¶
func (m *MockRCHTTPClienter) SetTimeout(arg0 time.Duration)
SetTimeout mocks base method
type MockRCHTTPClienterMockRecorder ¶
type MockRCHTTPClienterMockRecorder struct {
// contains filtered or unexported fields
}
MockRCHTTPClienterMockRecorder is the mock recorder for MockRCHTTPClienter
func (*MockRCHTTPClienterMockRecorder) Do ¶
func (mr *MockRCHTTPClienterMockRecorder) Do(arg0, arg1 interface{}) *gomock.Call
Do indicates an expected call of Do
func (*MockRCHTTPClienterMockRecorder) Get ¶
func (mr *MockRCHTTPClienterMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockRCHTTPClienterMockRecorder) GetMaxRetries ¶
func (mr *MockRCHTTPClienterMockRecorder) GetMaxRetries() *gomock.Call
GetMaxRetries indicates an expected call of GetMaxRetries
func (*MockRCHTTPClienterMockRecorder) Head ¶
func (mr *MockRCHTTPClienterMockRecorder) Head(arg0, arg1 interface{}) *gomock.Call
Head indicates an expected call of Head
func (*MockRCHTTPClienterMockRecorder) Post ¶
func (mr *MockRCHTTPClienterMockRecorder) Post(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Post indicates an expected call of Post
func (*MockRCHTTPClienterMockRecorder) PostForm ¶
func (mr *MockRCHTTPClienterMockRecorder) PostForm(arg0, arg1, arg2 interface{}) *gomock.Call
PostForm indicates an expected call of PostForm
func (*MockRCHTTPClienterMockRecorder) Put ¶
func (mr *MockRCHTTPClienterMockRecorder) Put(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Put indicates an expected call of Put
func (*MockRCHTTPClienterMockRecorder) SetAuthToken ¶
func (mr *MockRCHTTPClienterMockRecorder) SetAuthToken(arg0 interface{}) *gomock.Call
SetAuthToken indicates an expected call of SetAuthToken
func (*MockRCHTTPClienterMockRecorder) SetDownloadServiceToken ¶
func (mr *MockRCHTTPClienterMockRecorder) SetDownloadServiceToken(arg0 interface{}) *gomock.Call
SetDownloadServiceToken indicates an expected call of SetDownloadServiceToken
func (*MockRCHTTPClienterMockRecorder) SetMaxRetries ¶
func (mr *MockRCHTTPClienterMockRecorder) SetMaxRetries(arg0 interface{}) *gomock.Call
SetMaxRetries indicates an expected call of SetMaxRetries
func (*MockRCHTTPClienterMockRecorder) SetTimeout ¶
func (mr *MockRCHTTPClienterMockRecorder) SetTimeout(arg0 interface{}) *gomock.Call
SetTimeout indicates an expected call of SetTimeout