mocks

package
v1.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

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

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.

func (*MockRestClient) Put

func (m *MockRestClient) Put(arg0 context.Context, arg1 string, arg2 interface{}, arg3, arg4 map[string]string) (*http.Response, error)

Put mocks base method.

func (*MockRestClient) Send

func (m *MockRestClient) Send(arg0 *http.Request) (*http.Response, error)

Send 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL