Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockRestClient
- func (m *MockRestClient) Authenticate() error
- func (m *MockRestClient) Delete(arg0 context.Context, arg1 string, arg2 interface{}, ...) (*http.Response, error)
- func (m *MockRestClient) EXPECT() *MockRestClientMockRecorder
- func (m *MockRestClient) Get(arg0 context.Context, arg1 string, arg2, arg3 map[string]string) (*http.Response, error)
- func (m *MockRestClient) Patch(arg0 context.Context, arg1 string, arg2 interface{}, ...) (*http.Response, error)
- func (m *MockRestClient) Post(arg0 context.Context, arg1 string, arg2 interface{}, ...) (*http.Response, error)
- func (m *MockRestClient) Put(arg0 context.Context, arg1 string, arg2 interface{}, ...) (*http.Response, error)
- func (m *MockRestClient) Send(arg0 *http.Request) (*http.Response, error)
- type MockRestClientMockRecorder
- func (mr *MockRestClientMockRecorder) Authenticate() *gomock.Call
- func (mr *MockRestClientMockRecorder) Delete(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockRestClientMockRecorder) Get(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockRestClientMockRecorder) Patch(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockRestClientMockRecorder) Post(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockRestClientMockRecorder) Put(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockRestClientMockRecorder) Send(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRestClient ¶
type MockRestClient struct {
// contains filtered or unexported fields
}
MockRestClient is a mock of RestClient interface.
func NewMockRestClient ¶
func NewMockRestClient(ctrl *gomock.Controller) *MockRestClient
NewMockRestClient creates a new mock instance.
func (*MockRestClient) Authenticate ¶
func (m *MockRestClient) Authenticate() error
Authenticate mocks base method.
func (*MockRestClient) Delete ¶
func (m *MockRestClient) Delete(arg0 context.Context, arg1 string, arg2 interface{}, arg3, arg4 map[string]string) (*http.Response, error)
Delete mocks base method.
func (*MockRestClient) EXPECT ¶
func (m *MockRestClient) EXPECT() *MockRestClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRestClient) Get ¶
func (m *MockRestClient) Get(arg0 context.Context, arg1 string, arg2, arg3 map[string]string) (*http.Response, error)
Get mocks base method.
func (*MockRestClient) Patch ¶
func (m *MockRestClient) Patch(arg0 context.Context, arg1 string, arg2 interface{}, arg3, arg4 map[string]string) (*http.Response, error)
Patch mocks base method.
func (*MockRestClient) Post ¶
func (m *MockRestClient) Post(arg0 context.Context, arg1 string, arg2 interface{}, arg3, arg4 map[string]string) (*http.Response, error)
Post mocks base method.
type MockRestClientMockRecorder ¶
type MockRestClientMockRecorder struct {
// contains filtered or unexported fields
}
MockRestClientMockRecorder is the mock recorder for MockRestClient.
func (*MockRestClientMockRecorder) Authenticate ¶
func (mr *MockRestClientMockRecorder) Authenticate() *gomock.Call
Authenticate indicates an expected call of Authenticate.
func (*MockRestClientMockRecorder) Delete ¶
func (mr *MockRestClientMockRecorder) Delete(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockRestClientMockRecorder) Get ¶
func (mr *MockRestClientMockRecorder) Get(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockRestClientMockRecorder) Patch ¶
func (mr *MockRestClientMockRecorder) Patch(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
Patch indicates an expected call of Patch.
func (*MockRestClientMockRecorder) Post ¶
func (mr *MockRestClientMockRecorder) Post(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
Post indicates an expected call of Post.
func (*MockRestClientMockRecorder) Put ¶
func (mr *MockRestClientMockRecorder) Put(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
Put indicates an expected call of Put.
func (*MockRestClientMockRecorder) Send ¶
func (mr *MockRestClientMockRecorder) Send(arg0 interface{}) *gomock.Call
Send indicates an expected call of Send.