Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockConnection
- func (m *MockConnection) Delete(arg0 string, arg1 interface{}) (*connection.APIResponse, error)
- func (m *MockConnection) EXPECT() *MockConnectionMockRecorder
- func (m *MockConnection) Get(arg0 string, arg1 connection.APIRequestParameters) (*connection.APIResponse, error)
- func (m *MockConnection) Invoke(arg0 connection.APIRequest) (*connection.APIResponse, error)
- func (m *MockConnection) Patch(arg0 string, arg1 interface{}) (*connection.APIResponse, error)
- func (m *MockConnection) Post(arg0 string, arg1 interface{}) (*connection.APIResponse, error)
- func (m *MockConnection) Put(arg0 string, arg1 interface{}) (*connection.APIResponse, error)
- type MockConnectionMockRecorder
- func (mr *MockConnectionMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockConnectionMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockConnectionMockRecorder) Invoke(arg0 interface{}) *gomock.Call
- func (mr *MockConnectionMockRecorder) Patch(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockConnectionMockRecorder) Post(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockConnectionMockRecorder) Put(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConnection ¶
type MockConnection struct {
// contains filtered or unexported fields
}
MockConnection is a mock of Connection interface.
func NewMockConnection ¶
func NewMockConnection(ctrl *gomock.Controller) *MockConnection
NewMockConnection creates a new mock instance.
func (*MockConnection) Delete ¶
func (m *MockConnection) Delete(arg0 string, arg1 interface{}) (*connection.APIResponse, error)
Delete mocks base method.
func (*MockConnection) EXPECT ¶
func (m *MockConnection) EXPECT() *MockConnectionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockConnection) Get ¶
func (m *MockConnection) Get(arg0 string, arg1 connection.APIRequestParameters) (*connection.APIResponse, error)
Get mocks base method.
func (*MockConnection) Invoke ¶
func (m *MockConnection) Invoke(arg0 connection.APIRequest) (*connection.APIResponse, error)
Invoke mocks base method.
func (*MockConnection) Patch ¶
func (m *MockConnection) Patch(arg0 string, arg1 interface{}) (*connection.APIResponse, error)
Patch mocks base method.
func (*MockConnection) Post ¶
func (m *MockConnection) Post(arg0 string, arg1 interface{}) (*connection.APIResponse, error)
Post mocks base method.
func (*MockConnection) Put ¶
func (m *MockConnection) Put(arg0 string, arg1 interface{}) (*connection.APIResponse, error)
Put mocks base method.
type MockConnectionMockRecorder ¶
type MockConnectionMockRecorder struct {
// contains filtered or unexported fields
}
MockConnectionMockRecorder is the mock recorder for MockConnection.
func (*MockConnectionMockRecorder) Delete ¶
func (mr *MockConnectionMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockConnectionMockRecorder) Get ¶
func (mr *MockConnectionMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockConnectionMockRecorder) Invoke ¶
func (mr *MockConnectionMockRecorder) Invoke(arg0 interface{}) *gomock.Call
Invoke indicates an expected call of Invoke.
func (*MockConnectionMockRecorder) Patch ¶
func (mr *MockConnectionMockRecorder) Patch(arg0, arg1 interface{}) *gomock.Call
Patch indicates an expected call of Patch.
func (*MockConnectionMockRecorder) Post ¶
func (mr *MockConnectionMockRecorder) Post(arg0, arg1 interface{}) *gomock.Call
Post indicates an expected call of Post.
func (*MockConnectionMockRecorder) Put ¶
func (mr *MockConnectionMockRecorder) Put(arg0, arg1 interface{}) *gomock.Call
Put indicates an expected call of Put.