mocks

package
v1.6.4 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func (*Client) Delete

func (_m *Client) Delete(url string, headers http.Header, callbacks ...func(*http.Request)) (*http.Response, error)

Delete provides a mock function with given fields: url, headers, callbacks

func (*Client) Do

func (_m *Client) Do(req *http.Request) (*http.Response, error)

Do provides a mock function with given fields: req

func (*Client) Get

func (_m *Client) Get(url string, headers http.Header, callbacks ...func(*http.Request)) (*http.Response, error)

Get provides a mock function with given fields: url, headers, callbacks

func (*Client) Patch

func (_m *Client) Patch(url string, body io.Reader, headers http.Header, callbacks ...func(*http.Request)) (*http.Response, error)

Patch provides a mock function with given fields: url, body, headers, callbacks

func (*Client) Post

func (_m *Client) Post(url string, body io.Reader, headers http.Header, callbacks ...func(*http.Request)) (*http.Response, error)

Post provides a mock function with given fields: url, body, headers, callbacks

func (*Client) Put

func (_m *Client) Put(url string, body io.Reader, headers http.Header, callbacks ...func(*http.Request)) (*http.Response, error)

Put provides a mock function with given fields: url, body, headers, callbacks

Jump to

Keyboard shortcuts

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