mock_http

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_http is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockApptrustHttpClient

type MockApptrustHttpClient struct {
	// contains filtered or unexported fields
}

MockApptrustHttpClient is a mock of ApptrustHttpClient interface.

func NewMockApptrustHttpClient

func NewMockApptrustHttpClient(ctrl *gomock.Controller) *MockApptrustHttpClient

NewMockApptrustHttpClient creates a new mock instance.

func (*MockApptrustHttpClient) Delete

func (m *MockApptrustHttpClient) Delete(path string, params map[string]string) (*http.Response, []byte, error)

Delete mocks base method.

func (*MockApptrustHttpClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockApptrustHttpClient) Get

func (m *MockApptrustHttpClient) Get(path string) (*http.Response, []byte, error)

Get mocks base method.

func (*MockApptrustHttpClient) GetHttpClient

GetHttpClient mocks base method.

func (*MockApptrustHttpClient) Patch

func (m *MockApptrustHttpClient) Patch(path string, requestBody any) (*http.Response, []byte, error)

Patch mocks base method.

func (*MockApptrustHttpClient) Post

func (m *MockApptrustHttpClient) Post(path string, requestBody any, params map[string]string) (*http.Response, []byte, error)

Post mocks base method.

type MockApptrustHttpClientMockRecorder

type MockApptrustHttpClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockApptrustHttpClientMockRecorder is the mock recorder for MockApptrustHttpClient.

func (*MockApptrustHttpClientMockRecorder) Delete

func (mr *MockApptrustHttpClientMockRecorder) Delete(path, params any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockApptrustHttpClientMockRecorder) Get

Get indicates an expected call of Get.

func (*MockApptrustHttpClientMockRecorder) GetHttpClient

func (mr *MockApptrustHttpClientMockRecorder) GetHttpClient() *gomock.Call

GetHttpClient indicates an expected call of GetHttpClient.

func (*MockApptrustHttpClientMockRecorder) Patch

func (mr *MockApptrustHttpClientMockRecorder) Patch(path, requestBody any) *gomock.Call

Patch indicates an expected call of Patch.

func (*MockApptrustHttpClientMockRecorder) Post

func (mr *MockApptrustHttpClientMockRecorder) Post(path, requestBody, params any) *gomock.Call

Post indicates an expected call of Post.

Jump to

Keyboard shortcuts

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